@sc-360-v2/storefront-cms-library 0.5.50 → 0.5.52
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-order.scss +62 -13
- package/dist/brand-basic-elements.scss +109 -46
- package/dist/brand.scss +6 -0
- package/dist/breadcrumbs.scss +157 -51
- package/dist/builder.js +1 -1
- package/dist/bundle copy.scss +2805 -0
- package/dist/bundle.scss +74 -48
- package/dist/bundleDetails.scss +1360 -275
- package/dist/button copy.scss +271 -0
- package/dist/cart-details.scss +214 -0
- package/dist/cart.scss +124 -41
- package/dist/category-groups-product-image.scss +72 -21
- package/dist/category.scss +25 -4
- package/dist/container.scss +20 -17
- package/dist/embed-temp.scss +2 -2
- package/dist/hotspot.scss +153 -77
- package/dist/icon-library.scss +78 -74
- package/dist/image-temp.scss +2 -1
- package/dist/language-selector.scss +215 -55
- package/dist/light-box-v2.scss +4 -3
- package/dist/line.scss +54 -36
- package/dist/login.scss +225 -69
- package/dist/map.scss +354 -147
- package/dist/marchandiserSets.scss +34 -0
- package/dist/menu-v2.scss +51 -3
- package/dist/modal.scss +251 -28
- package/dist/product-actions.scss +53 -0
- package/dist/product-basic-elements.scss +44 -244
- package/dist/product-image-allocation.scss +51 -15
- package/dist/product-image-bundles.scss +72 -15
- package/dist/product-image.scss +178 -19
- package/dist/productDetails.scss +33 -0
- package/dist/quick-links.scss +23 -2
- package/dist/repeater copy.scss +635 -0
- package/dist/repeater-embla-controls.scss +9 -1
- package/dist/repeater-grid-toggle.scss +121 -7
- package/dist/repeater-item.scss +5 -1
- package/dist/repeater.scss +69 -102
- package/dist/review-cart.scss +7 -1
- package/dist/scroll.scss +52 -11
- package/dist/search.scss +46 -6
- package/dist/skeleton.scss +24 -35
- package/dist/styles.css +1 -1
- package/dist/tab-container.scss +14 -12
- package/dist/tab-v2.scss +834 -583
- package/dist/text-temp-v2.scss +18 -1
- package/dist/types/builder/tools/element-edit/breadcrumbs.d.ts +26 -5
- package/dist/types/builder/tools/element-edit/cart.d.ts +7 -0
- package/dist/types/builder/tools/element-edit/map.d.ts +0 -1
- package/dist/types/builder/tools/element-edit/product-image.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/quickLinks.d.ts +6 -0
- package/dist/types/builder/tools/element-edit/repeater.d.ts +1 -1
- package/dist/types/builder/tools/element-edit/search.d.ts +4 -61
- package/dist/types/builder/tools/element-edit/tabsV2.d.ts +164 -1
- package/dist/types/builder/tools/element-edit/video.d.ts +32 -0
- package/dist/upload-media.scss +14 -2
- package/dist/video.scss +548 -476
- package/package.json +1 -1
package/dist/product-image.scss
CHANGED
|
@@ -29,10 +29,27 @@ $defaultValues: (
|
|
|
29
29
|
)
|
|
30
30
|
);
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
// Display styles whose items stack vertically, with scroll control left at "Non".
|
|
33
|
+
// These size to their content, so the element grows as more images arrive — 6
|
|
34
|
+
// products make it taller than 1. The same three modes are what EmblaCarousel's
|
|
35
|
+
// own height effect treats as content-sized, and "Non" is the branch there that
|
|
36
|
+
// takes the container's full scrollHeight instead of clamping to the viewport.
|
|
37
|
+
// Every other combination (Slider, Column, Grid + Horizontal, or any mode set to
|
|
38
|
+
// Scroll / Load More Button) keeps a fixed box and pages or scrolls inside it.
|
|
39
|
+
$contentSizedGallery: '.embla[data-scroll-control="Non"]:is([data-display-style="Grid"][data-scroll-direction="Vertical"], [data-display-style="Rows"], [data-display-style="Masonry"])';
|
|
40
|
+
|
|
41
|
+
&:not(:has(#{$contentSizedGallery})) {
|
|
33
42
|
height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
|
|
34
43
|
}
|
|
35
44
|
|
|
45
|
+
// Content-sized modes can't take a fixed height or they would clip the extra rows,
|
|
46
|
+
// but the Height set in Layout still has to mean something — it becomes the floor
|
|
47
|
+
// the element starts from and grows past. `min-height` is not a percentage base, so
|
|
48
|
+
// the inner `height: 80%` / `--_ctm-height` chain stays content-driven as before.
|
|
49
|
+
&:has(#{$contentSizedGallery}) {
|
|
50
|
+
min-height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
|
|
51
|
+
}
|
|
52
|
+
|
|
36
53
|
// &[data-view-state="full"] {
|
|
37
54
|
// width: auto;
|
|
38
55
|
// // height: 100%;
|
|
@@ -58,6 +75,7 @@ $defaultValues: (
|
|
|
58
75
|
& > .wrapper {
|
|
59
76
|
width: 100%;
|
|
60
77
|
height: 100%;
|
|
78
|
+
|
|
61
79
|
&:has(.text-element) {
|
|
62
80
|
display: flex;
|
|
63
81
|
align-items: start;
|
|
@@ -68,22 +86,27 @@ $defaultValues: (
|
|
|
68
86
|
user-select: none;
|
|
69
87
|
// width: 100%;
|
|
70
88
|
}
|
|
89
|
+
|
|
71
90
|
.product__img__wrapper {
|
|
72
91
|
width: 100%;
|
|
73
92
|
height: 100%;
|
|
93
|
+
|
|
74
94
|
&:has(.image__fallback__contain) {
|
|
75
95
|
display: flex;
|
|
76
96
|
justify-content: center;
|
|
77
97
|
align-items: center;
|
|
78
98
|
}
|
|
99
|
+
|
|
79
100
|
.image__fallback__contain {
|
|
80
101
|
object-fit: contain !important;
|
|
81
102
|
}
|
|
82
103
|
}
|
|
83
104
|
}
|
|
105
|
+
|
|
84
106
|
&[data-show-shadow="false"] {
|
|
85
107
|
--_show-shadow: none;
|
|
86
108
|
}
|
|
109
|
+
|
|
87
110
|
.product_image {
|
|
88
111
|
height: 100%;
|
|
89
112
|
object-fit: contain;
|
|
@@ -164,6 +187,7 @@ $defaultValues: (
|
|
|
164
187
|
border: 1px solid #ccc;
|
|
165
188
|
background: #fff;
|
|
166
189
|
z-index: 9;
|
|
190
|
+
|
|
167
191
|
img {
|
|
168
192
|
position: absolute;
|
|
169
193
|
will-change: transform;
|
|
@@ -183,6 +207,7 @@ $defaultValues: (
|
|
|
183
207
|
max-height: 100%;
|
|
184
208
|
// object-fit: contain;
|
|
185
209
|
}
|
|
210
|
+
|
|
186
211
|
.gallery-slider-element {
|
|
187
212
|
--text-high-contrast-rgb-value: 49, 49, 49;
|
|
188
213
|
--detail-medium-contrast: rgb(234, 234, 234);
|
|
@@ -211,19 +236,40 @@ $defaultValues: (
|
|
|
211
236
|
|
|
212
237
|
width: 100%;
|
|
213
238
|
height: 100%;
|
|
239
|
+
|
|
240
|
+
// Gallery Widget Style > Border / Shadow toggles. Distinct names from the item
|
|
241
|
+
// ones below, because .gallery__slide is a descendant and would otherwise
|
|
242
|
+
// inherit whatever is set here.
|
|
243
|
+
&[data-show-border="false"] {
|
|
244
|
+
--_show-gy-border: none;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
&[data-show-shadow="false"] {
|
|
248
|
+
--_show-gy-shadow: none;
|
|
249
|
+
}
|
|
250
|
+
|
|
214
251
|
border-color: var(
|
|
215
|
-
--
|
|
216
|
-
var(
|
|
252
|
+
--_show-gy-border,
|
|
253
|
+
var(
|
|
254
|
+
--_ctm-mob-dn-gy-wt-se-br-cr,
|
|
255
|
+
var(--_ctm-tab-dn-gy-wt-se-br-cr, var(--_ctm-dn-gy-wt-se-br-cr))
|
|
256
|
+
)
|
|
217
257
|
);
|
|
218
258
|
|
|
219
259
|
border-style: var(
|
|
220
|
-
--
|
|
221
|
-
var(
|
|
260
|
+
--_show-gy-border,
|
|
261
|
+
var(
|
|
262
|
+
--_ctm-mob-dn-gy-wt-se-br-se,
|
|
263
|
+
var(--_ctm-tab-dn-gy-wt-se-br-se, var(--_ctm-dn-gy-wt-se-br-se))
|
|
264
|
+
)
|
|
222
265
|
);
|
|
223
266
|
|
|
224
267
|
border-width: var(
|
|
225
|
-
--
|
|
226
|
-
var(
|
|
268
|
+
--_show-gy-border,
|
|
269
|
+
var(
|
|
270
|
+
--_ctm-mob-dn-gy-wt-se-br-wh,
|
|
271
|
+
var(--_ctm-tab-dn-gy-wt-se-br-wh, var(--_ctm-dn-gy-wt-se-br-wh))
|
|
272
|
+
)
|
|
227
273
|
);
|
|
228
274
|
|
|
229
275
|
border-radius: var(
|
|
@@ -232,7 +278,7 @@ $defaultValues: (
|
|
|
232
278
|
);
|
|
233
279
|
|
|
234
280
|
box-shadow: var(
|
|
235
|
-
--_show-shadow,
|
|
281
|
+
--_show-gy-shadow,
|
|
236
282
|
var(
|
|
237
283
|
--_ctm-mob-dn-gy-wt-se-sw-ae,
|
|
238
284
|
var(--_ctm-tab-dn-gy-wt-se-sw-ae, var(--_ctm-dn-gy-wt-se-sw-ae))
|
|
@@ -424,49 +470,60 @@ $defaultValues: (
|
|
|
424
470
|
flex-direction: column;
|
|
425
471
|
}
|
|
426
472
|
}
|
|
473
|
+
|
|
427
474
|
&[data-text-position="bottom"] {
|
|
428
475
|
.gallery-slider-element {
|
|
429
476
|
flex-direction: column-reverse;
|
|
430
477
|
}
|
|
431
478
|
}
|
|
479
|
+
|
|
432
480
|
&[data-text-position="left"] {
|
|
433
481
|
.gallery-slider-element {
|
|
434
482
|
flex-direction: row;
|
|
435
483
|
}
|
|
484
|
+
|
|
436
485
|
.gallery-header {
|
|
437
486
|
width: fit-content;
|
|
438
487
|
height: 100%;
|
|
439
488
|
}
|
|
489
|
+
|
|
440
490
|
&[data-widget-alignment="top"] {
|
|
441
491
|
.gallery-slider-element {
|
|
442
492
|
align-items: flex-start;
|
|
443
493
|
}
|
|
494
|
+
|
|
444
495
|
.gallery-header {
|
|
445
496
|
justify-content: flex-start;
|
|
446
497
|
}
|
|
447
498
|
}
|
|
499
|
+
|
|
448
500
|
&[data-widget-alignment="center"] {
|
|
449
501
|
.gallery-slider-element {
|
|
450
502
|
align-items: center;
|
|
451
503
|
}
|
|
504
|
+
|
|
452
505
|
.gallery-header {
|
|
453
506
|
justify-content: center;
|
|
454
507
|
}
|
|
455
508
|
}
|
|
509
|
+
|
|
456
510
|
&[data-widget-alignment="bottom"] {
|
|
457
511
|
.gallery-slider-element {
|
|
458
512
|
align-items: flex-end;
|
|
459
513
|
}
|
|
514
|
+
|
|
460
515
|
.gallery-header {
|
|
461
516
|
justify-content: flex-end;
|
|
462
517
|
}
|
|
463
518
|
}
|
|
464
519
|
}
|
|
520
|
+
|
|
465
521
|
&[data-text-position="right"] {
|
|
466
522
|
.gallery-header {
|
|
467
523
|
width: fit-content;
|
|
468
524
|
height: 100%;
|
|
469
525
|
}
|
|
526
|
+
|
|
470
527
|
.gallery-slider-element {
|
|
471
528
|
flex-direction: row-reverse;
|
|
472
529
|
}
|
|
@@ -475,22 +532,27 @@ $defaultValues: (
|
|
|
475
532
|
.gallery-slider-element {
|
|
476
533
|
align-items: flex-start;
|
|
477
534
|
}
|
|
535
|
+
|
|
478
536
|
.gallery-header {
|
|
479
537
|
justify-content: flex-start;
|
|
480
538
|
}
|
|
481
539
|
}
|
|
540
|
+
|
|
482
541
|
&[data-widget-alignment="center"] {
|
|
483
542
|
.gallery-slider-element {
|
|
484
543
|
align-items: center;
|
|
485
544
|
}
|
|
545
|
+
|
|
486
546
|
.gallery-header {
|
|
487
547
|
justify-content: center;
|
|
488
548
|
}
|
|
489
549
|
}
|
|
550
|
+
|
|
490
551
|
&[data-widget-alignment="bottom"] {
|
|
491
552
|
.gallery-slider-element {
|
|
492
553
|
align-items: flex-end;
|
|
493
554
|
}
|
|
555
|
+
|
|
494
556
|
.gallery-header {
|
|
495
557
|
justify-content: flex-end;
|
|
496
558
|
}
|
|
@@ -576,6 +638,7 @@ $defaultValues: (
|
|
|
576
638
|
}
|
|
577
639
|
}
|
|
578
640
|
}
|
|
641
|
+
|
|
579
642
|
&:not([data-display-style="Column"]) {
|
|
580
643
|
.embla__container {
|
|
581
644
|
grid-auto-columns: calc(
|
|
@@ -591,6 +654,7 @@ $defaultValues: (
|
|
|
591
654
|
overflow: unset;
|
|
592
655
|
height: 80%;
|
|
593
656
|
flex-grow: 1;
|
|
657
|
+
|
|
594
658
|
&:not([data-is-builder-type="true"]) {
|
|
595
659
|
height: var(--_ctm-mob-height, var(--_ctm-tab-height, var(--_ctm-height)));
|
|
596
660
|
}
|
|
@@ -609,9 +673,11 @@ $defaultValues: (
|
|
|
609
673
|
grid-template-rows: unset;
|
|
610
674
|
|
|
611
675
|
grid-auto-flow: row;
|
|
676
|
+
|
|
612
677
|
&[data-overflow-hidden="true"] {
|
|
613
678
|
overflow: hidden;
|
|
614
679
|
}
|
|
680
|
+
|
|
615
681
|
.embla__slide {
|
|
616
682
|
aspect-ratio: 1/1.1;
|
|
617
683
|
}
|
|
@@ -640,6 +706,7 @@ $defaultValues: (
|
|
|
640
706
|
overflow: unset;
|
|
641
707
|
height: 80%;
|
|
642
708
|
flex-grow: 1;
|
|
709
|
+
|
|
643
710
|
&:not([data-is-builder-type="true"]) {
|
|
644
711
|
height: var(--_ctm-mob-height, var(--_ctm-tab-height, var(--_ctm-height)));
|
|
645
712
|
}
|
|
@@ -654,6 +721,7 @@ $defaultValues: (
|
|
|
654
721
|
grid-template-rows: unset;
|
|
655
722
|
|
|
656
723
|
grid-auto-flow: row;
|
|
724
|
+
|
|
657
725
|
.embla__slide {
|
|
658
726
|
aspect-ratio: 7 / 2;
|
|
659
727
|
}
|
|
@@ -667,6 +735,7 @@ $defaultValues: (
|
|
|
667
735
|
.embla__viewport {
|
|
668
736
|
.embla__container {
|
|
669
737
|
display: flex;
|
|
738
|
+
|
|
670
739
|
.embla__slide {
|
|
671
740
|
width: unset;
|
|
672
741
|
height: 100%;
|
|
@@ -675,6 +744,7 @@ $defaultValues: (
|
|
|
675
744
|
}
|
|
676
745
|
}
|
|
677
746
|
}
|
|
747
|
+
|
|
678
748
|
&[data-display-style="Masonry"] {
|
|
679
749
|
// overflow: unset;
|
|
680
750
|
|
|
@@ -682,9 +752,11 @@ $defaultValues: (
|
|
|
682
752
|
overflow: hidden;
|
|
683
753
|
height: 80%;
|
|
684
754
|
flex-grow: 1;
|
|
755
|
+
|
|
685
756
|
&:not([data-is-builder-type="true"]) {
|
|
686
757
|
height: var(--_ctm-mob-height, var(--_ctm-tab-height, var(--_ctm-height)));
|
|
687
758
|
}
|
|
759
|
+
|
|
688
760
|
.embla__container {
|
|
689
761
|
overflow: unset;
|
|
690
762
|
|
|
@@ -708,6 +780,7 @@ $defaultValues: (
|
|
|
708
780
|
);
|
|
709
781
|
|
|
710
782
|
height: unset;
|
|
783
|
+
|
|
711
784
|
.gallery__slide {
|
|
712
785
|
height: unset;
|
|
713
786
|
}
|
|
@@ -736,6 +809,7 @@ $defaultValues: (
|
|
|
736
809
|
bottom: 10px;
|
|
737
810
|
top: unset;
|
|
738
811
|
}
|
|
812
|
+
|
|
739
813
|
&[data-control-type="Bottom"] {
|
|
740
814
|
transform: unset;
|
|
741
815
|
position: static;
|
|
@@ -745,16 +819,19 @@ $defaultValues: (
|
|
|
745
819
|
margin-top: 10px;
|
|
746
820
|
}
|
|
747
821
|
}
|
|
822
|
+
|
|
748
823
|
&[data-control-type="Side"] {
|
|
749
824
|
.left-button,
|
|
750
825
|
.right-button {
|
|
751
826
|
background-color: transparent;
|
|
752
827
|
}
|
|
753
828
|
}
|
|
829
|
+
|
|
754
830
|
&[data-background-shape="Round"] {
|
|
755
831
|
.left-button,
|
|
756
832
|
.right-button {
|
|
757
833
|
@include BgColorLighter(var(--_ctm-dn-pn-as-bd-cr), 10%);
|
|
834
|
+
|
|
758
835
|
&:not(:disabled):hover {
|
|
759
836
|
@include BgColorLighter(var(--_ctm-dn-pn-as-bd-cr), 20%);
|
|
760
837
|
}
|
|
@@ -780,8 +857,10 @@ $defaultValues: (
|
|
|
780
857
|
cursor: pointer;
|
|
781
858
|
outline: none;
|
|
782
859
|
margin-left: 12px;
|
|
860
|
+
|
|
783
861
|
span {
|
|
784
862
|
display: flex;
|
|
863
|
+
|
|
785
864
|
svg {
|
|
786
865
|
width: calc(
|
|
787
866
|
var(
|
|
@@ -806,6 +885,7 @@ $defaultValues: (
|
|
|
806
885
|
}
|
|
807
886
|
}
|
|
808
887
|
}
|
|
888
|
+
|
|
809
889
|
&:disabled {
|
|
810
890
|
& svg {
|
|
811
891
|
path {
|
|
@@ -814,6 +894,7 @@ $defaultValues: (
|
|
|
814
894
|
}
|
|
815
895
|
}
|
|
816
896
|
}
|
|
897
|
+
|
|
817
898
|
.right-button {
|
|
818
899
|
border-radius: 50%;
|
|
819
900
|
border: none;
|
|
@@ -833,8 +914,10 @@ $defaultValues: (
|
|
|
833
914
|
outline: none;
|
|
834
915
|
margin-right: 12px;
|
|
835
916
|
padding: 10px;
|
|
917
|
+
|
|
836
918
|
span {
|
|
837
919
|
display: flex;
|
|
920
|
+
|
|
838
921
|
svg {
|
|
839
922
|
width: calc(
|
|
840
923
|
var(
|
|
@@ -859,6 +942,7 @@ $defaultValues: (
|
|
|
859
942
|
}
|
|
860
943
|
}
|
|
861
944
|
}
|
|
945
|
+
|
|
862
946
|
&:disabled {
|
|
863
947
|
& svg {
|
|
864
948
|
path {
|
|
@@ -867,8 +951,10 @@ $defaultValues: (
|
|
|
867
951
|
}
|
|
868
952
|
}
|
|
869
953
|
}
|
|
954
|
+
|
|
870
955
|
.icon {
|
|
871
956
|
display: flex;
|
|
957
|
+
|
|
872
958
|
svg {
|
|
873
959
|
width: calc(
|
|
874
960
|
var(
|
|
@@ -904,9 +990,11 @@ $defaultValues: (
|
|
|
904
990
|
&[data-thumbnail-placement="top"] {
|
|
905
991
|
flex-direction: column-reverse;
|
|
906
992
|
}
|
|
993
|
+
|
|
907
994
|
&[data-thumbnail-placement="bottom"] {
|
|
908
995
|
flex-direction: column;
|
|
909
996
|
}
|
|
997
|
+
|
|
910
998
|
&[data-thumbnail-placement="left"] {
|
|
911
999
|
flex-direction: row-reverse;
|
|
912
1000
|
|
|
@@ -938,8 +1026,10 @@ $defaultValues: (
|
|
|
938
1026
|
}
|
|
939
1027
|
}
|
|
940
1028
|
}
|
|
1029
|
+
|
|
941
1030
|
&[data-thumbnail-placement="right"] {
|
|
942
1031
|
flex-direction: row;
|
|
1032
|
+
|
|
943
1033
|
.embla__thumbs {
|
|
944
1034
|
width: var(--_ctm-mob-lt-tl-wh, var(--_ctm-tab-lt-tl-wh, var(--_ctm-lt-tl-wh)));
|
|
945
1035
|
height: 100%;
|
|
@@ -968,10 +1058,12 @@ $defaultValues: (
|
|
|
968
1058
|
}
|
|
969
1059
|
}
|
|
970
1060
|
}
|
|
1061
|
+
|
|
971
1062
|
&[data-control-type="Side"] {
|
|
972
1063
|
flex-direction: row;
|
|
973
1064
|
align-items: center;
|
|
974
1065
|
}
|
|
1066
|
+
|
|
975
1067
|
.embla__dots {
|
|
976
1068
|
display: flex;
|
|
977
1069
|
flex-wrap: wrap;
|
|
@@ -988,6 +1080,7 @@ $defaultValues: (
|
|
|
988
1080
|
transform: translateX(-50%);
|
|
989
1081
|
width: 75%;
|
|
990
1082
|
}
|
|
1083
|
+
|
|
991
1084
|
.embla__dot {
|
|
992
1085
|
-webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
|
|
993
1086
|
-webkit-appearance: none;
|
|
@@ -1020,6 +1113,7 @@ $defaultValues: (
|
|
|
1020
1113
|
justify-content: center;
|
|
1021
1114
|
border-radius: 50%;
|
|
1022
1115
|
}
|
|
1116
|
+
|
|
1023
1117
|
.embla__dot:after {
|
|
1024
1118
|
// box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
|
|
1025
1119
|
width: var(
|
|
@@ -1036,6 +1130,7 @@ $defaultValues: (
|
|
|
1036
1130
|
align-items: center;
|
|
1037
1131
|
content: "";
|
|
1038
1132
|
}
|
|
1133
|
+
|
|
1039
1134
|
.embla__dot--selected:after {
|
|
1040
1135
|
box-shadow: inset 0 0 0 1px var(--text-body);
|
|
1041
1136
|
background-color: var(
|
|
@@ -1043,6 +1138,7 @@ $defaultValues: (
|
|
|
1043
1138
|
var(--_ctm-tab-dn-pn-ds-ct-dt-cr, var(--_ctm-dn-pn-ds-ct-dt-cr))
|
|
1044
1139
|
);
|
|
1045
1140
|
}
|
|
1141
|
+
|
|
1046
1142
|
&[data-slider-control="Pagination Line"] {
|
|
1047
1143
|
.embla__dot {
|
|
1048
1144
|
width: var(
|
|
@@ -1062,6 +1158,7 @@ $defaultValues: (
|
|
|
1062
1158
|
|
|
1063
1159
|
border-radius: 6px;
|
|
1064
1160
|
}
|
|
1161
|
+
|
|
1065
1162
|
.embla__dot--selected:after {
|
|
1066
1163
|
box-shadow: inset 0 0 0 1px var(--text-body);
|
|
1067
1164
|
border-radius: 6px;
|
|
@@ -1124,6 +1221,7 @@ $defaultValues: (
|
|
|
1124
1221
|
|
|
1125
1222
|
span {
|
|
1126
1223
|
display: flex;
|
|
1224
|
+
|
|
1127
1225
|
svg {
|
|
1128
1226
|
width: calc(
|
|
1129
1227
|
var(
|
|
@@ -1139,6 +1237,7 @@ $defaultValues: (
|
|
|
1139
1237
|
) *
|
|
1140
1238
|
0.5
|
|
1141
1239
|
);
|
|
1240
|
+
|
|
1142
1241
|
path {
|
|
1143
1242
|
stroke: var(
|
|
1144
1243
|
--_ctm-mob-dn-tl-as-aw-cr,
|
|
@@ -1158,11 +1257,13 @@ $defaultValues: (
|
|
|
1158
1257
|
.thumb-prev-button,
|
|
1159
1258
|
.thumb-next-button {
|
|
1160
1259
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
1260
|
+
|
|
1161
1261
|
&:not(:disabled):hover {
|
|
1162
1262
|
@include BgColorLighter(var(--_ctm-dn-tl-as-bd-cr), 5%);
|
|
1163
1263
|
}
|
|
1164
1264
|
}
|
|
1165
1265
|
}
|
|
1266
|
+
|
|
1166
1267
|
// margin: 10px;
|
|
1167
1268
|
// padding: 10px;
|
|
1168
1269
|
|
|
@@ -1177,6 +1278,7 @@ $defaultValues: (
|
|
|
1177
1278
|
|
|
1178
1279
|
overflow: hidden;
|
|
1179
1280
|
}
|
|
1281
|
+
|
|
1180
1282
|
.embla__thumbs__container {
|
|
1181
1283
|
display: flex;
|
|
1182
1284
|
flex-direction: row;
|
|
@@ -1317,17 +1419,22 @@ $defaultValues: (
|
|
|
1317
1419
|
}
|
|
1318
1420
|
|
|
1319
1421
|
.gallery__slide {
|
|
1422
|
+
position: relative;
|
|
1423
|
+
|
|
1320
1424
|
img[data-has-link="true"] {
|
|
1321
1425
|
cursor: pointer;
|
|
1322
1426
|
}
|
|
1427
|
+
|
|
1323
1428
|
img[data-zoom="true"]:is([data-element-type="productDetails"] *) {
|
|
1324
1429
|
cursor: zoom-in;
|
|
1325
1430
|
}
|
|
1431
|
+
|
|
1326
1432
|
width: 100%;
|
|
1327
1433
|
max-width: 100%;
|
|
1328
1434
|
height: 100%;
|
|
1329
1435
|
display: flex;
|
|
1330
1436
|
flex: 0 0 auto;
|
|
1437
|
+
|
|
1331
1438
|
div {
|
|
1332
1439
|
position: relative;
|
|
1333
1440
|
overflow: hidden;
|
|
@@ -1341,17 +1448,27 @@ $defaultValues: (
|
|
|
1341
1448
|
--_ctm-mob-dn-im-se-bd-cr,
|
|
1342
1449
|
var(--_ctm-tab-dn-im-se-bd-cr, var(--_ctm-dn-im-se-bd-cr))
|
|
1343
1450
|
);
|
|
1451
|
+
|
|
1452
|
+
// Item Style > Border / Shadow toggles.
|
|
1453
|
+
&[data-show-border="false"] {
|
|
1454
|
+
--_show-im-border: none;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
&[data-show-shadow="false"] {
|
|
1458
|
+
--_show-im-shadow: none;
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1344
1461
|
border-color: var(
|
|
1345
|
-
--
|
|
1346
|
-
var(--_ctm-tab-dn-im-se-br-cr, var(--_ctm-dn-im-se-br-cr))
|
|
1462
|
+
--_show-im-border,
|
|
1463
|
+
var(--_ctm-mob-dn-im-se-br-cr, var(--_ctm-tab-dn-im-se-br-cr, var(--_ctm-dn-im-se-br-cr)))
|
|
1347
1464
|
);
|
|
1348
1465
|
border-style: var(
|
|
1349
|
-
--
|
|
1350
|
-
var(--_ctm-tab-dn-im-se-br-se, var(--_ctm-dn-im-se-br-se))
|
|
1466
|
+
--_show-im-border,
|
|
1467
|
+
var(--_ctm-mob-dn-im-se-br-se, var(--_ctm-tab-dn-im-se-br-se, var(--_ctm-dn-im-se-br-se)))
|
|
1351
1468
|
);
|
|
1352
1469
|
border-width: var(
|
|
1353
|
-
--
|
|
1354
|
-
var(--_ctm-tab-dn-im-se-br-wh, var(--_ctm-dn-im-se-br-wh))
|
|
1470
|
+
--_show-im-border,
|
|
1471
|
+
var(--_ctm-mob-dn-im-se-br-wh, var(--_ctm-tab-dn-im-se-br-wh, var(--_ctm-dn-im-se-br-wh)))
|
|
1355
1472
|
);
|
|
1356
1473
|
border-radius: var(
|
|
1357
1474
|
--_ctm-mob-dn-im-se-br-rs,
|
|
@@ -1359,7 +1476,7 @@ $defaultValues: (
|
|
|
1359
1476
|
);
|
|
1360
1477
|
|
|
1361
1478
|
box-shadow: var(
|
|
1362
|
-
--_show-shadow,
|
|
1479
|
+
--_show-im-shadow,
|
|
1363
1480
|
var(--_ctm-mob-dn-im-se-sw-ae, var(--_ctm-tab-dn-im-se-sw-ae, var(--_ctm-dn-im-se-sw-ae)))
|
|
1364
1481
|
var(--_ctm-mob-dn-im-se-sw-br, var(--_ctm-tab-dn-im-se-sw-br, var(--_ctm-dn-im-se-sw-br)))
|
|
1365
1482
|
var(--_ctm-mob-dn-im-se-sw-sd, var(--_ctm-tab-dn-im-se-sw-sd, var(--_ctm-dn-im-se-sw-sd)))
|
|
@@ -1370,6 +1487,7 @@ $defaultValues: (
|
|
|
1370
1487
|
--_ctm-mob-dn-im-lt-gy-tt-ad-im-sg,
|
|
1371
1488
|
var(--_ctm-tab-dn-im-lt-gy-tt-ad-im-sg, var(--_ctm-dn-im-lt-gy-tt-ad-im-sg))
|
|
1372
1489
|
);
|
|
1490
|
+
overflow: hidden;
|
|
1373
1491
|
|
|
1374
1492
|
.gallery-header {
|
|
1375
1493
|
display: flex;
|
|
@@ -1507,12 +1625,14 @@ $defaultValues: (
|
|
|
1507
1625
|
img {
|
|
1508
1626
|
// object-fit: contain;
|
|
1509
1627
|
}
|
|
1628
|
+
|
|
1510
1629
|
&[data-text-position="On Image"] {
|
|
1511
1630
|
.gallery-header {
|
|
1512
1631
|
width: 100%;
|
|
1513
1632
|
// height: 100%;
|
|
1514
1633
|
position: absolute;
|
|
1515
1634
|
}
|
|
1635
|
+
|
|
1516
1636
|
a:has(img) {
|
|
1517
1637
|
width: 100%;
|
|
1518
1638
|
}
|
|
@@ -1526,6 +1646,7 @@ $defaultValues: (
|
|
|
1526
1646
|
justify-content: flex-start;
|
|
1527
1647
|
}
|
|
1528
1648
|
}
|
|
1649
|
+
|
|
1529
1650
|
&[data-widget-alignment="center"] {
|
|
1530
1651
|
// align-items: center;
|
|
1531
1652
|
|
|
@@ -1535,6 +1656,7 @@ $defaultValues: (
|
|
|
1535
1656
|
justify-content: center;
|
|
1536
1657
|
}
|
|
1537
1658
|
}
|
|
1659
|
+
|
|
1538
1660
|
&[data-widget-alignment="bottom"] {
|
|
1539
1661
|
// align-items: flex-end;
|
|
1540
1662
|
.gallery-header {
|
|
@@ -1552,6 +1674,7 @@ $defaultValues: (
|
|
|
1552
1674
|
&[data-text-position="bottom"] {
|
|
1553
1675
|
flex-direction: column-reverse;
|
|
1554
1676
|
}
|
|
1677
|
+
|
|
1555
1678
|
&[data-text-position="left"] {
|
|
1556
1679
|
flex-direction: row;
|
|
1557
1680
|
|
|
@@ -1559,6 +1682,7 @@ $defaultValues: (
|
|
|
1559
1682
|
width: fit-content;
|
|
1560
1683
|
height: 100%;
|
|
1561
1684
|
}
|
|
1685
|
+
|
|
1562
1686
|
&[data-widget-alignment="top"] {
|
|
1563
1687
|
align-items: flex-start;
|
|
1564
1688
|
|
|
@@ -1566,6 +1690,7 @@ $defaultValues: (
|
|
|
1566
1690
|
justify-content: flex-start;
|
|
1567
1691
|
}
|
|
1568
1692
|
}
|
|
1693
|
+
|
|
1569
1694
|
&[data-widget-alignment="center"] {
|
|
1570
1695
|
align-items: center;
|
|
1571
1696
|
|
|
@@ -1573,6 +1698,7 @@ $defaultValues: (
|
|
|
1573
1698
|
justify-content: center;
|
|
1574
1699
|
}
|
|
1575
1700
|
}
|
|
1701
|
+
|
|
1576
1702
|
&[data-widget-alignment="bottom"] {
|
|
1577
1703
|
align-items: flex-end;
|
|
1578
1704
|
|
|
@@ -1581,8 +1707,10 @@ $defaultValues: (
|
|
|
1581
1707
|
}
|
|
1582
1708
|
}
|
|
1583
1709
|
}
|
|
1710
|
+
|
|
1584
1711
|
&[data-text-position="right"] {
|
|
1585
1712
|
flex-direction: row-reverse;
|
|
1713
|
+
|
|
1586
1714
|
.gallery-header {
|
|
1587
1715
|
width: fit-content;
|
|
1588
1716
|
height: 100%;
|
|
@@ -1595,6 +1723,7 @@ $defaultValues: (
|
|
|
1595
1723
|
justify-content: flex-start;
|
|
1596
1724
|
}
|
|
1597
1725
|
}
|
|
1726
|
+
|
|
1598
1727
|
&[data-widget-alignment="center"] {
|
|
1599
1728
|
align-items: center;
|
|
1600
1729
|
|
|
@@ -1602,6 +1731,7 @@ $defaultValues: (
|
|
|
1602
1731
|
justify-content: center;
|
|
1603
1732
|
}
|
|
1604
1733
|
}
|
|
1734
|
+
|
|
1605
1735
|
&[data-widget-alignment="bottom"] {
|
|
1606
1736
|
align-items: flex-end;
|
|
1607
1737
|
|
|
@@ -1610,13 +1740,15 @@ $defaultValues: (
|
|
|
1610
1740
|
}
|
|
1611
1741
|
}
|
|
1612
1742
|
}
|
|
1743
|
+
|
|
1613
1744
|
img {
|
|
1614
1745
|
width: 100%;
|
|
1615
1746
|
height: 100%;
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
)
|
|
1747
|
+
overflow: hidden;
|
|
1748
|
+
// border-radius: var(
|
|
1749
|
+
// --_ctm-mob-dn-im-se-br-rs,
|
|
1750
|
+
// var(--_ctm-tab-dn-im-se-br-rs, var(--_ctm-dn-im-se-br-rs))
|
|
1751
|
+
// );
|
|
1620
1752
|
// object-fit: cover;
|
|
1621
1753
|
|
|
1622
1754
|
// object-fit: var(--_ctm-dn-im-se-ot-ft, var(--_tst-dn-im-se-ot-ft));
|
|
@@ -1628,12 +1760,35 @@ $defaultValues: (
|
|
|
1628
1760
|
|
|
1629
1761
|
/* display: block; */
|
|
1630
1762
|
}
|
|
1763
|
+
|
|
1764
|
+
.zoom-icon-overlay {
|
|
1765
|
+
position: absolute !important;
|
|
1766
|
+
top: 12px;
|
|
1767
|
+
left: 12px;
|
|
1768
|
+
z-index: 20;
|
|
1769
|
+
|
|
1770
|
+
width: 40px;
|
|
1771
|
+
height: 40px;
|
|
1772
|
+
|
|
1773
|
+
display: flex;
|
|
1774
|
+
align-items: center;
|
|
1775
|
+
justify-content: center;
|
|
1776
|
+
|
|
1777
|
+
border-radius: 50%;
|
|
1778
|
+
background: rgba(255, 255, 255, 0.9);
|
|
1779
|
+
|
|
1780
|
+
font-size: 20px;
|
|
1781
|
+
pointer-events: none;
|
|
1782
|
+
|
|
1783
|
+
transition: opacity 0.2s ease;
|
|
1784
|
+
}
|
|
1631
1785
|
}
|
|
1632
1786
|
|
|
1633
1787
|
.load__more__div {
|
|
1634
1788
|
display: flex;
|
|
1635
1789
|
justify-content: center;
|
|
1636
1790
|
margin-block: 12px;
|
|
1791
|
+
|
|
1637
1792
|
& > button {
|
|
1638
1793
|
padding-inline: 24px;
|
|
1639
1794
|
border: 1px solid gray;
|
|
@@ -1647,6 +1802,7 @@ $defaultValues: (
|
|
|
1647
1802
|
html:has(.pim__main) {
|
|
1648
1803
|
scrollbar-gutter: stable;
|
|
1649
1804
|
}
|
|
1805
|
+
|
|
1650
1806
|
body:has(.pim__main) {
|
|
1651
1807
|
overflow-y: clip;
|
|
1652
1808
|
}
|
|
@@ -1692,6 +1848,7 @@ body:has(.pim__main) {
|
|
|
1692
1848
|
svg {
|
|
1693
1849
|
width: 18px;
|
|
1694
1850
|
height: 18px;
|
|
1851
|
+
|
|
1695
1852
|
path {
|
|
1696
1853
|
color: #000;
|
|
1697
1854
|
}
|
|
@@ -1710,6 +1867,7 @@ body:has(.pim__main) {
|
|
|
1710
1867
|
img {
|
|
1711
1868
|
max-width: 100%;
|
|
1712
1869
|
}
|
|
1870
|
+
|
|
1713
1871
|
.pim__nav {
|
|
1714
1872
|
position: absolute;
|
|
1715
1873
|
top: 50%;
|
|
@@ -1729,6 +1887,7 @@ body:has(.pim__main) {
|
|
|
1729
1887
|
svg {
|
|
1730
1888
|
width: 16px;
|
|
1731
1889
|
height: 16px;
|
|
1890
|
+
|
|
1732
1891
|
path {
|
|
1733
1892
|
color: #000;
|
|
1734
1893
|
}
|