ecomlab-components-next 0.1.257 → 0.1.260
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/Buttons/ButtonBasicV2/ButtonBasicV2.js +12 -39
- package/dist/components/Buttons/ButtonBasicV2/ButtonBasicV2.scss +44 -36
- 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 +10 -7
- package/dist/components/ConstructorComponents/CardsServicesV2/CardsServicesV2.scss +114 -145
- 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 +22 -35
- package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.scss +68 -193
- package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.js +24 -15
- package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.scss +145 -110
- package/dist/components/ConstructorComponents/FormV2/FormV2.js +12 -7
- package/dist/components/ConstructorComponents/FormV2/FormV2.scss +28 -43
- package/dist/components/ConstructorComponents/HeaderV2/HeaderV2.js +1 -1
- 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 +15 -11
- package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.scss +56 -115
- 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/ServicesSectionV2/ServicesSectionV2.js +5 -3
- package/dist/components/ConstructorComponents/SmartReplies/SmartReplies.js +9 -4
- 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 +25 -27
- package/dist/components/ConstructorComponents/StepsV2/StepsV2.module.scss +156 -185
- package/dist/components/ConstructorComponents/VideoBlockV2/VideoBlockV2.scss +26 -28
- package/dist/components/ConstructorComponents/variables.scss +1 -1
- package/package.json +1 -1
|
@@ -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
|
}
|
|
@@ -108,8 +108,10 @@ var ImagePlaceholder = function ImagePlaceholder(_ref) {
|
|
|
108
108
|
var ServicesSectionV2 = function ServicesSectionV2(_ref2) {
|
|
109
109
|
var _window;
|
|
110
110
|
var _ref2$items = _ref2.items,
|
|
111
|
-
items = _ref2$items === void 0 ? list_default : _ref2$items
|
|
112
|
-
|
|
111
|
+
items = _ref2$items === void 0 ? list_default : _ref2$items,
|
|
112
|
+
_ref2$linkMain = _ref2.linkMain,
|
|
113
|
+
linkMain = _ref2$linkMain === void 0 ? 'https://lk.ecomru.ru' : _ref2$linkMain;
|
|
114
|
+
var current_query = (_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.search;
|
|
113
115
|
var _useState = (0, _react.useState)(items[0]),
|
|
114
116
|
_useState2 = _slicedToArray(_useState, 2),
|
|
115
117
|
activeItem = _useState2[0],
|
|
@@ -177,7 +179,7 @@ var ServicesSectionV2 = function ServicesSectionV2(_ref2) {
|
|
|
177
179
|
onClick: function onClick(e) {
|
|
178
180
|
var _window2;
|
|
179
181
|
e.preventDefault();
|
|
180
|
-
(_window2 = window) === null || _window2 === void 0 || _window2.open("
|
|
182
|
+
(_window2 = window) === null || _window2 === void 0 || _window2.open("".concat(linkMain, "/auth").concat(current_query), '_blank');
|
|
181
183
|
},
|
|
182
184
|
href: activeItem.link,
|
|
183
185
|
className: "services-v2__link"
|
|
@@ -7,7 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports["default"] = void 0;
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _ButtonBasicV = _interopRequireDefault(require("@/components/Buttons/ButtonBasicV2/ButtonBasicV2"));
|
|
10
11
|
require("./SmartReplies.scss");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
13
15
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
@@ -120,9 +122,12 @@ var SmartReplies = function SmartReplies(_ref) {
|
|
|
120
122
|
}, /*#__PURE__*/_react["default"].createElement("p", null, review.answer))));
|
|
121
123
|
})), reviews.length > 2 && visibleCount < reviews.length && /*#__PURE__*/_react["default"].createElement("div", {
|
|
122
124
|
className: "smart-replies__show-more"
|
|
123
|
-
}, /*#__PURE__*/_react["default"].createElement("
|
|
124
|
-
className: "
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
}, /*#__PURE__*/_react["default"].createElement(_ButtonBasicV["default"], {
|
|
126
|
+
className: "phone-block-v2__btn",
|
|
127
|
+
white: true,
|
|
128
|
+
onClick: showMore,
|
|
129
|
+
text: 'Показать еще',
|
|
130
|
+
size: "52px"
|
|
131
|
+
}))));
|
|
127
132
|
};
|
|
128
133
|
var _default = exports["default"] = SmartReplies;
|
|
@@ -1,17 +1,15 @@
|
|
|
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
|
.smart-replies {
|
|
11
5
|
font-family: 'Manrope', sans-serif;
|
|
12
6
|
background: $white;
|
|
13
7
|
width: 100%;
|
|
14
|
-
padding: 96px
|
|
8
|
+
padding: 96px 40px;
|
|
9
|
+
|
|
10
|
+
* {
|
|
11
|
+
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
12
|
+
}
|
|
15
13
|
|
|
16
14
|
&__inner {
|
|
17
15
|
max-width: 1280px;
|
|
@@ -183,75 +181,50 @@ $white: #FFFFFF;
|
|
|
183
181
|
}
|
|
184
182
|
}
|
|
185
183
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
grid-template-columns: 1fr;
|
|
195
|
-
gap: 20px;
|
|
184
|
+
@keyframes fadeUp {
|
|
185
|
+
from {
|
|
186
|
+
opacity: 0;
|
|
187
|
+
transform: translateY(24px);
|
|
188
|
+
}
|
|
189
|
+
to {
|
|
190
|
+
opacity: 1;
|
|
191
|
+
transform: translateY(0);
|
|
196
192
|
}
|
|
197
193
|
}
|
|
194
|
+
}
|
|
198
195
|
|
|
199
|
-
|
|
200
|
-
|
|
196
|
+
// Планшет (до 1100px)
|
|
197
|
+
@media (max-width: 1100px) {
|
|
198
|
+
.smart-replies {
|
|
199
|
+
padding: 72px 24px;
|
|
201
200
|
|
|
202
201
|
&__title {
|
|
203
202
|
font-size: 26px;
|
|
204
203
|
}
|
|
205
204
|
|
|
206
|
-
&
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
&__card {
|
|
212
|
-
padding: 20px;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
&__show-more {
|
|
216
|
-
margin-top: 40px;
|
|
205
|
+
&__grid {
|
|
206
|
+
grid-template-columns: 1fr;
|
|
207
|
+
gap: 20px;
|
|
217
208
|
}
|
|
218
209
|
}
|
|
210
|
+
}
|
|
219
211
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
@media (max-width: 500px) {
|
|
225
|
-
padding: 48px 16px;
|
|
212
|
+
// Мобильная версия (до 430px)
|
|
213
|
+
@media (max-width: 430px) {
|
|
214
|
+
.smart-replies {
|
|
215
|
+
padding: 40px 20px;
|
|
226
216
|
|
|
227
217
|
&__title {
|
|
228
|
-
font-size:
|
|
218
|
+
font-size: 22px;
|
|
229
219
|
}
|
|
230
220
|
|
|
231
221
|
&__subtitle {
|
|
232
222
|
font-size: 13px;
|
|
223
|
+
margin-bottom: 32px;
|
|
233
224
|
}
|
|
234
225
|
|
|
235
|
-
&
|
|
236
|
-
|
|
237
|
-
align-items: flex-start;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
&__show-more-btn {
|
|
241
|
-
padding: 10px 24px;
|
|
242
|
-
font-size: 14px;
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
@media (max-width: 375px) {
|
|
247
|
-
padding: 36px 12px;
|
|
248
|
-
|
|
249
|
-
&__title {
|
|
250
|
-
font-size: 22px;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
&__subtitle {
|
|
254
|
-
font-size: 12px;
|
|
226
|
+
&__grid {
|
|
227
|
+
gap: 16px;
|
|
255
228
|
}
|
|
256
229
|
|
|
257
230
|
&__card {
|
|
@@ -266,5 +239,10 @@ $white: #FFFFFF;
|
|
|
266
239
|
&__show-more {
|
|
267
240
|
margin-top: 32px;
|
|
268
241
|
}
|
|
242
|
+
|
|
243
|
+
&__show-more-btn {
|
|
244
|
+
padding: 10px 20px;
|
|
245
|
+
font-size: 13px;
|
|
246
|
+
}
|
|
269
247
|
}
|
|
270
248
|
}
|
|
@@ -14,9 +14,9 @@ var StatisticCardV2 = function StatisticCardV2(_ref) {
|
|
|
14
14
|
_ref$reverse = _ref.reverse,
|
|
15
15
|
reverse = _ref$reverse === void 0 ? false : _ref$reverse;
|
|
16
16
|
return /*#__PURE__*/_react["default"].createElement("section", {
|
|
17
|
-
className: (0, _utils.classes)(_StatisticCardV2Module["default"], '
|
|
17
|
+
className: (0, _utils.classes)(_StatisticCardV2Module["default"], 'statistic-card-v2')
|
|
18
18
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
19
|
-
className: (0, _utils.classes)(_StatisticCardV2Module["default"], '
|
|
19
|
+
className: (0, _utils.classes)(_StatisticCardV2Module["default"], 'statistic-card-v2__cards')
|
|
20
20
|
}, list.map(function (_ref2) {
|
|
21
21
|
var label = _ref2.label,
|
|
22
22
|
sum = _ref2.sum,
|
|
@@ -24,15 +24,11 @@ var StatisticCardV2 = function StatisticCardV2(_ref) {
|
|
|
24
24
|
if (label && sum) {
|
|
25
25
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
26
26
|
key: label + sum,
|
|
27
|
-
className: (0, _utils.classes)(_StatisticCardV2Module["default"], '
|
|
28
|
-
style: {
|
|
29
|
-
flexDirection: reverse ? 'column-reverse' : '',
|
|
30
|
-
justifyContent: !reverse ? 'flex-start' : 'flex-end'
|
|
31
|
-
}
|
|
27
|
+
className: (0, _utils.classes)(_StatisticCardV2Module["default"], 'statistic-card-v2__card', reverse ? 'statistic-card-v2__card_reverse' : 'statistic-card-v2__card_normal')
|
|
32
28
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
33
|
-
className: (0, _utils.classes)(_StatisticCardV2Module["default"], '
|
|
29
|
+
className: (0, _utils.classes)(_StatisticCardV2Module["default"], 'statistic-card-v2__label')
|
|
34
30
|
}, reverse ? sum === null || sum === void 0 ? void 0 : sum.toLocaleString() : label), /*#__PURE__*/_react["default"].createElement("span", {
|
|
35
|
-
className: (0, _utils.classes)(_StatisticCardV2Module["default"], '
|
|
31
|
+
className: (0, _utils.classes)(_StatisticCardV2Module["default"], 'statistic-card-v2__sum'),
|
|
36
32
|
style: {
|
|
37
33
|
color: color || ''
|
|
38
34
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
-
.
|
|
5
|
-
background: linear-gradient(135deg,
|
|
6
|
-
padding: 80px 48px;
|
|
4
|
+
.statistic-card-v2 {
|
|
5
|
+
background: linear-gradient(135deg, $text 0%, $green-dark 100%);
|
|
7
6
|
width: 100%;
|
|
7
|
+
padding: 96px 40px;
|
|
8
8
|
|
|
9
9
|
* {
|
|
10
10
|
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
@@ -23,132 +23,95 @@
|
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-direction: column;
|
|
25
25
|
gap: 8px;
|
|
26
|
+
|
|
27
|
+
&_reverse {
|
|
28
|
+
flex-direction: column-reverse;
|
|
29
|
+
justify-content: flex-end;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&_normal {
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
justify-content: flex-start;
|
|
35
|
+
}
|
|
26
36
|
}
|
|
27
37
|
|
|
28
|
-
&
|
|
38
|
+
&__sum {
|
|
29
39
|
font-size: 52px;
|
|
30
40
|
font-weight: 800;
|
|
31
41
|
letter-spacing: -2px;
|
|
32
|
-
background: linear-gradient(135deg,
|
|
42
|
+
background: linear-gradient(135deg, $white 0%, $green-light-bg 100%);
|
|
33
43
|
-webkit-background-clip: text;
|
|
34
44
|
-webkit-text-fill-color: transparent;
|
|
35
45
|
background-clip: text;
|
|
36
46
|
line-height: 1.1;
|
|
37
47
|
}
|
|
38
48
|
|
|
39
|
-
&
|
|
49
|
+
&__label {
|
|
40
50
|
font-size: 14px;
|
|
41
51
|
color: rgba(255, 255, 255, 0.6);
|
|
42
52
|
line-height: 1.4;
|
|
43
53
|
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// При reverse режиме (если нужно инвертированное отображение)
|
|
47
|
-
.statistic2__card[style*="column-reverse"] {
|
|
48
|
-
.statistic2__card_sum {
|
|
49
|
-
margin-bottom: 0;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.statistic2__card_name {
|
|
53
|
-
margin-top: 0;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
54
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
&__cards {
|
|
63
|
-
gap: 32px;
|
|
55
|
+
@keyframes fadeUp {
|
|
56
|
+
from {
|
|
57
|
+
opacity: 0;
|
|
58
|
+
transform: translateY(24px);
|
|
64
59
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
letter-spacing: -1.5px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&__card_name {
|
|
72
|
-
font-size: 13px;
|
|
60
|
+
to {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
transform: translateY(0);
|
|
73
63
|
}
|
|
74
64
|
}
|
|
75
65
|
}
|
|
76
66
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
67
|
+
// Планшет (до 1100px)
|
|
68
|
+
@media (max-width: 1100px) {
|
|
69
|
+
.statistic-card-v2 {
|
|
70
|
+
padding: 72px 24px;
|
|
71
|
+
|
|
81
72
|
&__cards {
|
|
82
73
|
grid-template-columns: repeat(2, 1fr);
|
|
83
74
|
gap: 32px;
|
|
84
75
|
}
|
|
85
|
-
|
|
86
|
-
&
|
|
87
|
-
font-size:
|
|
76
|
+
|
|
77
|
+
&__sum {
|
|
78
|
+
font-size: 46px;
|
|
88
79
|
letter-spacing: -1.5px;
|
|
89
80
|
}
|
|
90
|
-
|
|
91
|
-
&
|
|
81
|
+
|
|
82
|
+
&__label {
|
|
92
83
|
font-size: 13px;
|
|
93
84
|
}
|
|
94
85
|
}
|
|
95
86
|
}
|
|
96
87
|
|
|
97
|
-
@media (max-width: 600px) {
|
|
98
|
-
.statistic2 {
|
|
99
|
-
padding: 50px 20px;
|
|
100
|
-
|
|
101
|
-
&__cards {
|
|
102
|
-
gap: 28px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&__card_sum {
|
|
106
|
-
font-size: 38px;
|
|
107
|
-
letter-spacing: -1px;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&__card_name {
|
|
111
|
-
font-size: 12px;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
88
|
|
|
89
|
+
// Мобильная версия (до 480px) - 1 колонка
|
|
116
90
|
@media (max-width: 480px) {
|
|
117
|
-
.
|
|
118
|
-
|
|
119
|
-
|
|
91
|
+
.statistic-card-v2 {
|
|
92
|
+
|
|
120
93
|
&__cards {
|
|
121
94
|
grid-template-columns: 1fr;
|
|
122
95
|
gap: 28px;
|
|
123
96
|
}
|
|
124
|
-
|
|
125
|
-
&__card_sum {
|
|
126
|
-
font-size: 44px;
|
|
127
|
-
letter-spacing: -1px;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&__card_name {
|
|
131
|
-
font-size: 14px;
|
|
132
|
-
max-width: 260px;
|
|
133
|
-
margin: 0 auto;
|
|
134
|
-
line-height: 1.4;
|
|
135
|
-
}
|
|
136
97
|
}
|
|
137
98
|
}
|
|
138
99
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
100
|
+
// Мобильная версия (до 430px)
|
|
101
|
+
@media (max-width: 430px) {
|
|
102
|
+
.statistic-card-v2 {
|
|
103
|
+
padding: 40px 20px;
|
|
104
|
+
|
|
143
105
|
&__cards {
|
|
144
106
|
gap: 24px;
|
|
145
107
|
}
|
|
146
|
-
|
|
147
|
-
&
|
|
108
|
+
|
|
109
|
+
&__sum {
|
|
148
110
|
font-size: 36px;
|
|
111
|
+
letter-spacing: -1px;
|
|
149
112
|
}
|
|
150
|
-
|
|
151
|
-
&
|
|
113
|
+
|
|
114
|
+
&__label {
|
|
152
115
|
font-size: 12px;
|
|
153
116
|
max-width: 220px;
|
|
154
117
|
}
|