@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.
Files changed (91) hide show
  1. package/components/btns/btns@a.scss +41 -87
  2. package/components/btns/btns@b.scss +22 -22
  3. package/components/btns/btns@c.scss +2 -2
  4. package/components/btns/mcui@btns.scss +2 -2
  5. package/components/card/card@a.scss +37 -37
  6. package/components/card/card@b.scss +36 -41
  7. package/components/cite/cite@a.scss +1 -2
  8. package/components/demo/demo@a.scss +3 -3
  9. package/components/form/base.scss +30 -26
  10. package/components/form/form@a/base.scss +5 -5
  11. package/components/form/form@a/checkbox.scss +21 -27
  12. package/components/form/form@a/date.scss +6 -6
  13. package/components/form/form@a/input.scss +25 -25
  14. package/components/form/form@a/radio.scss +2 -6
  15. package/components/form/form@a/select.scss +10 -12
  16. package/components/form/form@a/switch.scss +7 -10
  17. package/components/form/form@a/textarea.scss +29 -41
  18. package/components/form/form@a/upload.scss +11 -16
  19. package/components/form/form@b/base.scss +3 -5
  20. package/components/form/form@b/checkbox.scss +1 -3
  21. package/components/form/form@b/date.scss +6 -6
  22. package/components/form/form@b/input.scss +23 -41
  23. package/components/form/form@b/radio.scss +1 -3
  24. package/components/form/form@b/select.scss +10 -12
  25. package/components/form/form@b/switch.scss +7 -10
  26. package/components/form/form@b/textarea.scss +25 -41
  27. package/components/form/form@b/upload.scss +11 -16
  28. package/components/form/form@c/base.scss +9 -12
  29. package/components/form/form@c/checkbox.scss +3 -6
  30. package/components/form/form@c/date.scss +7 -9
  31. package/components/form/form@c/input.scss +27 -42
  32. package/components/form/form@c/radio.scss +3 -6
  33. package/components/form/form@c/select.scss +10 -12
  34. package/components/form/form@c/switch.scss +7 -10
  35. package/components/form/form@c/textarea.scss +21 -33
  36. package/components/form/form@c/upload.scss +11 -16
  37. package/components/form/form@d/input.scss +13 -13
  38. package/components/form/form@d/textarea.scss +16 -16
  39. package/components/form/form@d/upload.scss +2 -2
  40. package/components/form/mcui@form.scss +1 -1
  41. package/components/form/radio@theme=aa.scss +1 -5
  42. package/components/grid/grid@a.scss +7 -9
  43. package/components/imgs/base.scss +2 -3
  44. package/components/imgs/imgs@a.scss +11 -19
  45. package/components/imgs/imgs@b.scss +1 -1
  46. package/components/line/line@a.scss +3 -6
  47. package/components/line/line@b.scss +4 -12
  48. package/components/list/list@a.scss +13 -18
  49. package/components/list/list@b.scss +9 -13
  50. package/components/load/load@a.scss +11 -12
  51. package/components/load/load@e.scss +1 -3
  52. package/components/load/load@h.scss +3 -7
  53. package/components/menu/menu@b.scss +28 -40
  54. package/components/navs/navs@a.scss +12 -25
  55. package/components/navs/navs@b.scss +14 -29
  56. package/components/note/note@a.scss +8 -13
  57. package/components/note/note@b.scss +8 -22
  58. package/components/opts/opts@a.scss +7 -10
  59. package/components/path/path@a.scss +2 -6
  60. package/components/steps/steps@a.scss +10 -22
  61. package/components/steps/steps@v.scss +25 -37
  62. package/components/table/base.scss +15 -13
  63. package/components/table/table@a.scss +42 -41
  64. package/components/table/table@b.scss +23 -25
  65. package/components/table/table@c.scss +2 -4
  66. package/components/tabs/tabs@a.scss +7 -7
  67. package/components/tabs/tabs@b.scss +7 -7
  68. package/components/tabs/tabs@c.scss +7 -7
  69. package/components/tags/tags@a.scss +26 -40
  70. package/components/tags/tags@b.scss +22 -36
  71. package/components/tips/tips@a.scss +6 -6
  72. package/components/title/title@a.scss +3 -3
  73. package/components/title/title@b.scss +4 -3
  74. package/core/base.scss +24 -9
  75. package/core/color.scss +35 -179
  76. package/core/{mcui@core.scss → neatui@core.scss} +0 -2
  77. package/core/reset.scss +15 -2
  78. package/core/scroll.scss +20 -15
  79. package/core/size.scss +2 -2
  80. package/core/theme.scss +199 -69
  81. package/core/trim.scss +36 -0
  82. package/core/ux.scss +13 -19
  83. package/neatui.scss +1 -1
  84. package/package.json +1 -1
  85. package/components/paging/mc-paging-ui1503.scss +0 -106
  86. package/components/paging/mc-paging.scss +0 -432
  87. package/components/paging/paging@theme=aa.scss +0 -45
  88. package/core/pos.scss +0 -252
  89. package/core/trim.mobile.scss +0 -327
  90. /package/core/{mcui@core.lite.scss → neatui@core.lite.scss} +0 -0
  91. /package/core/{mcui@mobile.scss → neatui@mobile.scss} +0 -0
