@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.
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 +11 -11
  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 +11 -7
  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 +18 -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
@@ -23,9 +23,10 @@
23
23
  height: 100%;
24
24
  right: -5px;
25
25
  top: 0;
26
- @include theme {
27
- box-shadow: inset 5px 0 5px -5px rgba(co(text), 0.15);
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
- box-shadow: inset -5px 0 5px -5px rgba(co(text), 0.15);
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
- background: co(fore);
105
- box-shadow:
106
- 0 1px 0 rgba(co(deep), 0.1),
107
- 0 2px 0 rgba(co(deep), 0.1),
108
- 0 3px 0 rgba(co(deep), 0.1);
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
- color: co(text);
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
- color: co(read);
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
- border-bottom: 1px solid co(line);
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
- box-shadow: inset 0 -1px 0 0 co(line);
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
- // border-left: 1px solid co(line);
75
- box-shadow: inset 1px 0 0 0 co(line);
76
- // border-top: 1px solid co(line);
77
- &:first-child {
78
- box-shadow: 0 0 0 0;
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
- // border: 1px solid co(line);
87
- box-shadow: inset 0 0 0px 1px co(line);
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
- border-right: 1px solid co(line);
97
- }
95
+ // @include theme {
96
+ border-right: 1px solid var(--co-line);
97
+ // }
98
98
  &:first-child {
99
- @include theme {
100
- border-left: 1px solid co(line);
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
- border-bottom: 1px solid co(line);
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
- border-top: 1px solid co(line);
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
- border: 1px solid co(line);
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
- background-color: rgba(co(weak), 0.5);
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
- background: co(fore);
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
- background-color: co(fore);
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
- @include theme {
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
- box-shadow:
44
- 0 0 0 2px co(fore),
45
- 0 0 0 3px co(line);
46
- z-index: 1;
47
- position: relative;
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
- box-shadow:
55
- 0 0 0 2px co(weak),
56
- 0 0 0 3px co(line);
57
- z-index: 1;
58
- position: relative;
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(fore);
69
+ // box-shadow: -3em 0 0 0 var(--co-fore);
72
70
  // }
73
71
  // &:last-child {
74
- // box-shadow: 3em 0 0 0 co(fore);
72
+ // box-shadow: 3em 0 0 0 var(--co-fore);
75
73
  // }
76
74
  // }
77
75
  // }
@@ -9,10 +9,8 @@
9
9
 
10
10
  tbody {
11
11
  tr {
12
- @include theme {
13
- box-shadow: inset 0 0 0 1px co(line);
14
- border-radius: 0.2em;
15
- }
12
+ box-shadow: inset 0 0 0 1px var(--co-line);
13
+ border-radius: 0.2em;
16
14
  }
17
15
  }
18
16
  }
@@ -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
- box-shadow: inset 0 -1px 0 co(line);
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
- color: co(main);
35
- box-shadow: inset 0 -2px 0 co(main);
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
- border: 1px solid co(line);
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
- color: co(fore);
30
- background: co(main);
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
- background: co(weak);
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
- color: co(main);
30
- background: co(fore);
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 $key in $state {
29
- @include theme {
30
- $val: co($key);
31
- $co: mix($val, co(text), 95%);
32
- $bg: saturate(rgba($val, 0.06), 20%);
33
- $bk: $val;
34
-
35
- @if ($key== 'main') {
36
- &,
37
- &[ui-tag~='#{$key}'] {
38
- color: $co;
39
- box-shadow: inset 0 0 0 1px rgba($bk, 0.15);
40
- background: $bg;
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 $key in $state {
103
- @include theme {
104
- $val: co($key);
105
- $co: mix($val, co(text), 85%);
106
- $bg: saturate(rgba($val, 0.06), 20%);
107
- $bk: $val;
108
-
109
- @if ($key== 'main') {
110
- & > *,
111
- &[ui-tags~='#{$key}'] > * {
112
- color: $co;
113
- box-shadow: inset 0 0 0 1px rgba($bk, 0.15);
114
- background: $bg;
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 $key in $state {
39
- @include theme {
40
- $val: co($key);
41
- $co: mix($val, co(text), 70%);
42
- $bg: saturate(rgba($val, 0.2), 10%);
43
- $bk: $val;
44
-
45
- @if ($key== 'main') {
46
- &,
47
- &[ui-tag~='#{$key}'] {
48
- color: $co;
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 $key in $state {
111
- @include theme {
112
- $val: co($key);
113
- $co: mix($val, co(text), 85%);
114
- $bg: saturate(rgba($val, 0.08), 20%);
115
- $bk: $val;
116
-
117
- @if ($key== 'main') {
118
- & > *,
119
- &[ui-tags~='#{$key}'] > * {
120
- color: $co;
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
- background: co(fore);
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
- background: co(fore);
44
- }
42
+ // @include theme {
43
+ background: var(--co-fore);
44
+ // }
45
45
  }
46
46
  }
47
47
 
@@ -10,9 +10,9 @@
10
10
  height: 0.95em;
11
11
  border-radius: 0.1em;
12
12
  margin-right: 0.2em;
13
- @include theme {
14
- background-color: co(main);
15
- }
13
+ // @include theme {
14
+ background-color: var(--co-main);
15
+ // }
16
16
  }
17
17
  }
18
18
  }
@@ -1,7 +1,8 @@
1
1
  [ui-title~='@b'] {
2
2
  & {
3
- @include theme {
4
- box-shadow: inset 0 -1px 0 0 co(line);
5
- }
3
+ // @include theme {
4
+ box-shadow: inset 0 -1px 0 0 var(--co-line);
5
+ // }
6
6
  }
7
7
  }
8
+
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'] {