ecomlab-components-next 0.1.257 → 0.1.259
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/components/ConstructorComponents/ArticlesBlockV2/ArticlesBlockV2.module.scss +99 -181
- package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.js +24 -33
- package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.scss +208 -194
- package/dist/components/ConstructorComponents/CardsServicesV2/CardsServicesV2.js +1 -3
- package/dist/components/ConstructorComponents/CardsServicesV2/CardsServicesV2.scss +103 -127
- package/dist/components/ConstructorComponents/CardsV2/CardsV2.js +10 -11
- package/dist/components/ConstructorComponents/CardsV2/CardsV2.scss +162 -158
- package/dist/components/ConstructorComponents/CardsWithButton/CardsWithButton.js +8 -8
- package/dist/components/ConstructorComponents/CardsWithButton/CardsWithButton.scss +33 -54
- package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.js +11 -11
- package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.scss +86 -168
- package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.js +13 -13
- package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.scss +140 -110
- package/dist/components/ConstructorComponents/FormV2/FormV2.js +4 -4
- package/dist/components/ConstructorComponents/FormV2/FormV2.scss +28 -43
- package/dist/components/ConstructorComponents/LogosStrip/LogosStrip.js +9 -9
- package/dist/components/ConstructorComponents/LogosStrip/LogosStrip.scss +30 -43
- package/dist/components/ConstructorComponents/MarqueImgsV2/MarqueImgsV2.scss +1 -1
- package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.js +8 -8
- package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.scss +53 -77
- package/dist/components/ConstructorComponents/PointsListV2/PointsListV2.scss +56 -42
- package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.js +12 -12
- package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.scss +47 -45
- package/dist/components/ConstructorComponents/SmartReplies/SmartReplies.scss +35 -57
- package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.js +5 -9
- package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.module.scss +46 -83
- package/dist/components/ConstructorComponents/StepsV2/StepsV2.js +13 -13
- package/dist/components/ConstructorComponents/StepsV2/StepsV2.module.scss +184 -184
- package/dist/components/ConstructorComponents/VideoBlockV2/VideoBlockV2.scss +26 -28
- package/dist/components/ConstructorComponents/variables.scss +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
|
|
2
2
|
@import '../variables.scss';
|
|
3
3
|
|
|
4
|
-
.phone-
|
|
4
|
+
.phone-block-v2 {
|
|
5
5
|
max-width: 1280px;
|
|
6
6
|
margin: 0 auto;
|
|
7
|
-
background:
|
|
7
|
+
background: $white;
|
|
8
8
|
border-radius: 24px;
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
justify-content: space-between;
|
|
12
12
|
overflow: hidden;
|
|
13
|
-
border: 1px solid
|
|
13
|
+
border: 1px solid $border;
|
|
14
14
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
|
|
15
15
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
16
16
|
|
|
@@ -18,10 +18,6 @@
|
|
|
18
18
|
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
// Отступы как в референсе (как у .how, .pricing, .reviews, .faq)
|
|
22
|
-
margin-top: 96px;
|
|
23
|
-
margin-bottom: 96px;
|
|
24
|
-
|
|
25
21
|
&:hover {
|
|
26
22
|
transform: translateY(-4px);
|
|
27
23
|
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
|
|
@@ -43,7 +39,6 @@
|
|
|
43
39
|
font-size: 13px;
|
|
44
40
|
font-weight: 600;
|
|
45
41
|
margin-bottom: 20px;
|
|
46
|
-
font-family: 'Manrope', sans-serif;
|
|
47
42
|
|
|
48
43
|
svg {
|
|
49
44
|
width: 16px;
|
|
@@ -52,13 +47,12 @@
|
|
|
52
47
|
}
|
|
53
48
|
|
|
54
49
|
&__title {
|
|
55
|
-
font-size:
|
|
50
|
+
font-size: 30px;
|
|
56
51
|
font-weight: 800;
|
|
57
52
|
line-height: 1.2;
|
|
58
53
|
letter-spacing: -1px;
|
|
59
|
-
color:
|
|
54
|
+
color: $text;
|
|
60
55
|
margin-bottom: 16px;
|
|
61
|
-
font-family: 'Manrope', sans-serif;
|
|
62
56
|
|
|
63
57
|
span {
|
|
64
58
|
color: $green;
|
|
@@ -68,21 +62,19 @@
|
|
|
68
62
|
&__description {
|
|
69
63
|
font-size: 15px;
|
|
70
64
|
line-height: 1.5;
|
|
71
|
-
color:
|
|
65
|
+
color: $muted;
|
|
72
66
|
margin-bottom: 32px;
|
|
73
67
|
max-width: 500px;
|
|
74
|
-
font-family: 'Manrope', sans-serif;
|
|
75
68
|
}
|
|
76
69
|
|
|
77
70
|
&__button {
|
|
78
71
|
background: $green;
|
|
79
|
-
color:
|
|
72
|
+
color: $white;
|
|
80
73
|
border: none;
|
|
81
74
|
border-radius: 10px;
|
|
82
75
|
padding: 12px 28px;
|
|
83
76
|
font-size: 15px;
|
|
84
77
|
font-weight: 600;
|
|
85
|
-
font-family: 'Manrope', sans-serif;
|
|
86
78
|
cursor: pointer;
|
|
87
79
|
transition: all 0.2s ease;
|
|
88
80
|
display: inline-flex;
|
|
@@ -90,7 +82,7 @@
|
|
|
90
82
|
gap: 8px;
|
|
91
83
|
|
|
92
84
|
&:hover {
|
|
93
|
-
background: $green;
|
|
85
|
+
background: $green-dark;
|
|
94
86
|
transform: translateY(-1px);
|
|
95
87
|
}
|
|
96
88
|
|
|
@@ -99,45 +91,53 @@
|
|
|
99
91
|
}
|
|
100
92
|
}
|
|
101
93
|
|
|
102
|
-
&
|
|
94
|
+
&__image-box {
|
|
103
95
|
flex-shrink: 0;
|
|
96
|
+
padding: 24px 48px 24px 0;
|
|
104
97
|
}
|
|
105
98
|
|
|
106
|
-
&
|
|
99
|
+
&__image {
|
|
107
100
|
width: 220px;
|
|
108
101
|
height: auto;
|
|
109
102
|
display: block;
|
|
110
103
|
object-fit: contain;
|
|
111
104
|
}
|
|
105
|
+
|
|
106
|
+
@keyframes fadeUp {
|
|
107
|
+
from {
|
|
108
|
+
opacity: 0;
|
|
109
|
+
transform: translateY(24px);
|
|
110
|
+
}
|
|
111
|
+
to {
|
|
112
|
+
opacity: 1;
|
|
113
|
+
transform: translateY(0);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
112
116
|
}
|
|
113
117
|
|
|
114
|
-
//
|
|
115
|
-
@media (max-width:
|
|
116
|
-
.phone-
|
|
117
|
-
margin
|
|
118
|
-
margin-right: 32px;
|
|
118
|
+
// Планшет (до 1100px)
|
|
119
|
+
@media (max-width: 1100px) {
|
|
120
|
+
.phone-block-v2 {
|
|
121
|
+
margin: 0 24px;
|
|
119
122
|
|
|
120
123
|
&__title {
|
|
121
|
-
font-size:
|
|
124
|
+
font-size: 26px;
|
|
122
125
|
}
|
|
123
126
|
|
|
124
|
-
&
|
|
127
|
+
&__image {
|
|
125
128
|
width: 200px;
|
|
126
129
|
}
|
|
127
130
|
|
|
128
|
-
&
|
|
129
|
-
padding: 24px 40px 24px
|
|
131
|
+
&__image-box {
|
|
132
|
+
padding: 24px 40px 24px 0;
|
|
130
133
|
}
|
|
131
134
|
}
|
|
132
135
|
}
|
|
133
136
|
|
|
137
|
+
// Планшет вертикальный (до 900px) - перенос в колонку
|
|
134
138
|
@media (max-width: 900px) {
|
|
135
|
-
.phone-
|
|
139
|
+
.phone-block-v2 {
|
|
136
140
|
flex-direction: column;
|
|
137
|
-
margin-top: 60px;
|
|
138
|
-
margin-bottom: 60px;
|
|
139
|
-
margin-left: 24px;
|
|
140
|
-
margin-right: 24px;
|
|
141
141
|
|
|
142
142
|
&__content {
|
|
143
143
|
padding: 40px 32px 24px;
|
|
@@ -149,10 +149,6 @@
|
|
|
149
149
|
margin-right: auto;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
&__title {
|
|
153
|
-
font-size: 28px;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
152
|
&__description {
|
|
157
153
|
font-size: 14px;
|
|
158
154
|
margin-left: auto;
|
|
@@ -160,14 +156,14 @@
|
|
|
160
156
|
max-width: 100%;
|
|
161
157
|
}
|
|
162
158
|
|
|
163
|
-
&
|
|
159
|
+
&__image-box {
|
|
164
160
|
margin: 0 24px 24px;
|
|
165
|
-
padding:
|
|
161
|
+
padding: 0;
|
|
166
162
|
display: flex;
|
|
167
163
|
justify-content: center;
|
|
168
164
|
}
|
|
169
165
|
|
|
170
|
-
&
|
|
166
|
+
&__image {
|
|
171
167
|
width: 180px;
|
|
172
168
|
}
|
|
173
169
|
|
|
@@ -178,25 +174,11 @@
|
|
|
178
174
|
}
|
|
179
175
|
}
|
|
180
176
|
|
|
181
|
-
|
|
182
|
-
.phone-block2 {
|
|
183
|
-
margin-top: 48px;
|
|
184
|
-
margin-bottom: 48px;
|
|
185
|
-
margin-left: 20px;
|
|
186
|
-
margin-right: 20px;
|
|
187
|
-
|
|
188
|
-
&__title {
|
|
189
|
-
font-size: 26px;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
177
|
+
// Мобильная версия (до 600px)
|
|
194
178
|
@media (max-width: 600px) {
|
|
195
|
-
.phone-
|
|
196
|
-
margin
|
|
197
|
-
|
|
198
|
-
margin-left: 16px;
|
|
199
|
-
margin-right: 16px;
|
|
179
|
+
.phone-block-v2 {
|
|
180
|
+
margin: 0 20px;
|
|
181
|
+
border-radius: 20px;
|
|
200
182
|
|
|
201
183
|
&__title {
|
|
202
184
|
font-size: 24px;
|
|
@@ -206,12 +188,11 @@
|
|
|
206
188
|
font-size: 13px;
|
|
207
189
|
}
|
|
208
190
|
|
|
209
|
-
&
|
|
191
|
+
&__image-box {
|
|
210
192
|
margin: 0 20px 20px;
|
|
211
|
-
padding: 20px;
|
|
212
193
|
}
|
|
213
194
|
|
|
214
|
-
&
|
|
195
|
+
&__image {
|
|
215
196
|
width: 160px;
|
|
216
197
|
}
|
|
217
198
|
|
|
@@ -224,12 +205,10 @@
|
|
|
224
205
|
}
|
|
225
206
|
}
|
|
226
207
|
|
|
208
|
+
// Мобильная версия (до 480px)
|
|
227
209
|
@media (max-width: 480px) {
|
|
228
|
-
.phone-
|
|
229
|
-
margin
|
|
230
|
-
margin-bottom: 32px;
|
|
231
|
-
margin-left: 12px;
|
|
232
|
-
margin-right: 12px;
|
|
210
|
+
.phone-block-v2 {
|
|
211
|
+
margin: 0 16px;
|
|
233
212
|
border-radius: 20px;
|
|
234
213
|
|
|
235
214
|
&__content {
|
|
@@ -246,12 +225,11 @@
|
|
|
246
225
|
line-height: 1.45;
|
|
247
226
|
}
|
|
248
227
|
|
|
249
|
-
&
|
|
228
|
+
&__image-box {
|
|
250
229
|
margin: 0 16px 20px;
|
|
251
|
-
padding: 16px;
|
|
252
230
|
}
|
|
253
231
|
|
|
254
|
-
&
|
|
232
|
+
&__image {
|
|
255
233
|
width: 140px;
|
|
256
234
|
}
|
|
257
235
|
|
|
@@ -266,12 +244,11 @@
|
|
|
266
244
|
}
|
|
267
245
|
}
|
|
268
246
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
margin
|
|
273
|
-
|
|
274
|
-
margin-right: 12px;
|
|
247
|
+
// Мобильная версия (до 430px)
|
|
248
|
+
@media (max-width: 430px) {
|
|
249
|
+
.phone-block-v2 {
|
|
250
|
+
margin: 0 20px;
|
|
251
|
+
border-radius: 16px;
|
|
275
252
|
|
|
276
253
|
&__content {
|
|
277
254
|
padding: 24px 16px 16px;
|
|
@@ -285,12 +262,11 @@
|
|
|
285
262
|
font-size: 12px;
|
|
286
263
|
}
|
|
287
264
|
|
|
288
|
-
&
|
|
265
|
+
&__image-box {
|
|
289
266
|
margin: 0 12px 16px;
|
|
290
|
-
padding: 14px;
|
|
291
267
|
}
|
|
292
268
|
|
|
293
|
-
&
|
|
269
|
+
&__image {
|
|
294
270
|
width: 120px;
|
|
295
271
|
}
|
|
296
272
|
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
|
|
2
2
|
@import '../variables.scss';
|
|
3
3
|
|
|
4
|
-
$text: #1A1A2E;
|
|
5
|
-
$muted: #6B7280;
|
|
6
|
-
$border: #E5E7EB;
|
|
7
|
-
$bg: #F7F8FC;
|
|
8
|
-
$white: #FFFFFF;
|
|
9
|
-
|
|
10
4
|
.points-list-v2 {
|
|
11
5
|
font-family: 'Manrope', sans-serif;
|
|
12
6
|
background: $bg;
|
|
13
7
|
width: 100%;
|
|
14
|
-
padding:
|
|
8
|
+
padding: 96px 40px;
|
|
15
9
|
|
|
16
10
|
* {
|
|
17
|
-
font-family: 'Manrope', 'Golos Text', sans-serif;
|
|
11
|
+
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
18
12
|
}
|
|
19
13
|
|
|
20
14
|
&__inner {
|
|
@@ -34,14 +28,14 @@ $white: #FFFFFF;
|
|
|
34
28
|
&__content {
|
|
35
29
|
display: grid;
|
|
36
30
|
grid-template-columns: repeat(3, 1fr);
|
|
37
|
-
gap:
|
|
31
|
+
gap: 24px;
|
|
38
32
|
}
|
|
39
33
|
|
|
40
34
|
&__item {
|
|
41
35
|
background: $white;
|
|
42
36
|
border: 1px solid $border;
|
|
43
|
-
border-radius:
|
|
44
|
-
padding:
|
|
37
|
+
border-radius: 20px;
|
|
38
|
+
padding: 28px 24px;
|
|
45
39
|
display: flex;
|
|
46
40
|
flex-direction: column;
|
|
47
41
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
@@ -61,28 +55,27 @@ $white: #FFFFFF;
|
|
|
61
55
|
display: flex;
|
|
62
56
|
align-items: center;
|
|
63
57
|
justify-content: center;
|
|
64
|
-
margin-bottom:
|
|
58
|
+
margin-bottom: 20px;
|
|
65
59
|
|
|
66
60
|
img {
|
|
67
61
|
width: 24px;
|
|
68
62
|
height: 24px;
|
|
69
63
|
object-fit: contain;
|
|
70
|
-
filter: brightness(0) saturate(100%) invert(35%) sepia(91%) saturate(548%) hue-rotate(118deg) brightness(95%) contrast(96%);
|
|
71
64
|
}
|
|
72
65
|
}
|
|
73
66
|
|
|
74
67
|
&__item-title {
|
|
75
|
-
font-size:
|
|
68
|
+
font-size: 16px;
|
|
76
69
|
font-weight: 700;
|
|
77
70
|
color: $text;
|
|
78
|
-
margin: 0 0
|
|
71
|
+
margin: 0 0 8px 0;
|
|
79
72
|
}
|
|
80
73
|
|
|
81
74
|
&__item-text {
|
|
82
|
-
font-size:
|
|
75
|
+
font-size: 14px;
|
|
83
76
|
color: $muted;
|
|
84
77
|
line-height: 1.5;
|
|
85
|
-
margin: 0
|
|
78
|
+
margin: 0;
|
|
86
79
|
}
|
|
87
80
|
|
|
88
81
|
&__item-link {
|
|
@@ -93,59 +86,80 @@ $white: #FFFFFF;
|
|
|
93
86
|
display: inline-flex;
|
|
94
87
|
align-items: center;
|
|
95
88
|
gap: 4px;
|
|
96
|
-
margin-top:
|
|
89
|
+
margin-top: 16px;
|
|
97
90
|
|
|
98
91
|
&:hover {
|
|
99
92
|
gap: 6px;
|
|
100
93
|
}
|
|
101
94
|
}
|
|
102
95
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
96
|
+
@keyframes fadeUp {
|
|
97
|
+
from {
|
|
98
|
+
opacity: 0;
|
|
99
|
+
transform: translateY(24px);
|
|
100
|
+
}
|
|
101
|
+
to {
|
|
102
|
+
opacity: 1;
|
|
103
|
+
transform: translateY(0);
|
|
109
104
|
}
|
|
110
105
|
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// Планшет (до 1100px)
|
|
109
|
+
@media (max-width: 1100px) {
|
|
110
|
+
.points-list-v2 {
|
|
111
|
+
padding: 72px 24px;
|
|
111
112
|
|
|
112
|
-
@media (max-width: 900px) {
|
|
113
113
|
&__content {
|
|
114
|
-
|
|
114
|
+
gap: 20px;
|
|
115
115
|
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
@media (max-width: 768px) {
|
|
119
|
-
padding: 60px 24px;
|
|
120
116
|
|
|
121
117
|
&__title {
|
|
122
118
|
font-size: 26px;
|
|
123
119
|
margin-bottom: 40px;
|
|
124
120
|
}
|
|
125
121
|
}
|
|
122
|
+
}
|
|
126
123
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
padding: 48px 16px;
|
|
133
|
-
|
|
134
|
-
&__title {
|
|
135
|
-
font-size: 24px;
|
|
124
|
+
// Перенос сетки в 2 колонки (до 900px)
|
|
125
|
+
@media (max-width: 900px) {
|
|
126
|
+
.points-list-v2 {
|
|
127
|
+
&__content {
|
|
128
|
+
grid-template-columns: repeat(2, 1fr);
|
|
136
129
|
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
// Мобильная версия (до 500px) - 1 колонка
|
|
133
|
+
@media (max-width: 500px) {
|
|
134
|
+
.points-list-v2 {
|
|
137
135
|
|
|
138
136
|
&__content {
|
|
139
137
|
grid-template-columns: 1fr;
|
|
140
|
-
gap:
|
|
138
|
+
gap: 16px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&__item {
|
|
142
|
+
padding: 20px 16px;
|
|
141
143
|
}
|
|
142
144
|
}
|
|
145
|
+
}
|
|
143
146
|
|
|
144
|
-
|
|
145
|
-
|
|
147
|
+
// Мобильная версия (до 430px)
|
|
148
|
+
@media (max-width: 430px) {
|
|
149
|
+
.points-list-v2 {
|
|
150
|
+
padding: 40px 20px;
|
|
146
151
|
|
|
147
152
|
&__title {
|
|
148
153
|
font-size: 22px;
|
|
154
|
+
margin-bottom: 32px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&__item-title {
|
|
158
|
+
font-size: 15px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&__item-text {
|
|
162
|
+
font-size: 13px;
|
|
149
163
|
}
|
|
150
164
|
}
|
|
151
165
|
}
|
|
@@ -34,38 +34,38 @@ var QuestionsV2 = function QuestionsV2(_ref) {
|
|
|
34
34
|
setCurrentDrop(newState);
|
|
35
35
|
};
|
|
36
36
|
return /*#__PURE__*/_react["default"].createElement("section", {
|
|
37
|
-
className: "questions-
|
|
37
|
+
className: "questions-v2",
|
|
38
38
|
itemScope: true,
|
|
39
39
|
itemType: "https://schema.org/FAQPage"
|
|
40
40
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
41
|
-
className: "questions-
|
|
41
|
+
className: "questions-v2__inner"
|
|
42
42
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
43
|
-
className: "questions-
|
|
43
|
+
className: "questions-v2__header"
|
|
44
44
|
}, /*#__PURE__*/_react["default"].createElement("h2", {
|
|
45
|
-
className: "questions-
|
|
45
|
+
className: "questions-v2__title"
|
|
46
46
|
}, title || 'Часто задаваемые вопросы'), /*#__PURE__*/_react["default"].createElement("p", {
|
|
47
|
-
className: "questions-
|
|
47
|
+
className: "questions-v2__subtitle"
|
|
48
48
|
}, "\u041E\u0442\u0432\u0435\u0442\u044B \u043D\u0430 \u0441\u0430\u043C\u044B\u0435 \u043F\u043E\u043F\u0443\u043B\u044F\u0440\u043D\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043E \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0435")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
49
|
-
className: "questions-
|
|
49
|
+
className: "questions-v2__list"
|
|
50
50
|
}, list === null || list === void 0 ? void 0 : list.map(function (_ref2, index) {
|
|
51
51
|
var questions = _ref2.questions,
|
|
52
52
|
response = _ref2.response;
|
|
53
53
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
54
54
|
key: questions + index,
|
|
55
|
-
className: "questions-
|
|
55
|
+
className: "questions-v2__item ".concat(currentDrop.has(questions) ? 'questions-v2__item_open' : '')
|
|
56
56
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
57
|
-
className: "questions-
|
|
57
|
+
className: "questions-v2__question",
|
|
58
58
|
onClick: function onClick() {
|
|
59
59
|
return toggleItem(questions);
|
|
60
60
|
}
|
|
61
61
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
62
|
-
className: "questions-
|
|
62
|
+
className: "questions-v2__question-text"
|
|
63
63
|
}, questions), /*#__PURE__*/_react["default"].createElement("span", {
|
|
64
|
-
className: "questions-
|
|
64
|
+
className: "questions-v2__icon"
|
|
65
65
|
}, "+")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
66
|
-
className: "questions-
|
|
66
|
+
className: "questions-v2__answer"
|
|
67
67
|
}, /*#__PURE__*/_react["default"].createElement("p", {
|
|
68
|
-
className: "questions-
|
|
68
|
+
className: "questions-v2__answer-text"
|
|
69
69
|
}, response)));
|
|
70
70
|
}))));
|
|
71
71
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
|
|
2
2
|
@import '../variables.scss';
|
|
3
3
|
|
|
4
|
-
.questions-
|
|
5
|
-
|
|
6
|
-
background:
|
|
4
|
+
.questions-v2 {
|
|
5
|
+
font-family: 'Manrope', sans-serif;
|
|
6
|
+
background: $bg;
|
|
7
|
+
width: 100%;
|
|
8
|
+
padding: 96px 40px;
|
|
7
9
|
|
|
8
10
|
* {
|
|
9
11
|
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
@@ -24,11 +26,11 @@
|
|
|
24
26
|
font-weight: 800;
|
|
25
27
|
letter-spacing: -0.5px;
|
|
26
28
|
margin-bottom: 8px;
|
|
27
|
-
color:
|
|
29
|
+
color: $text;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
&__subtitle {
|
|
31
|
-
color:
|
|
33
|
+
color: $muted;
|
|
32
34
|
font-size: 15px;
|
|
33
35
|
line-height: 1.6;
|
|
34
36
|
}
|
|
@@ -42,21 +44,19 @@
|
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
&__item {
|
|
45
|
-
background:
|
|
46
|
-
border-radius:
|
|
47
|
-
border: 1px solid
|
|
47
|
+
background: $white;
|
|
48
|
+
border-radius: 20px;
|
|
49
|
+
border: 1px solid $border;
|
|
48
50
|
overflow: hidden;
|
|
49
51
|
transition: all 0.5s ease;
|
|
50
52
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
.questions-section__icon {
|
|
53
|
+
&_open {
|
|
54
|
+
.questions-v2__icon {
|
|
55
55
|
transform: rotate(45deg);
|
|
56
|
-
color:
|
|
56
|
+
color: $green;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.questions-
|
|
59
|
+
.questions-v2__answer {
|
|
60
60
|
max-height: 600px;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -69,10 +69,10 @@
|
|
|
69
69
|
align-items: center;
|
|
70
70
|
cursor: pointer;
|
|
71
71
|
font-weight: 600;
|
|
72
|
-
font-size:
|
|
72
|
+
font-size: 16px;
|
|
73
73
|
user-select: none;
|
|
74
74
|
transition: color 0.2s ease;
|
|
75
|
-
color:
|
|
75
|
+
color: $text;
|
|
76
76
|
|
|
77
77
|
&:hover {
|
|
78
78
|
color: $green;
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
&__icon {
|
|
88
|
-
font-size:
|
|
88
|
+
font-size: 20px;
|
|
89
89
|
font-weight: 400;
|
|
90
|
-
color:
|
|
90
|
+
color: $muted;
|
|
91
91
|
transition: transform 0.3s ease, color 0.2s ease;
|
|
92
92
|
flex-shrink: 0;
|
|
93
93
|
margin-left: 16px;
|
|
@@ -101,16 +101,28 @@
|
|
|
101
101
|
|
|
102
102
|
&__answer-text {
|
|
103
103
|
font-size: 14px;
|
|
104
|
-
color:
|
|
104
|
+
color: $muted;
|
|
105
105
|
line-height: 1.7;
|
|
106
106
|
margin: 0 20px 16px;
|
|
107
107
|
}
|
|
108
|
+
|
|
109
|
+
@keyframes fadeUp {
|
|
110
|
+
from {
|
|
111
|
+
opacity: 0;
|
|
112
|
+
transform: translateY(24px);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
to {
|
|
116
|
+
opacity: 1;
|
|
117
|
+
transform: translateY(0);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
108
120
|
}
|
|
109
121
|
|
|
110
|
-
// Мобильная
|
|
111
|
-
@media (max-width:
|
|
112
|
-
.questions-
|
|
113
|
-
padding:
|
|
122
|
+
// Мобильная версия (до 768px)
|
|
123
|
+
@media (max-width: 1100px) {
|
|
124
|
+
.questions-v2 {
|
|
125
|
+
padding: 72px 24px;
|
|
114
126
|
|
|
115
127
|
&__inner {
|
|
116
128
|
max-width: 100%;
|
|
@@ -121,7 +133,7 @@
|
|
|
121
133
|
}
|
|
122
134
|
|
|
123
135
|
&__title {
|
|
124
|
-
font-size:
|
|
136
|
+
font-size: 26px;
|
|
125
137
|
}
|
|
126
138
|
|
|
127
139
|
&__subtitle {
|
|
@@ -138,14 +150,10 @@
|
|
|
138
150
|
}
|
|
139
151
|
|
|
140
152
|
&__icon {
|
|
141
|
-
font-size:
|
|
153
|
+
font-size: 18px;
|
|
142
154
|
margin-left: 12px;
|
|
143
155
|
}
|
|
144
156
|
|
|
145
|
-
&.open .questions-section__answer {
|
|
146
|
-
// padding: 0 20px 16px;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
157
|
&__answer-text {
|
|
150
158
|
font-size: 13px;
|
|
151
159
|
line-height: 1.6;
|
|
@@ -153,27 +161,21 @@
|
|
|
153
161
|
}
|
|
154
162
|
}
|
|
155
163
|
|
|
156
|
-
//
|
|
157
|
-
@media (max-width:
|
|
158
|
-
.questions-
|
|
159
|
-
padding:
|
|
164
|
+
// Мобильная версия (до 430px)
|
|
165
|
+
@media (max-width: 430px) {
|
|
166
|
+
.questions-v2 {
|
|
167
|
+
padding: 40px 20px;
|
|
160
168
|
|
|
161
|
-
&
|
|
162
|
-
|
|
163
|
-
font-size: 13px;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
&__icon {
|
|
167
|
-
font-size: 15px;
|
|
168
|
-
margin-left: 10px;
|
|
169
|
+
&__title {
|
|
170
|
+
font-size: 22px;
|
|
169
171
|
}
|
|
170
172
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
+
&__subtitle {
|
|
174
|
+
font-size: 13px;
|
|
173
175
|
}
|
|
174
176
|
|
|
175
|
-
&
|
|
176
|
-
|
|
177
|
+
&__question {
|
|
178
|
+
padding: 12px 16px;
|
|
177
179
|
}
|
|
178
180
|
}
|
|
179
181
|
}
|