@sc-360-v2/storefront-cms-library 0.5.51 → 0.5.53

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.
Files changed (50) hide show
  1. package/dist/add-order.scss +62 -13
  2. package/dist/allocationDetails.scss +438 -224
  3. package/dist/allocations.scss +172 -13
  4. package/dist/breadcrumbs.scss +13 -0
  5. package/dist/builder.js +1 -1
  6. package/dist/cart-details.scss +214 -0
  7. package/dist/cart-summary.scss +237 -854
  8. package/dist/cart.scss +57 -55
  9. package/dist/category-groups-product-image.scss +72 -21
  10. package/dist/faq.scss +48 -5
  11. package/dist/hotspot.scss +141 -74
  12. package/dist/icon-library.scss +78 -74
  13. package/dist/icon-list.scss +19 -1
  14. package/dist/image-temp.scss +17 -3
  15. package/dist/language-selector.scss +260 -76
  16. package/dist/light-box-v2.scss +4 -3
  17. package/dist/menu-v2.scss +51 -3
  18. package/dist/modal.scss +251 -28
  19. package/dist/my-templates.scss +11 -2
  20. package/dist/my-wishlist.scss +27 -17
  21. package/dist/product-basic-elements.scss +0 -246
  22. package/dist/product-image-allocation.scss +51 -15
  23. package/dist/product-image-bundles.scss +72 -15
  24. package/dist/product-image.scss +178 -19
  25. package/dist/profile.scss +44 -19
  26. package/dist/quota-details.scss +111 -11
  27. package/dist/repeater-embla-controls.scss +9 -1
  28. package/dist/repeater-grid-toggle.scss +42 -18
  29. package/dist/repeater-item.scss +34 -22
  30. package/dist/repeater.scss +69 -102
  31. package/dist/request-for-quotes.scss +15 -1
  32. package/dist/scroll.scss +52 -11
  33. package/dist/search.scss +1 -1
  34. package/dist/skeleton.scss +24 -35
  35. package/dist/tab-container.scss +14 -12
  36. package/dist/tab-v2.scss +178 -68
  37. package/dist/text-temp-v2.scss +11 -0
  38. package/dist/types/builder/tools/element-edit/allocationDetails.d.ts +17 -1
  39. package/dist/types/builder/tools/element-edit/breadcrumbs.d.ts +0 -5
  40. package/dist/types/builder/tools/element-edit/iconLibrary.d.ts +7 -1
  41. package/dist/types/builder/tools/element-edit/imageHotspot.d.ts +0 -1
  42. package/dist/types/builder/tools/element-edit/language-menu.d.ts +0 -14
  43. package/dist/types/builder/tools/element-edit/product-image.d.ts +1 -0
  44. package/dist/types/builder/tools/element-edit/repeater.d.ts +1 -1
  45. package/dist/types/builder/tools/element-edit/tabsV2.d.ts +55 -1
  46. package/dist/types/builder/tools/element-edit/userElements.d.ts +5 -0
  47. package/dist/types/builder/tools/element-edit/video.d.ts +32 -0
  48. package/dist/user-elements.scss +6 -0
  49. package/dist/video.scss +548 -476
  50. package/package.json +1 -1
package/dist/hotspot.scss CHANGED
@@ -13,6 +13,8 @@ $bm: 30px;
13
13
  // default 30px marker it resolves to 20px, matching the previous flat offset.
14
14
  $g: var(--_sf-tp-gp);
15
15
 
16
+ $overflowSelector: ".flex__overflow";
17
+
16
18
  $resizerOn: "[data-cms-element-resizer='true']";
17
19
  $dndOn: "[data-cms-new-element-dragging-v2='true']";
18
20
  $fullViewOn: '[data-view-state="full"]';
@@ -23,81 +25,105 @@ $fullViewOn: '[data-view-state="full"]';
23
25
  // spans exactly the gap, base on the tooltip edge and apex on the marker edge.
