@neatui/css 3.0.0-beta.8 → 3.0.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/anim/am-view-aa.scss +7 -11
- package/components/anim/am-view-ab.scss +7 -11
- package/components/anim/am-view-ad.scss +7 -11
- package/components/anim/am-view-ae.scss +7 -11
- package/components/anim/am-view-af.scss +4 -8
- package/components/anim/am-view-ag.scss +92 -1541
- package/components/anim/am-view-ah.scss +7 -11
- package/components/anim/am-view-ai.scss +7 -11
- package/components/anim/am-view-aj.scss +7 -11
- package/components/anim/am-view-ak.scss +7 -11
- package/components/anim/am-view-al.scss +7 -11
- package/components/anim/am-view-am.scss +7 -11
- package/components/anim/am-view-an.scss +7 -11
- package/components/anim/am-view-ao.scss +11 -15
- package/components/anim/am-view-ap.scss +7 -11
- package/components/anim/am-view-aq.scss +7 -11
- package/components/anim/am-view-ar.scss +7 -11
- package/components/anim/am-view-as.scss +8 -12
- package/components/anim/am-view-at.scss +8 -12
- package/components/anim/index.scss +22 -0
- package/components/btns/base.scss +2 -0
- package/components/btns/btns@a.scss +2 -1
- package/components/btns/index.scss +1 -0
- package/components/card/card@a.scss +10 -8
- package/components/card/card@b.scss +2 -0
- package/components/card/index.scss +2 -0
- package/components/form/base.scss +3 -0
- package/components/form/form@a/base.scss +1 -1
- package/components/form/form@a/checkbox.scss +1 -1
- package/components/form/form@a/date.scss +2 -2
- package/components/form/form@a/index.scss +9 -9
- package/components/form/form@a/input.scss +3 -4
- package/components/form/form@a/radio.scss +1 -1
- package/components/form/form@a/select.scss +2 -2
- package/components/form/form@a/switch.scss +0 -1
- package/components/form/form@a/textarea.scss +2 -3
- package/components/form/form@b/base.scss +1 -1
- package/components/form/form@b/checkbox.scss +0 -1
- package/components/form/form@b/date.scss +2 -2
- package/components/form/form@b/index.scss +9 -9
- package/components/form/form@b/input.scss +3 -4
- package/components/form/form@b/radio.scss +0 -1
- package/components/form/form@b/select.scss +2 -2
- package/components/form/form@b/switch.scss +0 -1
- package/components/form/form@b/textarea.scss +2 -3
- package/components/form/form@c/base.scss +1 -1
- package/components/form/form@c/checkbox.scss +0 -1
- package/components/form/form@c/date.scss +2 -2
- package/components/form/form@c/index.scss +9 -9
- package/components/form/form@c/input.scss +3 -4
- package/components/form/form@c/radio.scss +0 -1
- package/components/form/form@c/select.scss +2 -2
- package/components/form/form@c/switch.scss +0 -1
- package/components/form/form@c/textarea.scss +2 -2
- package/components/form/form@d/base.scss +1 -1
- package/components/form/form@d/checkbox.scss +0 -1
- package/components/form/form@d/date.scss +2 -2
- package/components/form/form@d/input.scss +3 -4
- package/components/form/form@d/radio.scss +0 -1
- package/components/form/form@d/select.scss +2 -2
- package/components/form/form@d/switch.scss +0 -1
- package/components/form/form@d/textarea.scss +2 -2
- package/components/form/index.scss +3 -0
- package/components/form/vars.scss +2 -0
- package/components/icon/index.scss +21 -0
- package/components/imgs/imgs@a.scss +1 -1
- package/components/imgs/index.scss +1 -0
- package/components/line/index.scss +2 -0
- package/components/list/index.scss +2 -0
- package/components/list/list@a.scss +2 -2
- package/components/list/list@b.scss +1 -1
- package/components/load/index.scss +8 -0
- package/components/menu/index.scss +1 -0
- package/components/navs/index.scss +2 -0
- package/components/note/index.scss +2 -0
- package/components/note/note@a.scss +2 -2
- package/components/note/note@b.scss +2 -2
- package/components/opts/index.scss +1 -0
- package/components/path/index.scss +1 -0
- package/components/path/path@a.scss +2 -0
- package/components/steps/index.scss +2 -0
- package/components/steps/steps@a.scss +5 -4
- package/components/steps/steps@v.scss +5 -5
- package/components/table/index.scss +3 -0
- package/components/table/table@b.scss +1 -1
- package/components/table/table@c.scss +1 -1
- package/components/tabs/index.scss +3 -0
- package/components/tabs/tabs@a.scss +3 -3
- package/components/tabs/tabs@b.scss +3 -3
- package/components/tabs/tabs@c.scss +3 -3
- package/components/tags/index.scss +2 -0
- package/components/tags/tags@a.scss +4 -4
- package/components/tags/tags@b.scss +4 -4
- package/components/tips/index.scss +1 -0
- package/components/tips/tips@a.scss +1 -1
- package/components/title/index.scss +2 -0
- package/core/{base.scss → basic.scss} +2 -0
- package/core/border.scss +6 -4
- package/core/cols.scss +1 -1
- package/core/cover.scss +6 -0
- package/core/flex.scss +1 -1
- package/core/grid.scss +251 -0
- package/core/media copy.scss +270 -0
- package/core/media.scss +1 -0
- package/core/neatui.core.scss.backup +34 -0
- package/core/reset.scss +0 -4
- package/core/scroll.scss +2 -0
- package/core/size.scss +1 -7
- package/core/theme-v2.scss +378 -0
- package/core/theme.scss +169 -126
- package/core/trim.scss +2 -0
- package/core/ux.scss +2 -0
- package/core/vars.scss +3 -0
- package/neatui.scss +54 -23
- package/package.json +1 -1
- package/components/anim/mcui@anim.scss +0 -22
- package/components/btns/mcui@btns.scss +0 -1
- package/components/card/mcui@card.scss +0 -2
- package/components/form/mcui@form.scss +0 -4
- package/components/icon/mcui@icon.scss +0 -21
- package/components/imgs/mcui@imgs.scss +0 -1
- package/components/line/mcui@line.scss +0 -2
- package/components/list/mcui@list.scss +0 -2
- package/components/load/mcui@load.scss +0 -8
- package/components/menu/mcui@menu.scss +0 -1
- package/components/navs/mcui@navs.scss +0 -2
- package/components/note/mcui@note.scss +0 -2
- package/components/opts/mcui@opts.scss +0 -1
- package/components/path/mcui@path.scss +0 -1
- package/components/steps/mcui@steps.scss +0 -2
- package/components/table/mcui@table.scss +0 -3
- package/components/tabs/mcui@tabs.scss +0 -3
- package/components/tags/mcui@tags.scss +0 -2
- package/components/tips/mcui@tips.scss +0 -1
- package/components/title/mcui@title.scss +0 -2
- package/core/neatui@core.scss +0 -30
- /package/components/chat/{mcui@chat.scss → index.scss} +0 -0
- /package/components/demo/{mcui@demo.scss → index.scss} +0 -0
- /package/components/grid/{mcui@grid.scss → index.scss} +0 -0
- /package/components/side/{mcui@side.scss → index.scss} +0 -0
|
@@ -31,24 +31,24 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
// 传参调用
|
|
34
|
-
@mixin am-view-aa(
|
|
34
|
+
@mixin am-view-aa() {
|
|
35
35
|
&.show,
|
|
36
36
|
&[view='2'] {
|
|
37
37
|
& > * {
|
|
38
38
|
@extend %am-show-aa;
|
|
39
|
-
animation: am-show-aa
|
|
39
|
+
animation: am-show-aa 350ms 100ms both;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
&.hide,
|
|
44
44
|
&[view='1'] {
|
|
45
45
|
opacity: 0;
|
|
46
|
-
transition:
|
|
46
|
+
transition: 350ms 100ms;
|
|
47
47
|
pointer-events: none;
|
|
48
48
|
|
|
49
49
|
& > * {
|
|
50
50
|
@extend %am-hide-aa;
|
|
51
|
-
animation: am-hide-aa
|
|
51
|
+
animation: am-hide-aa 350ms 100ms both;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -58,29 +58,25 @@
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
// 动画时间
|
|
62
|
-
$time: 350ms;
|
|
63
|
-
$delay: 100ms;
|
|
64
|
-
|
|
65
61
|
// 全套引用
|
|
66
62
|
[am-view='aa'] {
|
|
67
63
|
&.show,
|
|
68
64
|
&[view='2'] {
|
|
69
65
|
& > * {
|
|
70
66
|
@extend %am-show-aa;
|
|
71
|
-
animation: am-show-aa
|
|
67
|
+
animation: am-show-aa 350ms 100ms both;
|
|
72
68
|
}
|
|
73
69
|
}
|
|
74
70
|
|
|
75
71
|
&.hide,
|
|
76
72
|
&[view='1'] {
|
|
77
73
|
opacity: 0;
|
|
78
|
-
transition:
|
|
74
|
+
transition: 350ms 100ms;
|
|
79
75
|
pointer-events: none;
|
|
80
76
|
|
|
81
77
|
& > * {
|
|
82
78
|
@extend %am-hide-aa;
|
|
83
|
-
animation: am-hide-aa
|
|
79
|
+
animation: am-hide-aa 350ms 100ms both;
|
|
84
80
|
}
|
|
85
81
|
}
|
|
86
82
|
|
|
@@ -47,24 +47,24 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
// 传参调用
|
|
50
|
-
@mixin am-view-ab(
|
|
50
|
+
@mixin am-view-ab() {
|
|
51
51
|
&.show,
|
|
52
52
|
&[view='2'] {
|
|
53
53
|
& > * {
|
|
54
54
|
@extend %am-show-ab;
|
|
55
|
-
animation: am-show-ab
|
|
55
|
+
animation: am-show-ab 350ms 100ms both;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
&.hide,
|
|
60
60
|
&[view='1'] {
|
|
61
61
|
opacity: 0;
|
|
62
|
-
transition: (
|
|
62
|
+
transition: (350ms + 100ms) * (4 * 0.1) (350ms + 100ms) * (6 * 0.1);
|
|
63
63
|
pointer-events: none;
|
|
64
64
|
|
|
65
65
|
& > * {
|
|
66
66
|
@extend %am-hide-ab;
|
|
67
|
-
animation: am-hide-ab
|
|
67
|
+
animation: am-hide-ab 350ms 100ms both;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -74,29 +74,25 @@
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
// 动画时间
|
|
78
|
-
$time: 350ms;
|
|
79
|
-
$delay: 100ms;
|
|
80
|
-
|
|
81
77
|
// 全套引用
|
|
82
78
|
[am-view='ab'] {
|
|
83
79
|
&.show,
|
|
84
80
|
&[view='2'] {
|
|
85
81
|
& > * {
|
|
86
82
|
@extend %am-show-ab;
|
|
87
|
-
animation: am-show-ab
|
|
83
|
+
animation: am-show-ab 350ms 100ms both;
|
|
88
84
|
}
|
|
89
85
|
}
|
|
90
86
|
|
|
91
87
|
&.hide,
|
|
92
88
|
&[view='1'] {
|
|
93
89
|
opacity: 0;
|
|
94
|
-
transition: (
|
|
90
|
+
transition: (350ms + 100ms) * (4 * 0.1) (350ms + 100ms) * (6 * 0.1);
|
|
95
91
|
pointer-events: none;
|
|
96
92
|
|
|
97
93
|
& > * {
|
|
98
94
|
@extend %am-hide-ab;
|
|
99
|
-
animation: am-hide-ab
|
|
95
|
+
animation: am-hide-ab 350ms 100ms both;
|
|
100
96
|
}
|
|
101
97
|
}
|
|
102
98
|
|
|
@@ -49,24 +49,24 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
// 传参调用
|
|
52
|
-
@mixin am-view-ad(
|
|
52
|
+
@mixin am-view-ad() {
|
|
53
53
|
&.show,
|
|
54
54
|
&[view='2'] {
|
|
55
55
|
& > * {
|
|
56
56
|
@extend %am-show-ad;
|
|
57
|
-
animation: am-show-ad
|
|
57
|
+
animation: am-show-ad 350ms 100ms both;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
&.hide,
|
|
62
62
|
&[view='1'] {
|
|
63
63
|
opacity: 0;
|
|
64
|
-
transition: (
|
|
64
|
+
transition: (350ms + 100ms) * (4 * 0.1) (350ms + 100ms) * (6 * 0.1);
|
|
65
65
|
pointer-events: none;
|
|
66
66
|
|
|
67
67
|
& > * {
|
|
68
68
|
@extend %am-hide-ad;
|
|
69
|
-
animation: am-hide-ad
|
|
69
|
+
animation: am-hide-ad 350ms 100ms both;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -76,29 +76,25 @@
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
// 动画时间
|
|
80
|
-
$time: 350ms;
|
|
81
|
-
$delay: 100ms;
|
|
82
|
-
|
|
83
79
|
// 全套引用
|
|
84
80
|
[am-view='ad'] {
|
|
85
81
|
&.show,
|
|
86
82
|
&[view='2'] {
|
|
87
83
|
& > * {
|
|
88
84
|
@extend %am-show-ad;
|
|
89
|
-
animation: am-show-ad
|
|
85
|
+
animation: am-show-ad 350ms 100ms both;
|
|
90
86
|
}
|
|
91
87
|
}
|
|
92
88
|
|
|
93
89
|
&.hide,
|
|
94
90
|
&[view='1'] {
|
|
95
91
|
opacity: 0;
|
|
96
|
-
transition: (
|
|
92
|
+
transition: (350ms + 100ms) * (4 * 0.1) (350ms + 100ms) * (6 * 0.1);
|
|
97
93
|
pointer-events: none;
|
|
98
94
|
|
|
99
95
|
& > * {
|
|
100
96
|
@extend %am-hide-ad;
|
|
101
|
-
animation: am-hide-ad
|
|
97
|
+
animation: am-hide-ad 350ms 100ms both;
|
|
102
98
|
}
|
|
103
99
|
}
|
|
104
100
|
|
|
@@ -49,24 +49,24 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
// 传参调用
|
|
52
|
-
@mixin am-view-ae(
|
|
52
|
+
@mixin am-view-ae() {
|
|
53
53
|
&.show,
|
|
54
54
|
&[view='2'] {
|
|
55
55
|
& > * {
|
|
56
56
|
@extend %am-show-ae;
|
|
57
|
-
animation: am-show-ae
|
|
57
|
+
animation: am-show-ae 500ms 100ms both;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
&.hide,
|
|
62
62
|
&[view='1'] {
|
|
63
63
|
opacity: 0;
|
|
64
|
-
transition: (
|
|
64
|
+
transition: (500ms + 100ms) * (4 * 0.1) (500ms + 100ms) * (6 * 0.1);
|
|
65
65
|
pointer-events: none;
|
|
66
66
|
|
|
67
67
|
& > * {
|
|
68
68
|
@extend %am-hide-ae;
|
|
69
|
-
animation: am-hide-ae
|
|
69
|
+
animation: am-hide-ae 500ms 100ms both;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -76,29 +76,25 @@
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
// 动画时间
|
|
80
|
-
$time: 500ms;
|
|
81
|
-
$delay: 100ms;
|
|
82
|
-
|
|
83
79
|
// 全套引用
|
|
84
80
|
[am-view='ae'] {
|
|
85
81
|
&.show,
|
|
86
82
|
&[view='2'] {
|
|
87
83
|
& > * {
|
|
88
84
|
@extend %am-show-ae;
|
|
89
|
-
animation: am-show-ae
|
|
85
|
+
animation: am-show-ae 500ms 100ms both;
|
|
90
86
|
}
|
|
91
87
|
}
|
|
92
88
|
|
|
93
89
|
&.hide,
|
|
94
90
|
&[view='1'] {
|
|
95
91
|
opacity: 0;
|
|
96
|
-
transition: (
|
|
92
|
+
transition: (500ms + 100ms) * (4 * 0.1) (500ms + 100ms) * (6 * 0.1);
|
|
97
93
|
pointer-events: none;
|
|
98
94
|
|
|
99
95
|
& > * {
|
|
100
96
|
@extend %am-hide-ae;
|
|
101
|
-
animation: am-hide-ae
|
|
97
|
+
animation: am-hide-ae 500ms 100ms both;
|
|
102
98
|
}
|
|
103
99
|
}
|
|
104
100
|
|
|
@@ -41,32 +41,28 @@
|
|
|
41
41
|
opacity: 0;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
|
|
45
|
-
// 动画时间
|
|
46
|
-
$time: 750ms;
|
|
47
|
-
$delay: 100ms;
|
|
48
44
|
// 引用显示
|
|
49
45
|
%am-show-af {
|
|
50
46
|
& > * {
|
|
51
47
|
transform: rotateX(45deg);
|
|
52
48
|
opacity: 0;
|
|
53
|
-
animation: am-show-af
|
|
49
|
+
animation: am-show-af 750ms 100ms both;
|
|
54
50
|
}
|
|
55
51
|
}
|
|
56
52
|
|
|
57
53
|
// 引用隐藏
|
|
58
54
|
%am-hide-af {
|
|
59
55
|
opacity: 0;
|
|
60
|
-
transition: (
|
|
56
|
+
transition: (750ms + 100ms) * (4 * 0.1) (750ms + 100ms) * (6 * 0.1);
|
|
61
57
|
pointer-events: none;
|
|
62
58
|
& > * {
|
|
63
59
|
opacity: 1;
|
|
64
|
-
animation: am-hide-af (
|
|
60
|
+
animation: am-hide-af (750ms + 100ms) * (6 * 0.1) both;
|
|
65
61
|
}
|
|
66
62
|
}
|
|
67
63
|
|
|
68
64
|
// 传参调用
|
|
69
|
-
@mixin am-view-af(
|
|
65
|
+
@mixin am-view-af() {
|
|
70
66
|
perspective: 500;
|
|
71
67
|
&.show,
|
|
72
68
|
&[view='2'] {
|