@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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.71",
2
+ "version": "0.1.73",
3
3
  "license": "MIT",
4
4
  "description": "UIKit for Meduza",
5
5
  "repository": "https://github.com/meduza-corp/ui-kit-2.git",
@@ -7,23 +7,27 @@
7
7
  display: block;
8
8
  overflow: hidden;
9
9
 
10
- padding: 26px 30px 40px;
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
- margin: calc(15rem / 16) 0;
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 15px;
38
+ margin: 0 0 10px;
35
39
 
36
40
  text-align: center;
37
41
 
38
- font-size: 28px;
42
+ font-size: 20px;
39
43
  font-weight: 700;
40
- line-height: 34px;
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: 18px;
49
- line-height: 26px;
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: 40px;
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
+ Российские власти объявили &laquo;Медузу&raquo; иностранным агентом.
23
+ У&nbsp;нас больше нет рекламодателей&nbsp;&mdash; а&nbsp;значит, нет
24
+ денег. Но&nbsp;у&nbsp;нас есть вы&nbsp;&mdash; наши читатели. Помогите
25
+ нам спасти &laquo;Медузу&raquo;!
25
26
  </p>
26
27
  </div>
27
28