24
26
  $data: (
25
27
  // tooltip to the LEFT — tip on its right edge, pointing right
26
- leftTop: (transform: translate(calc(-100% - #{$g}), calc(-100% + #{$bm})),
27
- icon: (right: -#{$tip},
28
- bottom: calc(#{$bm} - #{$ics}),
29
- border-color: transparent transparent transparent var(--_ctm-dn-tp-dn-bd-cr),
28
+ leftTop: (
29
+ transform: translate(calc(-100% - #{$g}), calc(-100% + #{$bm})),
30
+ icon: (
31
+ right: -#{$tip},
32
+ bottom: calc(#{$bm} - #{$ics}),
33
+ border-color: transparent transparent transparent var(--_ctm-dn-tp-dn-bd-cr),
34
+ ),
30
35
  ),
31
- ),
32
- leftCenter: (transform: translate(calc(-100% - #{$g}), -50%),
33
- icon: (right: -#{$tip},
36
+ leftCenter: (
37
+ transform: translate(calc(-100% - #{$g}), -50%),
38
+ icon: (
39
+ right: -#{$tip},
34
40
  top: calc(50% - #{$ics}),
35
41
  border-color: transparent transparent transparent var(--_ctm-dn-tp-dn-bd-cr),
36
42
  ),
37
43
  ),
38
- leftBottom: (transform: translate(calc(-100% - #{$g}), calc(0% - #{$bm})),
39
- icon: (right: -#{$tip},
44
+ leftBottom: (
45
+ transform: translate(calc(-100% - #{$g}), calc(0% - #{$bm})),
46
+ icon: (
47
+ right: -#{$tip},
40
48
  top: calc(#{$bm} - #{$ics}),
41
49
  border-color: transparent transparent transparent var(--_ctm-dn-tp-dn-bd-cr),
42
50
  ),
43
51
  ),
44
52
  // tooltip ABOVE — tip on its bottom edge, pointing down
45
- topLeft: (transform: translate(calc(-100% + #{$bm}), calc(-100% - #{$g})),
46
- icon: (bottom: -#{$tip},
47
- right: calc(#{$bm} - #{$ics}),
48
- border-color: var(--_ctm-dn-tp-dn-bd-cr) transparent transparent transparent,
53
+ topLeft: (
54
+ transform: translate(calc(-100% + #{$bm}), calc(-100% - #{$g})),
55
+ icon: (
56
+ bottom: -#{$tip},
57
+ right: calc(#{$bm} - #{$ics}),
58
+ border-color: var(--_ctm-dn-tp-dn-bd-cr) transparent transparent transparent,
59
+ ),
49
60
  ),
50
- ),
51
- topCenter: (transform: translate(-50%, calc(-100% - #{$g})),
52
- icon: (bottom: -#{$tip},
61
+ topCenter: (
62
+ transform: translate(-50%, calc(-100% - #{$g})),
63
+ icon: (
64
+ bottom: -#{$tip},
53
65
  left: calc(50% - #{$ics}),
54
66
  border-color: var(--_ctm-dn-tp-dn-bd-cr) transparent transparent transparent,
55
67
  ),
56
68
  ),
57
- topRight: (transform: translate(calc(0% - #{$bm}), calc(-100% - #{$g})),
58
- icon: (bottom: -#{$tip},
69
+ topRight: (
70
+ transform: translate(calc(0% - #{$bm}), calc(-100% - #{$g})),
71
+ icon: (
72
+ bottom: -#{$tip},
59
73
  left: calc(#{$bm} - #{$ics}),
60
74
  border-color: var(--_ctm-dn-tp-dn-bd-cr) transparent transparent transparent,
61
75
  ),
62
76
  ),
63
77
  // tooltip to the RIGHT — tip on its left edge, pointing left
64
- rightTop: (transform: translate(#{$g}, calc(-100% + #{$bm})),
65
- icon: (left: -#{$tip},
66
- bottom: calc(#{$bm} - #{$ics}),
67
- border-color: transparent var(--_ctm-dn-tp-dn-bd-cr) transparent transparent,
78
+ rightTop: (
79
+ transform: translate(#{$g}, calc(-100% + #{$bm})),
80
+ icon: (
81
+ left: -#{$tip},
82
+ bottom: calc(#{$bm} - #{$ics}),
83
+ border-color: transparent var(--_ctm-dn-tp-dn-bd-cr) transparent transparent,
84
+ ),
68
85
  ),
69
- ),
70
- rightCenter: (transform: translate(#{$g}, -50%),
71
- icon: (left: -#{$tip},
86
+ rightCenter: (
87
+ transform: translate(#{$g}, -50%),
88
+ icon: (
89
+ left: -#{$tip},
72
90
  top: calc(50% - #{$ics}),
73
91
  border-color: transparent var(--_ctm-dn-tp-dn-bd-cr) transparent transparent,
74
92
  ),
75
93
  ),
76
- rightBottom: (transform: translate(#{$g}, calc(0% - #{$bm})),
77
- icon: (left: -#{$tip},
94
+ rightBottom: (
95
+ transform: translate(#{$g}, calc(0% - #{$bm})),
96
+ icon: (
97
+ left: -#{$tip},
78
98
  top: calc(#{$bm} - #{$ics}),
79
99
  border-color: transparent var(--_ctm-dn-tp-dn-bd-cr) transparent transparent,
80
100
  ),
81
101
  ),
82
102
  // tooltip BELOW — tip on its top edge, pointing up
83
- bottomLeft: (transform: translate(calc(-100% + #{$bm}), #{$g}),
84
- icon: (top: -#{$tip},
85
- right: calc(#{$bm} - #{$ics}),
86
- border-color: transparent transparent var(--_ctm-dn-tp-dn-bd-cr) transparent,
103
+ bottomLeft: (
104
+ transform: translate(calc(-100% + #{$bm}), #{$g}),
105
+ icon: (
106
+ top: -#{$tip},
107
+ right: calc(#{$bm} - #{$ics}),
108
+ border-color: transparent transparent var(--_ctm-dn-tp-dn-bd-cr) transparent,
109
+ ),
87
110
  ),
88
- ),
89
- bottomCenter: (transform: translate(-50%, #{$g}),
90
- icon: (top: -#{$tip},
111
+ bottomCenter: (
112
+ transform: translate(-50%, #{$g}),
113
+ icon: (
114
+ top: -#{$tip},
91
115
  left: calc(50% - #{$ics}),
92
116
  border-color: transparent transparent var(--_ctm-dn-tp-dn-bd-cr) transparent,
93
117
  ),
94
118
  ),
95
- bottomRight: (transform: translate(calc(0% - #{$bm}), #{$g}),
96
- icon: (top: -#{$tip},
119
+ bottomRight: (
120
+ transform: translate(calc(0% - #{$bm}), #{$g}),
121
+ icon: (
122
+ top: -#{$tip},
97
123
  left: calc(#{$bm} - #{$ics}),
98
124
  border-color: transparent transparent var(--_ctm-dn-tp-dn-bd-cr) transparent,
99
125
  ),
100
- ),
126
+ )
101
127
  );
102
128
 
103
129
  [data-div-type="element"] {
@@ -120,9 +146,7 @@ $data: (
120
146
  @each $prop, $val in $value {
121
147
  @if ($prop !=icon) {
122
148
  #{$prop}: #{$val};
123
- }
124
-
125
- @else {
149
+ } @else {
126
150
  @each $key2, $value2 in $val {
127
151
  &:after {
128
152
  #{$key2}: #{$value2};
@@ -140,8 +164,12 @@ $data: (
140
164
  [data-div-type="element"] {
141
165
  &[data-element-type="imageHotspot"] {
142
166
  // width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
143
- width: var(--_sf-el-wh-st-mx,
144
- calc(1% * var(--_ctm-mob-ele-nw-wh-vl, var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl)))));
167
+ width: var(
168
+ --_sf-el-wh-st-mx,
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
173
  margin: var(--_ctm-lt-mn, --_tst-lt-mn);
146
174
  // height: var(--_ctm-lt-ht, var(--_tst-lt-ht));
147
175
  // aspect-ratio: 1 / var(--_sf-aspect-ratio);
@@ -163,21 +191,19 @@ $data: (
163
191
  }
164
192
  }
165
193
 
166
- &>.wrapper {
194
+ & > .wrapper {
167
195
  width: 100%;
168
196
  position: relative;
169
197
 
170
198
  background-color: prepareMediaVariable(--_ctm-dn-ie-se-bd-cr);
171
199
  padding: prepareMediaVariable(--_ctm-lt-pg, var(--_tst-lt-pg));
172
- 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);
200
+ box-shadow: prepareMediaVariable(--_ctm-dn-ie-se-sw-ae)
201
+ prepareMediaVariable(--_ctm-dn-ie-se-sw-br) prepareMediaVariable(--_ctm-dn-ie-se-sw-sd)
202
+ prepareMediaVariable(--_ctm-dn-ie-se-sw-cr);
173
203
 
174
- &>div {
204
+ & > div {
175
205
  &.hotspot__tooltip {
176
- --_sf-br-vl: {
177
- #prepareMediaVariable(--_ctm-dn-tp-dn-br-rs, 0px)
178
- }
179
-
180
- ;
206
+ --_sf-br-vl: #{prepareMediaVariable(--_ctm-dn-tp-dn-br-rs, 0px)};
181
207
  position: absolute;
182
208
  background: prepareMediaVariable(--_ctm-dn-tp-dn-bd-cr);
183
209
  z-index: 1000;
@@ -201,16 +227,22 @@ $data: (
201
227
  border-style: solid;
202
228
  }
203
229
 
204
-
205
230
  .tooltip__image_with_text {
206
231
  display: flex;
207
232
  // justify-content: center;
208
233
  gap: prepareMediaVariable(--_ctm-dn-tp-dn-im-gp);
209
234
  overflow-y: auto;
210
235
  height: 100%;
236
+ width: 100%;
211
237
 
238
+ // This wrapper fills the tooltip, so the tooltip's own justify/align
239
+ // above can't move it — the alignment has to be applied here, on the
240
+ // container that actually holds the image and the text box. Which axis
241
+ // each maps to flips with the stack direction.
212
242
  &.hrz {
213
243
  flex-direction: row;
244
+ justify-content: prepareMediaVariable(--_ctm-dn-tp-dn-hl-at);
245
+ align-items: prepareMediaVariable(--_ctm-dn-tp-dn-vl-at);
214
246
 
215
247
  .tooltip__image {
216
248
  flex-direction: column;
@@ -219,6 +251,8 @@ $data: (
219
251
 
220
252
  &.vtl {
221
253
  flex-direction: column;
254
+ justify-content: prepareMediaVariable(--_ctm-dn-tp-dn-vl-at);
255
+ align-items: prepareMediaVariable(--_ctm-dn-tp-dn-hl-at);
222
256
 
223
257
  .tooltip__image {
224
258
  flex-direction: row;
@@ -271,6 +305,13 @@ $data: (
271
305
  letter-spacing: prepareMediaVariable(--_ctm-dn-tp-tt-lr-sg);
272
306
  line-height: prepareMediaVariable(--_ctm-dn-tp-tt-le-ht);
273
307
  text-decoration: prepareMediaVariable(--_ctm-dn-tp-tt-ue);
308
+ text-transform: prepareMediaVariable(--_ctm-dn-tp-tt-tt-tm, none);
309
+ word-wrap: prepareMediaVariable(--_ctm-dn-tp-tt-wd-wp, normal);
310
+ word-break: prepareMediaVariable(--_ctm-dn-tp-tt-wd-bk, normal);
311
+
312
+ &#{$overflowSelector} {
313
+ @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
314
+ }
274
315
  }
275
316
 
276
317
  p {
@@ -283,6 +324,13 @@ $data: (
283
324
  letter-spacing: prepareMediaVariable(--_ctm-dn-tp-tt-lr-sg-dc);
284
325
  line-height: prepareMediaVariable(--_ctm-dn-tp-tt-le-ht-dc);
285
326
  text-decoration: prepareMediaVariable(--_ctm-dn-tp-tt-lh-dc);
327
+ text-transform: prepareMediaVariable(--_ctm-dn-tp-tt-tt-tm-dc, none);
328
+ word-wrap: prepareMediaVariable(--_ctm-dn-tp-tt-wd-wp-dc, normal);
329
+ word-break: prepareMediaVariable(--_ctm-dn-tp-tt-wd-bk-dc, normal);
330
+
331
+ &#{$overflowSelector} {
332
+ @include restrictToLinesShow(#{var(--_sf-line-clamp-desc, 1)});
333
+ }
286
334
  }
287
335
  }
288
336
 
@@ -355,8 +403,10 @@ $data: (
355
403
  }
356
404
  }
357
405
 
358
- background-color: var(--_sf-hr-bd-cr,
359
- prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-bd-cr));
406
+ background-color: var(
407
+ --_sf-hr-bd-cr,
408
+ prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-bd-cr)
409
+ );
360
410
 
361
411
  padding: var(--_sf-hr-pg, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-pg));
362
412
  width: var(--_sf-hr-wh, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-wh));
@@ -369,17 +419,26 @@ $data: (
369
419
 
370
420
  border-radius: var(--_sf-hr-br-rs, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-rs));
371
421
 
372
- 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));
422
+ box-shadow: var(--_sf-hr-sw-ae, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-ae))
423
+ var(--_sf-hr-sw-br, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-br))
424
+ var(--_sf-hr-sw-sd, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-sd))
425
+ var(--_sf-hr-sw-cr, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-cr));
373
426
 
374
427
  &[data-show-border="true"] {
375
- border-color: var(--_sf-hr-br-cr,
376
- prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-cr));
377
-
378
- border-style: var(--_sf-hr-br-se,
379
- prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-se));
380
-
381
- border-width: var(--_sf-hr-br-wh,
382
- prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-wh));
428
+ border-color: var(
429
+ --_sf-hr-br-cr,
430
+ prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-cr)
431
+ );
432
+
433
+ border-style: var(
434
+ --_sf-hr-br-se,
435
+ prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-se)
436
+ );
437
+
438
+ border-width: var(
439
+ --_sf-hr-br-wh,
440
+ prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-wh)
441
+ );
383
442
  }
384
443
 
385
444
  .txt {
@@ -393,13 +452,17 @@ $data: (
393
452
 
394
453
  font-weight: var(--_sf-hr-ft-wt, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-ft-wt));
395
454
 
396
- font-style: var(--_sf-hr-ft-se-ic,
397
- prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-ft-se-ic));
455
+ font-style: var(
456
+ --_sf-hr-ft-se-ic,
457
+ prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-ft-se-ic)
458
+ );
398
459
 
399
460
  text-align: var(--_sf-hr-tt-an, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-tt-an));
400
461
 
401
- letter-spacing: var(--_sf-hr-lr-sg,
402
- prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-lr-sg));
462
+ letter-spacing: var(
463
+ --_sf-hr-lr-sg,
464
+ prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-lr-sg)
465
+ );
403
466
 
404
467
  line-height: var(--_sf-hr-le-ht, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-le-ht));
405
468
 
@@ -479,7 +542,6 @@ $data: (
479
542
  // justify-content: prepareMediaVariable(--_ctm-dn-tp-ie-hl-at);
480
543
  // align-items: prepareMediaVariable(--_ctm-dn-tp-ie-vl-at);
481
544
 
482
-
483
545
  // img {
484
546
  // object-fit: prepareMediaVariable(--_ctm-dn-tp-ie-ft-os);
485
547
  // height: -webkit-fill-available;
@@ -537,7 +599,9 @@ $data: (
537
599
 
538
600
  &[data-hotspot-tooltip-style-show-shadow="true"] {
539
601
  .hotspot__tooltip {
540
- 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);
602
+ box-shadow: prepareMediaVariable(--_ctm-dn-tp-dn-sw-ae)
603
+ prepareMediaVariable(--_ctm-dn-tp-dn-sw-br) prepareMediaVariable(--_ctm-dn-tp-dn-sw-sd)
604
+ prepareMediaVariable(--_ctm-dn-tp-dn-sw-cr);
541
605
  }
542
606
  }
543
607
 
@@ -552,21 +616,24 @@ $data: (
552
616
 
553
617
  &[data-hotspot-tooltip-image-style-show-shadow="true"] {
554
618
  .tooltip__image {
555
- box-shadow: var(--_show-shadow,
556
- 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));
619
+ box-shadow: var(
620
+ --_show-shadow,
621
+ prepareMediaVariable(--_ctm-dn-tp-ie-sw-ae) prepareMediaVariable(--_ctm-dn-tp-ie-sw-br)
622
+ prepareMediaVariable(--_ctm-dn-tp-ie-sw-sd) prepareMediaVariable(--_ctm-dn-tp-ie-sw-cr)
623
+ );
557
624
  }
558
625
  }
559
626
 
560
627
  &[data-hotspot-style-show-shadow="true"] {
561
-
562
628
  .hotspot,
563
629
  .hotspot__icon {
564
- 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);
630
+ box-shadow: prepareMediaVariable(--_ctm-dn-ht-se-sw-ae)
631
+ prepareMediaVariable(--_ctm-dn-ht-se-sw-br) prepareMediaVariable(--_ctm-dn-ht-se-sw-sd)
632
+ prepareMediaVariable(--_ctm-dn-ht-se-sw-cr);
565
633
  }
566
634
  }
567
635
 
568
636
  &[data-hotspot-style-show-border="true"] {
569
-
570
637
  .hotspot,
571
638
  .hotspot__icon {
572
639
  border-style: prepareMediaVariable(--_ctm-dn-ht-se-br-se);
@@ -705,4 +772,4 @@ $data: (
705
772
  }
706
773
  }
707
774
  }
708
- }
775
+ }
@@ -1,74 +1,78 @@
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(
10
- --_sf-el-wh-st-mx,
11
- calc(
12
- 1% *
13
- var(
14
- --_ctm-mob-ele-nw-wh-vl,
15
- var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh)))
16
- )
17
- )
18
- );
19
- margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
20
- // height: var(--_ctm-lt-ht, --_tst-lt-ht);
21
-
22
- & > .wrapper {
23
- width: 100%;
24
- height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) !important;
25
- }
26
- &[data-widget-border="true"] .icon__container {
27
- border-color: var(--_ctm-mob-dn-br-cr, var(--_ctm-tab-dn-br-cr, var(--_ctm-dn-br-cr)));
28
- border-style: var(--_ctm-mob-dn-br-se, var(--_ctm-tab-dn-br-se, var(--_ctm-dn-br-se)));
29
- border-width: var(--_ctm-mob-dn-br-wh, var(--_ctm-tab-dn-br-wh, var(--_ctm-dn-br-wh)));
30
- }
31
-
32
- &[data-widget-shadow="true"] .icon__container {
33
- box-shadow: var(--_ctm-mob-dn-sw-ae, var(--_ctm-tab-dn-sw-ae, var(--_ctm-dn-sw-ae)))
34
- var(--_ctm-mob-dn-sw-br, var(--_ctm-tab-dn-sw-br, var(--_ctm-dn-sw-br)))
35
- var(--_ctm-mob-dn-sw-sd, var(--_ctm-tab-dn-sw-sd, var(--_ctm-dn-sw-sd)))
36
- var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr)));
37
- }
38
-
39
- &[data-widget-shadow="false"] .icon__container {
40
- box-shadow: none;
41
- }
42
-
43
- .icon__container {
44
- display: flex;
45
- justify-content: center;
46
- align-items: center;
47
- width: 100%;
48
- height: 100%;
49
- padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
50
- background-color: var(--_ctm-mob-dn-bd-cr, var(--_ctm-tab-dn-bd-cr, var(--_ctm-dn-bd-cr)));
51
- border-radius: var(--_ctm-mob-dn-br-rs, var(--_ctm-tab-dn-br-rs, var(--_ctm-dn-br-rs)));
52
-
53
- .icon {
54
- display: inline-flex;
55
- justify-content: center;
56
- align-items: center;
57
-
58
- width: var(--_ctm-mob-dn-in-se, var(--_ctm-tab-dn-in-se, var(--_ctm-dn-in-se)));
59
- height: var(--_ctm-mob-dn-in-se, var(--_ctm-tab-dn-in-se, var(--_ctm-dn-in-se)));
60
-
61
- svg {
62
- width: 100%;
63
- height: 100%;
64
- path {
65
- stroke: var(
66
- --_ctm-mob-dn-in-c1,
67
- var(--_ctm-tab-dn-in-c1, var(--_ctm-dn-in-c1))
68
- ) !important;
69
- }
70
- }
71
- }
72
- }
73
- }
74
- }
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(
10
+ --_sf-el-wh-st-mx,
11
+ calc(
12
+ 1% *
13
+ var(
14
+ --_ctm-mob-ele-nw-wh-vl,
15
+ var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh)))
16
+ )
17
+ )
18
+ );
19
+ margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
20
+ // height: var(--_ctm-lt-ht, --_tst-lt-ht);
21
+
22
+ & > .wrapper {
23
+ width: 100%;
24
+ height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) !important;
25
+ }
26
+ &[data-widget-border="true"] .icon__container {
27
+ border-color: var(--_ctm-mob-dn-br-cr, var(--_ctm-tab-dn-br-cr, var(--_ctm-dn-br-cr)));
28
+ border-style: var(--_ctm-mob-dn-br-se, var(--_ctm-tab-dn-br-se, var(--_ctm-dn-br-se)));
29
+ border-width: var(--_ctm-mob-dn-br-wh, var(--_ctm-tab-dn-br-wh, var(--_ctm-dn-br-wh)));
30
+ }
31
+
32
+ &[data-widget-shadow="true"] .icon__container {
33
+ box-shadow: var(--_ctm-mob-dn-sw-ae, var(--_ctm-tab-dn-sw-ae, var(--_ctm-dn-sw-ae)))
34
+ var(--_ctm-mob-dn-sw-br, var(--_ctm-tab-dn-sw-br, var(--_ctm-dn-sw-br)))
35
+ var(--_ctm-mob-dn-sw-sd, var(--_ctm-tab-dn-sw-sd, var(--_ctm-dn-sw-sd)))
36
+ var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr)));
37
+ }
38
+
39
+ &[data-widget-shadow="false"] .icon__container {
40
+ box-shadow: none;
41
+ }
42
+
43
+ .icon__container {
44
+ display: flex;
45
+ justify-content: center;
46
+ align-items: center;
47
+ width: 100%;
48
+ height: 100%;
49
+ padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
50
+ background-color: var(--_ctm-mob-dn-bd-cr, var(--_ctm-tab-dn-bd-cr, var(--_ctm-dn-bd-cr)));
51
+ border-radius: var(--_ctm-mob-dn-br-rs, var(--_ctm-tab-dn-br-rs, var(--_ctm-dn-br-rs)));
52
+
53
+ .icon {
54
+ display: inline-flex;
55
+ justify-content: center;
56
+ align-items: center;
57
+
58
+ width: var(--_ctm-mob-dn-in-se, var(--_ctm-tab-dn-in-se, var(--_ctm-dn-in-se)));
59
+ height: var(--_ctm-mob-dn-in-se, var(--_ctm-tab-dn-in-se, var(--_ctm-dn-in-se)));
60
+
61
+ svg {
62
+ width: 100%;
63
+ height: 100%;
64
+ path {
65
+ stroke: var(
66
+ --_ctm-mob-dn-in-c1,
67
+ var(--_ctm-tab-dn-in-c1, var(--_ctm-dn-in-c1))
68
+ ) !important;
69
+ // Overrides the stroke-width presentation attribute baked into each icon's
70
+ // markup. A plain declaration is enough — presentation attributes lose to
71
+ // any CSS rule — so no !important is needed here.
72
+ stroke-width: var(--_ctm-mob-dn-se-wh, var(--_ctm-tab-dn-se-wh, var(--_ctm-dn-se-wh)));
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
@@ -7,6 +7,7 @@ $icon: "flex__ili_span_icn";
7
7
  $text: "flex__ili_span_txt";
8
8
  $textContaner: "flex__ili__container";
9
9
  $desc: "flex__ili__description";
10
+ $overflowSelector: ".flex__overflow";
10
11
  $pos2: (
11
12
  hrz: (
12
13
  keys: (
@@ -57,6 +58,7 @@ $pos2: (
57
58
  ),
58
59
  ),
59
60
  );
61
+
60
62
  [data-div-type="element"] {
61
63
  &[data-element-type="icon-list"] {
62
64
  & > .wrapper {
@@ -75,6 +77,7 @@ $pos2: (
75
77
  flex-wrap: prepareMediaVariable(--_ctm-lt-fx-wp);
76
78
  --_ctm-custom-lt-im-gp: #{prepareMediaVariable(--_ctm-lt-cn-gp, 0px)};
77
79
  }
80
+
78
81
  &.vtl {
79
82
  flex-direction: column;
80
83
  justify-content: prepareMediaVariable(--_ctm-lt-an-is);
@@ -87,6 +90,7 @@ $pos2: (
87
90
  border-style: prepareMediaVariable(--_ctm-dn-lt-br-se);
88
91
  border-width: prepareMediaVariable(--_ctm-dn-lt-br-wh);
89
92
  }
93
+
90
94
  border-radius: prepareMediaVariable(--_ctm-dn-lt-br-rs);
91
95
  background-color: prepareMediaVariable(--_ctm-dn-lt-bd-cr);
92
96
 
@@ -103,7 +107,7 @@ $pos2: (
103
107
  position: var(--_p-relative);
104
108
 
105
109
  @each $key, $value in $pos2 {
106
- $isVertical: $key == vtl;
110
+ $isVertical: $key ==vtl;
107
111
  $keys: map.get($value, keys);
108
112
  $afterKeys: map.get($keys, after);
109
113
  $afterPos: map.get($value, after);
@@ -134,6 +138,7 @@ $pos2: (
134
138
  }
135
139
  }
136
140
  }
141
+
137
142
  &::after {
138
143
  content: "";
139
144
  position: var(--_p-absolute);
@@ -192,6 +197,7 @@ $pos2: (
192
197
  align-self: prepareMediaVariable(--_ctm-dn-tt-cr-vl-at);
193
198
  padding: prepareMediaVariable(--_ctm-dn-tt-cr-pg);
194
199
  row-gap: prepareMediaVariable(--_ctm-dn-tt-cr-im-gp, 0px);
200
+
195
201
  &[data-show-divider="true"] {
196
202
  // margin-inline-start: calc(
197
203
  // #{prepareMediaVariable(--_ctm-dn-lt-lt-gp)} +
@@ -205,6 +211,7 @@ $pos2: (
205
211
  )
206
212
  );
207
213
  position: relative;
214
+
208
215
  @each $key, $value in map.get(map.get($pos2, hrz), after) {
209
216
  &[data-divider-pos="#{$key}"] {
210
217
  &::before {
@@ -214,6 +221,7 @@ $pos2: (
214
221
  }
215
222
  }
216
223
  }
224
+
217
225
  &::before {
218
226
  content: "";
219
227
  background: prepareMediaVariable(--_ctm-dn-tt-cr-dr-cr);
@@ -239,6 +247,7 @@ $pos2: (
239
247
  border-radius: prepareMediaVariable(--_ctm-dn-tt-cr-dr-br-rs);
240
248
  }
241
249
  }
250
+
242
251
  & > .#{$text} {
243
252
  &,
244
253
  * {
@@ -258,6 +267,10 @@ $pos2: (
258
267
  word-wrap: var(--_txt-ht-wd-wp, prepareMediaVariable(--_ctm-dn-tt-dt-se-wd-wp));
259
268
  word-break: var(--_txt-ht-wd-bk, prepareMediaVariable(--_ctm-dn-tt-dt-se-wd-bk));
260
269
  }
270
+
271
+ &#{$overflowSelector} {
272
+ @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
273
+ }
261
274
  }
262
275
 
263
276
  & > .#{$desc} {
@@ -276,7 +289,12 @@ $pos2: (
276
289
  word-wrap: #{prepareMediaVariable(--_ctm-dn-dn-wd-wp)};
277
290
  word-break: #{prepareMediaVariable(--_ctm-dn-dn-wd-bk)};
278
291
  }
292
+
293
+ &#{$overflowSelector} {
294
+ @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
295
+ }
279
296
  }
297
+
280
298
  a {
281
299
  color: inherit;
282
300
  text-decoration: none;