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
|
@@ -10,7 +10,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
10
10
|
var _image = _interopRequireDefault(require("next/image"));
|
|
11
11
|
var _utils = require("../../../common/utils");
|
|
12
12
|
var _StepsV2Module = _interopRequireDefault(require("./StepsV2.module.scss"));
|
|
13
|
-
var
|
|
13
|
+
var _ButtonBasicV = _interopRequireDefault(require("../../Buttons/ButtonBasicV2/ButtonBasicV2"));
|
|
14
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
15
15
|
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); }
|
|
16
16
|
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; }
|
|
@@ -21,6 +21,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
21
21
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
22
22
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
23
23
|
var StepsV2 = function StepsV2(_ref) {
|
|
24
|
+
var _window;
|
|
24
25
|
var title = _ref.title,
|
|
25
26
|
_ref$list = _ref.list,
|
|
26
27
|
list = _ref$list === void 0 ? [] : _ref$list,
|
|
@@ -28,18 +29,12 @@ var StepsV2 = function StepsV2(_ref) {
|
|
|
28
29
|
className = _ref$className === void 0 ? '' : _ref$className,
|
|
29
30
|
_ref$linkMain = _ref.linkMain,
|
|
30
31
|
linkMain = _ref$linkMain === void 0 ? 'https://lk.ecomru.ru' : _ref$linkMain;
|
|
31
|
-
var
|
|
32
|
+
var current_query = (_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.search;
|
|
33
|
+
var _useState = (0, _react.useState)(false),
|
|
32
34
|
_useState2 = _slicedToArray(_useState, 2),
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
var _useState3 = (0, _react.useState)(false),
|
|
36
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
37
|
-
isMobile = _useState4[0],
|
|
38
|
-
setIsMobile = _useState4[1];
|
|
35
|
+
isMobile = _useState2[0],
|
|
36
|
+
setIsMobile = _useState2[1];
|
|
39
37
|
(0, _react.useEffect)(function () {
|
|
40
|
-
var _window;
|
|
41
|
-
var currentUrl = (_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.href;
|
|
42
|
-
setRefPage("?ref_page=".concat(currentUrl));
|
|
43
38
|
var checkMobile = function checkMobile() {
|
|
44
39
|
return setIsMobile(window.innerWidth <= 1100);
|
|
45
40
|
};
|
|
@@ -49,38 +44,41 @@ var StepsV2 = function StepsV2(_ref) {
|
|
|
49
44
|
return window.removeEventListener('resize', checkMobile);
|
|
50
45
|
};
|
|
51
46
|
}, []);
|
|
52
|
-
return /*#__PURE__*/_react["default"].createElement(
|
|
53
|
-
className: (0, _utils.classes)(_StepsV2Module["default"], "steps-
|
|
47
|
+
return /*#__PURE__*/_react["default"].createElement("section", {
|
|
48
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps-v2 ".concat(className))
|
|
54
49
|
}, title && /*#__PURE__*/_react["default"].createElement("h3", {
|
|
55
|
-
className: (0, _utils.classes)(_StepsV2Module["default"], "
|
|
50
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps-v2__title")
|
|
56
51
|
}, title), /*#__PURE__*/_react["default"].createElement("div", {
|
|
57
|
-
className: (0, _utils.classes)(_StepsV2Module["default"], "
|
|
52
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps-v2__items")
|
|
58
53
|
}, list.map(function (_ref2, ind) {
|
|
59
54
|
var stepTitle = _ref2.title,
|
|
60
55
|
description = _ref2.description;
|
|
61
56
|
if (!stepTitle) return null;
|
|
62
57
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
63
58
|
key: stepTitle + description,
|
|
64
|
-
className: (0, _utils.classes)(_StepsV2Module["default"], "
|
|
59
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps-v2__item")
|
|
65
60
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
66
|
-
className: (0, _utils.classes)(_StepsV2Module["default"], "
|
|
61
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps-v2__count")
|
|
67
62
|
}, ind + 1), isMobile ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
68
|
-
className: (0, _utils.classes)(_StepsV2Module["default"], "
|
|
63
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps-v2__item-text")
|
|
69
64
|
}, stepTitle && /*#__PURE__*/_react["default"].createElement("h4", {
|
|
70
|
-
className: (0, _utils.classes)(_StepsV2Module["default"], "
|
|
65
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps-v2__step-title")
|
|
71
66
|
}, stepTitle), description && /*#__PURE__*/_react["default"].createElement("p", {
|
|
72
|
-
className: (0, _utils.classes)(_StepsV2Module["default"], "
|
|
67
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps-v2__description")
|
|
73
68
|
}, description)) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, stepTitle && /*#__PURE__*/_react["default"].createElement("h4", {
|
|
74
|
-
className: (0, _utils.classes)(_StepsV2Module["default"], "
|
|
69
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps-v2__step-title")
|
|
75
70
|
}, stepTitle), description && /*#__PURE__*/_react["default"].createElement("p", {
|
|
76
|
-
className: (0, _utils.classes)(_StepsV2Module["default"], "
|
|
71
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps-v2__description")
|
|
77
72
|
}, description)));
|
|
78
|
-
})), /*#__PURE__*/_react["default"].createElement("
|
|
79
|
-
className: (0, _utils.classes)(_StepsV2Module["default"], "
|
|
73
|
+
})), /*#__PURE__*/_react["default"].createElement(_ButtonBasicV["default"], {
|
|
74
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps-v2__btn"),
|
|
80
75
|
onClick: function onClick() {
|
|
81
76
|
var _window2;
|
|
82
|
-
return (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.open("".concat(linkMain, "/auth").concat(
|
|
83
|
-
}
|
|
84
|
-
|
|
77
|
+
return (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.open("".concat(linkMain, "/auth").concat(current_query), '_blank');
|
|
78
|
+
},
|
|
79
|
+
size: '52px',
|
|
80
|
+
green: true,
|
|
81
|
+
text: 'Попробовать бесплатно'
|
|
82
|
+
}));
|
|
85
83
|
};
|
|
86
84
|
var _default = exports["default"] = StepsV2;
|
|
@@ -1,226 +1,197 @@
|
|
|
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
|
-
.steps-
|
|
4
|
+
.steps-v2 {
|
|
5
5
|
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
6
6
|
display: flex;
|
|
7
7
|
width: 100%;
|
|
8
8
|
flex-direction: column;
|
|
9
|
-
gap:
|
|
9
|
+
gap: 48px;
|
|
10
10
|
align-items: flex-start;
|
|
11
11
|
border-radius: 20px;
|
|
12
|
-
padding: 96px
|
|
13
|
-
background:
|
|
12
|
+
padding: 96px 40px;
|
|
13
|
+
background: $white;
|
|
14
14
|
box-sizing: border-box;
|
|
15
15
|
|
|
16
16
|
* {
|
|
17
17
|
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
18
18
|
}
|
|
19
|
-
}
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
letter-spacing: -1px;
|
|
30
|
-
margin: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* Connector line between steps */
|
|
34
|
-
.steps__items {
|
|
35
|
-
display: flex;
|
|
36
|
-
gap: 0;
|
|
37
|
-
width: 100%;
|
|
38
|
-
position: relative;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.steps__items::before {
|
|
42
|
-
content: '';
|
|
43
|
-
position: absolute;
|
|
44
|
-
top: 28px;
|
|
45
|
-
left: 10%;
|
|
46
|
-
right: 10%;
|
|
47
|
-
height: 2px;
|
|
48
|
-
background: linear-gradient(90deg, #EEF0FF, $green, #EEF0FF);
|
|
49
|
-
z-index: 0;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.steps__item {
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
width: 100%;
|
|
56
|
-
gap: 12px;
|
|
57
|
-
max-width: calc(25% - 12px);
|
|
58
|
-
flex: 1;
|
|
59
|
-
align-items: center;
|
|
60
|
-
text-align: center;
|
|
61
|
-
padding: 0 16px;
|
|
62
|
-
position: relative;
|
|
63
|
-
z-index: 1;
|
|
64
|
-
box-sizing: border-box;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/* Step counter circles */
|
|
68
|
-
.steps__count {
|
|
69
|
-
display: flex;
|
|
70
|
-
justify-content: center;
|
|
71
|
-
align-items: center;
|
|
72
|
-
border-radius: 50%;
|
|
73
|
-
width: 56px;
|
|
74
|
-
height: 56px;
|
|
75
|
-
background: #ffffff;
|
|
76
|
-
border: 2px solid $green;
|
|
77
|
-
color: $green;
|
|
78
|
-
font-family: inherit;
|
|
79
|
-
font-size: 20px;
|
|
80
|
-
font-style: normal;
|
|
81
|
-
font-weight: 800;
|
|
82
|
-
box-shadow: 0 0 0 6px #ffffff;
|
|
83
|
-
flex-shrink: 0;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/* First step is "active" */
|
|
87
|
-
.steps__item:nth-child(1) .steps__count {
|
|
88
|
-
background: $green;
|
|
89
|
-
color: #ffffff;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.steps__title_step {
|
|
93
|
-
color: #1A1A2E;
|
|
94
|
-
font-family: inherit;
|
|
95
|
-
font-size: 15px;
|
|
96
|
-
font-style: normal;
|
|
97
|
-
font-weight: 700;
|
|
98
|
-
margin: 0;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.steps__description {
|
|
102
|
-
color: #6B7280;
|
|
103
|
-
font-family: inherit;
|
|
104
|
-
font-size: 13px;
|
|
105
|
-
font-style: normal;
|
|
106
|
-
font-weight: 400;
|
|
107
|
-
line-height: 1.6;
|
|
108
|
-
margin: 0;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/* CTA Button */
|
|
112
|
-
.steps__btn {
|
|
113
|
-
display: flex;
|
|
114
|
-
align-items: center;
|
|
115
|
-
justify-content: center;
|
|
116
|
-
gap: 8px;
|
|
117
|
-
background: $green;
|
|
118
|
-
color: #ffffff;
|
|
119
|
-
border: none;
|
|
120
|
-
border-radius: 10px;
|
|
121
|
-
padding: 16px 32px;
|
|
122
|
-
font-family: inherit;
|
|
123
|
-
font-size: 15px;
|
|
124
|
-
font-weight: 700;
|
|
125
|
-
cursor: pointer;
|
|
126
|
-
width: 100%;
|
|
127
|
-
max-width: 430px;
|
|
128
|
-
height: 56px;
|
|
129
|
-
margin: 0 auto;
|
|
130
|
-
transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
|
|
131
|
-
box-shadow: 0 4px 16px rgba(107, 92, 231, 0.35);
|
|
132
|
-
box-sizing: border-box;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.steps__btn:hover {
|
|
136
|
-
background: $green;
|
|
137
|
-
transform: translateY(-2px);
|
|
138
|
-
box-shadow: 0 8px 24px rgba(107, 92, 231, 0.4);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/* ── TABLET (≤ 1100px) ── */
|
|
142
|
-
@media (max-width: 1100px) {
|
|
143
|
-
.steps-section {
|
|
144
|
-
padding: 64px 24px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.steps__title {
|
|
148
|
-
font-size: 28px;
|
|
20
|
+
&__title {
|
|
21
|
+
width: 100%;
|
|
22
|
+
text-align: center;
|
|
23
|
+
color: $text;
|
|
24
|
+
font-size: 30px;
|
|
25
|
+
font-weight: 800;
|
|
26
|
+
letter-spacing: -0.5px;
|
|
27
|
+
margin: 0;
|
|
149
28
|
}
|
|
150
29
|
|
|
151
|
-
|
|
152
|
-
|
|
30
|
+
&__items {
|
|
31
|
+
display: flex;
|
|
153
32
|
gap: 0;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.steps__items::before {
|
|
157
|
-
display: none;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.steps__item {
|
|
161
|
-
max-width: 100%;
|
|
162
33
|
width: 100%;
|
|
163
|
-
|
|
164
|
-
text-align: left;
|
|
165
|
-
align-items: flex-start;
|
|
166
|
-
padding: 20px 0;
|
|
167
|
-
gap: 20px;
|
|
168
|
-
border-bottom: 1px solid #E5E7EB;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.steps__item:last-child {
|
|
172
|
-
border-bottom: none;
|
|
34
|
+
position: relative;
|
|
173
35
|
}
|
|
174
36
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
37
|
+
&__items::before {
|
|
38
|
+
content: '';
|
|
39
|
+
position: absolute;
|
|
40
|
+
top: 28px;
|
|
41
|
+
left: 10%;
|
|
42
|
+
right: 10%;
|
|
43
|
+
height: 2px;
|
|
44
|
+
background: linear-gradient(90deg, $bg, $green, $bg);
|
|
45
|
+
z-index: 0;
|
|
180
46
|
}
|
|
181
47
|
|
|
182
|
-
|
|
48
|
+
&__item {
|
|
183
49
|
display: flex;
|
|
184
50
|
flex-direction: column;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
51
|
+
width: 100%;
|
|
52
|
+
gap: 12px;
|
|
53
|
+
max-width: calc(25% - 12px);
|
|
54
|
+
flex: 1;
|
|
55
|
+
align-items: center;
|
|
56
|
+
text-align: center;
|
|
57
|
+
padding: 0 16px;
|
|
58
|
+
position: relative;
|
|
59
|
+
z-index: 1;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&__count {
|
|
64
|
+
display: flex;
|
|
65
|
+
justify-content: center;
|
|
66
|
+
align-items: center;
|
|
67
|
+
border-radius: 50%;
|
|
68
|
+
width: 56px;
|
|
69
|
+
height: 56px;
|
|
70
|
+
background: $white;
|
|
71
|
+
border: 2px solid $green;
|
|
72
|
+
color: $green;
|
|
73
|
+
font-size: 20px;
|
|
74
|
+
font-weight: 800;
|
|
75
|
+
box-shadow: 0 0 0 6px $white;
|
|
76
|
+
flex-shrink: 0;
|
|
194
77
|
}
|
|
195
78
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
79
|
+
&__item:first-child &__count {
|
|
80
|
+
background: $green;
|
|
81
|
+
color: $white;
|
|
199
82
|
}
|
|
200
83
|
|
|
201
|
-
|
|
84
|
+
&__step-title {
|
|
85
|
+
color: $text;
|
|
202
86
|
font-size: 15px;
|
|
87
|
+
font-weight: 700;
|
|
88
|
+
margin: 0;
|
|
203
89
|
}
|
|
204
90
|
|
|
205
|
-
|
|
91
|
+
&__description {
|
|
92
|
+
color: $muted;
|
|
206
93
|
font-size: 13px;
|
|
94
|
+
font-weight: 400;
|
|
95
|
+
line-height: 1.6;
|
|
96
|
+
margin: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&__item-text {
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
gap: 6px;
|
|
207
103
|
}
|
|
208
104
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
105
|
+
@keyframes fadeUp {
|
|
106
|
+
from {
|
|
107
|
+
opacity: 0;
|
|
108
|
+
transform: translateY(24px);
|
|
109
|
+
}
|
|
110
|
+
to {
|
|
111
|
+
opacity: 1;
|
|
112
|
+
transform: translateY(0);
|
|
113
|
+
}
|
|
214
114
|
}
|
|
115
|
+
}
|
|
215
116
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
117
|
+
// Планшет (до 1100px)
|
|
118
|
+
@media (max-width: 1100px) {
|
|
119
|
+
.steps-v2 {
|
|
120
|
+
padding: 72px 24px;
|
|
121
|
+
gap: 40px;
|
|
122
|
+
|
|
123
|
+
&__title {
|
|
124
|
+
font-size: 26px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&__items {
|
|
128
|
+
flex-direction: column;
|
|
129
|
+
gap: 0;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&__items::before {
|
|
133
|
+
display: none;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&__item {
|
|
137
|
+
max-width: 100%;
|
|
138
|
+
width: 100%;
|
|
139
|
+
flex-direction: row;
|
|
140
|
+
text-align: left;
|
|
141
|
+
align-items: flex-start;
|
|
142
|
+
padding: 20px 0;
|
|
143
|
+
gap: 20px;
|
|
144
|
+
border-bottom: 1px solid $border;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&__item:last-child {
|
|
148
|
+
border-bottom: none;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&__count {
|
|
152
|
+
width: 48px;
|
|
153
|
+
height: 48px;
|
|
154
|
+
font-size: 18px;
|
|
155
|
+
box-shadow: 0 0 0 4px $white;
|
|
156
|
+
}
|
|
219
157
|
}
|
|
158
|
+
}
|
|
220
159
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
160
|
+
|
|
161
|
+
// Мобильная версия (до 430px)
|
|
162
|
+
@media (max-width: 430px) {
|
|
163
|
+
.steps-v2 {
|
|
164
|
+
padding: 40px 20px;
|
|
165
|
+
gap: 32px;
|
|
166
|
+
|
|
167
|
+
&__title {
|
|
168
|
+
font-size: 22px;
|
|
169
|
+
letter-spacing: -0.5px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&__step-title {
|
|
173
|
+
font-size: 15px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&__description {
|
|
177
|
+
font-size: 13px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&__count {
|
|
181
|
+
width: 42px;
|
|
182
|
+
height: 42px;
|
|
183
|
+
font-size: 16px;
|
|
184
|
+
box-shadow: 0 0 0 4px $white;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&__item {
|
|
188
|
+
gap: 14px;
|
|
189
|
+
padding: 16px 0;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&__btn {
|
|
193
|
+
max-width: 100% !important;
|
|
194
|
+
width: 100% !important;
|
|
195
|
+
}
|
|
225
196
|
}
|
|
226
197
|
}
|
|
@@ -1,15 +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
|
-
$text: #1A1A2E;
|
|
5
|
-
$white: #FFFFFF;
|
|
6
|
-
$border: #E5E7EB;
|
|
7
|
-
|
|
8
4
|
.video-block-v2 {
|
|
9
5
|
font-family: 'Manrope', sans-serif;
|
|
10
6
|
background: $white;
|
|
11
7
|
width: 100%;
|
|
12
|
-
padding: 96px
|
|
8
|
+
padding: 96px 40px;
|
|
13
9
|
|
|
14
10
|
* {
|
|
15
11
|
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
@@ -40,12 +36,28 @@ $border: #E5E7EB;
|
|
|
40
36
|
border-radius: 20px;
|
|
41
37
|
}
|
|
42
38
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
@keyframes fadeUp {
|
|
40
|
+
from {
|
|
41
|
+
opacity: 0;
|
|
42
|
+
transform: translateY(24px);
|
|
43
|
+
}
|
|
44
|
+
to {
|
|
45
|
+
opacity: 1;
|
|
46
|
+
transform: translateY(0);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Планшет (до 1100px)
|
|
52
|
+
@media (max-width: 1100px) {
|
|
53
|
+
.video-block-v2 {
|
|
54
|
+
padding: 72px 24px;
|
|
46
55
|
}
|
|
56
|
+
}
|
|
47
57
|
|
|
48
|
-
|
|
58
|
+
// Мобильная версия (до 900px)
|
|
59
|
+
@media (max-width: 900px) {
|
|
60
|
+
.video-block-v2 {
|
|
49
61
|
padding: 60px 24px;
|
|
50
62
|
|
|
51
63
|
&__title {
|
|
@@ -53,30 +65,16 @@ $border: #E5E7EB;
|
|
|
53
65
|
margin-bottom: 40px;
|
|
54
66
|
}
|
|
55
67
|
}
|
|
68
|
+
}
|
|
56
69
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
font-size: 24px;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
@media (max-width: 500px) {
|
|
66
|
-
padding: 40px 16px;
|
|
70
|
+
// Мобильная версия (до 430px)
|
|
71
|
+
@media (max-width: 430px) {
|
|
72
|
+
.video-block-v2 {
|
|
73
|
+
padding: 40px 20px;
|
|
67
74
|
|
|
68
75
|
&__title {
|
|
69
76
|
font-size: 22px;
|
|
70
77
|
margin-bottom: 32px;
|
|
71
78
|
}
|
|
72
79
|
}
|
|
73
|
-
|
|
74
|
-
@media (max-width: 375px) {
|
|
75
|
-
padding: 32px 12px;
|
|
76
|
-
|
|
77
|
-
&__title {
|
|
78
|
-
font-size: 20px;
|
|
79
|
-
margin-bottom: 24px;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
80
|
}
|