@sc-360-v2/storefront-cms-library 0.2.57 → 0.2.58
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/amount-estimator.scss +1 -1
- package/dist/breadcrumbs.scss +199 -0
- package/dist/builder.js +1 -1
- package/dist/bulk-variant-picker.scss +64 -7
- package/dist/cart.scss +49 -13
- package/dist/contact-us.scss +179 -0
- package/dist/icon-library.scss +70 -0
- package/dist/image-temp.scss +1 -0
- package/dist/layouter.scss +1 -0
- package/dist/payment-methods.scss +1 -1
- package/dist/pickup-locations.scss +1 -1
- package/dist/product-actions.scss +1 -1
- package/dist/product-highlights.scss +1 -1
- package/dist/product-inventory.scss +1 -1
- package/dist/product-promotions.scss +1 -1
- package/dist/quantity-selector.scss +1 -1
- package/dist/repeater-embla-controls.scss +4 -0
- package/dist/repeater.scss +8 -1
- package/dist/shipping-estimator.scss +1 -1
- package/dist/sort.scss +0 -1
- package/dist/stack.scss +5 -1
- package/dist/store-locations.scss +1 -1
- package/dist/text-temp-v2.scss +125 -0
- package/dist/text-temp.scss +36 -1
- package/dist/types/builder/tools/element-edit/scroll.d.ts +5 -0
- package/dist/types/builder/tools/element-edit/video.d.ts +1 -0
- package/dist/uom-selector.scss +1 -1
- package/dist/variant-picker.scss +64 -7
- package/dist/volume-pricing.scss +1 -1
- package/dist/widget.scss +5 -1
- package/package.json +1 -1
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
// @use "./functions.scss";
|
|
4
4
|
[data-div-type="element"] {
|
|
5
5
|
&[data-element-type="bulkVariantPicker"] {
|
|
6
|
+
--_ctm-mob-var-lt-mn-cn-wh: 70px;
|
|
6
7
|
// width: var(--_lt-wh);
|
|
7
8
|
// height: var(--_lt-ht);
|
|
8
9
|
// margin: var(--_lt-mn);
|
|
9
10
|
// padding: var(--_lt-pg);
|
|
10
11
|
// width: var(--_ctm-lt-wh, var(--_tst-lt-wh));
|
|
11
|
-
width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
12
|
+
// width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
12
13
|
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
13
14
|
// height: var(--_ctm-lt-ht, var(--_tst-lt-ht));
|
|
14
15
|
// height: ;
|
|
@@ -166,6 +167,20 @@
|
|
|
166
167
|
);
|
|
167
168
|
border-radius: var(--_ctm-dn-sh-on-ve-se-sd-se-br-rs);
|
|
168
169
|
}
|
|
170
|
+
&.disabled {
|
|
171
|
+
cursor: not-allowed;
|
|
172
|
+
opacity: 0.5;
|
|
173
|
+
position: relative;
|
|
174
|
+
&::after {
|
|
175
|
+
content: "X";
|
|
176
|
+
position: absolute;
|
|
177
|
+
top: -5px;
|
|
178
|
+
left: 50%;
|
|
179
|
+
transform: translateX(-50%);
|
|
180
|
+
font-size: 30px;
|
|
181
|
+
color: #f55d42;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
169
184
|
}
|
|
170
185
|
}
|
|
171
186
|
}
|
|
@@ -285,6 +300,20 @@
|
|
|
285
300
|
border: 0px;
|
|
286
301
|
border-bottom: 2px solid var(--_primary-400);
|
|
287
302
|
}
|
|
303
|
+
&.disabled {
|
|
304
|
+
cursor: not-allowed;
|
|
305
|
+
opacity: 0.5;
|
|
306
|
+
position: relative;
|
|
307
|
+
&::after {
|
|
308
|
+
content: "X";
|
|
309
|
+
position: absolute;
|
|
310
|
+
top: -5px;
|
|
311
|
+
left: 50%;
|
|
312
|
+
transform: translateX(-50%);
|
|
313
|
+
font-size: 30px;
|
|
314
|
+
color: #f55d42;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
288
317
|
}
|
|
289
318
|
}
|
|
290
319
|
}
|
|
@@ -348,6 +377,10 @@
|
|
|
348
377
|
background-color: var(--_primary-25);
|
|
349
378
|
color: var(--_primary-400);
|
|
350
379
|
}
|
|
380
|
+
&.disabled {
|
|
381
|
+
cursor: not-allowed;
|
|
382
|
+
opacity: 0.5;
|
|
383
|
+
}
|
|
351
384
|
}
|
|
352
385
|
}
|
|
353
386
|
}
|
|
@@ -367,8 +400,17 @@
|
|
|
367
400
|
}
|
|
368
401
|
// Quantity Fields
|
|
369
402
|
.field__group {
|
|
370
|
-
display:
|
|
371
|
-
|
|
403
|
+
display: grid;
|
|
404
|
+
grid-template-columns: repeat(
|
|
405
|
+
auto-fit,
|
|
406
|
+
minmax(
|
|
407
|
+
var(
|
|
408
|
+
--_ctm-mob-var-lt-mn-cn-wh,
|
|
409
|
+
var(--_ctm-tab-var-lt-mn-cn-wh, var(--_ctm-var-lt-mn-cn-wh))
|
|
410
|
+
),
|
|
411
|
+
var(--_ctm-mob-var-lt-mn-cn-wh)
|
|
412
|
+
)
|
|
413
|
+
);
|
|
372
414
|
gap: 8px;
|
|
373
415
|
.field__group__item {
|
|
374
416
|
font-size: 16px;
|
|
@@ -377,16 +419,21 @@
|
|
|
377
419
|
align-items: center;
|
|
378
420
|
justify-content: center;
|
|
379
421
|
gap: 8px;
|
|
380
|
-
input[type="
|
|
381
|
-
width: 70px !important;
|
|
382
|
-
border: 1px solid var(--_gray-300)
|
|
422
|
+
input[type="number"] {
|
|
423
|
+
// width: 70px !important;
|
|
424
|
+
border: 1px solid var(--_gray-300);
|
|
383
425
|
padding-inline: 10px;
|
|
384
426
|
border-radius: 4px;
|
|
385
427
|
text-align: center;
|
|
428
|
+
height: 40px;
|
|
386
429
|
&:focus-within {
|
|
387
|
-
border: 1px solid var(--_primary-200)
|
|
430
|
+
border: 1px solid var(--_primary-200);
|
|
388
431
|
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
|
|
389
432
|
}
|
|
433
|
+
&:disabled {
|
|
434
|
+
cursor: not-allowed;
|
|
435
|
+
opacity: 0.5;
|
|
436
|
+
}
|
|
390
437
|
}
|
|
391
438
|
}
|
|
392
439
|
}
|
|
@@ -520,6 +567,7 @@
|
|
|
520
567
|
color: var(--_gray-600);
|
|
521
568
|
border-right: 1px solid var(--_gray-200);
|
|
522
569
|
height: var(--_ctm-lt-mx-dy-se-hr-ht);
|
|
570
|
+
word-break: break-word;
|
|
523
571
|
}
|
|
524
572
|
}
|
|
525
573
|
tbody {
|
|
@@ -539,6 +587,15 @@
|
|
|
539
587
|
justify-content: center;
|
|
540
588
|
align-items: center;
|
|
541
589
|
border-radius: 6px;
|
|
590
|
+
height: 40px;
|
|
591
|
+
&:focus-within {
|
|
592
|
+
border: 1px solid var(--_primary-200);
|
|
593
|
+
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
|
|
594
|
+
}
|
|
595
|
+
&:disabled {
|
|
596
|
+
cursor: not-allowed;
|
|
597
|
+
opacity: 0.5;
|
|
598
|
+
}
|
|
542
599
|
}
|
|
543
600
|
}
|
|
544
601
|
}
|
package/dist/cart.scss
CHANGED
|
@@ -23,37 +23,73 @@
|
|
|
23
23
|
gap: 8px;
|
|
24
24
|
.cart__div {
|
|
25
25
|
position: relative;
|
|
26
|
+
svg {
|
|
27
|
+
width: var(--_ctm-dn-ct-in-in-se, var(--_ctm-dn-ct-in-in-se));
|
|
28
|
+
height: var(--_ctm-dn-ct-in-in-se, var(--_ctm-dn-ct-in-in-se));
|
|
29
|
+
path {
|
|
30
|
+
stroke: var(--_ctm-dn-ct-in-in-c1);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
26
33
|
.badge {
|
|
34
|
+
color: var(--_ctm-dn-ct-is-ct-cr, var(--_tst-dn-ct-is-ct-cr));
|
|
35
|
+
font-family: var(--_ctm-dn-ct-is-ct-ft-fy, var(--_tst-dn-ct-is-ct-ft-fy)), sans-serif;
|
|
36
|
+
font-size: var(--_ctm-dn-ct-is-ct-ft-se, var(--_tst-dn-ct-is-ct-ft-se));
|
|
37
|
+
font-weight: var(--_ctm-dn-ct-is-ct-ft-wt, var(--_tst-dn-ct-is-ct-ft-wt));
|
|
38
|
+
font-style: var(--_ctm-dn-ct-is-ct-ft-se-ic, var(--_tst-dn-ct-is-ct-ft-se-ic));
|
|
39
|
+
text-align: var(--_ctm-dn-ct-is-ct-tt-an, var(--_tst-dn-ct-is-ct-tt-an));
|
|
40
|
+
letter-spacing: var(--_ctm-dn-ct-is-ct-lr-sg, var(--_tst-dn-ct-is-ct-lr-sg));
|
|
41
|
+
line-height: var(--_ctm-dn-ct-is-ct-le-ht, var(--_tst-dn-ct-is-ct-le-ht));
|
|
42
|
+
text-decoration: var(--_ctm-dn-ct-is-ct-ue);
|
|
43
|
+
background-color: var(--_ctm-dn-ct-is-ct-bd-cr, var(--_tst-dn-ct-is-ct-bd-cr));
|
|
44
|
+
border-color: var(--_ctm-dn-ct-is-ct-br-cr, var(--_tst-dn-ct-is-ct-br-cr));
|
|
45
|
+
border-style: var(--_ctm-dn-ct-is-ct-br-se, var(--_tst-dn-ct-is-ct-br-se));
|
|
46
|
+
border-width: var(--_ctm-dn-ct-is-ct-br-wh, var(--_tst-dn-ct-is-ct-br-wh));
|
|
47
|
+
border-radius: var(--_ctm-dn-ct-is-ct-br-rs, var(--_tst-dn-ct-is-ct-br-rs));
|
|
48
|
+
box-shadow: var(
|
|
49
|
+
--_show-text-content-shadow,
|
|
50
|
+
var(--_ctm-dn-ct-is-ct-sw-ae, var(--_tst-dn-ct-is-ct-sw-ae))
|
|
51
|
+
var(--_ctm-dn-ct-is-ct-sw-br, var(--_tst-dn-ct-is-ct-sw-br))
|
|
52
|
+
var(--_ctm-dn-ct-is-ct-sw-sd, var(--_tst-dn-ct-is-ct-sw-sd))
|
|
53
|
+
var(--_ctm-dn-ct-is-ct-sw-cr, var(--_tst-dn-ct-is-ct-sw-cr))
|
|
54
|
+
);
|
|
27
55
|
height: 20px;
|
|
28
|
-
|
|
29
|
-
background-color: #ffc402;
|
|
56
|
+
width: 20px;
|
|
30
57
|
position: absolute;
|
|
31
58
|
top: -3px;
|
|
32
59
|
display: inline-block;
|
|
33
|
-
width: 20px;
|
|
34
60
|
display: flex;
|
|
35
61
|
align-items: center;
|
|
36
62
|
justify-content: center;
|
|
37
63
|
right: -7px;
|
|
38
64
|
}
|
|
39
65
|
}
|
|
40
|
-
|
|
41
|
-
path {
|
|
42
|
-
stroke: var(--_ctm-dn-ct-in-in-c1);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
66
|
+
|
|
45
67
|
.cart__content {
|
|
46
|
-
font-size: 14px;
|
|
47
68
|
display: flex;
|
|
48
69
|
flex-direction: column;
|
|
49
70
|
list-style: none;
|
|
50
|
-
line-height: 18px;
|
|
51
|
-
color: #fff;
|
|
52
71
|
margin-left: 5px;
|
|
72
|
+
color: var(--_ctm-dn-mi-ct-tt-cr, var(--_tst-dn-mi-ct-tt-cr));
|
|
73
|
+
font-family: var(--_ctm-dn-mi-ct-tt-ft-fy, var(--_tst-dn-mi-ct-tt-ft-fy)), sans-serif;
|
|
74
|
+
font-size: var(--_ctm-dn-mi-ct-tt-ft-se, var(--_tst-dn-mi-ct-tt-ft-se));
|
|
75
|
+
font-weight: var(--_ctm-dn-mi-ct-tt-ft-wt, var(--_tst-dn-mi-ct-tt-ft-wt));
|
|
76
|
+
font-style: var(--_ctm-dn-mi-ct-tt-ft-se-ic, var(--_tst-dn-mi-ct-tt-ft-se-ic));
|
|
77
|
+
text-align: var(--_ctm-dn-mi-ct-tt-tt-an, var(--_tst-dn-mi-ct-tt-tt-an));
|
|
78
|
+
letter-spacing: var(--_ctm-dn-mi-ct-tt-lr-sg, var(--_tst-dn-mi-ct-tt-lr-sg));
|
|
79
|
+
line-height: var(--_ctm-dn-mi-ct-tt-le-ht, var(--_tst-dn-mi-ct-tt-le-ht));
|
|
80
|
+
text-decoration: var(--_ctm-dn-mi-ct-tt-ue);
|
|
53
81
|
|
|
54
82
|
.cart__total {
|
|
55
|
-
|
|
56
|
-
font-
|
|
83
|
+
color: var(--_ctm-dn-mi-ct-tt-cr-dc, var(--_tst-dn-mi-ct-tt-cr-dc));
|
|
84
|
+
font-family: var(--_ctm-dn-mi-ct-tt-ft-fy-dc, var(--_tst-dn-mi-ct-tt-ft-fy-dc)),
|
|
85
|
+
sans-serif;
|
|
86
|
+
font-size: var(--_ctm-dn-mi-ct-tt-ft-se-dc, var(--_tst-dn-mi-ct-tt-ft-se-dc));
|
|
87
|
+
font-weight: var(--_ctm-dn-mi-ct-tt-ft-wt-dc, var(--_tst-dn-mi-ct-tt-ft-wt-dc));
|
|
88
|
+
font-style: var(--_ctm-dn-mi-ct-tt-ft-se-ic-dc, var(--_tst-dn-mi-ct-tt-ft-se-ic-dc));
|
|
89
|
+
text-align: var(--_ctm-dn-mi-ct-tt-tt-an-dc, var(--_tst-dn-mi-ct-tt-tt-an-dc));
|
|
90
|
+
letter-spacing: var(--_ctm-dn-mi-ct-tt-lr-sg-dc, var(--_tst-dn-mi-ct-tt-lr-sg-dc));
|
|
91
|
+
line-height: var(--_ctm-dn-mi-ct-tt-le-ht-dc, var(--_tst-dn-mi-ct-tt-le-ht-dc));
|
|
92
|
+
text-decoration: var(--_ctm-dn-mi-ct-tt-ue-dc);
|
|
57
93
|
}
|
|
58
94
|
}
|
|
59
95
|
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
[data-div-type="element"] {
|
|
5
|
+
&[data-element-type="contactUs"] {
|
|
6
|
+
width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
|
|
7
|
+
height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) !important;
|
|
8
|
+
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
9
|
+
aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
10
|
+
position: relative;
|
|
11
|
+
|
|
12
|
+
& > .wrapper {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
& form {
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&[data-widget-border="true"] {
|
|
26
|
+
.search-wrapper {
|
|
27
|
+
border-color: var(--_ctm-dn-sh-br-br-cr, var(--_tst-dn-sh-br-br-cr));
|
|
28
|
+
border-style: var(--_ctm-dn-sh-br-br-se, var(--_tst-dn-sh-br-br-se));
|
|
29
|
+
border-width: var(--_ctm-dn-sh-br-br-wh, var(--_tst-dn-sh-br-br-wh));
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&[data-widget-shadow="false"] {
|
|
34
|
+
--_show-shadow: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&[data-show-shadow="false"] {
|
|
38
|
+
--_show-shadow: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.contact-us-container {
|
|
42
|
+
display: flex;
|
|
43
|
+
padding: 48px 96px 96px 96px;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
align-items: flex-start;
|
|
46
|
+
gap: 24px;
|
|
47
|
+
align-self: stretch;
|
|
48
|
+
width: 100%;
|
|
49
|
+
height: 100%;
|
|
50
|
+
.header-section {
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
align-items: flex-start;
|
|
54
|
+
align-self: stretch;
|
|
55
|
+
.head-title {
|
|
56
|
+
color: #333;
|
|
57
|
+
font-family: "Hanken Grotesk";
|
|
58
|
+
font-size: 24px;
|
|
59
|
+
font-style: normal;
|
|
60
|
+
font-weight: 600;
|
|
61
|
+
line-height: 125%; /* 30px */
|
|
62
|
+
letter-spacing: -0.48px;
|
|
63
|
+
}
|
|
64
|
+
.sub-title {
|
|
65
|
+
color: #626262;
|
|
66
|
+
font-family: "Hanken Grotesk";
|
|
67
|
+
font-size: 14px;
|
|
68
|
+
font-style: normal;
|
|
69
|
+
font-weight: 400;
|
|
70
|
+
line-height: 150%; /* 21px */
|
|
71
|
+
letter-spacing: -0.28px;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
.form-section {
|
|
75
|
+
display: flex;
|
|
76
|
+
flex-direction: column;
|
|
77
|
+
align-items: flex-start;
|
|
78
|
+
align-self: stretch;
|
|
79
|
+
gap: 16px;
|
|
80
|
+
.form-row {
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: flex-start;
|
|
83
|
+
gap: 24px;
|
|
84
|
+
align-self: stretch;
|
|
85
|
+
}
|
|
86
|
+
.form-group {
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
align-items: flex-start;
|
|
90
|
+
gap: 6px;
|
|
91
|
+
flex: 1 0 0;
|
|
92
|
+
}
|
|
93
|
+
.form-group-uploadfile {
|
|
94
|
+
display: flex;
|
|
95
|
+
padding: 12px;
|
|
96
|
+
justify-content: center;
|
|
97
|
+
align-items: center;
|
|
98
|
+
gap: 8px;
|
|
99
|
+
flex: 1 0 0;
|
|
100
|
+
align-self: stretch;
|
|
101
|
+
border-radius: 4px;
|
|
102
|
+
border: 1px dashed var(--d-0-d-7-e-2, #d0d7e2);
|
|
103
|
+
background: #fafafa;
|
|
104
|
+
.input-control {
|
|
105
|
+
display: none;
|
|
106
|
+
}
|
|
107
|
+
label {
|
|
108
|
+
color: #4f5970;
|
|
109
|
+
font-family: "Hanken Grotesk";
|
|
110
|
+
font-size: 20px;
|
|
111
|
+
font-style: normal;
|
|
112
|
+
font-weight: 400;
|
|
113
|
+
line-height: 150%; /* 30px */
|
|
114
|
+
letter-spacing: -0.4px;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
label {
|
|
118
|
+
color: var(--4-f-5970, #4f5970);
|
|
119
|
+
text-align: center;
|
|
120
|
+
font-family: Inter;
|
|
121
|
+
font-size: 14px;
|
|
122
|
+
font-style: normal;
|
|
123
|
+
font-weight: 600;
|
|
124
|
+
line-height: normal;
|
|
125
|
+
}
|
|
126
|
+
.input-control {
|
|
127
|
+
width: 100%;
|
|
128
|
+
display: flex;
|
|
129
|
+
height: 48px;
|
|
130
|
+
padding: 12px;
|
|
131
|
+
align-items: center;
|
|
132
|
+
gap: 10px;
|
|
133
|
+
align-self: stretch;
|
|
134
|
+
border-radius: 4px;
|
|
135
|
+
border: 1px solid var(--d-0-d-7-e-2, #d0d7e2);
|
|
136
|
+
background: var(--ffffff, #fff);
|
|
137
|
+
line-height: 18px;
|
|
138
|
+
outline: none;
|
|
139
|
+
transition: border-color 0.2s ease-in-out;
|
|
140
|
+
}
|
|
141
|
+
.form-column {
|
|
142
|
+
display: flex;
|
|
143
|
+
flex-direction: column;
|
|
144
|
+
align-items: flex-start;
|
|
145
|
+
gap: 10px;
|
|
146
|
+
align-self: stretch;
|
|
147
|
+
width: 100%;
|
|
148
|
+
.form-group {
|
|
149
|
+
width: 100%;
|
|
150
|
+
}
|
|
151
|
+
.textarea-control {
|
|
152
|
+
display: flex;
|
|
153
|
+
height: 120px;
|
|
154
|
+
padding: 12px;
|
|
155
|
+
align-items: flex-start;
|
|
156
|
+
gap: 10px;
|
|
157
|
+
align-self: stretch;
|
|
158
|
+
border-radius: 4px;
|
|
159
|
+
border: 1px solid var(--d-0-d-7-e-2, #d0d7e2);
|
|
160
|
+
background: var(--ffffff, #fff);
|
|
161
|
+
width: 100%;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
.submit-btn {
|
|
166
|
+
display: flex;
|
|
167
|
+
padding: 16px 24px;
|
|
168
|
+
justify-content: center;
|
|
169
|
+
align-items: center;
|
|
170
|
+
gap: 12px;
|
|
171
|
+
flex: 1 0 0;
|
|
172
|
+
border-radius: 4px;
|
|
173
|
+
background: #243dc6;
|
|
174
|
+
color: #fff;
|
|
175
|
+
width: 100%;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
$resizerId: "[data-cms-tool='cms-element-resizer']";
|
|
5
|
+
$resizeActive: '[data-cms-element-resizer="true"]';
|
|
6
|
+
|
|
7
|
+
[data-div-type="element"] {
|
|
8
|
+
&[data-element-type="iconLibrary"] {
|
|
9
|
+
width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
|
|
10
|
+
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
11
|
+
// height: var(--_ctm-lt-ht, --_tst-lt-ht);
|
|
12
|
+
|
|
13
|
+
& > .wrapper {
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) !important;
|
|
16
|
+
}
|
|
17
|
+
&[data-widget-border="true"] .icon__container {
|
|
18
|
+
border-color: var(--_ctm-dn-br-cr, var(--_tst-dn-br-cr));
|
|
19
|
+
border-style: var(--_ctm-dn-br-se, var(--_tst-dn-br-se));
|
|
20
|
+
border-width: var(--_ctm-dn-br-wh, var(--_tst-dn-br-wh));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&[data-widget-shadow="true"] .icon__container {
|
|
24
|
+
box-shadow: var(--_ctm-dn-sw-ae, var(--_tst-dn-vo-tt-cr-dn-sw-ae))
|
|
25
|
+
var(--_ctm-dn-sw-br, var(--_tst-vo-se-sw-br)) var(--_ctm-dn-sw-sd, var(--_tst-vo-se-sw-sd))
|
|
26
|
+
var(--_ctm-dn-sw-cr, var(--_tst-dn-vo-tt-cr-dn-sw-cr));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&[data-widget-shadow="false"] .icon__container {
|
|
30
|
+
box-shadow: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.icon__container {
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
align-items: center;
|
|
37
|
+
width: 100%;
|
|
38
|
+
height: 100%;
|
|
39
|
+
background-color: var(--_ctm-dn-bd-cr, var(--_tst-dn-bd-cr));
|
|
40
|
+
border-radius: var(--_ctm-dn-br-rs, var(--_tst-dn-br-rs));
|
|
41
|
+
|
|
42
|
+
.custom-icon {
|
|
43
|
+
object-fit: contain;
|
|
44
|
+
max-width: 100%;
|
|
45
|
+
max-height: 100%;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.icon {
|
|
49
|
+
background-color: var(--_ctm-dn-bd-cr, var(--_tst-dn-bd-cr));
|
|
50
|
+
svg {
|
|
51
|
+
width: var(--_ctm-dn-in-se);
|
|
52
|
+
height: var(--_ctm-dn-in-se);
|
|
53
|
+
path {
|
|
54
|
+
stroke: var(--_ctm-dn-in-c1);
|
|
55
|
+
// fill: var(--_ctm-dn-in-c1, currentColor) !important;
|
|
56
|
+
}
|
|
57
|
+
path,
|
|
58
|
+
rect,
|
|
59
|
+
circle,
|
|
60
|
+
line,
|
|
61
|
+
polyline,
|
|
62
|
+
polygon {
|
|
63
|
+
// stroke: var(--_ctm-dn-in-c1) !important;
|
|
64
|
+
fill: transparent !important;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
package/dist/image-temp.scss
CHANGED
package/dist/layouter.scss
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// margin: var(--_lt-mn);
|
|
9
9
|
// padding: var(--_lt-pg);
|
|
10
10
|
// width: var(--_ctm-lt-wh, var(--_tst-lt-wh));
|
|
11
|
-
width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
11
|
+
// width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
12
12
|
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
13
13
|
// height: var(--_ctm-lt-ht, var(--_tst-lt-ht));
|
|
14
14
|
// height: ;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// margin: var(--_lt-mn);
|
|
9
9
|
// padding: var(--_lt-pg);
|
|
10
10
|
// width: var(--_ctm-lt-wh, var(--_tst-lt-wh));
|
|
11
|
-
width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
11
|
+
// width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
12
12
|
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
13
13
|
// height: var(--_ctm-lt-ht, var(--_tst-lt-ht));
|
|
14
14
|
// height: ;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
[data-div-type="element"] {
|
|
5
5
|
&[data-element-type="productInventory"] {
|
|
6
|
-
width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
6
|
+
// width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
7
7
|
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
8
8
|
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
9
9
|
& > .wrapper {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// margin: var(--_lt-mn);
|
|
9
9
|
// padding: var(--_lt-pg);
|
|
10
10
|
// width: var(--_ctm-lt-wh, var(--_tst-lt-wh));
|
|
11
|
-
width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
11
|
+
// width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
12
12
|
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
13
13
|
// height: var(--_ctm-lt-ht, var(--_tst-lt-ht));
|
|
14
14
|
// height: ;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// margin: var(--_lt-mn);
|
|
9
9
|
// padding: var(--_lt-pg);
|
|
10
10
|
// width: var(--_ctm-lt-wh, var(--_tst-lt-wh));
|
|
11
|
-
width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
11
|
+
// width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
12
12
|
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
13
13
|
// height: var(--_ctm-lt-ht, var(--_tst-lt-ht));
|
|
14
14
|
// height: ;
|
|
@@ -191,6 +191,10 @@
|
|
|
191
191
|
transition: all 0.45s ease;
|
|
192
192
|
background: var(--_sf-nv-pg-bg, #fff);
|
|
193
193
|
|
|
194
|
+
&:not(.embla__dot--selected) {
|
|
195
|
+
border: 1px solid color-mix(in srgb, var(--_sf-sl-ct-ic-dt-at-cl) 30%, transparent);
|
|
196
|
+
}
|
|
197
|
+
|
|
194
198
|
&.embla__dot--selected {
|
|
195
199
|
--_sf-nv-pg-bg: var(--_sf-sl-ct-ic-dt-at-cl, #162578);
|
|
196
200
|
--_sf-dt-bt-at: min(calc(var(--_sf-ed-vl-sz, 10px) * 0.5), 10px);
|
package/dist/repeater.scss
CHANGED
|
@@ -104,7 +104,7 @@ $childItemSelector: '[data-element-type="repeater-item"]';
|
|
|
104
104
|
display: flex !important;
|
|
105
105
|
flex-wrap: wrap;
|
|
106
106
|
width: 100%;
|
|
107
|
-
height:
|
|
107
|
+
height: auto !important;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
&:not(.stimsfrRws) {
|
|
@@ -135,6 +135,7 @@ $childItemSelector: '[data-element-type="repeater-item"]';
|
|
|
135
135
|
&.stimsfrRws {
|
|
136
136
|
& > div {
|
|
137
137
|
&.wrapper {
|
|
138
|
+
align-self: center;
|
|
138
139
|
& > div {
|
|
139
140
|
&#{$childItemSelector} {
|
|
140
141
|
// --_col-count: var(--_sf-gd-ct, 3);
|
|
@@ -150,6 +151,12 @@ $childItemSelector: '[data-element-type="repeater-item"]';
|
|
|
150
151
|
(100% / var(--_col-count)) -
|
|
151
152
|
(((var(--_col-count) - 1) * var(--_col-gap)) / (var(--_col-count)))
|
|
152
153
|
);
|
|
154
|
+
flex: 0 0
|
|
155
|
+
calc(
|
|
156
|
+
(100% / var(--_col-count)) -
|
|
157
|
+
(((var(--_col-count) - 1) * var(--_col-gap)) / (var(--_col-count)))
|
|
158
|
+
);
|
|
159
|
+
align-self: stretch;
|
|
153
160
|
// height: 100px;
|
|
154
161
|
grid-template-rows: minmax(
|
|
155
162
|
max(0.5px, 0.09375 * (var(--_cms-scaling-factor) - var(--_cms-scrollbar-width))),
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// height: var(--_lt-ht);
|
|
8
8
|
// margin: var(--_lt-mn);
|
|
9
9
|
// width: var(--_ctm-lt-wh, var(--_tst-lt-wh));
|
|
10
|
-
width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
10
|
+
// width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
11
11
|
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
12
12
|
aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
13
13
|
// height: var(--_ctm-lt-ht, var(--_tst-lt-ht));
|
package/dist/sort.scss
CHANGED
package/dist/stack.scss
CHANGED
|
@@ -57,7 +57,10 @@ body {
|
|
|
57
57
|
--_hide-grid-border,
|
|
58
58
|
var(--_ctm-mob-sta-dn-br-wh, var(--_ctm-tab-sta-dn-br-wh, var(--_ctm-sta-dn-br-wh)))
|
|
59
59
|
);
|
|
60
|
-
border-radius: var(
|
|
60
|
+
border-radius: var(
|
|
61
|
+
--_ctm-mob-sta-dn-br-rs,
|
|
62
|
+
var(--_ctm-tab-sta-dn-br-rs, var(--_ctm-sta-dn-br-rs))
|
|
63
|
+
);
|
|
61
64
|
grid-template-columns: 100%;
|
|
62
65
|
|
|
63
66
|
// &:not(.#{$dp}, .#{$tb}, .#{$mb}) {
|
|
@@ -66,6 +69,7 @@ body {
|
|
|
66
69
|
|
|
67
70
|
&.vtl {
|
|
68
71
|
// width: var(--_sf-sta-nw-wh, auto);
|
|
72
|
+
min-height: 30px;
|
|
69
73
|
width: calc(
|
|
70
74
|
1% *
|
|
71
75
|
var(
|