@meduza/ui-kit-2 0.1.22 → 0.1.23
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/dist/ui-kit.css +2811 -2779
- package/package.json +1 -1
- package/src/Spoiler/Spoiler.module.css +33 -7
package/package.json
CHANGED
|
@@ -1,22 +1,44 @@
|
|
|
1
1
|
@import '../vars.css';
|
|
2
2
|
|
|
3
3
|
.root {
|
|
4
|
+
position: relative;
|
|
5
|
+
|
|
4
6
|
width: 100%;
|
|
5
7
|
margin: $gapMedium 0;
|
|
6
|
-
padding:
|
|
7
|
-
|
|
8
|
-
border-top: 3px solid rgba(0, 0, 0, 0.1);
|
|
9
|
-
border-bottom: 3px solid rgba(0, 0, 0, 0.1);
|
|
8
|
+
padding: 24px 0 25px;
|
|
10
9
|
|
|
11
10
|
@media $mobile {
|
|
12
11
|
display: flex;
|
|
13
12
|
flex-flow: column nowrap;
|
|
14
13
|
|
|
15
14
|
margin: 25px auto 20px;
|
|
16
|
-
padding:
|
|
15
|
+
padding: 23px 0;
|
|
17
16
|
}
|
|
18
17
|
}
|
|
19
18
|
|
|
19
|
+
.root::before,
|
|
20
|
+
.root::after {
|
|
21
|
+
position: absolute;
|
|
22
|
+
left: 50%;
|
|
23
|
+
|
|
24
|
+
width: 100%;
|
|
25
|
+
max-width: 650px;
|
|
26
|
+
margin: 0 auto;
|
|
27
|
+
|
|
28
|
+
content: '';
|
|
29
|
+
transform: translateX(-50%);
|
|
30
|
+
|
|
31
|
+
border-top: 3px solid rgba(0, 0, 0, 0.1);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.root::before {
|
|
35
|
+
top: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.root::after {
|
|
39
|
+
bottom: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
20
42
|
.root:last-child {
|
|
21
43
|
margin-bottom: 0;
|
|
22
44
|
}
|
|
@@ -57,7 +79,6 @@
|
|
|
57
79
|
display: none;
|
|
58
80
|
|
|
59
81
|
width: 100%;
|
|
60
|
-
|
|
61
82
|
padding-bottom: 13px;
|
|
62
83
|
|
|
63
84
|
@media $mobile {
|
|
@@ -94,13 +115,18 @@
|
|
|
94
115
|
z-index: 10;
|
|
95
116
|
bottom: 0;
|
|
96
117
|
|
|
118
|
+
width: auto;
|
|
97
119
|
margin-right: -20px;
|
|
98
120
|
margin-left: -20px;
|
|
99
121
|
padding: 12px 20px 20px;
|
|
100
122
|
|
|
101
123
|
animation: spoilerSticky 500ms ease both;
|
|
102
124
|
|
|
103
|
-
background-image: linear-gradient(
|
|
125
|
+
background-image: linear-gradient(
|
|
126
|
+
180deg,
|
|
127
|
+
rgba(255, 255, 255, 0) 0%,
|
|
128
|
+
#fff 64%
|
|
129
|
+
);
|
|
104
130
|
|
|
105
131
|
@media $mobile {
|
|
106
132
|
position: static;
|