@neatui/css 3.2.3 → 3.2.5

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.
@@ -294,8 +294,8 @@ $cos: 'main', 'text', 'read', 'note', 'idle', 'case', 'line', 'info', 'well', 'w
294
294
  position: relative;
295
295
  content: '';
296
296
  display: block;
297
- width: 1em;
298
- height: 1em;
297
+ width: 0.9em;
298
+ height: 0.9em;
299
299
  left: 0;
300
300
  top: 0;
301
301
  margin: 0;
@@ -305,7 +305,7 @@ $cos: 'main', 'text', 'read', 'note', 'idle', 'case', 'line', 'info', 'well', 'w
305
305
  linear-gradient(90deg, transparent 41%, currentColor 42%, currentColor 59%, transparent 60%) no-repeat center/50% 50%;
306
306
  border-radius: 50%;
307
307
  color: currentColor;
308
- box-shadow: inset 0 0 0 2px currentColor;
308
+ box-shadow: inset 0 0 0 1px currentColor;
309
309
  }
310
310
  }
311
311
  @keyframes am-form-clean {
@@ -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/core/flex.scss CHANGED
@@ -20,6 +20,14 @@
20
20
  flex: 1;
21
21
  overflow: hidden;
22
22
  }
23
+ .#{$med}flex-grow {
24
+ flex-grow: 1;
25
+ flex-shrink: 0;
26
+ }
27
+ .#{$med}flex-shrink {
28
+ flex-grow: 0;
29
+ flex-shrink: 1;
30
+ }
23
31
 
24
32
  // 行内
25
33
  .#{$med}flex-inline {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/css",
3
- "version": "3.2.3",
3
+ "version": "3.2.5",
4
4
  "description": "neatui",
5
5
  "main": "./neatui.scss",
6
6
  "license": "MIT",