@meduza/ui-kit-2 0.1.71 → 0.1.73
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-2.cjs.development.js +2 -2
- package/dist/ui-kit-2.cjs.development.js.map +1 -1
- package/dist/ui-kit-2.cjs.production.min.js +1 -1
- package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
- package/dist/ui-kit-2.esm.js +2 -2
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +1416 -1381
- package/package.json +1 -1
- package/src/DonatesTeaser/DonatesTeaser.module.css +43 -11
- package/src/DonatesTeaser/index.tsx +4 -3
package/package.json
CHANGED
|
@@ -7,23 +7,27 @@
|
|
|
7
7
|
display: block;
|
|
8
8
|
overflow: hidden;
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
margin: calc(15rem / 16) -20px;
|
|
11
|
+
padding: 84px 30px 70px;
|
|
11
12
|
|
|
12
13
|
text-decoration: none;
|
|
13
14
|
|
|
14
|
-
border-radius: 8px;
|
|
15
15
|
outline-width: 0;
|
|
16
16
|
background-color: #000;
|
|
17
17
|
|
|
18
18
|
font-family: $secondaryFont;
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
@media $mobile {
|
|
20
|
+
@media $landscapeTablet {
|
|
23
21
|
margin: 25px 0 20px;
|
|
22
|
+
padding: 26px 30px 40px;
|
|
23
|
+
border-radius: 8px;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.root:hover .ctaInner::after {
|
|
28
|
+
opacity: 0.7;
|
|
29
|
+
}
|
|
30
|
+
|
|
27
31
|
.main {
|
|
28
32
|
text-align: center;
|
|
29
33
|
|
|
@@ -31,13 +35,20 @@
|
|
|
31
35
|
}
|
|
32
36
|
|
|
33
37
|
.title {
|
|
34
|
-
margin: 0 0
|
|
38
|
+
margin: 0 0 10px;
|
|
35
39
|
|
|
36
40
|
text-align: center;
|
|
37
41
|
|
|
38
|
-
font-size:
|
|
42
|
+
font-size: 20px;
|
|
39
43
|
font-weight: 700;
|
|
40
|
-
line-height:
|
|
44
|
+
line-height: 25px;
|
|
45
|
+
|
|
46
|
+
@media $landscapeTablet {
|
|
47
|
+
margin: 0 0 15px;
|
|
48
|
+
|
|
49
|
+
font-size: 28px;
|
|
50
|
+
line-height: 34px;
|
|
51
|
+
}
|
|
41
52
|
}
|
|
42
53
|
|
|
43
54
|
.text {
|
|
@@ -45,8 +56,13 @@
|
|
|
45
56
|
|
|
46
57
|
text-align: center;
|
|
47
58
|
|
|
48
|
-
font-size:
|
|
49
|
-
line-height:
|
|
59
|
+
font-size: 14px;
|
|
60
|
+
line-height: 18px;
|
|
61
|
+
|
|
62
|
+
@media $landscapeTablet {
|
|
63
|
+
font-size: 18px;
|
|
64
|
+
line-height: 26px;
|
|
65
|
+
}
|
|
50
66
|
}
|
|
51
67
|
|
|
52
68
|
.cta {
|
|
@@ -55,7 +71,11 @@
|
|
|
55
71
|
flex-flow: column nowrap;
|
|
56
72
|
justify-content: center;
|
|
57
73
|
|
|
58
|
-
margin-top:
|
|
74
|
+
margin-top: 45px;
|
|
75
|
+
|
|
76
|
+
@media $landscapeTablet {
|
|
77
|
+
margin-top: 40px;
|
|
78
|
+
}
|
|
59
79
|
}
|
|
60
80
|
|
|
61
81
|
.cta a {
|
|
@@ -102,6 +122,7 @@
|
|
|
102
122
|
left: 0;
|
|
103
123
|
|
|
104
124
|
content: '';
|
|
125
|
+
transition: opacity 250ms ease;
|
|
105
126
|
|
|
106
127
|
border-radius: 40px;
|
|
107
128
|
background-color: #ff1113;
|
|
@@ -115,3 +136,14 @@
|
|
|
115
136
|
margin-right: auto;
|
|
116
137
|
margin-left: auto;
|
|
117
138
|
}
|
|
139
|
+
|
|
140
|
+
.isInCard,
|
|
141
|
+
.isInSlide {
|
|
142
|
+
margin-right: -11px;
|
|
143
|
+
margin-left: -11px;
|
|
144
|
+
|
|
145
|
+
@media $landscapeTablet {
|
|
146
|
+
margin-right: 0;
|
|
147
|
+
margin-left: 0;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
@@ -19,9 +19,10 @@ export const DonatesTeaser: React.FC<DonatesTeaserProps> = ({
|
|
|
19
19
|
<div className={styles.main}>
|
|
20
20
|
<h3 className={styles.title}>Спасти «Медузу»</h3>
|
|
21
21
|
<p className={styles.text}>
|
|
22
|
-
Российские власти объявили
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
Российские власти объявили «Медузу» иностранным агентом.
|
|
23
|
+
У нас больше нет рекламодателей — а значит, нет
|
|
24
|
+
денег. Но у нас есть вы — наши читатели. Помогите
|
|
25
|
+
нам спасти «Медузу»!
|
|
25
26
|
</p>
|
|
26
27
|
</div>
|
|
27
28
|
|