@neatui/css 1.0.27 → 2.0.0-beta.0
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.
- package/components/btns/btns@a.scss +41 -87
- package/components/btns/btns@b.scss +22 -22
- package/components/btns/btns@c.scss +2 -2
- package/components/btns/mcui@btns.scss +2 -2
- package/components/card/card@a.scss +37 -37
- package/components/card/card@b.scss +11 -11
- package/components/cite/cite@a.scss +1 -2
- package/components/demo/demo@a.scss +3 -3
- package/components/form/base.scss +30 -26
- package/components/form/form@a/base.scss +5 -5
- package/components/form/form@a/checkbox.scss +21 -27
- package/components/form/form@a/date.scss +6 -6
- package/components/form/form@a/input.scss +25 -25
- package/components/form/form@a/radio.scss +2 -6
- package/components/form/form@a/select.scss +10 -12
- package/components/form/form@a/switch.scss +7 -10
- package/components/form/form@a/textarea.scss +29 -41
- package/components/form/form@a/upload.scss +11 -16
- package/components/form/form@b/base.scss +3 -5
- package/components/form/form@b/checkbox.scss +1 -3
- package/components/form/form@b/date.scss +6 -6
- package/components/form/form@b/input.scss +23 -41
- package/components/form/form@b/radio.scss +1 -3
- package/components/form/form@b/select.scss +10 -12
- package/components/form/form@b/switch.scss +7 -10
- package/components/form/form@b/textarea.scss +25 -41
- package/components/form/form@b/upload.scss +11 -16
- package/components/form/form@c/base.scss +9 -12
- package/components/form/form@c/checkbox.scss +3 -6
- package/components/form/form@c/date.scss +7 -9
- package/components/form/form@c/input.scss +27 -42
- package/components/form/form@c/radio.scss +3 -6
- package/components/form/form@c/select.scss +10 -12
- package/components/form/form@c/switch.scss +7 -10
- package/components/form/form@c/textarea.scss +21 -33
- package/components/form/form@c/upload.scss +11 -16
- package/components/form/form@d/input.scss +13 -13
- package/components/form/form@d/textarea.scss +16 -16
- package/components/form/form@d/upload.scss +2 -2
- package/components/form/mcui@form.scss +1 -1
- package/components/form/radio@theme=aa.scss +1 -5
- package/components/grid/grid@a.scss +7 -9
- package/components/imgs/base.scss +2 -3
- package/components/imgs/imgs@a.scss +11 -19
- package/components/imgs/imgs@b.scss +1 -1
- package/components/line/line@a.scss +3 -6
- package/components/line/line@b.scss +4 -12
- package/components/list/list@a.scss +13 -18
- package/components/list/list@b.scss +9 -13
- package/components/load/load@a.scss +11 -12
- package/components/load/load@e.scss +1 -3
- package/components/load/load@h.scss +3 -7
- package/components/menu/menu@b.scss +28 -40
- package/components/navs/navs@a.scss +12 -25
- package/components/navs/navs@b.scss +14 -29
- package/components/note/note@a.scss +8 -13
- package/components/note/note@b.scss +8 -22
- package/components/opts/opts@a.scss +7 -10
- package/components/path/path@a.scss +2 -6
- package/components/steps/steps@a.scss +10 -22
- package/components/steps/steps@v.scss +25 -37
- package/components/table/base.scss +15 -13
- package/components/table/table@a.scss +42 -41
- package/components/table/table@b.scss +23 -25
- package/components/table/table@c.scss +2 -4
- package/components/tabs/tabs@a.scss +7 -7
- package/components/tabs/tabs@b.scss +7 -7
- package/components/tabs/tabs@c.scss +7 -7
- package/components/tags/tags@a.scss +26 -40
- package/components/tags/tags@b.scss +22 -36
- package/components/tips/tips@a.scss +6 -6
- package/components/title/title@a.scss +3 -3
- package/components/title/title@b.scss +4 -3
- package/core/base.scss +11 -7
- package/core/color.scss +35 -179
- package/core/{mcui@core.scss → neatui@core.scss} +0 -2
- package/core/reset.scss +15 -2
- package/core/scroll.scss +20 -15
- package/core/size.scss +2 -2
- package/core/theme.scss +199 -69
- package/core/trim.scss +18 -0
- package/core/ux.scss +13 -19
- package/neatui.scss +1 -1
- package/package.json +1 -1
- package/components/paging/mc-paging-ui1503.scss +0 -106
- package/components/paging/mc-paging.scss +0 -432
- package/components/paging/paging@theme=aa.scss +0 -45
- package/core/pos.scss +0 -252
- package/core/trim.mobile.scss +0 -327
- /package/core/{mcui@core.lite.scss → neatui@core.lite.scss} +0 -0
- /package/core/{mcui@mobile.scss → neatui@mobile.scss} +0 -0
|
@@ -23,9 +23,10 @@
|
|
|
23
23
|
height: 100%;
|
|
24
24
|
right: -5px;
|
|
25
25
|
top: 0;
|
|
26
|
-
@include theme {
|
|
27
|
-
|
|
28
|
-
}
|
|
26
|
+
// @include theme {
|
|
27
|
+
// box-shadow: inset 5px 0 5px -5px rgba(co(text), 0.15);
|
|
28
|
+
// }
|
|
29
|
+
box-shadow: inset 5px 0 5px -5px var(--co-text-ss);
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
&[col-fixed-side='r'] {
|
|
@@ -38,9 +39,10 @@
|
|
|
38
39
|
height: 100%;
|
|
39
40
|
left: -5px;
|
|
40
41
|
top: 0;
|
|
41
|
-
@include theme {
|
|
42
|
-
|
|
43
|
-
}
|
|
42
|
+
// @include theme {
|
|
43
|
+
// box-shadow: inset -5px 0 5px -5px rgba(co(text), 0.15);
|
|
44
|
+
// }
|
|
45
|
+
box-shadow: inset -5px 0 5px -5px var(--co-text-ss);
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
}
|
|
@@ -100,13 +102,13 @@
|
|
|
100
102
|
|
|
101
103
|
// 固定头部
|
|
102
104
|
.table-head-fixed {
|
|
103
|
-
@include theme {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
105
|
+
// @include theme {
|
|
106
|
+
background: var(--co-fore);
|
|
107
|
+
box-shadow:
|
|
108
|
+
0 1px 0 var(--co-line-sm),
|
|
109
|
+
0 2px 0 var(--co-line-sm),
|
|
110
|
+
0 3px 0 var(--co-line-sm);
|
|
111
|
+
// }
|
|
110
112
|
position: sticky;
|
|
111
113
|
top: 0;
|
|
112
114
|
z-index: 3;
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
width: 100%;
|
|
5
5
|
|
|
6
6
|
th {
|
|
7
|
-
@include theme {
|
|
8
|
-
|
|
9
|
-
}
|
|
7
|
+
// @include theme {
|
|
8
|
+
color: var(--co-text);
|
|
9
|
+
// }
|
|
10
10
|
// text-align: left;
|
|
11
11
|
font-weight: normal;
|
|
12
12
|
}
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
td {
|
|
22
|
-
@include theme {
|
|
23
|
-
|
|
24
|
-
}
|
|
22
|
+
// @include theme {
|
|
23
|
+
color: var(--co-read);
|
|
24
|
+
// }
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&[tirm*='n'] {
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
&[ui-table~='line'] {
|
|
38
38
|
th,
|
|
39
39
|
td {
|
|
40
|
-
@include theme {
|
|
41
|
-
|
|
42
|
-
}
|
|
40
|
+
// @include theme {
|
|
41
|
+
border-bottom: 1px solid var(--co-line);
|
|
42
|
+
// }
|
|
43
43
|
padding: 0.75em 1em;
|
|
44
44
|
|
|
45
45
|
&:first-child {
|
|
@@ -61,59 +61,59 @@
|
|
|
61
61
|
&[ui-table~='grid'],
|
|
62
62
|
&[ui-table~='cube'] {
|
|
63
63
|
tr {
|
|
64
|
-
@include theme {
|
|
65
|
-
|
|
66
|
-
}
|
|
64
|
+
// @include theme {
|
|
65
|
+
box-shadow: inset 0 -1px 0 0 var(--co-line);
|
|
66
|
+
// }
|
|
67
67
|
// &:last-child {
|
|
68
68
|
// box-shadow: 0 0 0 0;
|
|
69
69
|
// }
|
|
70
70
|
}
|
|
71
71
|
th,
|
|
72
72
|
td {
|
|
73
|
-
@include theme {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
73
|
+
// @include theme {
|
|
74
|
+
// border-left: 1px solid var(--co-line);
|
|
75
|
+
box-shadow: inset 1px 0 0 0 var(--co-line);
|
|
76
|
+
// border-top: 1px solid var(--co-line);
|
|
77
|
+
&:first-child {
|
|
78
|
+
box-shadow: 0 0 0 0;
|
|
80
79
|
}
|
|
80
|
+
// }
|
|
81
81
|
// padding: 0.75em 1em;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
&[ui-table~='grid'] {
|
|
85
|
-
@include theme {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
85
|
+
// @include theme {
|
|
86
|
+
// border: 1px solid var(--co-line);
|
|
87
|
+
box-shadow: inset 0 0 0px 1px var(--co-line);
|
|
88
|
+
// }
|
|
89
89
|
border-radius: 0.25em;
|
|
90
90
|
border-left: 0;
|
|
91
91
|
border-top: 0;
|
|
92
92
|
&[trim*='n'] {
|
|
93
93
|
th,
|
|
94
94
|
td {
|
|
95
|
-
@include theme {
|
|
96
|
-
|
|
97
|
-
}
|
|
95
|
+
// @include theme {
|
|
96
|
+
border-right: 1px solid var(--co-line);
|
|
97
|
+
// }
|
|
98
98
|
&:first-child {
|
|
99
|
-
@include theme {
|
|
100
|
-
|
|
101
|
-
}
|
|
99
|
+
// @include theme {
|
|
100
|
+
border-left: 1px solid var(--co-line);
|
|
101
|
+
// }
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
tr:last-child {
|
|
105
105
|
td {
|
|
106
|
-
@include theme {
|
|
107
|
-
|
|
108
|
-
}
|
|
106
|
+
// @include theme {
|
|
107
|
+
border-bottom: 1px solid var(--co-line);
|
|
108
|
+
// }
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
tr:first-child {
|
|
112
112
|
th,
|
|
113
113
|
td {
|
|
114
|
-
@include theme {
|
|
115
|
-
|
|
116
|
-
}
|
|
114
|
+
// @include theme {
|
|
115
|
+
border-top: 1px solid var(--co-line);
|
|
116
|
+
// }
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -168,9 +168,9 @@
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
&[trim*='n'] {
|
|
171
|
-
@include theme {
|
|
172
|
-
|
|
173
|
-
}
|
|
171
|
+
// @include theme {
|
|
172
|
+
border: 1px solid var(--co-line);
|
|
173
|
+
// }
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
th,
|
|
@@ -207,9 +207,10 @@
|
|
|
207
207
|
tr {
|
|
208
208
|
transition: all 0.3s;
|
|
209
209
|
&:hover {
|
|
210
|
-
@include theme {
|
|
211
|
-
|
|
212
|
-
}
|
|
210
|
+
// @include theme {
|
|
211
|
+
// background-color: rgba(co(weak), 0.5);
|
|
212
|
+
// }
|
|
213
|
+
background-color: var(-co-weak-mm);
|
|
213
214
|
}
|
|
214
215
|
}
|
|
215
216
|
}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
thead > tr,
|
|
7
7
|
thead > tr th,
|
|
8
8
|
.table-head-fixed {
|
|
9
|
-
@include theme {
|
|
10
|
-
|
|
11
|
-
}
|
|
9
|
+
// @include theme {
|
|
10
|
+
background: var(--co-fore);
|
|
11
|
+
// }
|
|
12
12
|
}
|
|
13
13
|
// 表格主体
|
|
14
14
|
tbody {
|
|
@@ -17,18 +17,16 @@
|
|
|
17
17
|
&,
|
|
18
18
|
th,
|
|
19
19
|
td {
|
|
20
|
-
@include theme {
|
|
21
|
-
|
|
22
|
-
}
|
|
20
|
+
// @include theme {
|
|
21
|
+
background-color: var(--co-fore);
|
|
22
|
+
// }
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
&:nth-child(odd) {
|
|
26
26
|
&,
|
|
27
27
|
th,
|
|
28
28
|
td {
|
|
29
|
-
|
|
30
|
-
background-color: mix(co(weak), co(fore), 75%);
|
|
31
|
-
}
|
|
29
|
+
background-color: var(--co-weak-fore-lm);
|
|
32
30
|
}
|
|
33
31
|
}
|
|
34
32
|
}
|
|
@@ -39,24 +37,24 @@
|
|
|
39
37
|
tr {
|
|
40
38
|
&:nth-child(even) {
|
|
41
39
|
&:hover {
|
|
42
|
-
@include theme {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
40
|
+
// @include theme {
|
|
41
|
+
box-shadow:
|
|
42
|
+
0 0 0 2px var(--co-fore),
|
|
43
|
+
0 0 0 3px var(--co-line);
|
|
44
|
+
z-index: 1;
|
|
45
|
+
position: relative;
|
|
46
|
+
// }
|
|
49
47
|
}
|
|
50
48
|
}
|
|
51
49
|
&:nth-child(odd) {
|
|
52
50
|
&:hover {
|
|
53
|
-
@include theme {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
51
|
+
// @include theme {
|
|
52
|
+
box-shadow:
|
|
53
|
+
0 0 0 2px co(weak),
|
|
54
|
+
0 0 0 3px var(--co-line);
|
|
55
|
+
z-index: 1;
|
|
56
|
+
position: relative;
|
|
57
|
+
// }
|
|
60
58
|
}
|
|
61
59
|
}
|
|
62
60
|
}
|
|
@@ -68,10 +66,10 @@
|
|
|
68
66
|
// th,
|
|
69
67
|
// td {
|
|
70
68
|
// &:first-child {
|
|
71
|
-
// box-shadow: -3em 0 0 0 co
|
|
69
|
+
// box-shadow: -3em 0 0 0 var(--co-fore);
|
|
72
70
|
// }
|
|
73
71
|
// &:last-child {
|
|
74
|
-
// box-shadow: 3em 0 0 0 co
|
|
72
|
+
// box-shadow: 3em 0 0 0 var(--co-fore);
|
|
75
73
|
// }
|
|
76
74
|
// }
|
|
77
75
|
// }
|
|
@@ -10,9 +10,9 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
|
|
|
10
10
|
overflow-x: auto;
|
|
11
11
|
overflow-y: hidden;
|
|
12
12
|
|
|
13
|
-
@include theme {
|
|
14
|
-
|
|
15
|
-
}
|
|
13
|
+
// @include theme {
|
|
14
|
+
box-shadow: inset 0 -1px 0 var(--co-line);
|
|
15
|
+
// }
|
|
16
16
|
|
|
17
17
|
& > * {
|
|
18
18
|
position: relative;
|
|
@@ -30,10 +30,10 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
|
|
|
30
30
|
|
|
31
31
|
&.active {
|
|
32
32
|
-webkit-font-smoothing: auto;
|
|
33
|
-
@include theme {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
33
|
+
// @include theme {
|
|
34
|
+
color: var(--co-main);
|
|
35
|
+
box-shadow: inset 0 -2px 0 var(--co-main);
|
|
36
|
+
// }
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -12,9 +12,9 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
|
|
|
12
12
|
padding: 2px;
|
|
13
13
|
border-radius: 0.5em;
|
|
14
14
|
|
|
15
|
-
@include theme {
|
|
16
|
-
|
|
17
|
-
}
|
|
15
|
+
// @include theme {
|
|
16
|
+
border: 1px solid var(--co-line);
|
|
17
|
+
// }
|
|
18
18
|
|
|
19
19
|
& > * {
|
|
20
20
|
cursor: pointer;
|
|
@@ -25,10 +25,10 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
|
|
|
25
25
|
padding: 0.5em 1em;
|
|
26
26
|
&.active {
|
|
27
27
|
-webkit-font-smoothing: auto;
|
|
28
|
-
@include theme {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
28
|
+
// @include theme {
|
|
29
|
+
color: var(--co-fore);
|
|
30
|
+
background: var(--co-main);
|
|
31
|
+
// }
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -12,9 +12,9 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
|
|
|
12
12
|
padding: 2px;
|
|
13
13
|
border-radius: 0.35em;
|
|
14
14
|
|
|
15
|
-
@include theme {
|
|
16
|
-
|
|
17
|
-
}
|
|
15
|
+
// @include theme {
|
|
16
|
+
background: var(--co-weak);
|
|
17
|
+
// }
|
|
18
18
|
|
|
19
19
|
& > * {
|
|
20
20
|
cursor: pointer;
|
|
@@ -25,10 +25,10 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
|
|
|
25
25
|
padding: 0.5em 1em;
|
|
26
26
|
&.active {
|
|
27
27
|
-webkit-font-smoothing: auto;
|
|
28
|
-
@include theme {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
28
|
+
// @include theme {
|
|
29
|
+
color: var(--co-main);
|
|
30
|
+
background: var(--co-fore);
|
|
31
|
+
// }
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -25,26 +25,19 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
|
|
|
25
25
|
border-radius: 1em 0.2em 0.2em 1em;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
@each $
|
|
29
|
-
@
|
|
30
|
-
|
|
31
|
-
$co
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
} @else {
|
|
43
|
-
&[ui-tag~='#{$key}'] {
|
|
44
|
-
color: $co;
|
|
45
|
-
box-shadow: inset 0 0 0 1px rgba($bk, 0.15);
|
|
46
|
-
background: $bg;
|
|
47
|
-
}
|
|
28
|
+
@each $co in $state {
|
|
29
|
+
@if ($co== 'main') {
|
|
30
|
+
&,
|
|
31
|
+
&[ui-tag~='#{$co}'] {
|
|
32
|
+
color: var(--co-#{$co}-text);
|
|
33
|
+
box-shadow: inset 0 0 0 1px var(--co-#{$co}-ss);
|
|
34
|
+
background: var(--bg-#{$co});
|
|
35
|
+
}
|
|
36
|
+
} @else {
|
|
37
|
+
&[ui-tag~='#{$co}'] {
|
|
38
|
+
color: var(--co-#{$co}-text);
|
|
39
|
+
box-shadow: inset 0 0 0 1px var(--co-#{$co}-ss);
|
|
40
|
+
background: var(--bg-#{$co});
|
|
48
41
|
}
|
|
49
42
|
}
|
|
50
43
|
}
|
|
@@ -99,26 +92,19 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
|
|
|
99
92
|
}
|
|
100
93
|
|
|
101
94
|
// 主题
|
|
102
|
-
@each $
|
|
103
|
-
@
|
|
104
|
-
|
|
105
|
-
$co
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
116
|
-
} @else {
|
|
117
|
-
&[ui-tags~='#{$key}'] > * {
|
|
118
|
-
color: $co;
|
|
119
|
-
box-shadow: inset 0 0 0 1px rgba($bk, 0.15);
|
|
120
|
-
background: $bg;
|
|
121
|
-
}
|
|
95
|
+
@each $co in $state {
|
|
96
|
+
@if ($co== 'main') {
|
|
97
|
+
& > *,
|
|
98
|
+
&[ui-tags~='#{$co}'] > * {
|
|
99
|
+
color: var(--co-#{$co}-text);
|
|
100
|
+
box-shadow: inset 0 0 0 1px var(--co-#{$co}-ss);
|
|
101
|
+
background: var(--bg-#{$co});
|
|
102
|
+
}
|
|
103
|
+
} @else {
|
|
104
|
+
&[ui-tags~='#{$co}'] > * {
|
|
105
|
+
color: var(--co-#{$co}-text);
|
|
106
|
+
box-shadow: inset 0 0 0 1px var(--co-#{$co}-ss);
|
|
107
|
+
background: var(--bg-#{$co});
|
|
122
108
|
}
|
|
123
109
|
}
|
|
124
110
|
}
|
|
@@ -35,24 +35,17 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
// 颜色
|
|
38
|
-
@each $
|
|
39
|
-
@
|
|
40
|
-
|
|
41
|
-
$co
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
background: $bg;
|
|
50
|
-
}
|
|
51
|
-
} @else {
|
|
52
|
-
&[ui-tag~='#{$key}'] {
|
|
53
|
-
color: $co;
|
|
54
|
-
background: $bg;
|
|
55
|
-
}
|
|
38
|
+
@each $co in $state {
|
|
39
|
+
@if ($co== 'main') {
|
|
40
|
+
&,
|
|
41
|
+
&[ui-tag~='#{$co}'] {
|
|
42
|
+
color: var(--co-#{$co}-text);
|
|
43
|
+
background: var(--bg-#{$co});
|
|
44
|
+
}
|
|
45
|
+
} @else {
|
|
46
|
+
&[ui-tag~='#{$co}'] {
|
|
47
|
+
color: var(--co-#{$co}-text);
|
|
48
|
+
background: var(--bg-#{$co});
|
|
56
49
|
}
|
|
57
50
|
}
|
|
58
51
|
}
|
|
@@ -107,24 +100,17 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
|
|
|
107
100
|
}
|
|
108
101
|
|
|
109
102
|
// 主题
|
|
110
|
-
@each $
|
|
111
|
-
@
|
|
112
|
-
|
|
113
|
-
$co
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
background: $bg;
|
|
122
|
-
}
|
|
123
|
-
} @else {
|
|
124
|
-
&[ui-tags~='#{$key}'] > * {
|
|
125
|
-
color: $co;
|
|
126
|
-
background: $bg;
|
|
127
|
-
}
|
|
103
|
+
@each $co in $state {
|
|
104
|
+
@if ($co== 'main') {
|
|
105
|
+
& > *,
|
|
106
|
+
&[ui-tags~='#{$co}'] > * {
|
|
107
|
+
color: var(--co-#{$co}-text);
|
|
108
|
+
background: var(--bg-#{$co});
|
|
109
|
+
}
|
|
110
|
+
} @else {
|
|
111
|
+
&[ui-tags~='#{$co}'] > * {
|
|
112
|
+
color: var(--co-#{$co}-text);
|
|
113
|
+
background: var(--bg-#{$co});
|
|
128
114
|
}
|
|
129
115
|
}
|
|
130
116
|
}
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
// 盒子
|
|
9
9
|
[ui-tips-box] {
|
|
10
10
|
position: absolute;
|
|
11
|
-
@include theme {
|
|
12
|
-
|
|
13
|
-
}
|
|
11
|
+
// @include theme {
|
|
12
|
+
background: var(--co-fore);
|
|
13
|
+
// }
|
|
14
14
|
box-shadow: 0 0 0.2em 1px rgba(0, 0, 0, 0.08);
|
|
15
15
|
// padding: 0.5em;
|
|
16
16
|
border-radius: 0.25em;
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
width: 0.5em;
|
|
40
40
|
height: 0.5em;
|
|
41
41
|
transform: rotate(45deg);
|
|
42
|
-
@include theme {
|
|
43
|
-
|
|
44
|
-
}
|
|
42
|
+
// @include theme {
|
|
43
|
+
background: var(--co-fore);
|
|
44
|
+
// }
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
package/core/base.scss
CHANGED
|
@@ -188,6 +188,10 @@
|
|
|
188
188
|
-webkit-font-smoothing: antialiased;
|
|
189
189
|
-moz-osx-font-smoothing: grayscale;
|
|
190
190
|
}
|
|
191
|
+
.#{$d}fw-none {
|
|
192
|
+
-webkit-font-smoothing: antialiased;
|
|
193
|
+
-moz-osx-font-smoothing: grayscale;
|
|
194
|
+
}
|
|
191
195
|
.#{$d}fw-auto {
|
|
192
196
|
font-weight: normal;
|
|
193
197
|
-webkit-font-smoothing: auto;
|
|
@@ -348,6 +352,13 @@
|
|
|
348
352
|
.#{$d}o-ll\+mm {
|
|
349
353
|
opacity: 0.95;
|
|
350
354
|
}
|
|
355
|
+
|
|
356
|
+
.#{$d}upper {
|
|
357
|
+
text-transform: uppercase;
|
|
358
|
+
}
|
|
359
|
+
.#{$d}lower {
|
|
360
|
+
text-transform: lowercase;
|
|
361
|
+
}
|
|
351
362
|
}
|
|
352
363
|
|
|
353
364
|
// 桌面
|
|
@@ -375,13 +386,6 @@ code,
|
|
|
375
386
|
max-width: 95rem;
|
|
376
387
|
height: 100%;
|
|
377
388
|
margin: 0 auto;
|
|
378
|
-
// padding: 0 1rem;
|
|
379
|
-
// clear: both;
|
|
380
|
-
// &:after {
|
|
381
|
-
// display: table;
|
|
382
|
-
// content: '';
|
|
383
|
-
// clear: both;
|
|
384
|
-
// }
|
|
385
389
|
}
|
|
386
390
|
// 全屏的
|
|
387
391
|
[layout='full'] {
|