@neatui/css 1.0.6 → 1.0.8
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/core/cols.scss +2 -4
- package/core/trim.scss +12 -0
- package/neatui.scss +1 -0
- package/package.json +1 -1
package/core/cols.scss
CHANGED
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
// 间距
|
|
13
13
|
&[ui-row~='space'] {
|
|
14
|
-
margin
|
|
15
|
-
margin-right: -1rem;
|
|
14
|
+
margin: -1rem;
|
|
16
15
|
& > * {
|
|
17
16
|
padding: 1rem;
|
|
18
17
|
}
|
|
@@ -21,8 +20,7 @@
|
|
|
21
20
|
@include mob {
|
|
22
21
|
// 间距
|
|
23
22
|
&[ui-row~='space'] {
|
|
24
|
-
margin
|
|
25
|
-
margin-right: -0.5rem;
|
|
23
|
+
margin: -0.5rem;
|
|
26
24
|
& > * {
|
|
27
25
|
padding: 0.5rem;
|
|
28
26
|
}
|
package/core/trim.scss
CHANGED
|
@@ -25,6 +25,18 @@
|
|
|
25
25
|
&.#{$media}nr-#{$sz}-sub {
|
|
26
26
|
margin-right: -$col_base + $col_unit;
|
|
27
27
|
}
|
|
28
|
+
|
|
29
|
+
// 上下内边距
|
|
30
|
+
&.#{$media}n-#{$sz}-sub,
|
|
31
|
+
&.#{$media}ny-#{$sz}-sub,
|
|
32
|
+
&.#{$media}nt-#{$sz}-sub {
|
|
33
|
+
margin-top: -$col_base + $col_unit;
|
|
34
|
+
}
|
|
35
|
+
&.#{$media}n-#{$sz}-sub,
|
|
36
|
+
&.#{$media}ny-#{$sz}-sub,
|
|
37
|
+
&.#{$media}nb-#{$sz}-sub {
|
|
38
|
+
margin-bottom: -$col_base + $col_unit;
|
|
39
|
+
}
|
|
28
40
|
}
|
|
29
41
|
|
|
30
42
|
@if ($sz == xs) {
|
package/neatui.scss
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@import './components/btns/mcui@btns.scss';
|
|
4
4
|
@import './components/card/mcui@card.scss';
|
|
5
5
|
@import './components/form/mcui@form.scss';
|
|
6
|
+
@import './components/grid/mcui@grid.scss';
|
|
6
7
|
@import './components/icon/mcui@icon.scss';
|
|
7
8
|
@import './components/imgs/mcui@imgs.scss';
|
|
8
9
|
@import './components/line/mcui@line.scss';
|