@sc-360-v2/storefront-cms-library 0.3.62 → 0.3.64
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/add-products-tab copy.scss +9 -8
- package/dist/add-products-tab.scss +9 -8
- package/dist/badge.scss +87 -83
- package/dist/builder.js +1 -1
- package/dist/cart-details.scss +82 -22
- package/dist/cart-summary.scss +18 -144
- package/dist/cart-wrapper.scss +127 -0
- package/dist/cartDropdownOverlay.scss +58 -4
- package/dist/checkbox-radio.scss +105 -0
- package/dist/checkout.scss +96 -573
- package/dist/dropdownTemplate.scss +58 -4
- package/dist/icon-list.scss +25 -19
- package/dist/icons.js +1 -1
- package/dist/image-for-product.scss +19 -0
- package/dist/index.js +1 -1
- package/dist/item-stock.scss +27 -26
- package/dist/mega-menu-container.scss +96 -0
- package/dist/mega-menu.scss +832 -0
- package/dist/menu-v2.scss +30 -5
- package/dist/modal.scss +218 -8
- package/dist/myTemplates.scss +345 -20
- package/dist/order-status.scss +18 -15
- package/dist/past-orders.scss +279 -271
- package/dist/payment-methods.scss +72 -69
- package/dist/position-module.scss +2 -1
- package/dist/prefix-list.scss +3 -0
- package/dist/quick-links.scss +49 -46
- package/dist/quick-order-pad.scss +3 -0
- package/dist/quotes.scss +123 -117
- package/dist/rfqs.scss +123 -117
- package/dist/simple-list.scss +264 -0
- package/dist/submit-quote.scss +81 -113
- package/dist/templates.scss +299 -0
- package/dist/types/builder/elements/cart-wrapper/index.d.ts +44 -0
- package/dist/types/builder/elements/mega-menu/index.d.ts +47 -0
- package/dist/types/builder/elements/mega-menu-container/index.d.ts +44 -0
- package/dist/types/builder/elements/simple-list/index.d.ts +47 -0
- package/dist/types/builder/enums/index.d.ts +10 -1
- package/dist/types/builder/index.d.ts +5 -1
- package/dist/types/builder/tools/element-edit/cart-wrapper.d.ts +16 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +8 -1
- package/dist/types/builder/tools/element-edit/mega-menu.d.ts +41 -0
- package/dist/types/builder/tools/element-edit/megaMenuContainer.d.ts +9 -0
- package/dist/types/builder/tools/element-edit/my-templates.d.ts +23 -0
- package/dist/types/builder/tools/element-edit/optionBar.d.ts +23 -0
- package/dist/types/builder/tools/element-edit/quickLinks.d.ts +111 -50
- package/dist/types/builder/tools/element-edit/request-for-quote.d.ts +23 -0
- package/dist/types/builder/tools/element-edit/simple-list.d.ts +37 -0
- package/dist/types/website/constants/data-connectors.d.ts +18 -0
- package/dist/website.js +1 -1
- package/dist/widget.scss +7 -0
- package/package.json +1 -1
package/dist/submit-quote.scss
CHANGED
|
@@ -1,34 +1,32 @@
|
|
|
1
1
|
.submit-quote-main {
|
|
2
2
|
display: flex;
|
|
3
|
-
gap:
|
|
4
|
-
padding:
|
|
5
|
-
|
|
6
|
-
justify-content: space-between;
|
|
3
|
+
gap: 60px;
|
|
4
|
+
padding: 24px;
|
|
5
|
+
background-color: #f9f9f9;
|
|
7
6
|
|
|
8
7
|
.quote-items {
|
|
9
8
|
flex: 2;
|
|
10
|
-
min-height: calc(100% - 61px);
|
|
11
|
-
overflow-y: auto;
|
|
12
9
|
}
|
|
13
10
|
|
|
14
11
|
.quote-item {
|
|
15
|
-
padding: 32px 0;
|
|
12
|
+
// padding: 32px 0;
|
|
16
13
|
display: flex;
|
|
17
14
|
gap: 24px;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
&:first-child {
|
|
21
|
-
padding-top: 0;
|
|
15
|
+
&:not(:last-child) {
|
|
16
|
+
border-bottom: 1px dotted var(--_gray-400);
|
|
22
17
|
}
|
|
23
|
-
&:last-child {
|
|
24
|
-
|
|
18
|
+
&:not(:last-child) {
|
|
19
|
+
padding-bottom: 12px;
|
|
20
|
+
}
|
|
21
|
+
&:not(:first-child) {
|
|
22
|
+
padding-top: 12px;
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
.quote-item__image {
|
|
28
26
|
width: 120px;
|
|
29
27
|
height: 120px;
|
|
30
28
|
object-fit: cover;
|
|
31
|
-
border-radius:
|
|
29
|
+
border-radius: 4px;
|
|
32
30
|
background-color: #f0f0f0;
|
|
33
31
|
}
|
|
34
32
|
|
|
@@ -38,73 +36,47 @@
|
|
|
38
36
|
flex-direction: column;
|
|
39
37
|
|
|
40
38
|
.quote-item__header {
|
|
41
|
-
display: flex;
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
// gap: 16px;
|
|
44
39
|
margin-bottom: 16px;
|
|
45
40
|
padding-bottom: 16px;
|
|
46
|
-
border-bottom: 1px
|
|
47
|
-
// align-items: center;
|
|
41
|
+
border-bottom: 1px dotted #d0d0d0;
|
|
48
42
|
|
|
49
43
|
.quote-item__title {
|
|
50
44
|
font-size: 16px;
|
|
51
|
-
font-weight:
|
|
52
|
-
color:
|
|
53
|
-
&:after {
|
|
54
|
-
width: 1px;
|
|
55
|
-
height: 10px;
|
|
56
|
-
background: var(--_gray-600);
|
|
57
|
-
display: inline-block;
|
|
58
|
-
content: "";
|
|
59
|
-
margin-left: 16px;
|
|
60
|
-
}
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
color: #111;
|
|
61
47
|
}
|
|
62
48
|
|
|
63
49
|
.quote-item__meta {
|
|
64
50
|
display: flex;
|
|
65
|
-
gap:
|
|
51
|
+
gap: 10px;
|
|
66
52
|
font-size: 14px;
|
|
67
|
-
|
|
68
|
-
color: var(--_gray-600);
|
|
69
|
-
// span {
|
|
70
|
-
// &::after {
|
|
71
|
-
// width: 1px;
|
|
72
|
-
// height: 10px;
|
|
73
|
-
// background: var(--_gray-600);
|
|
74
|
-
// content: "";
|
|
75
|
-
// display: inline-block;
|
|
76
|
-
// margin-left: 6px;
|
|
77
|
-
// }
|
|
78
|
-
// &:last-child::after {
|
|
79
|
-
// width: 0 !important;
|
|
80
|
-
// margin: 0 !important;
|
|
81
|
-
// }
|
|
82
|
-
// }
|
|
53
|
+
color: var(--_gray-500);
|
|
83
54
|
}
|
|
84
55
|
}
|
|
85
56
|
|
|
86
57
|
.quote-item__row {
|
|
87
58
|
display: flex;
|
|
88
|
-
gap:
|
|
59
|
+
gap: 16px;
|
|
89
60
|
align-items: flex-start;
|
|
90
|
-
white-space: nowrap;
|
|
91
61
|
|
|
92
62
|
.field {
|
|
93
63
|
display: flex;
|
|
94
64
|
flex-direction: column;
|
|
95
65
|
font-size: 14px;
|
|
66
|
+
&.price_column {
|
|
67
|
+
padding-right: 40px;
|
|
68
|
+
}
|
|
96
69
|
|
|
97
70
|
label {
|
|
98
71
|
margin-bottom: 6px;
|
|
99
72
|
font-weight: 500;
|
|
100
|
-
color:
|
|
73
|
+
color: #333;
|
|
101
74
|
}
|
|
102
75
|
|
|
103
76
|
.value {
|
|
104
|
-
font-weight:
|
|
105
|
-
font-size:
|
|
106
|
-
|
|
107
|
-
color: var(--_gray-900);
|
|
77
|
+
font-weight: 600;
|
|
78
|
+
font-size: 16px;
|
|
79
|
+
color: #111;
|
|
108
80
|
}
|
|
109
81
|
|
|
110
82
|
input {
|
|
@@ -112,7 +84,7 @@
|
|
|
112
84
|
padding: 8px 12px;
|
|
113
85
|
font-size: 15px;
|
|
114
86
|
border: 1px solid #ccc;
|
|
115
|
-
border-radius:
|
|
87
|
+
border-radius: 4px;
|
|
116
88
|
outline: none;
|
|
117
89
|
width: 130px;
|
|
118
90
|
|
|
@@ -126,15 +98,21 @@
|
|
|
126
98
|
display: flex;
|
|
127
99
|
align-items: center;
|
|
128
100
|
border: 1px solid #ccc;
|
|
129
|
-
border-radius:
|
|
101
|
+
border-radius: 4px;
|
|
130
102
|
overflow: hidden;
|
|
131
103
|
width: 130px;
|
|
132
104
|
height: 40px;
|
|
105
|
+
&:focus-within {
|
|
106
|
+
border: 1px solid var(--_primary-300);
|
|
107
|
+
outline: 2px solid var(--_primary-100);
|
|
108
|
+
}
|
|
133
109
|
|
|
134
110
|
span {
|
|
135
111
|
padding: 0 8px;
|
|
136
112
|
font-size: 15px;
|
|
137
113
|
color: var(--_gray-500);
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
138
116
|
}
|
|
139
117
|
|
|
140
118
|
input {
|
|
@@ -142,6 +120,10 @@
|
|
|
142
120
|
width: 100%;
|
|
143
121
|
height: 100%;
|
|
144
122
|
padding-left: 6px;
|
|
123
|
+
&:focus {
|
|
124
|
+
box-shadow: none;
|
|
125
|
+
outline: none;
|
|
126
|
+
}
|
|
145
127
|
}
|
|
146
128
|
}
|
|
147
129
|
}
|
|
@@ -157,7 +139,6 @@
|
|
|
157
139
|
.quote-total {
|
|
158
140
|
display: flex;
|
|
159
141
|
flex-direction: column;
|
|
160
|
-
gap: 6px;
|
|
161
142
|
|
|
162
143
|
> div {
|
|
163
144
|
display: flex;
|
|
@@ -167,34 +148,30 @@
|
|
|
167
148
|
|
|
168
149
|
.label {
|
|
169
150
|
font-size: 14px;
|
|
170
|
-
color:
|
|
171
|
-
line-height: 20px;
|
|
172
|
-
font-weight: 500;
|
|
151
|
+
color: #444;
|
|
173
152
|
}
|
|
174
153
|
|
|
175
154
|
.amount {
|
|
176
155
|
font-size: 18px;
|
|
177
156
|
font-weight: 700;
|
|
178
|
-
color:
|
|
179
|
-
line-height: 28px;
|
|
180
|
-
min-width: 80px;
|
|
157
|
+
color: #111;
|
|
181
158
|
}
|
|
182
159
|
}
|
|
183
160
|
|
|
184
161
|
small {
|
|
185
|
-
font-size:
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
color: var(--_gray-500);
|
|
162
|
+
font-size: 13px;
|
|
163
|
+
color: #888;
|
|
164
|
+
margin-top: 4px;
|
|
189
165
|
}
|
|
166
|
+
|
|
190
167
|
&.discounted {
|
|
191
168
|
.label {
|
|
192
169
|
color: #198754;
|
|
193
170
|
}
|
|
194
171
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
172
|
+
.amount {
|
|
173
|
+
color: #198754;
|
|
174
|
+
}
|
|
198
175
|
}
|
|
199
176
|
}
|
|
200
177
|
}
|
|
@@ -203,80 +180,60 @@
|
|
|
203
180
|
}
|
|
204
181
|
|
|
205
182
|
.quote-summary {
|
|
206
|
-
|
|
207
|
-
border: 1px solid
|
|
183
|
+
background: #f8f9fa;
|
|
184
|
+
border: 1px solid var(--_gray-300);
|
|
208
185
|
border-radius: 4px;
|
|
209
|
-
// padding: 24px;
|
|
210
186
|
width: 100%;
|
|
211
187
|
max-width: 400px;
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
color: var(--_gray-900);
|
|
217
|
-
background: #f5f5f5;
|
|
218
|
-
line-height: 24px;
|
|
219
|
-
padding: 12px;
|
|
220
|
-
border-radius: 4px 4px 0 0;
|
|
221
|
-
}
|
|
222
|
-
.quote-summary-body {
|
|
223
|
-
padding: 0 16px 16px 16px;
|
|
224
|
-
}
|
|
188
|
+
overflow: hidden;
|
|
189
|
+
height: fit-content;
|
|
190
|
+
position: sticky;
|
|
191
|
+
top: 10px;
|
|
225
192
|
|
|
226
193
|
&__row {
|
|
227
194
|
display: flex;
|
|
228
195
|
justify-content: space-between;
|
|
229
196
|
align-items: center;
|
|
230
|
-
padding:
|
|
231
|
-
border-bottom: 1px
|
|
197
|
+
padding: 12px 0;
|
|
198
|
+
border-bottom: 1px dotted #ccc;
|
|
199
|
+
|
|
232
200
|
.label {
|
|
233
201
|
font-size: 14px;
|
|
234
|
-
|
|
235
|
-
line-height: 20px;
|
|
236
|
-
color: var(--_gray-500);
|
|
237
|
-
}
|
|
238
|
-
.label-quote {
|
|
239
|
-
font-size: 16px;
|
|
240
|
-
font-weight: 600;
|
|
241
|
-
line-height: 24px;
|
|
242
|
-
color: #1f1930;
|
|
202
|
+
color: #666;
|
|
243
203
|
}
|
|
244
204
|
|
|
245
205
|
.value {
|
|
246
|
-
font-size:
|
|
206
|
+
font-size: 16px;
|
|
247
207
|
font-weight: 500;
|
|
248
|
-
color:
|
|
249
|
-
line-height: 20px;
|
|
208
|
+
color: #333;
|
|
250
209
|
|
|
251
210
|
&.highlight {
|
|
252
211
|
font-size: 20px;
|
|
253
212
|
font-weight: 700;
|
|
254
|
-
color: #
|
|
213
|
+
color: #000;
|
|
255
214
|
}
|
|
256
215
|
}
|
|
257
216
|
|
|
258
217
|
&--quoted {
|
|
259
|
-
margin-bottom:
|
|
218
|
+
margin-bottom: 20px;
|
|
219
|
+
}
|
|
220
|
+
.label-quote {
|
|
221
|
+
font-weight: 600;
|
|
260
222
|
}
|
|
261
223
|
}
|
|
262
|
-
|
|
263
|
-
margin-bottom: 6px;
|
|
264
|
-
font-size: 14px;
|
|
265
|
-
font-weight: 500;
|
|
266
|
-
color: var(--_gray-700);
|
|
267
|
-
display: inline-block;
|
|
268
|
-
}
|
|
224
|
+
|
|
269
225
|
&__notes {
|
|
270
226
|
width: 100%;
|
|
271
227
|
height: 100px;
|
|
272
228
|
padding: 12px;
|
|
273
229
|
border: 1px solid #ddd;
|
|
274
|
-
border-radius:
|
|
230
|
+
border-radius: 4px;
|
|
275
231
|
resize: none;
|
|
276
232
|
font-size: 14px;
|
|
277
233
|
font-family: inherit;
|
|
278
234
|
margin-bottom: 20px;
|
|
279
235
|
box-sizing: border-box;
|
|
236
|
+
margin-top: 6px;
|
|
280
237
|
|
|
281
238
|
&::placeholder {
|
|
282
239
|
color: #999;
|
|
@@ -284,14 +241,14 @@
|
|
|
284
241
|
|
|
285
242
|
&:focus {
|
|
286
243
|
outline: none;
|
|
287
|
-
border-color:
|
|
244
|
+
border-color: var(--_primary-500);
|
|
288
245
|
}
|
|
289
246
|
}
|
|
290
247
|
|
|
291
248
|
&__button {
|
|
292
249
|
width: 100%;
|
|
293
|
-
padding:
|
|
294
|
-
background-color:
|
|
250
|
+
padding: 14px;
|
|
251
|
+
background-color: var(--_primary-400);
|
|
295
252
|
color: #fff;
|
|
296
253
|
font-size: 16px;
|
|
297
254
|
font-weight: 600;
|
|
@@ -301,8 +258,19 @@
|
|
|
301
258
|
transition: background-color 0.2s ease;
|
|
302
259
|
|
|
303
260
|
&:hover {
|
|
304
|
-
background-color:
|
|
261
|
+
background-color: var(--_primary-500);
|
|
305
262
|
}
|
|
306
263
|
}
|
|
264
|
+
& > h3 {
|
|
265
|
+
font-size: 16px;
|
|
266
|
+
font-weight: 700;
|
|
267
|
+
color: var(--_gray-900);
|
|
268
|
+
background-color: #f5f5f5;
|
|
269
|
+
padding: 12px;
|
|
270
|
+
border-bottom: 1px solid var(--_gray-300);
|
|
271
|
+
}
|
|
272
|
+
.quote-summary-body {
|
|
273
|
+
padding: 0px 16px 16px 16px;
|
|
274
|
+
}
|
|
307
275
|
}
|
|
308
276
|
}
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
.temp_accordion_wrapper {
|
|
2
|
+
width: 100%;
|
|
3
|
+
border-radius: 6px;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
|
|
6
|
+
.template_title {
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
align-items: center;
|
|
10
|
+
margin-bottom: 24px;
|
|
11
|
+
h2 {
|
|
12
|
+
font-size: 20px;
|
|
13
|
+
font-weight: 600;
|
|
14
|
+
color: var(--_gray-900);
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: flex-start;
|
|
17
|
+
gap: 4px;
|
|
18
|
+
span {
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
button {
|
|
23
|
+
color: #243dc6;
|
|
24
|
+
&:hover {
|
|
25
|
+
text-decoration: underline;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.accordion_header {
|
|
31
|
+
width: fit-content;
|
|
32
|
+
text-align: left;
|
|
33
|
+
padding: 14px 0px;
|
|
34
|
+
font-size: 16px;
|
|
35
|
+
font-weight: 600;
|
|
36
|
+
background: var(--_base-white);
|
|
37
|
+
border: none;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
transition: background 0.3s ease;
|
|
40
|
+
color: var(--_gray-700);
|
|
41
|
+
|
|
42
|
+
&.active {
|
|
43
|
+
background: var(--_base-white);
|
|
44
|
+
color: var(--_gray-900);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.accordion_content {
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
transition: all 0.3s ease;
|
|
51
|
+
background: var(--_base-white);
|
|
52
|
+
|
|
53
|
+
p {
|
|
54
|
+
margin: 0;
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
color: #333;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.embla {
|
|
61
|
+
max-width: 70rem;
|
|
62
|
+
margin: auto;
|
|
63
|
+
--slide-height: 350px;
|
|
64
|
+
--slide-spacing: 1rem;
|
|
65
|
+
--slide-size: 100%;
|
|
66
|
+
--slide-spacing-sm: 1.6rem;
|
|
67
|
+
--slide-size-sm: 50%;
|
|
68
|
+
--slide-spacing-lg: 2rem;
|
|
69
|
+
--slide-size-lg: calc(100% / 3);
|
|
70
|
+
}
|
|
71
|
+
.embla__viewport {
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
position: relative;
|
|
74
|
+
}
|
|
75
|
+
.embla__container {
|
|
76
|
+
backface-visibility: hidden;
|
|
77
|
+
display: flex;
|
|
78
|
+
touch-action: pan-y pinch-zoom;
|
|
79
|
+
margin-left: calc(var(--slide-spacing) * -1);
|
|
80
|
+
}
|
|
81
|
+
@media (min-width: 750px) {
|
|
82
|
+
.embla__container {
|
|
83
|
+
margin-left: calc(var(--slide-spacing-sm) * -1);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
@media (min-width: 1200px) {
|
|
87
|
+
.embla__container {
|
|
88
|
+
margin-left: calc(var(--slide-spacing-lg) * -1);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
.embla__slide {
|
|
92
|
+
min-width: 0;
|
|
93
|
+
flex: 0 0 var(--slide-size);
|
|
94
|
+
padding-left: var(--slide-spacing);
|
|
95
|
+
}
|
|
96
|
+
@media (min-width: 750px) {
|
|
97
|
+
.embla__slide {
|
|
98
|
+
flex: 0 0 var(--slide-size-sm);
|
|
99
|
+
padding-left: var(--slide-spacing-sm);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
@media (min-width: 1200px) {
|
|
103
|
+
.embla__slide {
|
|
104
|
+
flex: 0 0 var(--slide-size-lg);
|
|
105
|
+
padding-left: var(--slide-spacing-lg);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
.embla__slide__number {
|
|
109
|
+
box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
|
|
110
|
+
border-radius: 1.8rem;
|
|
111
|
+
font-size: 4rem;
|
|
112
|
+
font-weight: 600;
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
justify-content: center;
|
|
116
|
+
height: var(--slide-height);
|
|
117
|
+
user-select: none;
|
|
118
|
+
height: auto;
|
|
119
|
+
.product_showcase {
|
|
120
|
+
display: flex;
|
|
121
|
+
flex-direction: column;
|
|
122
|
+
gap: 16px;
|
|
123
|
+
width: 100%;
|
|
124
|
+
.sc_pro_img {
|
|
125
|
+
width: 100%;
|
|
126
|
+
height: 200px;
|
|
127
|
+
border: 1px solid var(--_gray-200);
|
|
128
|
+
border-radius: 8px;
|
|
129
|
+
font-size: 20px;
|
|
130
|
+
display: flex;
|
|
131
|
+
justify-content: center;
|
|
132
|
+
align-items: center;
|
|
133
|
+
}
|
|
134
|
+
.sc_pro_info {
|
|
135
|
+
display: flex;
|
|
136
|
+
flex-direction: column;
|
|
137
|
+
gap: 6px;
|
|
138
|
+
.sc_pro_br_name {
|
|
139
|
+
font-size: 14px;
|
|
140
|
+
color: var(--_gray-600);
|
|
141
|
+
}
|
|
142
|
+
.sc_pro_title {
|
|
143
|
+
font-size: 16px;
|
|
144
|
+
color: var(--_gray-900);
|
|
145
|
+
}
|
|
146
|
+
.sc_pro_code {
|
|
147
|
+
font-size: 12px;
|
|
148
|
+
color: var(--_gray-600);
|
|
149
|
+
}
|
|
150
|
+
.sc_pro_price {
|
|
151
|
+
font-size: 20px;
|
|
152
|
+
color: var(--_gray-900);
|
|
153
|
+
font-weight: 600;
|
|
154
|
+
}
|
|
155
|
+
.sc_pro_btn_actions {
|
|
156
|
+
display: flex;
|
|
157
|
+
gap: 8px;
|
|
158
|
+
align-items: center;
|
|
159
|
+
.btn {
|
|
160
|
+
background-color: var(--_base-white);
|
|
161
|
+
border-radius: 4px;
|
|
162
|
+
display: flex;
|
|
163
|
+
justify-content: center;
|
|
164
|
+
align-items: center;
|
|
165
|
+
gap: 8px;
|
|
166
|
+
color: var(--_base-white);
|
|
167
|
+
padding: 8px 16px;
|
|
168
|
+
font-weight: 500;
|
|
169
|
+
|
|
170
|
+
&.primary {
|
|
171
|
+
background-color: var(--_primary-400);
|
|
172
|
+
width: 100%;
|
|
173
|
+
svg path {
|
|
174
|
+
stroke: var(--_base-white);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
&.show_more {
|
|
178
|
+
border: 1px solid var(--_gray-400);
|
|
179
|
+
width: fit-content;
|
|
180
|
+
align-self: stretch;
|
|
181
|
+
display: flex;
|
|
182
|
+
justify-content: center;
|
|
183
|
+
align-items: center;
|
|
184
|
+
gap: 3px;
|
|
185
|
+
span {
|
|
186
|
+
display: inline-block;
|
|
187
|
+
width: 3px;
|
|
188
|
+
height: 3px;
|
|
189
|
+
border-radius: 50%;
|
|
190
|
+
background-color: var(--_gray-600);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
&:hover {
|
|
194
|
+
text-decoration: none !important;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
.embla__controls {
|
|
202
|
+
display: grid;
|
|
203
|
+
grid-template-columns: auto 1fr;
|
|
204
|
+
justify-content: space-between;
|
|
205
|
+
gap: 1.2rem;
|
|
206
|
+
margin-top: 1.8rem;
|
|
207
|
+
}
|
|
208
|
+
.embla__buttons {
|
|
209
|
+
display: grid;
|
|
210
|
+
grid-template-columns: repeat(2, 1fr);
|
|
211
|
+
gap: 0.6rem;
|
|
212
|
+
align-items: center;
|
|
213
|
+
}
|
|
214
|
+
.embla__button {
|
|
215
|
+
-webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
|
|
216
|
+
-webkit-appearance: none;
|
|
217
|
+
appearance: none;
|
|
218
|
+
background-color: transparent;
|
|
219
|
+
touch-action: manipulation;
|
|
220
|
+
display: inline-flex;
|
|
221
|
+
text-decoration: none;
|
|
222
|
+
cursor: pointer;
|
|
223
|
+
border: 0;
|
|
224
|
+
padding: 0;
|
|
225
|
+
margin: 0;
|
|
226
|
+
box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
|
|
227
|
+
width: 3.6rem;
|
|
228
|
+
height: 3.6rem;
|
|
229
|
+
z-index: 1;
|
|
230
|
+
border-radius: 50%;
|
|
231
|
+
color: var(--text-body);
|
|
232
|
+
display: flex;
|
|
233
|
+
align-items: center;
|
|
234
|
+
justify-content: center;
|
|
235
|
+
&--prev {
|
|
236
|
+
position: absolute;
|
|
237
|
+
top: 28%;
|
|
238
|
+
left: -17px;
|
|
239
|
+
width: 40px;
|
|
240
|
+
height: 40px;
|
|
241
|
+
border: 1px solid var(--_gray-200);
|
|
242
|
+
background: var(--_base-white);
|
|
243
|
+
}
|
|
244
|
+
&--next {
|
|
245
|
+
position: absolute;
|
|
246
|
+
top: 28%;
|
|
247
|
+
right: -17px;
|
|
248
|
+
width: 40px;
|
|
249
|
+
height: 40px;
|
|
250
|
+
border: 1px solid var(--_gray-200);
|
|
251
|
+
background: var(--_base-white);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
.embla__button:disabled {
|
|
255
|
+
color: var(--detail-high-contrast);
|
|
256
|
+
}
|
|
257
|
+
.embla__button__svg {
|
|
258
|
+
width: 35%;
|
|
259
|
+
height: 35%;
|
|
260
|
+
}
|
|
261
|
+
.embla__dots {
|
|
262
|
+
display: flex;
|
|
263
|
+
flex-wrap: wrap;
|
|
264
|
+
justify-content: flex-end;
|
|
265
|
+
align-items: center;
|
|
266
|
+
margin-right: calc((2.6rem - 1.4rem) / 2 * -1);
|
|
267
|
+
}
|
|
268
|
+
.embla__dot {
|
|
269
|
+
-webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
|
|
270
|
+
-webkit-appearance: none;
|
|
271
|
+
appearance: none;
|
|
272
|
+
background-color: transparent;
|
|
273
|
+
touch-action: manipulation;
|
|
274
|
+
display: inline-flex;
|
|
275
|
+
text-decoration: none;
|
|
276
|
+
cursor: pointer;
|
|
277
|
+
border: 0;
|
|
278
|
+
padding: 0;
|
|
279
|
+
margin: 0;
|
|
280
|
+
width: 2.6rem;
|
|
281
|
+
height: 2.6rem;
|
|
282
|
+
display: flex;
|
|
283
|
+
align-items: center;
|
|
284
|
+
justify-content: center;
|
|
285
|
+
border-radius: 50%;
|
|
286
|
+
}
|
|
287
|
+
.embla__dot:after {
|
|
288
|
+
box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
|
|
289
|
+
width: 1.4rem;
|
|
290
|
+
height: 1.4rem;
|
|
291
|
+
border-radius: 50%;
|
|
292
|
+
display: flex;
|
|
293
|
+
align-items: center;
|
|
294
|
+
content: "";
|
|
295
|
+
}
|
|
296
|
+
.embla__dot--selected:after {
|
|
297
|
+
box-shadow: inset 0 0 0 0.2rem var(--text-body);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { CMSHTMLAttributes } from "../../../global/attributes";
|
|
2
|
+
import { CommonStyleProperties } from "../../../global/style-properties";
|
|
3
|
+
import { DisplayValue, ResponsiveBehaviourTypes } from "../../../global/types";
|
|
4
|
+
import { BuilderAttributes } from "../common";
|
|
5
|
+
export interface CartWrapperStyleProperties extends CommonStyleProperties {
|
|
6
|
+
minWidth: string;
|
|
7
|
+
maxWidth: string;
|
|
8
|
+
maxHeight: string;
|
|
9
|
+
gridArea: string;
|
|
10
|
+
display: DisplayValue;
|
|
11
|
+
boxSizing: string;
|
|
12
|
+
rowGap: string;
|
|
13
|
+
columnGap: string;
|
|
14
|
+
gridTemplateRows: string;
|
|
15
|
+
gridTemplateColumns: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const getDefaultStyles: () => CartWrapperStyleProperties;
|
|
18
|
+
export interface CommonContainerElementAttributes extends CMSHTMLAttributes {
|
|
19
|
+
role?: string;
|
|
20
|
+
ariaLabel?: string;
|
|
21
|
+
ariaDescribedBy?: string;
|
|
22
|
+
id?: string;
|
|
23
|
+
className?: string;
|
|
24
|
+
lang?: string;
|
|
25
|
+
dataMeta?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface ContainerElementInterface {
|
|
28
|
+
id?: string | number;
|
|
29
|
+
uniqueKey?: string | number;
|
|
30
|
+
attributes?: {
|
|
31
|
+
BUILDER?: Pick<BuilderAttributes, "dataDivType" | "dataType" | "dataElementType" | "dataDropElement">;
|
|
32
|
+
HTML?: CommonContainerElementAttributes;
|
|
33
|
+
CUSTOM?: any;
|
|
34
|
+
};
|
|
35
|
+
styles?: CartWrapperStyleProperties;
|
|
36
|
+
editedStyles?: CommonStyleProperties;
|
|
37
|
+
responsiveBehaviour: ResponsiveBehaviourTypes;
|
|
38
|
+
children: any;
|
|
39
|
+
childIds: any[];
|
|
40
|
+
previewImage?: string;
|
|
41
|
+
isMaximized?: boolean;
|
|
42
|
+
parentKey?: any;
|
|
43
|
+
childIdsV2?: any[];
|
|
44
|
+
}
|