@neatui/css 3.2.2 → 3.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -337,12 +337,12 @@ $cos: 'main', 'text', 'read', 'note', 'idle', 'case', 'line', 'info', 'well', 'w
337
337
  position: absolute;
338
338
  content: '';
339
339
  display: block;
340
- width: 80%;
341
- height: 80%;
342
- top: 10%;
343
- left: 10%;
340
+ width: 90%;
341
+ height: 90%;
342
+ top: 5%;
343
+ left: 5%;
344
344
  border-radius: 70% 25%;
345
- box-shadow: 0 0 0 1px currentColor;
345
+ border: 1px solid currentColor;
346
346
  transform: rotate(45deg) scale3d(0.95, 0.95, 1);
347
347
  }
348
348
 
@@ -350,19 +350,23 @@ $cos: 'main', 'text', 'read', 'note', 'idle', 'case', 'line', 'info', 'well', 'w
350
350
  position: absolute;
351
351
  content: '';
352
352
  display: block;
353
- width: 30%;
354
- height: 30%;
355
- top: 35%;
356
- left: 35%;
353
+ width: 40%;
354
+ height: 40%;
355
+ top: 30%;
356
+ left: 30%;
357
357
  border-radius: 50%;
358
- box-shadow: 0 0 0 1px currentColor;
358
+ border: 1px solid currentColor;
359
+ background-color: currentColor;
359
360
  transform: rotate(45deg) scale3d(0.95, 0.95, 1);
360
361
  }
361
362
  }
362
- [type='password'] + * > [ui-form-cipher] {
363
+ [ui-form-cipher~='1'] {
363
364
  &:before {
364
365
  background: linear-gradient(90deg, transparent 44%, currentColor 46%, currentColor 54%, transparent 56%) no-repeat center;
365
366
  }
367
+ &::after {
368
+ background-color: transparent;
369
+ }
366
370
  }
367
371
 
368
372
  // 日期图标
@@ -40,19 +40,14 @@ value 规定输入字段的默认值。
40
40
  }
41
41
 
42
42
  &:hover {
43
- // @include theme {
44
- // border: 1px solid rgba(var(--co-main), 0.5);
45
- // }
46
43
  border: 1px solid var(--co-main-mm);
47
44
  }
48
45
 
49
46
  &.form-focus,
50
47
  &:focus-within {
51
- // @include theme {
52
48
  background-color: var(--co-fore);
53
- border: 1px solid var(--co-main-sl);
54
- box-shadow: 0 0 0 2px var(--co-main-ss);
55
- // }
49
+ border: 1px solid var(--co-main-lm);
50
+ box-shadow: 0 0 0 2px var(--co-main-sm);
56
51
  }
57
52
 
58
53
  input {
@@ -81,11 +76,9 @@ value 规定输入字段的默认值。
81
76
  }
82
77
 
83
78
  &:-webkit-autofill {
84
- // @include theme {
85
79
  box-shadow: 0 0 0 1000px var(--co-fore) inset;
86
80
  color: var(--co-read);
87
81
  -webkit-text-fill-color: var(--co-read);
88
- // }
89
82
  }
90
83
 
91
84
  &::placeholder {
@@ -126,15 +119,12 @@ value 规定输入字段的默认值。
126
119
  @each $c in $form-co {
127
120
  &[ui-form~='co:#{$c}'] {
128
121
  & {
129
- // @include theme {
130
- // color: var(--co-#{$c}-text);
131
- // }
132
122
  color: var(--co-#{$c}-text);
133
- border: 1px solid var(--co-#{$c}-ml);
123
+ border: 1px solid var(--co-#{$c}-lm);
134
124
  }
135
125
 
136
126
  &:focus-within {
137
- box-shadow: 0 0 0 2px var(--co-#{$c}-ss) !important;
127
+ box-shadow: 0 0 0 2px var(--co-#{$c}-sm) !important;
138
128
  }
139
129
  }
140
130
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/css",
3
- "version": "3.2.2",
3
+ "version": "3.2.4",
4
4
  "description": "neatui",
5
5
  "main": "./neatui.scss",
6
6
  "license": "MIT",