@neatui/css 1.0.27 → 2.0.0-beta.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.
- 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 +36 -41
- 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 +24 -9
- 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 +36 -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
package/core/pos.scss
DELETED
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
[ui-pos] {
|
|
2
|
-
position: relative;
|
|
3
|
-
display: flex;
|
|
4
|
-
// pointer-events: none;
|
|
5
|
-
flex-wrap: wrap;
|
|
6
|
-
|
|
7
|
-
// 行列
|
|
8
|
-
&,
|
|
9
|
-
&[ui-pos~=':row'] {
|
|
10
|
-
flex-direction: row;
|
|
11
|
-
|
|
12
|
-
&[ui-pos~='lt'] {
|
|
13
|
-
justify-content: flex-start;
|
|
14
|
-
align-items: flex-start;
|
|
15
|
-
align-content: flex-start;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&[ui-pos~='ct'] {
|
|
19
|
-
justify-content: center;
|
|
20
|
-
align-items: flex-start;
|
|
21
|
-
align-content: flex-start;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&[ui-pos~='rt'] {
|
|
25
|
-
justify-content: flex-end;
|
|
26
|
-
align-items: flex-start;
|
|
27
|
-
align-content: flex-start;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&[ui-pos~='xt'] {
|
|
31
|
-
justify-content: space-between;
|
|
32
|
-
align-items: flex-start;
|
|
33
|
-
align-content: flex-start;
|
|
34
|
-
}
|
|
35
|
-
&[ui-pos~='at'] {
|
|
36
|
-
justify-content: space-around;
|
|
37
|
-
align-items: flex-start;
|
|
38
|
-
align-content: flex-start;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&[ui-pos~='lm'] {
|
|
42
|
-
justify-content: flex-start;
|
|
43
|
-
align-items: center;
|
|
44
|
-
align-content: center;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&[ui-pos~='cm'] {
|
|
48
|
-
justify-content: center;
|
|
49
|
-
align-items: center;
|
|
50
|
-
align-content: center;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&[ui-pos~='rm'] {
|
|
54
|
-
justify-content: flex-end;
|
|
55
|
-
align-items: center;
|
|
56
|
-
align-content: center;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&[ui-pos~='xm'] {
|
|
60
|
-
justify-content: space-between;
|
|
61
|
-
align-items: center;
|
|
62
|
-
align-content: center;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&[ui-pos~='am'] {
|
|
66
|
-
justify-content: space-around;
|
|
67
|
-
align-items: center;
|
|
68
|
-
align-content: center;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&[ui-pos~='lb'] {
|
|
72
|
-
justify-content: flex-start;
|
|
73
|
-
align-items: flex-end;
|
|
74
|
-
align-content: flex-end;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&[ui-pos~='cb'] {
|
|
78
|
-
justify-content: center;
|
|
79
|
-
align-items: flex-end;
|
|
80
|
-
align-content: flex-end;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&[ui-pos~='rb'] {
|
|
84
|
-
justify-content: flex-end;
|
|
85
|
-
align-items: flex-end;
|
|
86
|
-
align-content: flex-end;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&[ui-pos~='xb'] {
|
|
90
|
-
justify-content: space-between;
|
|
91
|
-
align-items: flex-end;
|
|
92
|
-
align-content: flex-end;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&[ui-pos~='ab'] {
|
|
96
|
-
justify-content: space-around;
|
|
97
|
-
align-items: flex-end;
|
|
98
|
-
align-content: flex-end;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
&[ui-pos~=':col'] {
|
|
102
|
-
flex-direction: column;
|
|
103
|
-
|
|
104
|
-
&[ui-pos~='lt'] {
|
|
105
|
-
justify-content: flex-start;
|
|
106
|
-
align-items: flex-start;
|
|
107
|
-
align-content: flex-start;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&[ui-pos~='ct'] {
|
|
111
|
-
justify-content: flex-start;
|
|
112
|
-
align-items: center;
|
|
113
|
-
align-content: center;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
&[ui-pos~='rt'] {
|
|
117
|
-
justify-content: flex-start;
|
|
118
|
-
align-items: flex-end;
|
|
119
|
-
align-content: flex-end;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&[ui-pos~='xt'] {
|
|
123
|
-
justify-content: flex-start;
|
|
124
|
-
align-items: stretch;
|
|
125
|
-
align-content: stretch;
|
|
126
|
-
}
|
|
127
|
-
&[ui-pos~='at'] {
|
|
128
|
-
justify-content: flex-start;
|
|
129
|
-
align-items: space-around;
|
|
130
|
-
align-content: space-around;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&[ui-pos~='lm'] {
|
|
134
|
-
justify-content: center;
|
|
135
|
-
align-items: flex-start;
|
|
136
|
-
align-content: flex-start;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&[ui-pos~='cm'] {
|
|
140
|
-
justify-content: center;
|
|
141
|
-
align-items: center;
|
|
142
|
-
align-content: center;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&[ui-pos~='rm'] {
|
|
146
|
-
justify-content: center;
|
|
147
|
-
align-items: flex-end;
|
|
148
|
-
align-content: flex-end;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
&[ui-pos~='xm'] {
|
|
152
|
-
justify-content: center;
|
|
153
|
-
align-items: stretch;
|
|
154
|
-
align-content: stretch;
|
|
155
|
-
}
|
|
156
|
-
&[ui-pos~='am'] {
|
|
157
|
-
justify-content: center;
|
|
158
|
-
align-items: space-around;
|
|
159
|
-
align-content: space-around;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
&[ui-pos~='lb'] {
|
|
163
|
-
justify-content: flex-end;
|
|
164
|
-
align-items: flex-start;
|
|
165
|
-
align-content: flex-start;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
&[ui-pos~='cb'] {
|
|
169
|
-
justify-content: flex-end;
|
|
170
|
-
align-items: center;
|
|
171
|
-
align-content: center;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&[ui-pos~='rb'] {
|
|
175
|
-
justify-content: flex-end;
|
|
176
|
-
align-items: flex-end;
|
|
177
|
-
align-content: flex-end;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
&[ui-pos~='xb'] {
|
|
181
|
-
justify-content: flex-end;
|
|
182
|
-
align-items: stretch;
|
|
183
|
-
align-content: stretch;
|
|
184
|
-
}
|
|
185
|
-
&[ui-pos~='ab'] {
|
|
186
|
-
justify-content: flex-end;
|
|
187
|
-
align-items: space-around;
|
|
188
|
-
align-content: space-around;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
&[ui-pos~='ly'] {
|
|
192
|
-
justify-content: space-between;
|
|
193
|
-
align-items: flex-start;
|
|
194
|
-
align-content: flex-start;
|
|
195
|
-
}
|
|
196
|
-
&[ui-pos~='la'] {
|
|
197
|
-
justify-content: space-around;
|
|
198
|
-
align-items: flex-start;
|
|
199
|
-
align-content: flex-start;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
&[ui-pos~='cy'] {
|
|
203
|
-
justify-content: space-between;
|
|
204
|
-
align-items: center;
|
|
205
|
-
align-content: center;
|
|
206
|
-
}
|
|
207
|
-
&[ui-pos~='ca'] {
|
|
208
|
-
justify-content: space-around;
|
|
209
|
-
align-items: center;
|
|
210
|
-
align-content: center;
|
|
211
|
-
}
|
|
212
|
-
&[ui-pos~='ry'] {
|
|
213
|
-
justify-content: space-between;
|
|
214
|
-
align-items: flex-end;
|
|
215
|
-
align-content: flex-end;
|
|
216
|
-
}
|
|
217
|
-
&[ui-pos~='ra'] {
|
|
218
|
-
justify-content: space-around;
|
|
219
|
-
align-items: flex-end;
|
|
220
|
-
align-content: flex-end;
|
|
221
|
-
}
|
|
222
|
-
&[ui-pos~='xy'] {
|
|
223
|
-
justify-content: space-between;
|
|
224
|
-
align-items: space-between;
|
|
225
|
-
align-content: space-between;
|
|
226
|
-
}
|
|
227
|
-
&[ui-pos~='aa'] {
|
|
228
|
-
justify-content: space-around;
|
|
229
|
-
align-items: space-around;
|
|
230
|
-
align-content: space-around;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
// 撑满
|
|
235
|
-
&[ui-pos~=':full'] {
|
|
236
|
-
flex-grow: 1;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
// 行内
|
|
240
|
-
&[ui-pos~=':inline'] {
|
|
241
|
-
display: inline-flex;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
// 不换行
|
|
245
|
-
&[ui-pos~=':nowrap'] {
|
|
246
|
-
flex-wrap: nowrap;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
& > * {
|
|
250
|
-
position: relative !important;
|
|
251
|
-
}
|
|
252
|
-
}
|
package/core/trim.mobile.scss
DELETED
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
@mixin trim($media: '') {
|
|
2
|
-
$size: (no, xs, ss, sm, sl, ms, mm, ml, ls, lm, ll, xl);
|
|
3
|
-
|
|
4
|
-
// 栅格
|
|
5
|
-
$col_base: 0;
|
|
6
|
-
$col_unit: rem;
|
|
7
|
-
@each $sz in $size {
|
|
8
|
-
@if ($sz == xs) {
|
|
9
|
-
$col_base: 1;
|
|
10
|
-
$col_unit: px;
|
|
11
|
-
} @else {
|
|
12
|
-
$col_unit: rem;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// 栅格系统配套
|
|
16
|
-
[ui-row] {
|
|
17
|
-
// 左右内边距
|
|
18
|
-
&.#{$media}n-#{$sz}-sub,
|
|
19
|
-
&.#{$media}nx-#{$sz}-sub,
|
|
20
|
-
&.#{$media}nl-#{$sz}-sub {
|
|
21
|
-
margin-left: -$col_base + $col_unit;
|
|
22
|
-
}
|
|
23
|
-
&.#{$media}n-#{$sz}-sub,
|
|
24
|
-
&.#{$media}nx-#{$sz}-sub,
|
|
25
|
-
&.#{$media}nr-#{$sz}-sub {
|
|
26
|
-
margin-right: -$col_base + $col_unit;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@if ($sz == xs) {
|
|
31
|
-
$col_base: 0;
|
|
32
|
-
}
|
|
33
|
-
@if ($col_base >= 1) {
|
|
34
|
-
$col_base: $col_base + 0.4;
|
|
35
|
-
} @else if($col_base >= 0.6) {
|
|
36
|
-
$col_base: $col_base + 0.2;
|
|
37
|
-
} @else {
|
|
38
|
-
$col_base: $col_base + 0.1;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// 边距
|
|
43
|
-
$base: 0;
|
|
44
|
-
$unit: rem;
|
|
45
|
-
@each $sz in $size {
|
|
46
|
-
@if ($sz == xs) {
|
|
47
|
-
$base: 1;
|
|
48
|
-
$unit: px;
|
|
49
|
-
} @else {
|
|
50
|
-
$unit: rem;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// 内边距
|
|
54
|
-
.#{$media}n {
|
|
55
|
-
&,
|
|
56
|
-
&x,
|
|
57
|
-
&l {
|
|
58
|
-
&-#{$sz} {
|
|
59
|
-
@at-root {
|
|
60
|
-
& {
|
|
61
|
-
padding-left: $base + $unit !important;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
html body &-sub > *,
|
|
65
|
-
&-sun > * > * {
|
|
66
|
-
padding-left: $base + $unit;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&,
|
|
73
|
-
&x,
|
|
74
|
-
&r {
|
|
75
|
-
&-#{$sz} {
|
|
76
|
-
@at-root {
|
|
77
|
-
& {
|
|
78
|
-
padding-right: $base + $unit !important;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
html body &-sub > *,
|
|
82
|
-
&-sun > * > * {
|
|
83
|
-
padding-right: $base + $unit;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&,
|
|
90
|
-
&y,
|
|
91
|
-
&t {
|
|
92
|
-
&-#{$sz} {
|
|
93
|
-
@at-root {
|
|
94
|
-
& {
|
|
95
|
-
padding-top: $base + $unit !important;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
html body &-sub > *,
|
|
99
|
-
&-sun > * > * {
|
|
100
|
-
padding-top: $base + $unit;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&,
|
|
107
|
-
&y,
|
|
108
|
-
&b {
|
|
109
|
-
&-#{$sz} {
|
|
110
|
-
@at-root {
|
|
111
|
-
& {
|
|
112
|
-
padding-bottom: $base + $unit !important;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
html body &-sub > *,
|
|
116
|
-
&-sun > * > * {
|
|
117
|
-
padding-bottom: $base + $unit;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
// 外边距
|
|
125
|
-
.#{$media}m {
|
|
126
|
-
&,
|
|
127
|
-
&x,
|
|
128
|
-
&l {
|
|
129
|
-
&-#{$sz} {
|
|
130
|
-
@at-root {
|
|
131
|
-
& {
|
|
132
|
-
margin-left: $base + $unit !important;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
html body &-sub > *,
|
|
136
|
-
&-sun > * > * {
|
|
137
|
-
margin-left: $base + $unit;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
// 子集
|
|
142
|
-
&-sub > *,
|
|
143
|
-
&-sun > * > * {
|
|
144
|
-
&:first-child {
|
|
145
|
-
margin-left: 0;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
&,
|
|
152
|
-
&x,
|
|
153
|
-
&r {
|
|
154
|
-
&-#{$sz} {
|
|
155
|
-
@at-root {
|
|
156
|
-
& {
|
|
157
|
-
margin-right: $base + $unit !important;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
html body &-sub > *,
|
|
161
|
-
&-sun > * > * {
|
|
162
|
-
margin-right: $base + $unit;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
// 子集
|
|
167
|
-
&-sub > *,
|
|
168
|
-
&-sun > * > * {
|
|
169
|
-
&:last-child {
|
|
170
|
-
margin-right: 0;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
&,
|
|
177
|
-
&y,
|
|
178
|
-
&t {
|
|
179
|
-
&-#{$sz} {
|
|
180
|
-
@at-root {
|
|
181
|
-
& {
|
|
182
|
-
margin-top: $base + $unit !important;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
html body &-sub > *,
|
|
186
|
-
&-sun > * > * {
|
|
187
|
-
margin-top: $base + $unit;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&,
|
|
194
|
-
&y,
|
|
195
|
-
&b {
|
|
196
|
-
&-#{$sz} {
|
|
197
|
-
@at-root {
|
|
198
|
-
& {
|
|
199
|
-
margin-bottom: $base + $unit !important;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
html body &-sub > *,
|
|
203
|
-
&-sun > * > * {
|
|
204
|
-
margin-bottom: $base + $unit;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
@if ($sz == xs) {
|
|
212
|
-
$base: 0;
|
|
213
|
-
}
|
|
214
|
-
@if ($base >= 1) {
|
|
215
|
-
$base: $base + 0.4;
|
|
216
|
-
} @else if($base >= 0.6) {
|
|
217
|
-
$base: $base + 0.2;
|
|
218
|
-
} @else {
|
|
219
|
-
$base: $base + 0.1;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
// 圆角
|
|
224
|
-
$br_base: 0;
|
|
225
|
-
@each $sz in $size {
|
|
226
|
-
.#{$media}br-#{$sz} {
|
|
227
|
-
border-radius: #{$br_base}em;
|
|
228
|
-
}
|
|
229
|
-
$br_base: $br_base + 0.1;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
// 边框
|
|
233
|
-
$bk_base: 0;
|
|
234
|
-
@each $sz in $size {
|
|
235
|
-
// 边框
|
|
236
|
-
.#{$media}b {
|
|
237
|
-
&,
|
|
238
|
-
&x,
|
|
239
|
-
&l {
|
|
240
|
-
&-#{$sz} {
|
|
241
|
-
&,
|
|
242
|
-
&-sub > *,
|
|
243
|
-
&-sun > * > * {
|
|
244
|
-
border-left-width: #{$bk_base}px;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
&,
|
|
250
|
-
&x,
|
|
251
|
-
&r {
|
|
252
|
-
&-#{$sz} {
|
|
253
|
-
&,
|
|
254
|
-
&-sub > *,
|
|
255
|
-
&-sun > * > * {
|
|
256
|
-
border-right-width: #{$bk_base}px;
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
&,
|
|
262
|
-
&y,
|
|
263
|
-
&t {
|
|
264
|
-
&-#{$sz} {
|
|
265
|
-
&,
|
|
266
|
-
&-sub > *,
|
|
267
|
-
&-sun > * > * {
|
|
268
|
-
border-top-width: #{$bk_base}px;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
&,
|
|
274
|
-
&y,
|
|
275
|
-
&b {
|
|
276
|
-
&-#{$sz} {
|
|
277
|
-
&,
|
|
278
|
-
&-sub > *,
|
|
279
|
-
&-sun > * > * {
|
|
280
|
-
border-bottom-width: #{$bk_base}px;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
$bk_base: $bk_base + 1;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
// 宽度
|
|
290
|
-
$w_base: 0;
|
|
291
|
-
@each $sz in $size {
|
|
292
|
-
.#{$media}w-#{$sz} {
|
|
293
|
-
width: #{$w_base}em;
|
|
294
|
-
max-width: 100%;
|
|
295
|
-
}
|
|
296
|
-
$w_base: $w_base + 1;
|
|
297
|
-
@if ($w_base > 5) {
|
|
298
|
-
$w_base: $w_base + 2;
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
// 高度
|
|
303
|
-
$h_base: 0;
|
|
304
|
-
@each $sz in $size {
|
|
305
|
-
.#{$media}h-#{$sz} {
|
|
306
|
-
height: #{$h_base}em;
|
|
307
|
-
max-height: 100%;
|
|
308
|
-
}
|
|
309
|
-
$h_base: $h_base + 2;
|
|
310
|
-
@if ($h_base > 5) {
|
|
311
|
-
$h_base: $h_base + 2;
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
// 桌面
|
|
317
|
-
@include trim();
|
|
318
|
-
|
|
319
|
-
// 平板
|
|
320
|
-
@include pad {
|
|
321
|
-
@include trim('pad\:');
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
// 移动
|
|
325
|
-
@include mob {
|
|
326
|
-
@include trim('mob\:');
|
|
327
|
-
}
|
|
File without changes
|
|
File without changes
|