package/core/theme.scss CHANGED
@@ -1,89 +1,98 @@
1
- $default: (
2
- '_sys': (
3
- main: #d52932,
4
- vice: #67337d,
5
- text: #111,
6
- fore: #fff,
7
- back: #f7f7f7,
8
- land: #ff9900,
9
- link: #0d66d0,
10
- code: #e23861,
11
- well: #4bbc73,
12
- warn: #fb9a2a,
13
- risk: #f95850,
14
- info: #0889e4
1
+ // 兜底
2
+ $theme: if(
3
+ global-variable-exists(theme),
4
+ $theme,
5
+ (
6
+ _sys: (
7
+ main: #0889e4,
8
+ text: #000000,
9
+ fore: #ffffff,
10
+ back: #f5f5f5,
11
+ link: #d07950,
12
+ code: #e23861,
13
+ well: #4bbc73,
14
+ warn: #fb9a2a,
15
+ risk: #f95850,
16
+ info: #0889e4
17
+ )
15
18
  )
16
19
  );
17
20
 
18
21
  // 检测
19
22
  @if (global-variable-exists(theme)) {
20
- // 检测关键的基础颜色是否完整
23
+ $fa: map-keys($theme);
24
+ $fk: nth($fa, 1);
25
+ @if (length($fa) == 1 and $fk == _sys) {
26
+ @warn '检测到您未定义主题色卡,请遵循 neatui 设计规范建立主题色卡;https://neatui.fekit.cn/#/docs/config';
27
+ @debug '尝试修复错误...';
28
+ @debug '创建系统默认色卡[theme=_sys]';
29
+ } @else {
30
+ @debug '检测到主题色卡[theme=#{$fk}]';
31
+ }
32
+
21
33
  @each $var in $theme {
22
34
  $n: nth($var, 1);
23
35
  $s: nth($var, 2);
24
- @debug '检测到主题色卡[theme=#{$n}]';
25
-
26
- // @debug '检查主题关键颜色是否完整!';
27
- $baseColor: 'main', 'text', 'fore', 'back', 'link', 'code', 'well', 'warn', 'risk', 'info';
28
- @each $baseColorItem in $baseColor {
29
- @if (map-has-key($s, $baseColorItem)) {
30
- } @else {
31
- @error '[theme=#{$n}]主题缺少一个关键的基础颜色#{$baseColorItem}';
36
+ @if ($s and type-of($s) == 'map') {
37
+ $baseColor: 'main', 'text', 'fore', 'back', 'link', 'code', 'well', 'warn', 'risk';
38
+ @each $baseColorItem in $baseColor {
39
+ @if (map-has-key($s, $baseColorItem)) {
40
+ } @else {
41
+ @warn '[theme=#{$n}]主题缺少一个关键的基础颜色#{$baseColorItem}';
42
+ }
32
43
  }
44
+ } @else {
45
+ @debug '[theme=#{$n}]主题色卡配置错误';
33
46
  }
34
47
  }
35
- } @else {
36
- @debug '未定义基础色卡,请遵循MCUI设计规范建立主题色卡;https://mcui.asnowsoft.com/#/start/design';
37
- @debug '尝试修复错误...';
38
- @debug '创建系统默认色卡[theme=_sys]';
39
- $theme: $default !global;
40
48
  }
41
49
 
42
50
  // 扩展颜色
43
51
  @each $i in $theme {
44
52
  $n: nth($i, 1);
45
53
  $s: nth($i, 2);
46
- $m: (
47
- read: mix(map-get($s, 'text'), map-get($s, 'fore'), 80%),
48
- desc: mix(map-get($s, 'text'), map-get($s, 'fore'), 55%),
49
- note: mix(map-get($s, 'text'), map-get($s, 'fore'), 35%),
50
- idle: mix(map-get($s, 'text'), map-get($s, 'fore'), 25%),
51
- case: mix(map-get($s, 'text'), map-get($s, 'fore'), 20%),
52
- line: mix(map-get($s, 'text'), map-get($s, 'fore'), 8%),
53
- weak: mix(map-get($s, 'text'), map-get($s, 'fore'), 3%),
54
- deep:
55
- rgb(
56
- red(map-get($s, 'back')) - (red(map-get($s, 'back')) * 0.05 + 5),
57
- green(map-get($s, 'back')) - (green(map-get($s, 'back')) * 0.05 + 5),
58
- blue(map-get($s, 'back')) - (blue(map-get($s, 'back')) * 0.05 + 5)
59
- ),
60
- none: transparent,
61
- w: #fff,
62
- b: #000
63
- );
64
- // 将扩展颜色加入放题色卡中
65
- $theme: map-merge(
66
- $theme,
67
- (
68
- $n: map-merge($m, $s)
69
- )
70
- ) !global;
54
+ @if ($s and type-of($s) == 'map') {
55
+ $m: (
56
+ none: transparent,
57
+ w: #ffffff,
58
+ b: #000000,
59
+ read: mix(map-get($s, 'text'), map-get($s, 'fore'), 85%),
60
+ desc: mix(map-get($s, 'text'), map-get($s, 'fore'), 55%),
61
+ note: mix(map-get($s, 'text'), map-get($s, 'fore'), 35%),
62
+ // idle: mix(map-get($s, 'text'), map-get($s, 'fore'), 25%),
63
+ case:
64
+ mix(map-get($s, 'text'), map-get($s, 'fore'), 20%),
65
+ line: mix(map-get($s, 'text'), map-get($s, 'fore'), 10%),
66
+ weak: mix(map-get($s, 'text'), map-get($s, 'fore'), 3%),
67
+ // deep:
68
+ // rgb(
69
+ // red(map-get($s, 'back')) - (red(map-get($s, 'back')) * 0.05 + 5),
70
+ // green(map-get($s, 'back')) - (green(map-get($s, 'back')) * 0.05 + 5),
71
+ // blue(map-get($s, 'back')) - (blue(map-get($s, 'back')) * 0.05 + 5)
72
+ // ),
73
+ );
74
+ // 将扩展颜色加入放题色卡中
75
+ $theme: map-merge(
76
+ $theme,
77
+ (
78
+ $n: map-merge($m, $s)
79
+ )
80
+ );
81
+ }
71
82
  }
72
83
 
73
84
  // 主题
74
- @mixin theme($themeName: null) {
75
- $hasTheme: map-get($theme, $themeName);
76
- @if ($themeName != null) {
85
+ @mixin theme($n: null) {
86
+ $hasTheme: map-get($theme, $n);
87
+ @if ($n != null) {
77
88
  @if ($hasTheme != null) {
78
89
  $t: $hasTheme;
79
90
  $first: nth(nth($theme, 1), 1);
80
- $n: $themeName;
81
- $this: #{nth(&, 1)};
82
- @if ($this == 'html' or $this == '' or $this == null) {
91
+ $n: $n;
92
+ $s: #{nth(&, 1)};
93
+ @if ($s == 'html' or $s == '' or $s == null) {
83
94
  @if ($n == $first) {
84
- @at-root html,
85
- [theme],
86
- [theme='#{$n}'] {
95
+ @at-root html {
87
96
  @content;
88
97
  }
89
98
  } @else {
@@ -101,18 +110,17 @@ $default: (
101
110
  }
102
111
  }
103
112
  } @else {
104
- @debug '没有指定主题#{$hasTheme}';
113
+ @warn '没有指定主题#{$hasTheme}';
105
114
  }
106
115
  } @else {
107
116
  $first: nth(nth($theme, 1), 1);
108
117
  @each $t in $theme {
109
118
  $n: nth($t, 1);
110
- $this: #{nth(&, 1)};
111
- @if ($this == 'html' or $this == ':root' or $this == '' or $this == null) {
119
+ $s: #{nth(&, 1)};
120
+
121
+ @if ($s == 'html' or $s == ':root' or $s == '' or $s == null) {
112
122
  @if ($n == $first) {
113
- @at-root html,
114
- [theme],
115
- [theme='#{$n}'] {
123
+ @at-root html {
116
124
  @content;
117
125
  }
118
126
  } @else {
@@ -143,7 +151,6 @@ $default: (
143
151
  $n: nth(nth($theme, 1), 1);
144
152
  $s: nth(nth($theme, 1), 2);
145
153
  }
146
-
147
154
  @if ($s != null) {
148
155
  @if (map-has-key($s, $a)) {
149
156
  $a: map-get($s, $a);
@@ -152,5 +159,128 @@ $default: (
152
159
  }
153
160
  }
154
161
  @return $a;
162
+ } @else {
163
+ @return transparent;
155
164
  }
156
165
  }
166
+
167
+ // 变量
168
+ @mixin vars() {
169
+ $levels: xs, ss, sm, sl, ms, mm, ml, ls, lm, ll, xl;
170
+ $colors: main, text, well, warn, risk;
171
+
172
+ $f: nth(nth($theme, 1), 1);
173
+ @each $i in $theme {
174
+ $n: nth($i, 1);
175
+ $s: nth($i, 2);
176
+ @if ($n == $f) {
177
+ html {
178
+ @each $c in $s {
179
+ $k: nth($c, 1);
180
+ $v: nth($c, 2);
181
+ --#{$k}: #{red($v), green($v), blue($v)};
182
+ --co-#{$k}: #{$v};
183
+
184
+ $ls: 0.05;
185
+ @each $l in $levels {
186
+ // 透明度
187
+ @if ($k != 'none') {
188
+ --co-#{$k}-#{$l}: #{rgba($v, $ls)};
189
+
190
+ @if ($k != 'w' and $k != 'b') {
191
+ --co-#{$k}-fore-#{$l}: #{mix($v, map-get($s, 'fore'), $ls * 100%)};
192
+ }
193
+
194
+ @if ($k == 'main' or $k == 'well' or $k == 'warn' or $k == 'risk') {
195
+ --co-#{$k}-text-#{$l}: #{mix($v, map-get($s, 'text'), $ls * 100%)};
196
+ }
197
+ }
198
+ @if ($ls <= 0.1 or $ls >= 0.8) {
199
+ $ls: $ls + 0.05;
200
+ } @else {
201
+ $ls: $ls + 0.1;
202
+ }
203
+ }
204
+ }
205
+
206
+ // 文本颜色
207
+ // --co-main-text: #{mix(map-get($s, 'main'), map-get($s, 'text'), 85%)};
208
+ // --co-well-text: #{mix(map-get($s, 'well'), map-get($s, 'text'), 85%)};
209
+ // --co-warn-text: #{mix(map-get($s, 'warn'), map-get($s, 'text'), 85%)};
210
+ // --co-risk-text: #{mix(map-get($s, 'risk'), map-get($s, 'text'), 85%)};
211
+
212
+ // --co-line-fore: #{mix(map-get($s, 'line'), map-get($s, 'fore'), 70%)};
213
+ // --bg-main: #{saturate(rgba(map-get($s, 'main'), 0.05), 20%)};
214
+ // --bg-weak: #{mix(map-get($s, 'weak'), map-get($s, 'fore'), 75%)};
215
+ // --bg-well: #{saturate(rgba(map-get($s, 'well'), 0.05), 20%)};
216
+ // --bg-warn: #{saturate(rgba(map-get($s, 'warn'), 0.05), 20%)};
217
+ // --bg-risk: #{saturate(rgba(map-get($s, 'risk'), 0.05), 20%)};
218
+ // --bg-info: #{saturate(rgba(map-get($s, 'info'), 0.05), 20%)};
219
+ // --bg-well: #{rgba(map-get($s, 'well'), 0.08)};
220
+ // --bg-warn: #{rgba(map-get($s, 'warn'), 0.08)};
221
+ // --bg-risk: #{rgba(map-get($s, 'risk'), 0.08)};
222
+
223
+ // @each $k in $colors {
224
+ // $v: map-get($s, $k);
225
+ // $ls: 0.05;
226
+ // @each $l in $levels {
227
+ // // 透明度
228
+ // --co-#{$k}-#{$l}: #{rgba($v, $ls)};
229
+ // // 增亮度
230
+ // --bg-#{$k}-#{$l}: #{saturate(rgba($v, $ls), 20%)};
231
+ // @if ($ls == 0.05 or $ls == 0.9) {
232
+ // $ls: $ls + 0.05;
233
+ // } @else {
234
+ // $ls: $ls + 0.1;
235
+ // }
236
+ // }
237
+ // }
238
+ }
239
+ } @else {
240
+ [theme~='#{$n}'] {
241
+ @each $c in $s {
242
+ $k: nth($c, 1);
243
+ $v: nth($c, 2);
244
+ @if ($k != 'none') {
245
+ --co-#{$k}: #{$v};
246
+ }
247
+
248
+ $ls: 0.05;
249
+ @each $l in $levels {
250
+ // 透明度
251
+ --co-#{$k}-#{$l}: #{rgba($v, $ls)};
252
+ @if ($ls <= 0.1 or $ls >= 0.8) {
253
+ $ls: $ls + 0.05;
254
+ } @else {
255
+ $ls: $ls + 0.1;
256
+ }
257
+ }
258
+ }
259
+
260
+ // 文本颜色
261
+ // --co-main-text: #{mix(map-get($s, 'main'), map-get($s, 'text'), 85%)};
262
+ // --co-well-text: #{mix(map-get($s, 'well'), map-get($s, 'text'), 85%)};
263
+ // --co-warn-text: #{mix(map-get($s, 'warn'), map-get($s, 'text'), 85%)};
264
+ // --co-risk-text: #{mix(map-get($s, 'risk'), map-get($s, 'text'), 85%)};
265
+
266
+ // @each $k in $colors {
267
+ // $v: map-get($s, $k);
268
+ // $ls: 0.05;
269
+ // @each $l in $levels {
270
+ // // 透明度
271
+ // --co-#{$k}-#{$l}: #{rgba($v, $ls)};
272
+ // // 增亮度
273
+ // --bg-#{$k}-#{$l}: #{saturate(rgba($v, $ls), 20%)};
274
+ // @if ($ls == 0.05 or $ls == 0.9) {
275
+ // $ls: $ls + 0.05;
276
+ // } @else {
277
+ // $ls: $ls + 0.1;
278
+ // }
279
+ // }
280
+ // }
281
+ }
282
+ }
283
+ }
284
+ }
285
+
286
+ @include vars();
package/core/trim.scss CHANGED
@@ -322,6 +322,24 @@
322
322
  }
323
323
  $w_base: $w_base + 2;
324
324
  }
325
+ .#{$media}w-auto {
326
+ width: auto;
327
+ }
328
+ .#{$media}min-w-auto {
329
+ min-width: auto;
330
+ }
331
+ .#{$media}max-w-auto {
332
+ max-width: auto;
333
+ }
334
+ .#{$media}w-full {
335
+ width: 100%;
336
+ }
337
+ .#{$media}min-w-full {
338
+ min-width: 100%;
339
+ }
340
+ .#{$media}max-w-full {
341
+ max-width: 100%;
342
+ }
325
343
 
326
344
  // 高度
327
345
  $h_base: 0;
@@ -355,6 +373,24 @@
355
373
  }
356
374
  $h_base: $h_base + 2;
357
375
  }
376
+ .#{$media}h-auto {
377
+ height: auto;
378
+ }
379
+ .#{$media}min-h-auto {
380
+ min-height: auto;
381
+ }
382
+ .#{$media}max-h-auto {
383
+ max-height: auto;
384
+ }
385
+ .#{$media}h-full {
386
+ height: 100%;
387
+ }
388
+ .#{$media}min-h-full {
389
+ min-height: 100%;
390
+ }
391
+ .#{$media}max-h-full {
392
+ max-height: 100%;
393
+ }
358
394
 
