@sc-360-v2/storefront-cms-library 0.5.71 → 0.5.73
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-existing-form.scss +13 -5
- package/dist/add-order.scss +126 -236
- package/dist/add-products-tab-details.scss +1048 -2097
- package/dist/add-products-tab.scss +666 -1204
- package/dist/allocation-header-quota-details.scss +189 -407
- package/dist/allocationDetails.scss +1661 -2143
- package/dist/allocations-quota-details.scss +159 -323
- package/dist/allocations.scss +475 -793
- package/dist/amount-estimator.scss +405 -743
- package/dist/badge.scss +43 -18
- package/dist/brand-basic-elements.scss +76 -124
- package/dist/brand.scss +28 -55
- package/dist/breadcrumbs.scss +356 -718
- package/dist/builder.js +1 -1
- package/dist/bulk-variant-picker.scss +1128 -2027
- package/dist/bundle.scss +841 -1477
- package/dist/bundleCategories.scss +301 -301
- package/dist/bundleDetails.scss +3774 -5072
- package/dist/button.scss +79 -103
- package/dist/buy-for-tab-container.scss +77 -106
- package/dist/buyForHeaders.scss +1722 -2976
- package/dist/cart-details.scss +481 -1012
- package/dist/cart-summary.scss +2234 -2826
- package/dist/cart-wrapper.scss +37 -79
- package/dist/cart.scss +117 -225
- package/dist/cartAttributes.scss +1103 -1422
- package/dist/category-groups-element.scss +127 -108
- package/dist/category-groups-product-grid.scss +120 -147
- package/dist/category-groups-product-image.scss +1162 -1457
- package/dist/category-groups-product-options.scss +613 -680
- package/dist/category-groups-product-price.scss +1966 -3244
- package/dist/category-groups-quota-details.scss +210 -464
- package/dist/category.scss +26 -50
- package/dist/checkout.scss +24 -16
- package/dist/confirm-modal.scss +22 -2
- package/dist/container.scss +32 -54
- package/dist/countdown.scss +711 -899
- package/dist/coupon.scss +1160 -1519
- package/dist/default-dropdown.scss +12 -1
- package/dist/embroider-template-1-v2.scss +123 -172
- package/dist/embroider-template-1.scss +68 -104
- package/dist/embroidery.scss +30 -31
- package/dist/employee-bulk-order.scss +418 -142
- package/dist/faq.scss +228 -408
- package/dist/filter-results.scss +125 -265
- package/dist/filters.scss +2143 -3040
- package/dist/gallery-slider-temp.scss +1458 -1776
- package/dist/global-styles.scss +218 -198
- package/dist/grid.scss +25 -33
- package/dist/hotspot.scss +68 -115
- package/dist/image-temp.scss +21 -20
- package/dist/item-stock.scss +9 -16
- package/dist/kitDetails.scss +2719 -4299
- package/dist/kits.scss +24 -19
- package/dist/language-selector.scss +211 -361
- package/dist/last-x-orders.scss +95 -174
- package/dist/layouter-item.scss +75 -103
- package/dist/layouter-pro-item.scss +89 -95
- package/dist/layouter-pro.scss +87 -92
- package/dist/layouter.scss +383 -445
- package/dist/light-box-v2.scss +89 -104
- package/dist/login.scss +287 -566
- package/dist/map.scss +1212 -1359
- package/dist/marchandiserSets.scss +95 -104
- package/dist/mega-menu-container.scss +96 -109
- package/dist/mega-menu.scss +624 -731
- package/dist/menu-item.scss +2 -2
- package/dist/menu-v2.scss +507 -619
- package/dist/multi-select-dropdown.scss +27 -3
- package/dist/my-templates.scss +38 -9
- package/dist/option-bar.scss +215 -375
- package/dist/order-status.scss +1790 -2187
- package/dist/overflow-module.scss +6 -7
- package/dist/past-orders.scss +118 -149
- package/dist/payment-methods.scss +46 -30
- package/dist/pickup-locations.scss +558 -1118
- package/dist/position-module.scss +20 -17
- package/dist/prefix-list.scss +21 -10
- package/dist/product-actions.scss +1750 -2055
- package/dist/product-basic-elements.scss +108 -169
- package/dist/product-highlights.scss +303 -348
- package/dist/product-image-allocation.scss +1477 -1477
- package/dist/product-image-bundles.scss +337 -642
- package/dist/product-inventory.scss +673 -1357
- package/dist/product-labels.scss +84 -105
- package/dist/product-options.scss +1287 -1444
- package/dist/product-price.scss +1283 -2561
- package/dist/product-promotions.scss +1388 -2830
- package/dist/product-sizechart.scss +516 -905
- package/dist/product.scss +28 -61
- package/dist/productDetails.scss +19 -39
- package/dist/profile.scss +207 -447
- package/dist/quantity-selector.scss +837 -1074
- package/dist/quick-inventory-check.scss +95 -174
- package/dist/quick-links.scss +55 -133
- package/dist/quick-order-pad.scss +218 -271
- package/dist/quota-details.scss +152 -282
- package/dist/quotes.scss +814 -847
- package/dist/repeater-embla-controls.scss +35 -15
- package/dist/repeater-grid-toggle.scss +156 -166
- package/dist/repeater-item.scss +41 -64
- package/dist/repeater.scss +671 -814
- package/dist/request-for-quotes.scss +66 -16
- package/dist/responsive-behaviour.scss +3 -1
- package/dist/rfqs.scss +118 -181
- package/dist/scroll.scss +93 -172
- package/dist/search-results-heading.scss +309 -309
- package/dist/search.scss +179 -326
- package/dist/section.scss +27 -51
- package/dist/shipping-payments.scss +198 -58
- package/dist/simple-list.scss +74 -164
- package/dist/social.scss +80 -145
- package/dist/sort.scss +168 -176
- package/dist/stack.scss +23 -34
- package/dist/static-global.scss +44 -26
- package/dist/stockStatus.scss +11 -19
- package/dist/store-locations.scss +577 -1105
- package/dist/tab-container.scss +81 -108
- package/dist/table-common.scss +217 -408
- package/dist/table.scss +271 -502
- package/dist/text-temp.scss +8 -7
- package/dist/theme-classes.scss +17 -13
- package/dist/uom-selector.scss +489 -949
- package/dist/user-elements.scss +2588 -2896
- package/dist/variant-picker.scss +1281 -2555
- package/dist/volume-pricing.scss +541 -1037
- package/dist/widget.scss +153 -153
- package/package.json +1 -1
package/dist/hotspot.scss
CHANGED
|
@@ -25,101 +25,77 @@ $fullViewOn: '[data-view-state="full"]';
|
|
|
25
25
|
// spans exactly the gap, base on the tooltip edge and apex on the marker edge.
|
|
26
26
|
$data: (
|
|
27
27
|
// tooltip to the LEFT — tip on its right edge, pointing right
|
|
28
|
-
leftTop: (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
bottom: calc(#{$bm} - #{$ics}),
|
|
33
|
-
border-color: transparent transparent transparent var(--_ctm-dn-tp-dn-bd-cr),
|
|
34
|
-
),
|
|
28
|
+
leftTop: (transform: translate(calc(-100% - #{$g}), calc(-100% + #{$bm})),
|
|
29
|
+
icon: (right: -#{$tip},
|
|
30
|
+
bottom: calc(#{$bm} - #{$ics}),
|
|
31
|
+
border-color: transparent transparent transparent var(--_ctm-dn-tp-dn-bd-cr),
|
|
35
32
|
),
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
icon: (
|
|
39
|
-
right: -#{$tip},
|
|
33
|
+
),
|
|
34
|
+
leftCenter: (transform: translate(calc(-100% - #{$g}), -50%),
|
|
35
|
+
icon: (right: -#{$tip},
|
|
40
36
|
top: calc(50% - #{$ics}),
|
|
41
37
|
border-color: transparent transparent transparent var(--_ctm-dn-tp-dn-bd-cr),
|
|
42
38
|
),
|
|
43
39
|
),
|
|
44
|
-
leftBottom: (
|
|
45
|
-
|
|
46
|
-
icon: (
|
|
47
|
-
right: -#{$tip},
|
|
40
|
+
leftBottom: (transform: translate(calc(-100% - #{$g}), calc(0% - #{$bm})),
|
|
41
|
+
icon: (right: -#{$tip},
|
|
48
42
|
top: calc(#{$bm} - #{$ics}),
|
|
49
43
|
border-color: transparent transparent transparent var(--_ctm-dn-tp-dn-bd-cr),
|
|
50
44
|
),
|
|
51
45
|
),
|
|
52
46
|
// tooltip ABOVE — tip on its bottom edge, pointing down
|
|
53
|
-
topLeft: (
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
right: calc(#{$bm} - #{$ics}),
|
|
58
|
-
border-color: var(--_ctm-dn-tp-dn-bd-cr) transparent transparent transparent,
|
|
59
|
-
),
|
|
47
|
+
topLeft: (transform: translate(calc(-100% + #{$bm}), calc(-100% - #{$g})),
|
|
48
|
+
icon: (bottom: -#{$tip},
|
|
49
|
+
right: calc(#{$bm} - #{$ics}),
|
|
50
|
+
border-color: var(--_ctm-dn-tp-dn-bd-cr) transparent transparent transparent,
|
|
60
51
|
),
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
icon: (
|
|
64
|
-
bottom: -#{$tip},
|
|
52
|
+
),
|
|
53
|
+
topCenter: (transform: translate(-50%, calc(-100% - #{$g})),
|
|
54
|
+
icon: (bottom: -#{$tip},
|
|
65
55
|
left: calc(50% - #{$ics}),
|
|
66
56
|
border-color: var(--_ctm-dn-tp-dn-bd-cr) transparent transparent transparent,
|
|
67
57
|
),
|
|
68
58
|
),
|
|
69
|
-
topRight: (
|
|
70
|
-
|
|
71
|
-
icon: (
|
|
72
|
-
bottom: -#{$tip},
|
|
59
|
+
topRight: (transform: translate(calc(0% - #{$bm}), calc(-100% - #{$g})),
|
|
60
|
+
icon: (bottom: -#{$tip},
|
|
73
61
|
left: calc(#{$bm} - #{$ics}),
|
|
74
62
|
border-color: var(--_ctm-dn-tp-dn-bd-cr) transparent transparent transparent,
|
|
75
63
|
),
|
|
76
64
|
),
|
|
77
65
|
// tooltip to the RIGHT — tip on its left edge, pointing left
|
|
78
|
-
rightTop: (
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
bottom: calc(#{$bm} - #{$ics}),
|
|
83
|
-
border-color: transparent var(--_ctm-dn-tp-dn-bd-cr) transparent transparent,
|
|
84
|
-
),
|
|
66
|
+
rightTop: (transform: translate(#{$g}, calc(-100% + #{$bm})),
|
|
67
|
+
icon: (left: -#{$tip},
|
|
68
|
+
bottom: calc(#{$bm} - #{$ics}),
|
|
69
|
+
border-color: transparent var(--_ctm-dn-tp-dn-bd-cr) transparent transparent,
|
|
85
70
|
),
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
icon: (
|
|
89
|
-
left: -#{$tip},
|
|
71
|
+
),
|
|
72
|
+
rightCenter: (transform: translate(#{$g}, -50%),
|
|
73
|
+
icon: (left: -#{$tip},
|
|
90
74
|
top: calc(50% - #{$ics}),
|
|
91
75
|
border-color: transparent var(--_ctm-dn-tp-dn-bd-cr) transparent transparent,
|
|
92
76
|
),
|
|
93
77
|
),
|
|
94
|
-
rightBottom: (
|
|
95
|
-
|
|
96
|
-
icon: (
|
|
97
|
-
left: -#{$tip},
|
|
78
|
+
rightBottom: (transform: translate(#{$g}, calc(0% - #{$bm})),
|
|
79
|
+
icon: (left: -#{$tip},
|
|
98
80
|
top: calc(#{$bm} - #{$ics}),
|
|
99
81
|
border-color: transparent var(--_ctm-dn-tp-dn-bd-cr) transparent transparent,
|
|
100
82
|
),
|
|
101
83
|
),
|
|
102
84
|
// tooltip BELOW — tip on its top edge, pointing up
|
|
103
|
-
bottomLeft: (
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
right: calc(#{$bm} - #{$ics}),
|
|
108
|
-
border-color: transparent transparent var(--_ctm-dn-tp-dn-bd-cr) transparent,
|
|
109
|
-
),
|
|
85
|
+
bottomLeft: (transform: translate(calc(-100% + #{$bm}), #{$g}),
|
|
86
|
+
icon: (top: -#{$tip},
|
|
87
|
+
right: calc(#{$bm} - #{$ics}),
|
|
88
|
+
border-color: transparent transparent var(--_ctm-dn-tp-dn-bd-cr) transparent,
|
|
110
89
|
),
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
icon: (
|
|
114
|
-
top: -#{$tip},
|
|
90
|
+
),
|
|
91
|
+
bottomCenter: (transform: translate(-50%, #{$g}),
|
|
92
|
+
icon: (top: -#{$tip},
|
|
115
93
|
left: calc(50% - #{$ics}),
|
|
116
94
|
border-color: transparent transparent var(--_ctm-dn-tp-dn-bd-cr) transparent,
|
|
117
95
|
),
|
|
118
96
|
),
|
|
119
|
-
bottomRight: (
|
|
120
|
-
|
|
121
|
-
icon: (
|
|
122
|
-
top: -#{$tip},
|
|
97
|
+
bottomRight: (transform: translate(calc(0% - #{$bm}), #{$g}),
|
|
98
|
+
icon: (top: -#{$tip},
|
|
123
99
|
left: calc(#{$bm} - #{$ics}),
|
|
124
100
|
border-color: transparent transparent var(--_ctm-dn-tp-dn-bd-cr) transparent,
|
|
125
101
|
),
|
|
@@ -146,7 +122,9 @@ $data: (
|
|
|
146
122
|
@each $prop, $val in $value {
|
|
147
123
|
@if ($prop !=icon) {
|
|
148
124
|
#{$prop}: #{$val};
|
|
149
|
-
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@else {
|
|
150
128
|
@each $key2, $value2 in $val {
|
|
151
129
|
&:after {
|
|
152
130
|
#{$key2}: #{$value2};
|
|
@@ -164,12 +142,8 @@ $data: (
|
|
|
164
142
|
[data-div-type="element"] {
|
|
165
143
|
&[data-element-type="imageHotspot"] {
|
|
166
144
|
// width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
|
|
167
|
-
width: var(
|
|
168
|
-
|
|
169
|
-
calc(
|
|
170
|
-
1% * var(--_ctm-mob-ele-nw-wh-vl, var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl)))
|
|
171
|
-
)
|
|
172
|
-
);
|
|
145
|
+
width: var(--_sf-el-wh-st-mx,
|
|
146
|
+
calc(1% * var(--_ctm-mob-ele-nw-wh-vl, var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl)))));
|
|
173
147
|
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
174
148
|
// height: var(--_ctm-lt-ht, var(--_tst-lt-ht));
|
|
175
149
|
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
@@ -191,7 +165,7 @@ $data: (
|
|
|
191
165
|
}
|
|
192
166
|
}
|
|
193
167
|
|
|
194
|
-
|
|
168
|
+
&>.wrapper {
|
|
195
169
|
width: 100%;
|
|
196
170
|
// Fill the element's fixed height and keep padding + border inside it, so
|
|
197
171
|
// the image (height:100%) fits the padded frame instead of overflowing.
|
|
@@ -204,11 +178,9 @@ $data: (
|
|
|
204
178
|
// Frame border-radius lives on the wrapper (with the background & shadow),
|
|
205
179
|
// not on the image inside it.
|
|
206
180
|
border-radius: prepareMediaVariable(--_ctm-dn-ie-se-br-rs);
|
|
207
|
-
box-shadow: prepareMediaVariable(--_ctm-dn-ie-se-sw-ae)
|
|
208
|
-
prepareMediaVariable(--_ctm-dn-ie-se-sw-br) prepareMediaVariable(--_ctm-dn-ie-se-sw-sd)
|
|
209
|
-
prepareMediaVariable(--_ctm-dn-ie-se-sw-cr);
|
|
181
|
+
box-shadow: prepareMediaVariable(--_ctm-dn-ie-se-sw-ae) prepareMediaVariable(--_ctm-dn-ie-se-sw-br) prepareMediaVariable(--_ctm-dn-ie-se-sw-sd) prepareMediaVariable(--_ctm-dn-ie-se-sw-cr);
|
|
210
182
|
|
|
211
|
-
|
|
183
|
+
&>div {
|
|
212
184
|
&.hotspot__tooltip {
|
|
213
185
|
--_sf-br-vl: #{prepareMediaVariable(--_ctm-dn-tp-dn-br-rs, 0px)};
|
|
214
186
|
position: absolute;
|
|
@@ -410,10 +382,8 @@ $data: (
|
|
|
410
382
|
}
|
|
411
383
|
}
|
|
412
384
|
|
|
413
|
-
background-color: var(
|
|
414
|
-
--
|
|
415
|
-
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-bd-cr)
|
|
416
|
-
);
|
|
385
|
+
background-color: var(--_sf-hr-bd-cr,
|
|
386
|
+
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-bd-cr));
|
|
417
387
|
|
|
418
388
|
padding: var(--_sf-hr-pg, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-pg));
|
|
419
389
|
width: var(--_sf-hr-wh, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-wh));
|
|
@@ -426,26 +396,17 @@ $data: (
|
|
|
426
396
|
|
|
427
397
|
border-radius: var(--_sf-hr-br-rs, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-rs));
|
|
428
398
|
|
|
429
|
-
box-shadow: var(--_sf-hr-sw-ae, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-ae))
|
|
430
|
-
var(--_sf-hr-sw-br, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-br))
|
|
431
|
-
var(--_sf-hr-sw-sd, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-sd))
|
|
432
|
-
var(--_sf-hr-sw-cr, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-cr));
|
|
399
|
+
box-shadow: var(--_sf-hr-sw-ae, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-ae)) var(--_sf-hr-sw-br, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-br)) var(--_sf-hr-sw-sd, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-sd)) var(--_sf-hr-sw-cr, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-cr));
|
|
433
400
|
|
|
434
401
|
&[data-show-border="true"] {
|
|
435
|
-
border-color: var(
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
);
|
|
444
|
-
|
|
445
|
-
border-width: var(
|
|
446
|
-
--_sf-hr-br-wh,
|
|
447
|
-
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-wh)
|
|
448
|
-
);
|
|
402
|
+
border-color: var(--_sf-hr-br-cr,
|
|
403
|
+
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-cr));
|
|
404
|
+
|
|
405
|
+
border-style: var(--_sf-hr-br-se,
|
|
406
|
+
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-se));
|
|
407
|
+
|
|
408
|
+
border-width: var(--_sf-hr-br-wh,
|
|
409
|
+
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-wh));
|
|
449
410
|
}
|
|
450
411
|
|
|
451
412
|
.txt {
|
|
@@ -457,6 +418,7 @@ $data: (
|
|
|
457
418
|
text-transform: var(--_sf-hr-tt-tm, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-tt-tm));
|
|
458
419
|
word-wrap: var(--_sf-hr-wd-wp, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-wd-wp));
|
|
459
420
|
word-break: var(--_sf-hr-wd-bk, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-wd-bk));
|
|
421
|
+
|
|
460
422
|
&.flex__overflow {
|
|
461
423
|
white-space: normal;
|
|
462
424
|
@include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
|
|
@@ -466,17 +428,13 @@ $data: (
|
|
|
466
428
|
|
|
467
429
|
font-weight: var(--_sf-hr-ft-wt, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-ft-wt));
|
|
468
430
|
|
|
469
|
-
font-style: var(
|
|
470
|
-
--
|
|
471
|
-
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-ft-se-ic)
|
|
472
|
-
);
|
|
431
|
+
font-style: var(--_sf-hr-ft-se-ic,
|
|
432
|
+
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-ft-se-ic));
|
|
473
433
|
|
|
474
434
|
text-align: var(--_sf-hr-tt-an, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-tt-an));
|
|
475
435
|
|
|
476
|
-
letter-spacing: var(
|
|
477
|
-
--
|
|
478
|
-
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-lr-sg)
|
|
479
|
-
);
|
|
436
|
+
letter-spacing: var(--_sf-hr-lr-sg,
|
|
437
|
+
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-lr-sg));
|
|
480
438
|
|
|
481
439
|
line-height: var(--_sf-hr-le-ht, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-le-ht));
|
|
482
440
|
|
|
@@ -597,7 +555,7 @@ $data: (
|
|
|
597
555
|
}
|
|
598
556
|
|
|
599
557
|
&[data-hotspot-image-style-show-border="true"] {
|
|
600
|
-
|
|
558
|
+
&>.wrapper {
|
|
601
559
|
border-style: prepareMediaVariable(--_ctm-dn-ie-se-br-se);
|
|
602
560
|
border-color: prepareMediaVariable(--_ctm-dn-ie-se-br-cr);
|
|
603
561
|
border-width: prepareMediaVariable(--_ctm-dn-ie-se-br-wh);
|
|
@@ -615,9 +573,7 @@ $data: (
|
|
|
615
573
|
|
|
616
574
|
&[data-hotspot-tooltip-style-show-shadow="true"] {
|
|
617
575
|
.hotspot__tooltip {
|
|
618
|
-
box-shadow: prepareMediaVariable(--_ctm-dn-tp-dn-sw-ae)
|
|
619
|
-
prepareMediaVariable(--_ctm-dn-tp-dn-sw-br) prepareMediaVariable(--_ctm-dn-tp-dn-sw-sd)
|
|
620
|
-
prepareMediaVariable(--_ctm-dn-tp-dn-sw-cr);
|
|
576
|
+
box-shadow: prepareMediaVariable(--_ctm-dn-tp-dn-sw-ae) prepareMediaVariable(--_ctm-dn-tp-dn-sw-br) prepareMediaVariable(--_ctm-dn-tp-dn-sw-sd) prepareMediaVariable(--_ctm-dn-tp-dn-sw-cr);
|
|
621
577
|
}
|
|
622
578
|
}
|
|
623
579
|
|
|
@@ -632,24 +588,21 @@ $data: (
|
|
|
632
588
|
|
|
633
589
|
&[data-hotspot-tooltip-image-style-show-shadow="true"] {
|
|
634
590
|
.tooltip__image {
|
|
635
|
-
box-shadow: var(
|
|
636
|
-
|
|
637
|
-
prepareMediaVariable(--_ctm-dn-tp-ie-sw-ae) prepareMediaVariable(--_ctm-dn-tp-ie-sw-br)
|
|
638
|
-
prepareMediaVariable(--_ctm-dn-tp-ie-sw-sd) prepareMediaVariable(--_ctm-dn-tp-ie-sw-cr)
|
|
639
|
-
);
|
|
591
|
+
box-shadow: var(--_show-shadow,
|
|
592
|
+
prepareMediaVariable(--_ctm-dn-tp-ie-sw-ae) prepareMediaVariable(--_ctm-dn-tp-ie-sw-br) prepareMediaVariable(--_ctm-dn-tp-ie-sw-sd) prepareMediaVariable(--_ctm-dn-tp-ie-sw-cr));
|
|
640
593
|
}
|
|
641
594
|
}
|
|
642
595
|
|
|
643
596
|
&[data-hotspot-style-show-shadow="true"] {
|
|
597
|
+
|
|
644
598
|
.hotspot,
|
|
645
599
|
.hotspot__icon {
|
|
646
|
-
box-shadow: prepareMediaVariable(--_ctm-dn-ht-se-sw-ae)
|
|
647
|
-
prepareMediaVariable(--_ctm-dn-ht-se-sw-br) prepareMediaVariable(--_ctm-dn-ht-se-sw-sd)
|
|
648
|
-
prepareMediaVariable(--_ctm-dn-ht-se-sw-cr);
|
|
600
|
+
box-shadow: prepareMediaVariable(--_ctm-dn-ht-se-sw-ae) prepareMediaVariable(--_ctm-dn-ht-se-sw-br) prepareMediaVariable(--_ctm-dn-ht-se-sw-sd) prepareMediaVariable(--_ctm-dn-ht-se-sw-cr);
|
|
649
601
|
}
|
|
650
602
|
}
|
|
651
603
|
|
|
652
604
|
&[data-hotspot-style-show-border="true"] {
|
|
605
|
+
|
|
653
606
|
.hotspot,
|
|
654
607
|
.hotspot__icon {
|
|
655
608
|
border-style: prepareMediaVariable(--_ctm-dn-ht-se-br-se);
|
|
@@ -792,4 +745,4 @@ $data: (
|
|
|
792
745
|
}
|
|
793
746
|
}
|
|
794
747
|
}
|
|
795
|
-
}
|
|
748
|
+
}
|
package/dist/image-temp.scss
CHANGED
|
@@ -8,6 +8,7 @@ $fullViewOn: '[data-view-state="full"]';
|
|
|
8
8
|
$isFlexboxElementChild: ".flx > .wrapper > *";
|
|
9
9
|
|
|
10
10
|
[data-div-type="element"] {
|
|
11
|
+
|
|
11
12
|
&[data-element-type="image"],
|
|
12
13
|
&[data-element-type="brandImage"],
|
|
13
14
|
&[data-element-type="categoryImage"],
|
|
@@ -15,6 +16,7 @@ $isFlexboxElementChild: ".flx > .wrapper > *";
|
|
|
15
16
|
&:has(a) {
|
|
16
17
|
cursor: pointer;
|
|
17
18
|
}
|
|
19
|
+
|
|
18
20
|
// width: var(--_lt-wh);
|
|
19
21
|
// height: var(--_lt-ht);
|
|
20
22
|
// margin: var(--_lt-mn);
|
|
@@ -31,38 +33,37 @@ $isFlexboxElementChild: ".flx > .wrapper > *";
|
|
|
31
33
|
// overflow: clip;
|
|
32
34
|
overflow: visible;
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
&>.wrapper {
|
|
35
37
|
visibility: hidden;
|
|
36
38
|
opacity: 0;
|
|
37
39
|
}
|
|
38
40
|
}
|
|
41
|
+
|
|
39
42
|
// width: prepareMediaVariable(--_ctm-lt-wh);
|
|
40
43
|
&:not(#{$resizerOn}, #{$dndOn}, #{$fullViewOn}) {
|
|
41
44
|
height: prepareMediaVariable(--_ctm-lt-ht) !important;
|
|
42
45
|
}
|
|
46
|
+
|
|
43
47
|
// &:not([data-element-type="image"]) {
|
|
44
48
|
// }
|
|
45
49
|
|
|
46
|
-
--_aspect-ratio: calc(
|
|
47
|
-
1 *
|
|
48
|
-
(
|
|
49
|
-
var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) /
|
|
50
|
-
var(--_ctm-mob-lt-wh, var(--_ctm-tab-lt-wh, var(--_ctm-lt-wh)))
|
|
51
|
-
)
|
|
52
|
-
);
|
|
50
|
+
--_aspect-ratio: calc(1 * (var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) / var(--_ctm-mob-lt-wh, var(--_ctm-tab-lt-wh, var(--_ctm-lt-wh)))));
|
|
53
51
|
|
|
54
52
|
&#{$fullViewOn} {
|
|
55
53
|
&:not(#{$isFlexboxElementChild}) {
|
|
56
54
|
aspect-ratio: 1/0.01;
|
|
57
55
|
}
|
|
58
|
-
|
|
56
|
+
|
|
57
|
+
&>.wrapper {
|
|
59
58
|
// The element trades its fixed height for an aspect-ratio here, so the
|
|
60
59
|
// wrapper cannot keep tracking --_ctm-lt-ht.
|
|
61
60
|
height: 100%;
|
|
62
|
-
|
|
61
|
+
|
|
62
|
+
&>div {
|
|
63
63
|
height: 100%;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
+
|
|
66
67
|
img {
|
|
67
68
|
height: 100%;
|
|
68
69
|
object-fit: cover;
|
|
@@ -72,6 +73,7 @@ $isFlexboxElementChild: ".flx > .wrapper > *";
|
|
|
72
73
|
&[data-cms-element-resizer="true"] {
|
|
73
74
|
// height: var(--_ctm-lt-ht);
|
|
74
75
|
width: auto;
|
|
76
|
+
|
|
75
77
|
img {
|
|
76
78
|
// width: 100%;
|
|
77
79
|
height: 100%;
|
|
@@ -79,12 +81,12 @@ $isFlexboxElementChild: ".flx > .wrapper > *";
|
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
:is(:not([data-iframe-body="true"] *)) {
|
|
82
|
-
|
|
84
|
+
&>.wrapper {
|
|
83
85
|
overflow: clip;
|
|
84
86
|
}
|
|
85
87
|
}
|
|
86
88
|
|
|
87
|
-
|
|
89
|
+
&>.wrapper {
|
|
88
90
|
width: 100%;
|
|
89
91
|
// Padding, border and shadow below are painted on this box, so it has to
|
|
90
92
|
// match the element instead of sizing to the image. Without a definite
|
|
@@ -120,13 +122,8 @@ $isFlexboxElementChild: ".flx > .wrapper > *";
|
|
|
120
122
|
border-style: var(--_ctm-mob-dn-br-se, var(--_ctm-tab-dn-br-se, var(--_ctm-dn-br-se)));
|
|
121
123
|
border-width: var(--_ctm-mob-dn-br-wh, var(--_ctm-tab-dn-br-wh, var(--_ctm-dn-br-wh)));
|
|
122
124
|
border-radius: var(--_ctm-mob-dn-br-rs, var(--_ctm-tab-dn-br-rs, var(--_ctm-dn-br-rs)));
|
|
123
|
-
box-shadow: var(
|
|
124
|
-
|
|
125
|
-
var(--_ctm-mob-dn-sw-ae, var(--_ctm-tab-dn-sw-ae, var(--_ctm-dn-sw-ae)))
|
|
126
|
-
var(--_ctm-mob-dn-sw-br, var(--_ctm-tab-dn-sw-br, var(--_ctm-dn-sw-br)))
|
|
127
|
-
var(--_ctm-mob-dn-sw-sd, var(--_ctm-tab-dn-sw-sd, var(--_ctm-dn-sw-sd)))
|
|
128
|
-
var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr)))
|
|
129
|
-
);
|
|
125
|
+
box-shadow: var(--_show-shadow,
|
|
126
|
+
var(--_ctm-mob-dn-sw-ae, var(--_ctm-tab-dn-sw-ae, var(--_ctm-dn-sw-ae))) var(--_ctm-mob-dn-sw-br, var(--_ctm-tab-dn-sw-br, var(--_ctm-dn-sw-br))) var(--_ctm-mob-dn-sw-sd, var(--_ctm-tab-dn-sw-sd, var(--_ctm-dn-sw-sd))) var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr))));
|
|
130
127
|
// &[data-show-shadow] {
|
|
131
128
|
// }
|
|
132
129
|
|
|
@@ -136,9 +133,11 @@ $isFlexboxElementChild: ".flx > .wrapper > *";
|
|
|
136
133
|
overflow: hidden;
|
|
137
134
|
}
|
|
138
135
|
}
|
|
136
|
+
|
|
139
137
|
&[data-show-shadow="false"] {
|
|
140
138
|
--_show-shadow: none;
|
|
141
139
|
}
|
|
140
|
+
|
|
142
141
|
// .text-element {
|
|
143
142
|
// // background: #6d96e4;
|
|
144
143
|
// // padding: 10px;
|
|
@@ -187,6 +186,7 @@ $isFlexboxElementChild: ".flx > .wrapper > *";
|
|
|
187
186
|
&[data-on-hover="Zoom Out"] {
|
|
188
187
|
transform: scale(0.9998);
|
|
189
188
|
}
|
|
189
|
+
|
|
190
190
|
&[data-on-hover="Zoom In"] {
|
|
191
191
|
transform: scale(1.08);
|
|
192
192
|
}
|
|
@@ -196,8 +196,9 @@ $isFlexboxElementChild: ".flx > .wrapper > *";
|
|
|
196
196
|
.image__fallback__contain {
|
|
197
197
|
object-fit: contain !important;
|
|
198
198
|
}
|
|
199
|
+
|
|
199
200
|
// .image-element:hover {
|
|
200
201
|
// padding: 30px;
|
|
201
202
|
// }
|
|
202
203
|
}
|
|
203
|
-
}
|
|
204
|
+
}
|
package/dist/item-stock.scss
CHANGED
|
@@ -4,22 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
[data-div-type="element"] {
|
|
6
6
|
&[data-element-type="itemStock"] {
|
|
7
|
-
width: var(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
1% *
|
|
11
|
-
var(
|
|
12
|
-
--_ctm-mob-ele-nw-wh-vl,
|
|
13
|
-
var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh)))
|
|
14
|
-
)
|
|
15
|
-
)
|
|
16
|
-
);
|
|
7
|
+
width: var(--_sf-el-wh-st-mx,
|
|
8
|
+
calc(1% * var(--_ctm-mob-ele-nw-wh-vl,
|
|
9
|
+
var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))))));
|
|
17
10
|
height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) !important;
|
|
18
11
|
margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
|
|
19
12
|
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
20
13
|
position: relative;
|
|
21
14
|
|
|
22
|
-
|
|
15
|
+
&>.wrapper {
|
|
23
16
|
display: flex;
|
|
24
17
|
align-items: center;
|
|
25
18
|
justify-content: center;
|
|
@@ -32,8 +25,10 @@
|
|
|
32
25
|
align-items: center;
|
|
33
26
|
cursor: pointer;
|
|
34
27
|
gap: 8px;
|
|
28
|
+
|
|
35
29
|
.item__stock__heading {
|
|
36
30
|
position: relative;
|
|
31
|
+
|
|
37
32
|
.item__stock__text {
|
|
38
33
|
font-family: prepareMediaVariable(--_ctm-dn-im-sk-tt-ft-fy);
|
|
39
34
|
text-transform: prepareMediaVariable(--_ctm-dn-im-sk-tt-tt-tm);
|
|
@@ -48,6 +43,7 @@
|
|
|
48
43
|
letter-spacing: prepareMediaVariable(--_ctm-dn-im-sk-tt-lr-sg);
|
|
49
44
|
line-height: prepareMediaVariable(--_ctm-dn-im-sk-tt-le-ht);
|
|
50
45
|
}
|
|
46
|
+
|
|
51
47
|
.stock_message_conatainer {
|
|
52
48
|
display: flex;
|
|
53
49
|
padding: 2px 8px 2px 6px;
|
|
@@ -59,10 +55,7 @@
|
|
|
59
55
|
border-color: prepareMediaVariable(--_ctm-dn-im-sk-tt-br-cr);
|
|
60
56
|
border-style: prepareMediaVariable(--_ctm-dn-im-sk-tt-br-se);
|
|
61
57
|
border-radius: prepareMediaVariable(--_ctm-dn-im-sk-tt-br-rs);
|
|
62
|
-
box-shadow: prepareMediaVariable(--_ctm-dn-im-sk-tt-sw-ae)
|
|
63
|
-
prepareMediaVariable(--_ctm-dn-im-sk-tt-sw-br)
|
|
64
|
-
prepareMediaVariable(--_ctm-dn-im-sk-tt-sw-sd)
|
|
65
|
-
prepareMediaVariable(--_ctm-dn-im-sk-tt-sw-cr);
|
|
58
|
+
box-shadow: prepareMediaVariable(--_ctm-dn-im-sk-tt-sw-ae) prepareMediaVariable(--_ctm-dn-im-sk-tt-sw-br) prepareMediaVariable(--_ctm-dn-im-sk-tt-sw-sd) prepareMediaVariable(--_ctm-dn-im-sk-tt-sw-cr);
|
|
66
59
|
|
|
67
60
|
.stock_messages {
|
|
68
61
|
font-family: prepareMediaVariable(--_ctm-dn-im-sk-tt-ft-fy);
|
|
@@ -90,4 +83,4 @@
|
|
|
90
83
|
--_show-shadow: none;
|
|
91
84
|
}
|
|
92
85
|
}
|
|
93
|
-
}
|
|
86
|
+
}
|