@neatui/css 3.1.0 → 3.2.1

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.
@@ -203,14 +203,6 @@ body [ui-btn~='@b'] {
203
203
  & > * {
204
204
  border-radius: 0;
205
205
  margin-right: -1px;
206
-
207
- // 普通倒角
208
- &:first-child {
209
- border-radius: 0.25em 0 0 0.25em;
210
- }
211
- &:last-child {
212
- border-radius: 0 0.25em 0.25em 0;
213
- }
214
206
  }
215
207
  // 圆弧倒角
216
208
  &[ui-btns~=':round'] > * {
@@ -245,7 +237,6 @@ body [ui-btn~='@b'] {
245
237
  &[ui-btns~=':abs'] > * {
246
238
  height: 2.5rem;
247
239
  padding: 0 1rem;
248
- border-radius: 0.25rem;
249
240
  }
250
241
  // 圆弧按钮
251
242
  &[ui-btns~=':round'] > * {
@@ -41,14 +41,14 @@ value 规定输入字段的默认值。
41
41
  margin: 0;
42
42
  padding: 0;
43
43
  background: transparent;
44
- box-shadow: inset 0 0 0 1px currentColor;
44
+ border: 1px solid currentColor;
45
45
  border-radius: 0.2em;
46
46
  flex-shrink: 0;
47
47
  transform: scale3d(0.95, 0.95, 1);
48
48
 
49
49
  // &.part-selected {
50
50
  // @include theme {
51
- // box-shadow: inset 0 0 0 1px var(--co-main);
51
+ // border: 1px solid var(--co-main);
52
52
  // }
53
53
  // &::before {
54
54
  // width: 50%;
@@ -132,7 +132,7 @@ value 规定输入字段的默认值。
132
132
  &.part-checked,
133
133
  &[part-checked] {
134
134
  background-color: var(--co-main);
135
- box-shadow: inset 0 0 0 1px var(--co-main);
135
+ border: 1px solid var(--co-main);
136
136
 
137
137
  &::before {
138
138
  width: 50%;
@@ -46,7 +46,7 @@ value 规定输入字段的默认值。
46
46
  margin: 0;
47
47
  padding: 0;
48
48
  background: transparent;
49
- box-shadow: inset 0 0 0 1px currentColor;
49
+ border: 1px solid currentColor;
50
50
  border-radius: 10em;
51
51
  flex-shrink: 0;
52
52
  position: relative;
@@ -24,13 +24,13 @@ value 规定输入字段的默认值。
24
24
  transition: all 0.5s;
25
25
 
26
26
  // @include theme {
27
- box-shadow: inset 0 0 0 1px var(--co-case);
27
+ border: 1px solid var(--co-case);
28
28
  background-color: var(--co-fore);
29
29
  // }
30
30
 
31
31
  &:hover {
32
32
  // @include theme {
33
- box-shadow: inset 0 0 0 1px var(--co-main-mm);
33
+ border: 1px solid var(--co-main-mm);
34
34
  // }
35
35
  }
36
36
 
@@ -53,7 +53,7 @@ value 规定输入字段的默认值。
53
53
  margin: 0;
54
54
  padding: 0;
55
55
  background: transparent;
56
- box-shadow: inset 0 0 0 1px currentColor;
56
+ border: 1px solid currentColor;
57
57
  border-radius: 0.2em;
58
58
  flex-shrink: 0;
59
59
 
@@ -56,7 +56,7 @@ value 规定输入字段的默认值。
56
56
  margin: 0;
57
57
  padding: 0;
58
58
  background: transparent;
59
- box-shadow: inset 0 0 0 1px currentColor;
59
+ border: 1px solid currentColor;
60
60
  border-radius: 50%;
61
61
  flex-shrink: 0;
62
62
 
@@ -71,7 +71,7 @@ value 规定输入字段的默认值。
71
71
  radial-gradient(circle at 66.8% 37%, currentColor 5%, transparent 6%), radial-gradient(circle at 70% 32.5%, currentColor 4.5%, transparent 5.5%),
72
72
  radial-gradient(circle at 73.8% 28%, currentColor 3.9%, transparent 4.9%), radial-gradient(circle at 77.5% 23.7%, currentColor 3.4%, transparent 4.4%),
73
73
  radial-gradient(circle at 81% 19.5%, currentColor 3%, transparent 4%), radial-gradient(circle at 85% 15.2%, currentColor 2.5%, transparent 3.5%);
74
- box-shadow: inset 0 0 0 1px currentColor;
74
+ border: 1px solid currentColor;
75
75
  animation: am-b-radio 0.3s;
76
76
  &,
77
77
  & + * {
@@ -46,7 +46,7 @@ value 规定输入字段的默认值。
46
46
  margin: 0;
47
47
  padding: 0;
48
48
  background: transparent;
49
- box-shadow: inset 0 0 0 1px currentColor;
49
+ border: 1px solid currentColor;
50
50
  border-radius: 10em;
51
51
  flex-shrink: 0;
52
52
  position: relative;
@@ -23,11 +23,11 @@ value 规定输入字段的默认值。
23
23
  border-radius: 0.25em;
24
24
  transition: all 0.5s;
25
25
 
26
- box-shadow: inset 0 0 0 1px var(--co-case);
26
+ border: 1px solid var(--co-case);
27
27
  background-color: var(--co-fore);
28
28
 
29
29
  &:hover {
30
- box-shadow: inset 0 0 0 1px var(--co-main-mm);
30
+ border: 1px solid var(--co-main-mm);
31
31
  }
32
32
 
33
33
  &.form-focus,
@@ -55,7 +55,7 @@ value 规定输入字段的默认值。
55
55
  margin: 0;
56
56
  padding: 0;
57
57
  background: transparent;
58
- box-shadow: inset 0 0 0 1px currentColor;
58
+ border: 1px solid currentColor;
59
59
  border-radius: 25%;
60
60
  transform: scale3d(0.9, 0.9, 1);
61
61
  flex-shrink: 0;
@@ -25,7 +25,7 @@ value 规定输入字段的默认值。
25
25
  border-radius: 0.25em;
26
26
  transition: all 0.5s;
27
27
 
28
- // box-shadow: inset 0 0 0 1px var(--co-case);
28
+ // border: 1px solid var(--co-case);
29
29
  background-color: var(--bg-weak);
30
30
 
31
31
  display: inline-flex;
@@ -37,7 +37,7 @@ value 规定输入字段的默认值。
37
37
  }
38
38
 
39
39
  &:hover {
40
- box-shadow: inset 0 0 0 1px var(--co-main-mm);
40
+ border: 1px solid var(--co-main-mm);
41
41
  }
42
42
 
43
43
  &.form-focus,
@@ -56,7 +56,7 @@ value 规定输入字段的默认值。
56
56
  margin: 0;
57
57
  padding: 0;
58
58
  background: transparent;
59
- box-shadow: inset 0 0 0 1px currentColor;
59
+ border: 1px solid currentColor;
60
60
  border-radius: 50%;
61
61
  flex-shrink: 0;
62
62
 
@@ -64,7 +64,7 @@ value 规定输入字段的默认值。
64
64
 
65
65
  &:checked {
66
66
  background-image: radial-gradient(circle at 50% 50%, currentColor 38%, transparent 40%);
67
- box-shadow: inset 0 0 0 1px currentColor;
67
+ border: 1px solid currentColor;
68
68
  animation: am-radio 0.3s;
69
69
  &,
70
70
  & + * {
@@ -46,7 +46,7 @@ value 规定输入字段的默认值。
46
46
  margin: 0;
47
47
  padding: 0;
48
48
  background: transparent;
49
- box-shadow: inset 0 0 0 1px currentColor;
49
+ border: 1px solid currentColor;
50
50
  border-radius: 10em;
51
51
  flex-shrink: 0;
52
52
  position: relative;
@@ -24,11 +24,11 @@ value 规定输入字段的默认值。
24
24
  transition: all 0.5s;
25
25
  background-color: transparent;
26
26
 
27
- box-shadow: inset 0 0 0 1px var(--co-case);
27
+ border: 1px solid var(--co-case);
28
28
  background-color: var(--bg-weak);
29
29
 
30
30
  &:hover {
31
- box-shadow: inset 0 0 0 1px var(--co-main-mm);
31
+ border: 1px solid var(--co-main-mm);
32
32
  }
33
33
 
34
34
  &.form-focus,
@@ -42,7 +42,7 @@ value 规定输入字段的默认值。
42
42
  margin: 0;
43
43
  padding: 0;
44
44
  background: transparent;
45
- // box-shadow: inset 0 0 0 1px currentColor;
45
+ // border: 1px solid currentColor;
46
46
  border-radius: 0.2em;
47
47
  flex-shrink: 0;
48
48
  transform: scale3d(0.95, 0.95, 1);
@@ -116,7 +116,7 @@ value 规定输入字段的默认值。
116
116
  // 半选
117
117
  &.part-checked,
118
118
  &[part-checked] {
119
- box-shadow: inset 0 0 0 1px var(--co-main);
119
+ border: 1px solid var(--co-main);
120
120
 
121
121
  &::before {
122
122
  width: 50%;
@@ -46,7 +46,7 @@ value 规定输入字段的默认值。
46
46
  margin: 0;
47
47
  padding: 0;
48
48
  background: transparent;
49
- box-shadow: inset 0 0 0 1px currentColor;
49
+ border: 1px solid currentColor;
50
50
  border-radius: 10em;
51
51
  flex-shrink: 0;
52
52
  position: relative;
@@ -24,13 +24,13 @@ value 规定输入字段的默认值。
24
24
  transition: all 0.5s;
25
25
 
26
26
  // @include theme {
27
- box-shadow: inset 0 0 0 1px var(--co-case);
27
+ border: 1px solid var(--co-case);
28
28
  background-color: var(--co-fore);
29
29
  // }
30
30
 
31
31
  &:hover {
32
32
  // @include theme {
33
- box-shadow: inset 0 0 0 1px var(--co-main-mm);
33
+ border: 1px solid var(--co-main-mm);
34
34
  // }
35
35
  }
36
36
 
package/core/flex.scss CHANGED
@@ -47,7 +47,7 @@
47
47
  [ui-flex~='#{$med}row'] {
48
48
  flex-direction: row;
49
49
  }
50
- [ui-flex~='row'] {
50
+ [ui-flex~='#{$med}row'] {
51
51
  // 对齐
52
52
  &[ui-flex~='#{$med}lt'] {
53
53
  justify-content: flex-start;
@@ -181,7 +181,7 @@
181
181
  [ui-flex~='#{$med}col'] {
182
182
  flex-direction: column;
183
183
  }
184
- [ui-flex~='col'] {
184
+ [ui-flex~='#{$med}col'] {
185
185
  // 位置
186
186
  &[ui-flex~='#{$med}lt'] {
187
187
  justify-content: flex-start;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/css",
3
- "version": "3.1.0",
3
+ "version": "3.2.1",
4
4
  "description": "neatui",
5
5
  "main": "./neatui.scss",
6
6
  "license": "MIT",