359
395
  // 缩小
360
396
  .#{$media}s-no {
package/core/ux.scss CHANGED
@@ -19,17 +19,13 @@
19
19
  cursor: pointer;
20
20
  }
21
21
  &:hover {
22
- @include theme {
23
- box-shadow: inset 0 0 0 100em co(weak);
24
- }
22
+ box-shadow: inset 0 0 0 100em rgba(0, 0, 0, 0.05);
25
23
  }
26
24
  }
27
25
 
28
26
  // 移入阴影
29
27
  .ux-shadow:hover {
30
- @include theme {
31
- box-shadow: 0 0.1em 0.5em co(deep);
32
- }
28
+ box-shadow: 0 0.1em 0.5em var(--co-deep);
33
29
  }
34
30
 
35
31
  // 点击效果
@@ -98,9 +94,8 @@
98
94
 
99
95
  &:hover {
100
96
  transition: color 0.35s;
101
- @include theme {
102
- color: co(link);
103
- }
97
+
98
+ color: var(--co-link);
104
99
  }
105
100
  }
106
101
 
@@ -125,9 +120,8 @@
125
120
 
126
121
  &:hover {
127
122
  transition: color 0.35s;
128
- @include theme {
129
- color: co(link);
130
- }
123
+
124
+ color: var(--co-link);
131
125
 
132
126
  &::before {
133
127
  transform: scale(1);
@@ -251,10 +245,10 @@
251
245
  .downmenu {
252
246
  position: absolute;
253
247
  top: 130%;
254
- @include theme {
255
- background: co(fore);
256
- box-shadow: 0 1px 0.3em 1px co(deep);
257
- }
248
+
249
+ background: var(--co-fore);
250
+ box-shadow: 0 1px 0.3em 1px var(--co-deep);
251
+
258
252
  padding: 1.5rem;
259
253
  right: 0.15rem;
260
254
  min-width: 10.5rem;
@@ -295,9 +289,9 @@
295
289
  box-sizing: content-box;
296
290
  width: 0.5em;
297
291
  height: 0.5em;
298
- @include theme {
299
- background: co(fore);
300
- }
292
+
293
+ background: var(--co-fore);
294
+
301
295
  top: -0.25em;
302
296
  left: 50%;
303
297
  margin-left: -0.25em;
package/neatui.scss CHANGED
@@ -1,4 +1,4 @@
1
- @import './core/mcui@core.scss';
1
+ @import './core/neatui@core.scss';
2
2
  @import './components/anim/mcui@anim.scss';
3
3
  @import './components/btns/mcui@btns.scss';
4
4
  @import './components/card/mcui@card.scss';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/css",
3
- "version": "1.0.27",
3
+ "version": "2.0.0-beta.1",
4
4
  "description": "neatui",
5
5
  "main": "./neatui.scss",
6
6
  "license": "MIT",
@@ -1,106 +0,0 @@
1
- /*主体*/
2
- /*辅助*/
3
- /*辅助*/
4
- /*阅读(默认)*/
5
- /*辅助阅读*/
6
- /*信息*/
7
- /*成功*/
8
- /*提醒/警告*/
9
- /*错误/强调*/
10
- /*黑色*/
11
- /*白色*/
12
- /*UI1502---xui-paging (css)---STA*/
13
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav {
14
- display: inline-block;
15
- list-style: none;
16
- position: relative;
17
- }
18
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > * {
19
- display: inline-block;
20
- float: left;
21
- min-width: 2.5rem;
22
- height: 2.5rem;
23
- line-height: 2.4rem;
24
- position: relative;
25
- background: #ffffff;
26
- border: 1px solid #dfdfdf;
27
- text-align: center;
28
- cursor: pointer;
29
- transition: background 0.2s;
30
- -moz-transition: background 0.2s;
31
- -webkit-transition: background 0.2s;
32
- -o-transition: all 0.2s;
33
- margin-right: -1px;
34
- }
35
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *.group {
36
- width: 6rem;
37
- margin-right: 5px;
38
- border: 0;
39
- }
40
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *:first-child {
41
- border-radius: 3px 0 0 3px;
42
- }
43
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *:last-child {
44
- border: 1px solid #dfdfdf;
45
- border-radius: 0 3px 3px 0;
46
- }
47
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *.prve:after,
48
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *.next:after {
49
- display: inline-block;
50
- content: "";
51
- width: 0.45rem;
52
- height: 0.45rem;
53
- border: 0.45rem solid transparent;
54
- }
55
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *.prve:after {
56
- border-right-color: #999999;
57
- margin-left: -0.45rem;
58
- }
59
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *.next:after {
60
- border-left-color: #999999;
61
- margin-right: -0.45rem;
62
- }
63
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *.frist:before,
64
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *.last:before {
65
- display: inline-block;
66
- content: "";
67
- width: 2px;
68
- height: .9rem;
69
- background: #999999;
70
- border-radius: 1px;
71
- }
72
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *.frist:after,
73
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *.last:after {
74
- display: inline-block;
75
- content: "";
76
- width: 0.45rem;
77
- height: 0.45rem;
78
- border: 0.45rem solid transparent;
79
- }
80
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *.last:before {
81
- margin-right: -0.8rem;
82
- }
83
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *.frist:after {
84
- border-right-color: #999999;
85
- margin-left: -0.2rem;
86
- }
87
- .mc-paging[data-mcui=ui1503] > .mc-paging-nav > *.last:after {
88
- border-left-color: #999999;
89
- margin-right: -0.6rem;
90
- }
91
- /*---UI1503 xui-paging END---*/
92
- .mc-paging[data-mcui=ui1503][data-sz=s] > .mc-paging-nav > * {
93
- min-width: 2.5rem;
94
- height: 2.5rem;
95
- line-height: 2.4rem;
96
- }
97
- .mc-paging[data-mcui=ui1503][data-sz=m] > .mc-paging-nav > * {
98
- min-width: 3rem;
99
- height: 3rem;
100
- line-height: 3rem;
101
- }
102
- .mc-paging[data-mcui=ui1503][data-sz=l] > .mc-paging-nav > * {
103
- min-width: 3.5rem;
104
- height: 3.5rem;
105
- line-height: 3.4rem;
106
- }