@autobest-ui/components 1.1.2 → 1.2.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/README.md +10 -10
- package/esm/accordion/__stories__/style.scss +58 -58
- package/esm/affix/__stories__/style.scss +13 -13
- package/esm/affix/style/index.scss +34 -34
- package/esm/base.scss +42 -42
- package/esm/carousel/__stories__/style.scss +41 -41
- package/esm/carousel/index.d.ts +21 -13
- package/esm/carousel/index.js +77 -44
- package/esm/carousel/style/index.css +1 -1
- package/esm/carousel/style/index.scss +43 -37
- package/esm/checkbox/style/index.scss +117 -117
- package/esm/collapse/__stories__/style.scss +18 -18
- package/esm/collapse/style/index.scss +42 -42
- package/esm/confirm/style/index.scss +44 -44
- package/esm/date-picker/calendar/grid/index.scss +85 -85
- package/esm/date-picker/calendar/index.scss +57 -57
- package/esm/date-picker/style/index.scss +18 -18
- package/esm/drawer/style/index.scss +44 -44
- package/esm/ellipsis/style/index.scss +35 -35
- package/esm/guide/__stories__/style.scss +13 -13
- package/esm/guide/style/index.scss +17 -17
- package/esm/icon/__stories__/style.scss +39 -39
- package/esm/icon/style/index.scss +6 -6
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/input-number/style/index.scss +86 -86
- package/esm/lazy-image/__stories__/style.scss +9 -9
- package/esm/lazy-image/style/index.scss +24 -24
- package/esm/link-list/style/index.scss +125 -125
- package/esm/loading/style/index.scss +30 -30
- package/esm/loading-bar/style/index.scss +62 -62
- package/esm/loading-container/__stories__/style.scss +5 -5
- package/esm/loading-container/style/index.scss +27 -27
- package/esm/loading-icon/style/index.scss +23 -23
- package/esm/mask/style/index.scss +34 -34
- package/esm/message/style/index.scss +70 -70
- package/esm/modal/style/index.scss +112 -112
- package/esm/move/__stories__/style.scss +6 -6
- package/esm/move/style/index.scss +7 -7
- package/esm/popover/__stories__/style.scss +15 -15
- package/esm/popover/style/index.scss +59 -59
- package/esm/select/__stories__/style.scss +8 -8
- package/esm/select/style/index.scss +126 -126
- package/esm/show-more/style/index.scss +22 -22
- package/esm/skeleton/__stories__/style.scss +2 -2
- package/esm/skeleton/style/index.scss +26 -26
- package/esm/style.css +16 -16
- package/esm/table/__stories__/style.scss +33 -33
- package/esm/table/style/index.scss +51 -51
- package/esm/tabs/__stories__/style.scss +8 -8
- package/esm/tabs/style/index.scss +62 -62
- package/esm/tooltip/style/index.scss +61 -61
- package/esm/trigger/style/index.scss +79 -79
- package/lib/accordion/__stories__/style.scss +58 -58
- package/lib/affix/__stories__/style.scss +13 -13
- package/lib/affix/style/index.scss +34 -34
- package/lib/base.scss +42 -42
- package/lib/carousel/__stories__/style.scss +41 -41
- package/lib/carousel/index.d.ts +21 -13
- package/lib/carousel/index.js +80 -45
- package/lib/carousel/style/index.css +1 -1
- package/lib/carousel/style/index.scss +43 -37
- package/lib/checkbox/style/index.scss +117 -117
- package/lib/collapse/__stories__/style.scss +18 -18
- package/lib/collapse/style/index.scss +42 -42
- package/lib/confirm/style/index.scss +44 -44
- package/lib/date-picker/calendar/grid/index.scss +85 -85
- package/lib/date-picker/calendar/index.scss +57 -57
- package/lib/date-picker/style/index.scss +18 -18
- package/lib/drawer/style/index.scss +44 -44
- package/lib/ellipsis/style/index.scss +35 -35
- package/lib/guide/__stories__/style.scss +13 -13
- package/lib/guide/style/index.scss +17 -17
- package/lib/icon/__stories__/style.scss +39 -39
- package/lib/icon/style/index.scss +6 -6
- package/lib/index.d.ts +1 -1
- package/lib/index.js +14 -2
- package/lib/input-number/style/index.scss +86 -86
- package/lib/lazy-image/__stories__/style.scss +9 -9
- package/lib/lazy-image/style/index.scss +24 -24
- package/lib/link-list/style/index.scss +125 -125
- package/lib/loading/style/index.scss +30 -30
- package/lib/loading-bar/style/index.scss +62 -62
- package/lib/loading-container/__stories__/style.scss +5 -5
- package/lib/loading-container/style/index.scss +27 -27
- package/lib/loading-icon/style/index.scss +23 -23
- package/lib/mask/style/index.scss +34 -34
- package/lib/message/style/index.scss +70 -70
- package/lib/modal/style/index.scss +112 -112
- package/lib/move/__stories__/style.scss +6 -6
- package/lib/move/style/index.scss +7 -7
- package/lib/popover/__stories__/style.scss +15 -15
- package/lib/popover/style/index.scss +59 -59
- package/lib/select/__stories__/style.scss +8 -8
- package/lib/select/style/index.scss +126 -126
- package/lib/show-more/style/index.scss +22 -22
- package/lib/skeleton/__stories__/style.scss +2 -2
- package/lib/skeleton/style/index.scss +26 -26
- package/lib/style.css +16 -16
- package/lib/table/__stories__/style.scss +33 -33
- package/lib/table/style/index.scss +51 -51
- package/lib/tabs/__stories__/style.scss +8 -8
- package/lib/tabs/style/index.scss +62 -62
- package/lib/tooltip/style/index.scss +61 -61
- package/lib/trigger/style/index.scss +79 -79
- package/package.json +2 -2
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
$namespace: ab-loading;
|
|
2
|
-
|
|
3
|
-
.#{$namespace}-wrap {
|
|
4
|
-
position: fixed;
|
|
5
|
-
top: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
z-index: 9999;
|
|
8
|
-
background-color: rgba(#fff, .7);
|
|
9
|
-
height: 100%;
|
|
10
|
-
width: 100%;
|
|
11
|
-
|
|
12
|
-
.#{$namespace}-content {
|
|
13
|
-
position: absolute;
|
|
14
|
-
left: 50%;
|
|
15
|
-
top: 50%;
|
|
16
|
-
display: block;
|
|
17
|
-
width: .31rem;
|
|
18
|
-
height: .31rem;
|
|
19
|
-
transform: translate3d(-50%, -50%, 0);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.#{$namespace}-rect-loading {
|
|
23
|
-
background-color: rgba(#000, .7);
|
|
24
|
-
|
|
25
|
-
.#{$namespace}-content {
|
|
26
|
-
top: 10%;
|
|
27
|
-
width: 1.6rem;
|
|
28
|
-
height: .24rem;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
1
|
+
$namespace: ab-loading;
|
|
2
|
+
|
|
3
|
+
.#{$namespace}-wrap {
|
|
4
|
+
position: fixed;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
z-index: 9999;
|
|
8
|
+
background-color: rgba(#fff, .7);
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
|
|
12
|
+
.#{$namespace}-content {
|
|
13
|
+
position: absolute;
|
|
14
|
+
left: 50%;
|
|
15
|
+
top: 50%;
|
|
16
|
+
display: block;
|
|
17
|
+
width: .31rem;
|
|
18
|
+
height: .31rem;
|
|
19
|
+
transform: translate3d(-50%, -50%, 0);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.#{$namespace}-rect-loading {
|
|
23
|
+
background-color: rgba(#000, .7);
|
|
24
|
+
|
|
25
|
+
.#{$namespace}-content {
|
|
26
|
+
top: 10%;
|
|
27
|
+
width: 1.6rem;
|
|
28
|
+
height: .24rem;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
31
|
}
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
$namespace: ab-loading-bar;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
position: fixed;
|
|
5
|
-
top: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
margin-bottom: -3px;
|
|
8
|
-
height: 3px;
|
|
9
|
-
width: 100%;
|
|
10
|
-
z-index: 999;
|
|
11
|
-
@keyframes movingBar {
|
|
12
|
-
0% {
|
|
13
|
-
left: 50%;
|
|
14
|
-
right: 50%;
|
|
15
|
-
}
|
|
16
|
-
99.9% {
|
|
17
|
-
left: 0;
|
|
18
|
-
right: 0;
|
|
19
|
-
}
|
|
20
|
-
100% {
|
|
21
|
-
left: 50%;
|
|
22
|
-
right: 50%;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
@keyframes changeBar {
|
|
26
|
-
0% {
|
|
27
|
-
background-color: #0aa770;
|
|
28
|
-
}
|
|
29
|
-
33.3% {
|
|
30
|
-
background-color: #0aa770;
|
|
31
|
-
}
|
|
32
|
-
33.33% {
|
|
33
|
-
background-color: #ff0000;
|
|
34
|
-
}
|
|
35
|
-
66.6% {
|
|
36
|
-
background-color: #f987d6;
|
|
37
|
-
}
|
|
38
|
-
66.66% {
|
|
39
|
-
background-color: #f987d6;
|
|
40
|
-
}
|
|
41
|
-
99.9% {
|
|
42
|
-
background-color: #00bcd4;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
&-bar {
|
|
46
|
-
position: absolute;
|
|
47
|
-
height: 0;
|
|
48
|
-
width: 100%;
|
|
49
|
-
text-indent: -9999px;
|
|
50
|
-
background-color: #0aa770;
|
|
51
|
-
animation: changeBar 2.25s infinite;
|
|
52
|
-
&:before {
|
|
53
|
-
content: "";
|
|
54
|
-
height: 3px;
|
|
55
|
-
position: absolute;
|
|
56
|
-
left: 50%;
|
|
57
|
-
right: 50%;
|
|
58
|
-
background-color: inherit;
|
|
59
|
-
animation: movingBar 0.75s infinite;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
1
|
+
$namespace: ab-loading-bar;
|
|
2
|
+
|
|
3
|
+
.#{$namespace} {
|
|
4
|
+
position: fixed;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
margin-bottom: -3px;
|
|
8
|
+
height: 3px;
|
|
9
|
+
width: 100%;
|
|
10
|
+
z-index: 999;
|
|
11
|
+
@keyframes movingBar {
|
|
12
|
+
0% {
|
|
13
|
+
left: 50%;
|
|
14
|
+
right: 50%;
|
|
15
|
+
}
|
|
16
|
+
99.9% {
|
|
17
|
+
left: 0;
|
|
18
|
+
right: 0;
|
|
19
|
+
}
|
|
20
|
+
100% {
|
|
21
|
+
left: 50%;
|
|
22
|
+
right: 50%;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@keyframes changeBar {
|
|
26
|
+
0% {
|
|
27
|
+
background-color: #0aa770;
|
|
28
|
+
}
|
|
29
|
+
33.3% {
|
|
30
|
+
background-color: #0aa770;
|
|
31
|
+
}
|
|
32
|
+
33.33% {
|
|
33
|
+
background-color: #ff0000;
|
|
34
|
+
}
|
|
35
|
+
66.6% {
|
|
36
|
+
background-color: #f987d6;
|
|
37
|
+
}
|
|
38
|
+
66.66% {
|
|
39
|
+
background-color: #f987d6;
|
|
40
|
+
}
|
|
41
|
+
99.9% {
|
|
42
|
+
background-color: #00bcd4;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
&-bar {
|
|
46
|
+
position: absolute;
|
|
47
|
+
height: 0;
|
|
48
|
+
width: 100%;
|
|
49
|
+
text-indent: -9999px;
|
|
50
|
+
background-color: #0aa770;
|
|
51
|
+
animation: changeBar 2.25s infinite;
|
|
52
|
+
&:before {
|
|
53
|
+
content: "";
|
|
54
|
+
height: 3px;
|
|
55
|
+
position: absolute;
|
|
56
|
+
left: 50%;
|
|
57
|
+
right: 50%;
|
|
58
|
+
background-color: inherit;
|
|
59
|
+
animation: movingBar 0.75s infinite;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.loading-container-demo {
|
|
2
|
-
margin: 1rem;
|
|
3
|
-
width: 2rem;
|
|
4
|
-
height: 2rem;
|
|
5
|
-
background: #b0b0b0;
|
|
1
|
+
.loading-container-demo {
|
|
2
|
+
margin: 1rem;
|
|
3
|
+
width: 2rem;
|
|
4
|
+
height: 2rem;
|
|
5
|
+
background: #b0b0b0;
|
|
6
6
|
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
$namespace: ab-loading-container;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
position: relative;
|
|
5
|
-
|
|
6
|
-
&-active {
|
|
7
|
-
user-select: none;
|
|
8
|
-
pointer-events: none;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&-icon-box {
|
|
12
|
-
position: absolute;
|
|
13
|
-
background-color: rgba(#fff, .7);
|
|
14
|
-
top: 0;
|
|
15
|
-
left: 0;
|
|
16
|
-
z-index: 4;
|
|
17
|
-
display: block;
|
|
18
|
-
width: 100%;
|
|
19
|
-
height: 100%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&-icon {
|
|
23
|
-
position: absolute;
|
|
24
|
-
top: 50%;
|
|
25
|
-
left: 50%;
|
|
26
|
-
transform: translate3d(-50%, -50%, 0);
|
|
27
|
-
}
|
|
1
|
+
$namespace: ab-loading-container;
|
|
2
|
+
|
|
3
|
+
.#{$namespace} {
|
|
4
|
+
position: relative;
|
|
5
|
+
|
|
6
|
+
&-active {
|
|
7
|
+
user-select: none;
|
|
8
|
+
pointer-events: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&-icon-box {
|
|
12
|
+
position: absolute;
|
|
13
|
+
background-color: rgba(#fff, .7);
|
|
14
|
+
top: 0;
|
|
15
|
+
left: 0;
|
|
16
|
+
z-index: 4;
|
|
17
|
+
display: block;
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-icon {
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 50%;
|
|
25
|
+
left: 50%;
|
|
26
|
+
transform: translate3d(-50%, -50%, 0);
|
|
27
|
+
}
|
|
28
28
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
$namespace: ab-svg-loading;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
display: inline-block;
|
|
5
|
-
|
|
6
|
-
&-icon {
|
|
7
|
-
display: block;
|
|
8
|
-
width: .31rem;
|
|
9
|
-
height: .31rem;
|
|
10
|
-
animation: loading 1s infinite linear reverse;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@keyframes loading {
|
|
14
|
-
0% {
|
|
15
|
-
transform: rotate(0deg)
|
|
16
|
-
}
|
|
17
|
-
50% {
|
|
18
|
-
transform: rotate(180deg)
|
|
19
|
-
}
|
|
20
|
-
100% {
|
|
21
|
-
transform: rotate(360deg)
|
|
22
|
-
}
|
|
23
|
-
}
|
|
1
|
+
$namespace: ab-svg-loading;
|
|
2
|
+
|
|
3
|
+
.#{$namespace} {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
|
|
6
|
+
&-icon {
|
|
7
|
+
display: block;
|
|
8
|
+
width: .31rem;
|
|
9
|
+
height: .31rem;
|
|
10
|
+
animation: loading 1s infinite linear reverse;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@keyframes loading {
|
|
14
|
+
0% {
|
|
15
|
+
transform: rotate(0deg)
|
|
16
|
+
}
|
|
17
|
+
50% {
|
|
18
|
+
transform: rotate(180deg)
|
|
19
|
+
}
|
|
20
|
+
100% {
|
|
21
|
+
transform: rotate(360deg)
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
24
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
$namespace: ab-mask;
|
|
2
|
-
$maskFade: #{$namespace}-fade;
|
|
3
|
-
|
|
4
|
-
.#{$namespace} {
|
|
5
|
-
position: fixed;
|
|
6
|
-
top: 0;
|
|
7
|
-
left: 0;
|
|
8
|
-
z-index: 101;
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
background-color: rgba(0, 0, 0, 0.45);
|
|
12
|
-
transition: opacity 400ms cubic-bezier(.7, .3, .1, 1);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.#{$maskFade} {
|
|
16
|
-
&-enter, &-appear {
|
|
17
|
-
opacity: 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&-enter-active, &-appear-active, &-enter-done {
|
|
21
|
-
opacity: 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&-exit {
|
|
25
|
-
opacity: 1;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&-exit-active {
|
|
29
|
-
opacity: 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-exit-done {
|
|
33
|
-
display: none;
|
|
34
|
-
}
|
|
1
|
+
$namespace: ab-mask;
|
|
2
|
+
$maskFade: #{$namespace}-fade;
|
|
3
|
+
|
|
4
|
+
.#{$namespace} {
|
|
5
|
+
position: fixed;
|
|
6
|
+
top: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
z-index: 101;
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
background-color: rgba(0, 0, 0, 0.45);
|
|
12
|
+
transition: opacity 400ms cubic-bezier(.7, .3, .1, 1);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.#{$maskFade} {
|
|
16
|
+
&-enter, &-appear {
|
|
17
|
+
opacity: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&-enter-active, &-appear-active, &-enter-done {
|
|
21
|
+
opacity: 1;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-exit {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&-exit-active {
|
|
29
|
+
opacity: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&-exit-done {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
35
|
}
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
$namespace: ab-message;
|
|
2
|
-
$contentFade: #{$namespace}-fade;
|
|
3
|
-
|
|
4
|
-
.#{$namespace} {
|
|
5
|
-
&-container {
|
|
6
|
-
position: fixed;
|
|
7
|
-
left: 0;
|
|
8
|
-
bottom: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&-content {
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: space-between;
|
|
15
|
-
max-width: calc(100vw - .3rem);
|
|
16
|
-
border-radius: .02rem;
|
|
17
|
-
margin: .08rem .15rem;
|
|
18
|
-
padding: .08rem;
|
|
19
|
-
background-color: #333;
|
|
20
|
-
color: #fff;
|
|
21
|
-
box-shadow: 0 .04rem .08rem #00000059;
|
|
22
|
-
transition: opacity 300ms;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-close {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
width: .2rem;
|
|
31
|
-
height: .2rem;
|
|
32
|
-
font-size: .2rem;
|
|
33
|
-
margin-left: .08rem;
|
|
34
|
-
color: #b0b0b0;
|
|
35
|
-
|
|
36
|
-
&:hover {
|
|
37
|
-
color: #fff;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.#{$contentFade} {
|
|
43
|
-
&-enter, &-appear {
|
|
44
|
-
opacity: 0;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&-enter-active, &-appear-active, &-enter-done {
|
|
48
|
-
opacity: 1;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-exit {
|
|
52
|
-
opacity: 1;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&-exit-active {
|
|
56
|
-
opacity: 0;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&-exit-done {
|
|
60
|
-
display: none;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@media only screen and (max-width: 767px) {
|
|
65
|
-
.#{$namespace} {
|
|
66
|
-
&-content {
|
|
67
|
-
width: calc(100vw - .3rem);
|
|
68
|
-
margin: .08rem .15rem;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
1
|
+
$namespace: ab-message;
|
|
2
|
+
$contentFade: #{$namespace}-fade;
|
|
3
|
+
|
|
4
|
+
.#{$namespace} {
|
|
5
|
+
&-container {
|
|
6
|
+
position: fixed;
|
|
7
|
+
left: 0;
|
|
8
|
+
bottom: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&-content {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
max-width: calc(100vw - .3rem);
|
|
16
|
+
border-radius: .02rem;
|
|
17
|
+
margin: .08rem .15rem;
|
|
18
|
+
padding: .08rem;
|
|
19
|
+
background-color: #333;
|
|
20
|
+
color: #fff;
|
|
21
|
+
box-shadow: 0 .04rem .08rem #00000059;
|
|
22
|
+
transition: opacity 300ms;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&-close {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
width: .2rem;
|
|
31
|
+
height: .2rem;
|
|
32
|
+
font-size: .2rem;
|
|
33
|
+
margin-left: .08rem;
|
|
34
|
+
color: #b0b0b0;
|
|
35
|
+
|
|
36
|
+
&:hover {
|
|
37
|
+
color: #fff;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.#{$contentFade} {
|
|
43
|
+
&-enter, &-appear {
|
|
44
|
+
opacity: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&-enter-active, &-appear-active, &-enter-done {
|
|
48
|
+
opacity: 1;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-exit {
|
|
52
|
+
opacity: 1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&-exit-active {
|
|
56
|
+
opacity: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&-exit-done {
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@media only screen and (max-width: 767px) {
|
|
65
|
+
.#{$namespace} {
|
|
66
|
+
&-content {
|
|
67
|
+
width: calc(100vw - .3rem);
|
|
68
|
+
margin: .08rem .15rem;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
71
|
}
|