@sc-360-v2/storefront-cms-library 0.5.73 → 0.5.75

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 (141) hide show
  1. package/dist/add-existing-form.scss +5 -13
  2. package/dist/add-order.scss +236 -126
  3. package/dist/add-products-tab-details.scss +2097 -1048
  4. package/dist/add-products-tab.scss +1204 -666
  5. package/dist/allocation-header-quota-details.scss +407 -189
  6. package/dist/allocationDetails.scss +2143 -1661
  7. package/dist/allocations-quota-details.scss +323 -159
  8. package/dist/allocations.scss +793 -475
  9. package/dist/amount-estimator.scss +743 -405
  10. package/dist/badge.scss +18 -43
  11. package/dist/brand-basic-elements.scss +124 -76
  12. package/dist/brand.scss +55 -28
  13. package/dist/breadcrumbs.scss +718 -356
  14. package/dist/builder.js +1 -1
  15. package/dist/builderLite.js +1 -1
  16. package/dist/bulk-variant-picker.scss +2027 -1128
  17. package/dist/bundle.scss +1477 -841
  18. package/dist/bundleDetails.scss +5072 -3774
  19. package/dist/button.scss +103 -79
  20. package/dist/buy-for-tab-container.scss +106 -77
  21. package/dist/buyForHeaders.scss +2976 -1722
  22. package/dist/cart-details.scss +1012 -481
  23. package/dist/cart-summary.scss +1149 -557
  24. package/dist/cart-wrapper.scss +79 -37
  25. package/dist/cart.scss +225 -117
  26. package/dist/cartAttributes.scss +735 -416
  27. package/dist/category-groups-element.scss +108 -127
  28. package/dist/category-groups-product-grid.scss +147 -120
  29. package/dist/category-groups-product-image.scss +1457 -1162
  30. package/dist/category-groups-product-options.scss +680 -613
  31. package/dist/category-groups-product-price.scss +3244 -1966
  32. package/dist/category-groups-quota-details.scss +464 -210
  33. package/dist/category.scss +50 -26
  34. package/dist/checkout.scss +16 -24
  35. package/dist/confirm-modal.scss +2 -22
  36. package/dist/container.scss +54 -32
  37. package/dist/countdown.scss +443 -255
  38. package/dist/coupon.scss +710 -351
  39. package/dist/default-dropdown.scss +1 -12
  40. package/dist/embroider-template-1-v2.scss +172 -123
  41. package/dist/embroider-template-1.scss +104 -68
  42. package/dist/embroidery.scss +31 -30
  43. package/dist/employee-bulk-order.scss +142 -418
  44. package/dist/faq.scss +408 -228
  45. package/dist/filter-results.scss +265 -125
  46. package/dist/filters.scss +1797 -900
  47. package/dist/gallery-slider-temp.scss +750 -432
  48. package/dist/global-styles.scss +7 -23
  49. package/dist/grid.scss +33 -25
  50. package/dist/hotspot.scss +115 -68
  51. package/dist/icons-builder.js +1 -1
  52. package/dist/icons-website.js +1 -1
  53. package/dist/icons.js +1 -1
  54. package/dist/image-temp.scss +20 -21
  55. package/dist/index.js +1 -1
  56. package/dist/item-stock.scss +16 -9
  57. package/dist/kitDetails.scss +4301 -2721
  58. package/dist/kits.scss +19 -24
  59. package/dist/language-selector.scss +361 -211
  60. package/dist/last-x-orders.scss +174 -95
  61. package/dist/layouter-item.scss +103 -75
  62. package/dist/layouter-pro-item.scss +95 -89
  63. package/dist/layouter-pro.scss +92 -87
  64. package/dist/layouter.scss +445 -383
  65. package/dist/light-box-v2.scss +104 -89
  66. package/dist/login.scss +566 -287
  67. package/dist/map.scss +368 -221
  68. package/dist/marchandiserSets.scss +104 -95
  69. package/dist/mega-menu-container.scss +109 -96
  70. package/dist/mega-menu.scss +731 -624
  71. package/dist/menu-item.scss +2 -2
  72. package/dist/menu-v2.scss +619 -507
  73. package/dist/multi-select-dropdown.scss +3 -27
  74. package/dist/my-templates.scss +9 -38
  75. package/dist/option-bar.scss +375 -215
  76. package/dist/option-families.scss +252 -0
  77. package/dist/order-status.scss +1117 -646
  78. package/dist/overflow-module.scss +7 -6
  79. package/dist/past-orders.scss +149 -118
  80. package/dist/payment-methods.scss +30 -46
  81. package/dist/pickup-locations.scss +1118 -558
  82. package/dist/position-module.scss +17 -20
  83. package/dist/prefix-list.scss +10 -21
  84. package/dist/product-actions.scss +2425 -1625
  85. package/dist/product-basic-elements.scss +169 -108
  86. package/dist/product-highlights.scss +152 -107
  87. package/dist/product-image-bundles.scss +642 -337
  88. package/dist/product-inventory.scss +1357 -673
  89. package/dist/product-labels.scss +105 -84
  90. package/dist/product-options.scss +1274 -1117
  91. package/dist/product-price.scss +2561 -1283
  92. package/dist/product-promotions.scss +2830 -1388
  93. package/dist/product-sizechart.scss +905 -516
  94. package/dist/product.scss +61 -28
  95. package/dist/productDetails.scss +39 -19
  96. package/dist/profile.scss +447 -207
  97. package/dist/quantity-selector.scss +550 -313
  98. package/dist/quick-inventory-check.scss +174 -95
  99. package/dist/quick-links.scss +133 -55
  100. package/dist/quick-order-pad.scss +271 -218
  101. package/dist/quota-details.scss +282 -152
  102. package/dist/quotes.scss +122 -89
  103. package/dist/repeater-embla-controls.scss +15 -35
  104. package/dist/repeater-grid-toggle.scss +166 -156
  105. package/dist/repeater-item.scss +64 -41
  106. package/dist/repeater.scss +814 -671
  107. package/dist/request-for-quotes.scss +16 -66
  108. package/dist/responsive-behaviour.scss +1 -3
  109. package/dist/rfqs.scss +181 -118
  110. package/dist/scroll.scss +172 -93
  111. package/dist/search.scss +326 -179
  112. package/dist/section.scss +51 -27
  113. package/dist/shipping-payments.scss +58 -198
  114. package/dist/simple-list.scss +164 -74
  115. package/dist/social.scss +145 -80
  116. package/dist/sort.scss +19 -11
  117. package/dist/stack.scss +34 -23
  118. package/dist/static-global.scss +26 -44
  119. package/dist/stockStatus.scss +19 -11
  120. package/dist/store-locations.scss +1105 -577
  121. package/dist/tab-container.scss +108 -81
  122. package/dist/table-common.scss +408 -217
  123. package/dist/table.scss +502 -271
  124. package/dist/text-temp.scss +7 -8
  125. package/dist/theme-classes.scss +13 -17
  126. package/dist/types/builder/enums/data-connectors.d.ts +3 -1
  127. package/dist/types/builder/enums/index.d.ts +3 -1
  128. package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
  129. package/dist/types/builder/tools/element-edit/optionFamilies.d.ts +20 -0
  130. package/dist/types/builder/tools/element-edit/productActions.d.ts +3 -0
  131. package/dist/types/website/constants/data-connector-souces.d.ts +40 -8
  132. package/dist/types/website/constants/data-connectors.d.ts +12 -1
  133. package/dist/types/website/helper/ssr-functions.d.ts +8 -0
  134. package/dist/uom-selector.scss +949 -489
  135. package/dist/uploadMedia.js +1 -1
  136. package/dist/user-elements.scss +837 -529
  137. package/dist/variant-picker.scss +2555 -1281
  138. package/dist/volume-pricing.scss +1037 -541
  139. package/dist/website.js +1 -1
  140. package/dist/widget.scss +1 -0
  141. package/package.json +1 -1
@@ -4,426 +4,488 @@
4
4
  @use "./repeater-embla-controls.scss" as *;
5
5
  $childItemSelector: '[data-element-type="layouter-item"]';
6
6
  $sliderControlDragging: "[flex-slider-control-moving='true']";
7
-
8
7
  [data-div-type="element"] {
9
8
  &[data-element-type="layouter"] {
10
9
  // width: var(--_sf-con-nw-wh);
11
10
  // width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
12
- width: calc(1% * var(--_ctm-mob-lay-ele-nw-wh-vl,
13
- var(--_ctm-tab-lay-ele-nw-wh-vl, var(--_ctm-lay-ele-nw-wh-vl, auto))));
11
+ width: calc(
12
+ 1% *
13
+ var(
14
+ --_ctm-mob-lay-ele-nw-wh-vl,
15
+ var(--_ctm-tab-lay-ele-nw-wh-vl, var(--_ctm-lay-ele-nw-wh-vl, auto))
16
+ )
17
+ );
14
18
  // width: 100%;
15
19
  // height: var(--_ctm-con-lt-ht);
16
- margin: var(--_ctm-mob-lay-lt-mn,
17
- var(--_ctm-tab-lay-lt-mn, var(--_ctm-lay-lt-mn, var(--_ctm-lt-mn, var(--_tst-lt-mn)))));
20
+ margin: var(
21
+ --_ctm-mob-lay-lt-mn,
22
+ var(--_ctm-tab-lay-lt-mn, var(--_ctm-lay-lt-mn, var(--_ctm-lt-mn, var(--_tst-lt-mn))))
23
+ );
18
24
 
19
25
  // Widget Style (design.widgetStyle). The `wt-se` segment arrived when these moved
20
26
  // off the Design tab root into their own accordion; the plain `dn-` name is kept as
21
27
  // the fallback so pages published before the move keep their background, border,
22
28
  // radius and shadow.
23
29
  &[data-background-type="color"] {
24
- background-color: prepareMediaVariable(--_ctm-lay-dn-wt-se-bd-cr,
25
- prepareMediaVariable(--_ctm-lay-dn-bd-cr));
30
+ background-color: prepareMediaVariable(
31
+ --_ctm-lay-dn-wt-se-bd-cr,
32
+ prepareMediaVariable(--_ctm-lay-dn-bd-cr)
33
+ );
26
34
  }
27
35
 
28
36
  &[data-background-type="gradient"] {
29
- --_sf-lay-gradient-angle: calc(#{prepareMediaVariable(
30
- --_ctm-lay-dn-wt-se-gt-ae,
31
- prepareMediaVariable(--_ctm-lay-dn-gt-ae, 90))
32
- }
33
-
34
- * 1deg);
35
- --_sf-lay-gradient-start-color: #{prepareMediaVariable(
36
- --_ctm-lay-dn-wt-se-gt-st-cr,
37
- prepareMediaVariable(--_ctm-lay-dn-gt-st-cr, transparent))
38
- }
39
-
40
- ;
41
- --_sf-lay-gradient-start-position: calc(#{prepareMediaVariable(
42
- --_ctm-lay-dn-wt-se-gt-st-pn,
43
- prepareMediaVariable(--_ctm-lay-dn-gt-st-pn, 0))
44
- }
45
-
46
- * 1%);
47
- --_sf-lay-gradient-end-color: #{prepareMediaVariable(
48
- --_ctm-lay-dn-wt-se-gt-ed-cr,
49
- prepareMediaVariable(--_ctm-lay-dn-gt-ed-cr, transparent))
50
- }
51
-
52
- ;
53
- --_sf-lay-gradient-end-position: calc(#{prepareMediaVariable(
54
- --_ctm-lay-dn-wt-se-gt-ed-pn,
55
- prepareMediaVariable(--_ctm-lay-dn-gt-ed-pn, 100))
56
- }
57
-
58
- * 1%);
59
- --_sf-lay-gradient-position: #{prepareMediaVariable(
60
- --_ctm-lay-dn-wt-se-gt-pn,
61
- prepareMediaVariable(--_ctm-lay-dn-gt-pn, center))
62
- }
63
-
64
- ;
65
-
66
- &[data-gradient-type="Linear Gradient"] {
67
- background-image: linear-gradient(var(--_sf-lay-gradient-angle),
68
- var(--_sf-lay-gradient-start-color) var(--_sf-lay-gradient-start-position),
69
- var(--_sf-lay-gradient-end-color) var(--_sf-lay-gradient-end-position));
70
- }
71
-
72
- &[data-gradient-type="Radial Gradient"] {
73
- background-image: radial-gradient(circle at var(--_sf-lay-gradient-position),
74
- var(--_sf-lay-gradient-start-color) var(--_sf-lay-gradient-start-position),
75
- var(--_sf-lay-gradient-end-color) var(--_sf-lay-gradient-end-position));
76
- }
77
- }
78
-
79
- &[data-background-type="image"] {
80
- background-image: prepareMediaVariable(--_ctm-lay-dn-wt-se-bd-ie,
81
- prepareMediaVariable(--_ctm-lay-dn-bd-ie));
82
- background-attachment: prepareMediaVariable(--_ctm-lay-dn-wt-se-bd-at,
83
- prepareMediaVariable(--_ctm-lay-dn-bd-at));
84
- background-position: prepareMediaVariable(--_ctm-lay-dn-wt-se-bd-pn,
85
- prepareMediaVariable(--_ctm-lay-dn-bd-pn));
86
- background-position-y: prepareMediaVariable(--_ctm-lay-dn-wt-se-bd-pn-y,
87
- prepareMediaVariable(--_ctm-lay-dn-bd-pn-y));
88
- background-repeat: prepareMediaVariable(--_ctm-lay-dn-wt-se-bd-rt,
89
- prepareMediaVariable(--_ctm-lay-dn-bd-rt));
90
- background-size: prepareMediaVariable(--_ctm-lay-dn-wt-se-bd-se,
91
- prepareMediaVariable(--_ctm-lay-dn-bd-se));
92
- }
93
-
94
- // background-color: var(
95
- // --_ctm-mob-lay-dn-bd-cr,
96
- // var(--_ctm-tab-lay-dn-bd-cr, var(--_ctm-lay-dn-bd-cr))
97
- // );
98
- // background-image: var(
99
- // --_ctm-mob-lay-dn-bd-ie,
100
- // var(--_ctm-tab-lay-dn-bd-ie, var(--_ctm-lay-dn-bd-ie))
101
- // );
102
- // background-attachment: var(
103
- // --_ctm-mob-lay-dn-bd-at,
104
- // var(--_ctm-tab-lay-dn-bd-at, var(--_ctm-lay-dn-bd-at))
105
- // );
106
- // background-position: var(
107
- // --_ctm-mob-lay-dn-bd-pn,
108
- // var(--_ctm-tab-lay-dn-bd-pn, var(--_ctm-lay-dn-bd-pn))
109
- // );
110
- // background-repeat: var(
111
- // --_ctm-mob-lay-dn-bd-rt,
112
- // var(--_ctm-tab-lay-dn-bd-rt, var(--_ctm-lay-dn-bd-rt))
113
- // );
114
- // background-size: var(
115
- // --_ctm-mob-lay-dn-bd-se,
116
- // var(--_ctm-tab-lay-dn-bd-se, var(--_ctm-lay-dn-bd-se))
117
- // );
118
- border-radius: prepareMediaVariable(--_ctm-lay-dn-wt-se-br-rs,
119
- prepareMediaVariable(--_ctm-lay-dn-br-rs));
120
- border-color: prepareMediaVariable(--_ctm-lay-dn-wt-se-br-cr,
121
- prepareMediaVariable(--_ctm-lay-dn-br-cr));
122
- border-style: prepareMediaVariable(--_ctm-lay-dn-wt-se-br-se,
123
- prepareMediaVariable(--_ctm-lay-dn-br-se));
124
- border-width: prepareMediaVariable(--_ctm-lay-dn-wt-se-br-wh,
125
- prepareMediaVariable(--_ctm-lay-dn-br-wh));
126
- box-shadow: var(--_hover-show-shadow,
127
- var(--_sf-hr-bx-sw,
128
- var(--_show-shadow,
129
- prepareMediaVariable(--_ctm-lay-dn-wt-se-sw-ae, prepareMediaVariable(--_ctm-lay-dn-sw-ae)) prepareMediaVariable(--_ctm-lay-dn-wt-se-sw-br,
130
- prepareMediaVariable(--_ctm-lay-dn-sw-br)) prepareMediaVariable(--_ctm-lay-dn-wt-se-sw-sd,
131
- prepareMediaVariable(--_ctm-lay-dn-sw-sd)) prepareMediaVariable(--_ctm-lay-dn-wt-se-sw-cr,
132
- prepareMediaVariable(--_ctm-lay-dn-sw-cr)))));
133
- padding: var(--_ctm-mob-lay-lt-pg, var(--_ctm-tab-lay-lt-pg, var(--_ctm-lay-lt-pg)));
134
-
135
- --_sf-ic-sz-nn: var(--_ctm-mob-lay-lt-aw-in-se,
136
- var(--_ctm-tab-lay-lt-aw-in-se, var(--_ctm-lay-lt-aw-in-se, 40px)));
137
-
138
- --_sf-ed-vl-sz: var(--_ctm-mob-lay-lt-dt-se,
139
- var(--_ctm-tab-lay-lt-dt-se, var(--_ctm-lay-lt-dt-se, 10px)));
140
-
141
- &.grd {
142
- &>div {
143
- &.wrapper {
144
- width: 100%;
145
- display: grid;
146
- grid-template-columns: repeat(auto-fit,
147
- minmax(var(--_ctm-mob-lay-lt-mn-cn-wh,
148
- var(--_ctm-tab-lay-lt-mn-cn-wh, var(--_ctm-lay-lt-mn-cn-wh))),
149
- 1fr));
150
- grid-template-rows: repeat(auto-fit,
151
- minmax(var(--_ctm-mob-lay-lt-mn-rw-ht,
152
- var(--_ctm-tab-lay-lt-mn-rw-ht, var(--_ctm-lay-lt-mn-rw-ht))),
153
- 1fr));
154
-
155
- justify-content: prepareMediaVariable(--_ctm-lay-lt-jy-ct);
156
- align-items: prepareMediaVariable(--_ctm-lay-lt-an-is);
157
-
158
- div {
159
- &#{$childItemSelector} {
160
- width: 100%;
161
- }
37
+ --_sf-lay-gradient-angle: calc(
38
+ #{prepareMediaVariable(
39
+ --_ctm-lay-dn-wt-se-gt-ae,
40
+ prepareMediaVariable(--_ctm-lay-dn-gt-ae, 90)
41
+ )} *
42
+ 1deg
43
+ );
44
+ --_sf-lay-gradient-start-color: #{prepareMediaVariable(
45
+ --_ctm-lay-dn-wt-se-gt-st-cr,
46
+ prepareMediaVariable(--_ctm-lay-dn-gt-st-cr, transparent)
47
+ )};
48
+ --_sf-lay-gradient-start-position: calc(
49
+ #{prepareMediaVariable(
50
+ --_ctm-lay-dn-wt-se-gt-st-pn,
51
+ prepareMediaVariable(--_ctm-lay-dn-gt-st-pn, 0)
52
+ )} *
53
+ 1%
54
+ );
55
+ --_sf-lay-gradient-end-color: #{prepareMediaVariable(
56
+ --_ctm-lay-dn-wt-se-gt-ed-cr,
57
+ prepareMediaVariable(--_ctm-lay-dn-gt-ed-cr, transparent)
58
+ )};
59
+ --_sf-lay-gradient-end-position: calc(
60
+ #{prepareMediaVariable(
61
+ --_ctm-lay-dn-wt-se-gt-ed-pn,
62
+ prepareMediaVariable(--_ctm-lay-dn-gt-ed-pn, 100)
63
+ )} *
64
+ 1%
65
+ );
66
+ --_sf-lay-gradient-position: #{prepareMediaVariable(
67
+ --_ctm-lay-dn-wt-se-gt-pn,
68
+ prepareMediaVariable(--_ctm-lay-dn-gt-pn, center)
69
+ )};
70
+
71
+ &[data-gradient-type="Linear Gradient"] {
72
+ background-image: linear-gradient(
73
+ var(--_sf-lay-gradient-angle),
74
+ var(--_sf-lay-gradient-start-color) var(--_sf-lay-gradient-start-position),
75
+ var(--_sf-lay-gradient-end-color) var(--_sf-lay-gradient-end-position)
76
+ );
162
77
  }
163
78
 
164
- @media only screen and (max-width: 767px) {
165
- grid-template-rows: auto;
79
+ &[data-gradient-type="Radial Gradient"] {
80
+ background-image: radial-gradient(
81
+ circle at var(--_sf-lay-gradient-position),
82
+ var(--_sf-lay-gradient-start-color) var(--_sf-lay-gradient-start-position),
83
+ var(--_sf-lay-gradient-end-color) var(--_sf-lay-gradient-end-position)
84
+ );
166
85
  }
167
86
  }
168
- }
169
- }
170
-
171
- &.sld {
172
- &:is(:not(#{$sliderControlDragging} *)) {
173
- overflow: clip;
174
- }
175
-
176
- // overflow: clip;
177
- height: auto;
178
- min-height: 50px !important;
179
- --_sf-sl-ct-ic-dt-at-cl: var(--_ctm-mob-lay-lt-cl-ae-cr,
180
- var(--_ctm-tab-lay-lt-cl-ae-cr, var(--_ctm-lay-lt-cl-ae-cr)));
181
-
182
- // Design > Pagination Dots. Dot Size replaces the layout tab's Dot Size the
183
- // same way Arrow Size replaces Arrow Icon Size, with the old var as fallback
184
- // for elements saved before the section existed. The two colours had no layout
185
- // equivalent: the selected dot used to follow Control Active Color, which still
186
- // colours the arrow hover and the unselected dot border.
187
- --_sf-ed-vl-sz: #{prepareMediaVariable(
188
- --_ctm-lay-dn-pn-ds-dt-se,
189
- var(--_ctm-mob-lay-lt-dt-se, var(--_ctm-tab-lay-lt-dt-se, var(--_ctm-lay-lt-dt-se, 10px))))
190
- }
191
-
192
- ;
193
- --_sf-dt-ae-bg: #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-ct-dt-cr, #162578)};
194
- --_sf-dt-ie-bg: #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-or-dt-cr, #fff)};
195
-
196
- // Design > Pagination Arrows.
197
- //
198
- // Arrow Size and the layout tab's Arrow Icon Size drive the same button box, so
199
- // the design value wins and the layout value is the fallback — an element saved
200
- // before this section existed has no `dn-pn-as-aw-se` var and keeps its
201
- // `lt-aw-in-se` size. Both schema defaults are 40px.
202
- --_sf-ic-sz-nn: #{prepareMediaVariable(
203
- --_ctm-lay-dn-pn-as-aw-se,
204
- var(--_ctm-mob-lay-lt-aw-in-se,
205
- var(--_ctm-tab-lay-lt-aw-in-se, var(--_ctm-lay-lt-aw-in-se, 40px))))
206
- }
207
-
208
- ;
209
- // Resting stroke of the chevrons; hover still switches to Control Active Color.
210
- --_sf-sl-ct-aw-in-cl: #{prepareMediaVariable(--_ctm-lay-dn-pn-as-aw-cr, #667085)};
211
- // Background Color, as the gallery slider uses it: the button is a 10% tint of
212
- // the chosen colour and 20% on hover (see the hover rule further down), not the
213
- // flat colour. Kept in its own variable so both tints read the same source.
214
- --_sf-lay-as-bg-cr: #{prepareMediaVariable(--_ctm-lay-dn-pn-as-bd-cr, #fff)};
215
- --_sf-nv-ic-bg: color-mix(in srgb, var(--_sf-lay-as-bg-cr) 10%, transparent);
216
-
217
- // Background Shape of the arrow buttons, matching the gallery slider's mapping:
218
- // Round is the mixin's own 50% default, None squares the button off and Square
219
- // rounds the corners slightly. Elements without this section have no attribute
220
- // at all and stay round.
221
- button.embla__btn {
222
- &[data-background-shape="None"] {
223
- --_sf-nv-ic-br: 0px;
224
- }
225
-
226
- &[data-background-shape="Square"] {
227
- --_sf-nv-ic-br: 4px;
228
- }
229
- }
230
87
 
231
- // &:is([data-control-type="1"]) {
232
- // @include CMSRepeaterEmblaControlStyles(1);
233
- // }
234
- @for $i from 1 through 3 {
235
- &:is([data-control-type="#{$i}"]) {
236
- @if ($i ==3) {
237
- overflow-y: visible;
88
+ &[data-background-type="image"] {
89
+ background-image: prepareMediaVariable(
90
+ --_ctm-lay-dn-wt-se-bd-ie,
91
+ prepareMediaVariable(--_ctm-lay-dn-bd-ie)
92
+ );
93
+ background-attachment: prepareMediaVariable(
94
+ --_ctm-lay-dn-wt-se-bd-at,
95
+ prepareMediaVariable(--_ctm-lay-dn-bd-at)
96
+ );
97
+ background-position: prepareMediaVariable(
98
+ --_ctm-lay-dn-wt-se-bd-pn,
99
+ prepareMediaVariable(--_ctm-lay-dn-bd-pn)
100
+ );
101
+ background-position-y: prepareMediaVariable(
102
+ --_ctm-lay-dn-wt-se-bd-pn-y,
103
+ prepareMediaVariable(--_ctm-lay-dn-bd-pn-y)
104
+ );
105
+ background-repeat: prepareMediaVariable(
106
+ --_ctm-lay-dn-wt-se-bd-rt,
107
+ prepareMediaVariable(--_ctm-lay-dn-bd-rt)
108
+ );
109
+ background-size: prepareMediaVariable(
110
+ --_ctm-lay-dn-wt-se-bd-se,
111
+ prepareMediaVariable(--_ctm-lay-dn-bd-se)
112
+ );
238
113
  }
239
114
 
240
- @include CMSRepeaterEmblaControlStyles($i);
241
- }
242
- }
243
-
244
- // Overrides of the shared control mixin. `:is([data-control-type])` matches the
245
- // specificity of the rules being replaced, and this block comes after the
246
- // @include, so on the tie these win.
247
- &:is([data-control-type]) {
248
-
249
- // Hover of the arrow buttons. The mixin tints them with Control Active Color,
250
- // which ignores the Background Color the Pagination Arrows section sets; the
251
- // gallery slider instead deepens that same colour from 10% to 20%. The icon
252
- // stroke still switches to Control Active Color — the mixin's own rule.
253
- button.embla__btn:hover:not(:disabled) {
254
- @include BgColorLighter(var(--_sf-lay-as-bg-cr), 20%);
255
- }
256
-
257
- // Design > Pagination Dots > Border and Shadow.
258
- //
259
- // Both are gated on the container attributes the control components publish
260
- // from the Show Border / Show Shadow toggles: with the border off the dots keep
261
- // the hairline the mixin derives from Control Active Color, and with it on
262
- // these longhands take over.
263
- .pagination__v1[data-show-border="true"]>button.embla__dot {
264
- border-width: #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-br-wh, 0px)};
265
- border-style: #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-br-se, solid)};
266
- border-color: #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-br-cr, transparent)};
267
- }
268
-
269
- .pagination__v1[data-show-shadow="true"]>button.embla__dot {
270
- box-shadow: #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-sw-ae, 0px 0px)} #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-sw-br, 0px)} #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-sw-sd, 0px)} #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-sw-cr, transparent)};
271
- }
272
- }
273
-
274
- &>div {
275
- &.wrapper {
276
- justify-content: prepareMediaVariable(--_ctm-lay-lt-jy-ct);
277
- align-items: prepareMediaVariable(--_ctm-lay-lt-an-is);
278
-
279
- &.embla__container {
280
- display: flex !important;
281
- --_embla-slide-space: var(--_ctm-mob-lay-lt-im-gp,
282
- var(--_ctm-tab-lay-lt-im-gp, var(--_ctm-lay-lt-im-gp, 0px)));
283
- --_embla-col-count: var(--_ctm-mob-lay-lt-st-is-pr-se,
284
- var(--_ctm-tab-lay-lt-st-is-pr-se, var(--_ctm-lay-lt-st-is-pr-se, 3)));
285
- // gap: 0px !important;
286
- // margin-left: calc(var(--_embla-slide-space, 10px) * -1);
287
- width: 100%;
288
- height: 100%;
289
-
290
- &>.embla__slide {
291
- --_sf-cl-vl: calc((100% / var(--_embla-col-count, 3)) - (((var(--_embla-col-count, 3) - 1) * (var(--_embla-slide-space, 10px))) / (var(--_embla-col-count, 3))));
292
- // flex: 0 0 calc(var(--_embla-slide-width, 100%) / var(--_embla-col-count, 3));
293
- // width: calc(var(--_embla-slide-width, 100%) / var(--_embla-col-count, 3));
294
- flex: 0 0 var(--_sf-cl-vl);
295
- width: var(--_sf-cl-vl);
296
- // grid-template-rows: minmax(
297
- // max(0.5px, 0.09375 * (var(--_cms-scaling-factor) - var(--_cms-scrollbar-width))),
298
- // auto
299
- // );
300
-
301
- grid-template-rows: minmax(50px, auto);
302
- grid-template-columns: minmax(0px, 1fr);
303
- // padding-left: calc(var(--_embla-slide-space, 10px) * 1);
304
- // padding-left: 0px !important;
305
-
306
- img {
115
+ // background-color: var(
116
+ // --_ctm-mob-lay-dn-bd-cr,
117
+ // var(--_ctm-tab-lay-dn-bd-cr, var(--_ctm-lay-dn-bd-cr))
118
+ // );
119
+ // background-image: var(
120
+ // --_ctm-mob-lay-dn-bd-ie,
121
+ // var(--_ctm-tab-lay-dn-bd-ie, var(--_ctm-lay-dn-bd-ie))
122
+ // );
123
+ // background-attachment: var(
124
+ // --_ctm-mob-lay-dn-bd-at,
125
+ // var(--_ctm-tab-lay-dn-bd-at, var(--_ctm-lay-dn-bd-at))
126
+ // );
127
+ // background-position: var(
128
+ // --_ctm-mob-lay-dn-bd-pn,
129
+ // var(--_ctm-tab-lay-dn-bd-pn, var(--_ctm-lay-dn-bd-pn))
130
+ // );
131
+ // background-repeat: var(
132
+ // --_ctm-mob-lay-dn-bd-rt,
133
+ // var(--_ctm-tab-lay-dn-bd-rt, var(--_ctm-lay-dn-bd-rt))
134
+ // );
135
+ // background-size: var(
136
+ // --_ctm-mob-lay-dn-bd-se,
137
+ // var(--_ctm-tab-lay-dn-bd-se, var(--_ctm-lay-dn-bd-se))
138
+ // );
139
+ border-radius: prepareMediaVariable(
140
+ --_ctm-lay-dn-wt-se-br-rs,
141
+ prepareMediaVariable(--_ctm-lay-dn-br-rs)
142
+ );
143
+ border-color: prepareMediaVariable(
144
+ --_ctm-lay-dn-wt-se-br-cr,
145
+ prepareMediaVariable(--_ctm-lay-dn-br-cr)
146
+ );
147
+ border-style: prepareMediaVariable(
148
+ --_ctm-lay-dn-wt-se-br-se,
149
+ prepareMediaVariable(--_ctm-lay-dn-br-se)
150
+ );
151
+ border-width: prepareMediaVariable(
152
+ --_ctm-lay-dn-wt-se-br-wh,
153
+ prepareMediaVariable(--_ctm-lay-dn-br-wh)
154
+ );
155
+ box-shadow: var(
156
+ --_hover-show-shadow,
157
+ var(
158
+ --_sf-hr-bx-sw,
159
+ var(
160
+ --_show-shadow,
161
+ prepareMediaVariable(--_ctm-lay-dn-wt-se-sw-ae, prepareMediaVariable(--_ctm-lay-dn-sw-ae))
162
+ prepareMediaVariable(
163
+ --_ctm-lay-dn-wt-se-sw-br,
164
+ prepareMediaVariable(--_ctm-lay-dn-sw-br)
165
+ )
166
+ prepareMediaVariable(
167
+ --_ctm-lay-dn-wt-se-sw-sd,
168
+ prepareMediaVariable(--_ctm-lay-dn-sw-sd)
169
+ )
170
+ prepareMediaVariable(
171
+ --_ctm-lay-dn-wt-se-sw-cr,
172
+ prepareMediaVariable(--_ctm-lay-dn-sw-cr)
173
+ )
174
+ )
175
+ )
176
+ );
177
+ padding: var(--_ctm-mob-lay-lt-pg, var(--_ctm-tab-lay-lt-pg, var(--_ctm-lay-lt-pg)));
178
+
179
+ --_sf-ic-sz-nn: var(
180
+ --_ctm-mob-lay-lt-aw-in-se,
181
+ var(--_ctm-tab-lay-lt-aw-in-se, var(--_ctm-lay-lt-aw-in-se, 40px))
182
+ );
183
+
184
+ --_sf-ed-vl-sz: var(
185
+ --_ctm-mob-lay-lt-dt-se,
186
+ var(--_ctm-tab-lay-lt-dt-se, var(--_ctm-lay-lt-dt-se, 10px))
187
+ );
188
+
189
+ &.grd {
190
+ & > div {
191
+ &.wrapper {
307
192
  width: 100%;
193
+ display: grid;
194
+ grid-template-columns: repeat(
195
+ auto-fit,
196
+ minmax(
197
+ var(
198
+ --_ctm-mob-lay-lt-mn-cn-wh,
199
+ var(--_ctm-tab-lay-lt-mn-cn-wh, var(--_ctm-lay-lt-mn-cn-wh))
200
+ ),
201
+ 1fr
202
+ )
203
+ );
204
+ grid-template-rows: repeat(
205
+ auto-fit,
206
+ minmax(
207
+ var(
208
+ --_ctm-mob-lay-lt-mn-rw-ht,
209
+ var(--_ctm-tab-lay-lt-mn-rw-ht, var(--_ctm-lay-lt-mn-rw-ht))
210
+ ),
211
+ 1fr
212
+ )
213
+ );
214
+
215
+ justify-content: prepareMediaVariable(--_ctm-lay-lt-jy-ct);
216
+ align-items: prepareMediaVariable(--_ctm-lay-lt-an-is);
217
+
218
+ div {
219
+ &#{$childItemSelector} {
220
+ width: 100%;
221
+ }
222
+ }
223
+
224
+ @media only screen and (max-width: 767px) {
225
+ grid-template-rows: auto;
226
+ }
308
227
  }
309
228
  }
310
229
  }
311
- }
312
- }
313
- }
314
-
315
- &>div {
316
- &.wrapper {
317
- width: 100%;
318
- gap: var(--_ctm-mob-lay-lt-im-gp,
319
- var(--_ctm-tab-lay-lt-im-gp, var(--_ctm-lay-lt-im-gp, 0px)));
320
230
 
321
- &:is(.sld > *, .rws > *, .cln > *) {
322
- // gap: var(
323
- // --_ctm-mob-lay-lt-im-gp,
324
- // var(--_ctm-tab-lay-lt-im-gp, var(--_ctm-lay-lt-im-gp, 0px))
325
- // );
326
- gap: #{prepareMediaVariable(--_ctm-lay-lt-im-gp, 0px)};
327
- }
231
+ &.sld {
232
+ &:is(:not(#{$sliderControlDragging} *)) {
233
+ overflow: clip;
234
+ }
235
+ // overflow: clip;
236
+ height: auto;
237
+ min-height: 50px !important;
238
+ --_sf-sl-ct-ic-dt-at-cl: var(
239
+ --_ctm-mob-lay-lt-cl-ae-cr,
240
+ var(--_ctm-tab-lay-lt-cl-ae-cr, var(--_ctm-lay-lt-cl-ae-cr))
241
+ );
242
+
243
+ // Design > Pagination Dots. Dot Size replaces the layout tab's Dot Size the
244
+ // same way Arrow Size replaces Arrow Icon Size, with the old var as fallback
245
+ // for elements saved before the section existed. The two colours had no layout
246
+ // equivalent: the selected dot used to follow Control Active Color, which still
247
+ // colours the arrow hover and the unselected dot border.
248
+ --_sf-ed-vl-sz: #{prepareMediaVariable(
249
+ --_ctm-lay-dn-pn-ds-dt-se,
250
+ var(--_ctm-mob-lay-lt-dt-se, var(--_ctm-tab-lay-lt-dt-se, var(--_ctm-lay-lt-dt-se, 10px)))
251
+ )};
252
+ --_sf-dt-ae-bg: #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-ct-dt-cr, #162578)};
253
+ --_sf-dt-ie-bg: #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-or-dt-cr, #fff)};
254
+
255
+ // Design > Pagination Arrows.
256
+ //
257
+ // Arrow Size and the layout tab's Arrow Icon Size drive the same button box, so
258
+ // the design value wins and the layout value is the fallback — an element saved
259
+ // before this section existed has no `dn-pn-as-aw-se` var and keeps its
260
+ // `lt-aw-in-se` size. Both schema defaults are 40px.
261
+ --_sf-ic-sz-nn: #{prepareMediaVariable(
262
+ --_ctm-lay-dn-pn-as-aw-se,
263
+ var(
264
+ --_ctm-mob-lay-lt-aw-in-se,
265
+ var(--_ctm-tab-lay-lt-aw-in-se, var(--_ctm-lay-lt-aw-in-se, 40px))
266
+ )
267
+ )};
268
+ // Resting stroke of the chevrons; hover still switches to Control Active Color.
269
+ --_sf-sl-ct-aw-in-cl: #{prepareMediaVariable(--_ctm-lay-dn-pn-as-aw-cr, #667085)};
270
+ // Background Color, as the gallery slider uses it: the button is a 10% tint of
271
+ // the chosen colour and 20% on hover (see the hover rule further down), not the
272
+ // flat colour. Kept in its own variable so both tints read the same source.
273
+ --_sf-lay-as-bg-cr: #{prepareMediaVariable(--_ctm-lay-dn-pn-as-bd-cr, #fff)};
274
+ --_sf-nv-ic-bg: color-mix(in srgb, var(--_sf-lay-as-bg-cr) 10%, transparent);
275
+
276
+ // Background Shape of the arrow buttons, matching the gallery slider's mapping:
277
+ // Round is the mixin's own 50% default, None squares the button off and Square
278
+ // rounds the corners slightly. Elements without this section have no attribute
279
+ // at all and stay round.
280
+ button.embla__btn {
281
+ &[data-background-shape="None"] {
282
+ --_sf-nv-ic-br: 0px;
283
+ }
284
+ &[data-background-shape="Square"] {
285
+ --_sf-nv-ic-br: 4px;
286
+ }
287
+ }
288
+ // &:is([data-control-type="1"]) {
289
+ // @include CMSRepeaterEmblaControlStyles(1);
290
+ // }
291
+ @for $i from 1 through 3 {
292
+ &:is([data-control-type="#{$i}"]) {
293
+ @if ($i == 3) {
294
+ overflow-y: visible;
295
+ }
296
+ @include CMSRepeaterEmblaControlStyles($i);
297
+ }
298
+ }
328
299
 
329
- &:is(.grd > *) {
330
- column-gap: #{prepareMediaVariable(--_ctm-lay-lt-cn-gp, 0px)};
331
- row-gap: #{prepareMediaVariable(--_ctm-lay-lt-rw-gp, 0px)};
332
- }
300
+ // Overrides of the shared control mixin. `:is([data-control-type])` matches the
301
+ // specificity of the rules being replaced, and this block comes after the
302
+ // @include, so on the tie these win.
303
+ &:is([data-control-type]) {
304
+ // Hover of the arrow buttons. The mixin tints them with Control Active Color,
305
+ // which ignores the Background Color the Pagination Arrows section sets; the
306
+ // gallery slider instead deepens that same colour from 10% to 20%. The icon
307
+ // stroke still switches to Control Active Color — the mixin's own rule.
308
+ button.embla__btn:hover:not(:disabled) {
309
+ @include BgColorLighter(var(--_sf-lay-as-bg-cr), 20%);
310
+ }
333
311
 
334
- // width: 100%;
335
- // grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
336
- // grid-auto-rows: minmax(100px, 1fr);
337
- }
338
- }
312
+ // Design > Pagination Dots > Border and Shadow.
313
+ //
314
+ // Both are gated on the container attributes the control components publish
315
+ // from the Show Border / Show Shadow toggles: with the border off the dots keep
316
+ // the hairline the mixin derives from Control Active Color, and with it on
317
+ // these longhands take over.
318
+ .pagination__v1[data-show-border="true"] > button.embla__dot {
319
+ border-width: #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-br-wh, 0px)};
320
+ border-style: #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-br-se, solid)};
321
+ border-color: #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-br-cr, transparent)};
322
+ }
339
323
 
340
- &.rws {
341
- &>.wrapper {
324
+ .pagination__v1[data-show-shadow="true"] > button.embla__dot {
325
+ box-shadow: #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-sw-ae, 0px 0px)}
326
+ #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-sw-br, 0px)}
327
+ #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-sw-sd, 0px)}
328
+ #{prepareMediaVariable(--_ctm-lay-dn-pn-ds-sw-cr, transparent)};
329
+ }
330
+ }
342
331
 
343
- // grid-template-columns: 100%;
344
- // grid-template-rows:
345
- // minmax(
346
- // clamp(
347
- // 0.5px,
348
- // calc(
349
- // (18.918014128728416 * var(--_cms-playground-unit)) -
350
- // (0.18918014128728416 * var(--_cms-scrollbar-width))
351
- // ),
352
- // calc(0.18918014128728416 * var(--_cms-section-max-width))
353
- // ),
354
- // auto
355
- // )
356
- // minmax(
357
- // clamp(
358
- // 0.5px,
359
- // calc(
360
- // (18.918014128728416 * var(--_cms-playground-unit)) -
361
- // (0.18918014128728416 * var(--_cms-scrollbar-width))
362
- // ),
363
- // calc(0.18918014128728416 * var(--_cms-section-max-width))
364
- // ),
365
- // auto
366
- // )
367
- // minmax(
368
- // clamp(
369
- // 0.5px,
370
- // calc(
371
- // (18.918014128728416 * var(--_cms-playground-unit)) -
372
- // (0.18918014128728416 * var(--_cms-scrollbar-width))
373
- // ),
374
- // calc(0.18918014128728416 * var(--_cms-section-max-width))
375
- // ),
376
- // auto
377
- // )
378
- // minmax(
379
- // clamp(
380
- // 0.5px,
381
- // calc(
382
- // (18.918014128728416 * var(--_cms-playground-unit)) -
383
- // (0.18918014128728416 * var(--_cms-scrollbar-width))
384
- // ),
385
- // calc(0.18918014128728416 * var(--_cms-section-max-width))
386
- // ),
387
- // auto
388
- // );
389
- &>div {
390
- &#{$childItemSelector} {
332
+ & > div {
333
+ &.wrapper {
334
+ justify-content: prepareMediaVariable(--_ctm-lay-lt-jy-ct);
335
+ align-items: prepareMediaVariable(--_ctm-lay-lt-an-is);
336
+ &.embla__container {
337
+ display: flex !important;
338
+ --_embla-slide-space: var(
339
+ --_ctm-mob-lay-lt-im-gp,
340
+ var(--_ctm-tab-lay-lt-im-gp, var(--_ctm-lay-lt-im-gp, 0px))
341
+ );
342
+ --_embla-col-count: var(
343
+ --_ctm-mob-lay-lt-st-is-pr-se,
344
+ var(--_ctm-tab-lay-lt-st-is-pr-se, var(--_ctm-lay-lt-st-is-pr-se, 3))
345
+ );
346
+ // gap: 0px !important;
347
+ // margin-left: calc(var(--_embla-slide-space, 10px) * -1);
348
+ width: 100%;
349
+ height: 100%;
350
+ & > .embla__slide {
351
+ --_sf-cl-vl: calc(
352
+ (100% / var(--_embla-col-count, 3)) -
353
+ (
354
+ ((var(--_embla-col-count, 3) - 1) * (var(--_embla-slide-space, 10px))) /
355
+ (var(--_embla-col-count, 3))
356
+ )
357
+ );
358
+ // flex: 0 0 calc(var(--_embla-slide-width, 100%) / var(--_embla-col-count, 3));
359
+ // width: calc(var(--_embla-slide-width, 100%) / var(--_embla-col-count, 3));
360
+ flex: 0 0 var(--_sf-cl-vl);
361
+ width: var(--_sf-cl-vl);
362
+ // grid-template-rows: minmax(
363
+ // max(0.5px, 0.09375 * (var(--_cms-scaling-factor) - var(--_cms-scrollbar-width))),
364
+ // auto
365
+ // );
366
+
367
+ grid-template-rows: minmax(50px, auto);
368
+ grid-template-columns: minmax(0px, 1fr);
369
+ // padding-left: calc(var(--_embla-slide-space, 10px) * 1);
370
+ // padding-left: 0px !important;
371
+
372
+ img {
373
+ width: 100%;
374
+ }
375
+ }
376
+ }
377
+ }
378
+ }
379
+ }
380
+ & > div {
381
+ &.wrapper {
391
382
  width: 100%;
383
+ gap: var(
384
+ --_ctm-mob-lay-lt-im-gp,
385
+ var(--_ctm-tab-lay-lt-im-gp, var(--_ctm-lay-lt-im-gp, 0px))
386
+ );
387
+
388
+ &:is(.sld > *, .rws > *, .cln > *) {
389
+ // gap: var(
390
+ // --_ctm-mob-lay-lt-im-gp,
391
+ // var(--_ctm-tab-lay-lt-im-gp, var(--_ctm-lay-lt-im-gp, 0px))
392
+ // );
393
+ gap: #{prepareMediaVariable(--_ctm-lay-lt-im-gp, 0px)};
394
+ }
395
+ &:is(.grd > *) {
396
+ column-gap: #{prepareMediaVariable(--_ctm-lay-lt-cn-gp, 0px)};
397
+ row-gap: #{prepareMediaVariable(--_ctm-lay-lt-rw-gp, 0px)};
398
+ }
399
+ // width: 100%;
400
+ // grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
401
+ // grid-auto-rows: minmax(100px, 1fr);
392
402
  }
393
403
  }
394
- }
395
- }
396
404
 
397
- &.cln {
398
- &[data-view-state="auto"] {
399
- height: var(--_ctm-mob-lay-lt-ht, var(--_ctm-tab-lay-lt-ht, var(--_ctm-lay-lt-ht)));
400
- }
401
-
402
- &>.wrapper {
403
- height: 100%;
404
-
405
- &>div {
406
- &#{$childItemSelector} {
407
- width: 100%;
408
- // align-self: flex-start;
405
+ &.rws {
406
+ & > .wrapper {
407
+ // grid-template-columns: 100%;
408
+ // grid-template-rows:
409
+ // minmax(
410
+ // clamp(
411
+ // 0.5px,
412
+ // calc(
413
+ // (18.918014128728416 * var(--_cms-playground-unit)) -
414
+ // (0.18918014128728416 * var(--_cms-scrollbar-width))
415
+ // ),
416
+ // calc(0.18918014128728416 * var(--_cms-section-max-width))
417
+ // ),
418
+ // auto
419
+ // )
420
+ // minmax(
421
+ // clamp(
422
+ // 0.5px,
423
+ // calc(
424
+ // (18.918014128728416 * var(--_cms-playground-unit)) -
425
+ // (0.18918014128728416 * var(--_cms-scrollbar-width))
426
+ // ),
427
+ // calc(0.18918014128728416 * var(--_cms-section-max-width))
428
+ // ),
429
+ // auto
430
+ // )
431
+ // minmax(
432
+ // clamp(
433
+ // 0.5px,
434
+ // calc(
435
+ // (18.918014128728416 * var(--_cms-playground-unit)) -
436
+ // (0.18918014128728416 * var(--_cms-scrollbar-width))
437
+ // ),
438
+ // calc(0.18918014128728416 * var(--_cms-section-max-width))
439
+ // ),
440
+ // auto
441
+ // )
442
+ // minmax(
443
+ // clamp(
444
+ // 0.5px,
445
+ // calc(
446
+ // (18.918014128728416 * var(--_cms-playground-unit)) -
447
+ // (0.18918014128728416 * var(--_cms-scrollbar-width))
448
+ // ),
449
+ // calc(0.18918014128728416 * var(--_cms-section-max-width))
450
+ // ),
451
+ // auto
452
+ // );
453
+ & > div {
454
+ &#{$childItemSelector} {
455
+ width: 100%;
456
+ }
457
+ }
409
458
  }
410
459
  }
411
- }
412
- }
413
460
 
414
- // &[data-view-state="full"] {
415
- // width: auto;
416
- // margin: 0;
417
- // justify-self: stretch !important;
418
- // align-self: stretch !important;
419
- // cursor: auto;
461
+ &.cln {
462
+ &[data-view-state="auto"] {
463
+ height: var(--_ctm-mob-lay-lt-ht, var(--_ctm-tab-lay-lt-ht, var(--_ctm-lay-lt-ht)));
464
+ }
465
+ & > .wrapper {
466
+ height: 100%;
467
+ & > div {
468
+ &#{$childItemSelector} {
469
+ width: 100%;
470
+ // align-self: flex-start;
471
+ }
472
+ }
473
+ }
474
+ }
420
475
 
421
- // & > div {
422
- // &[data-div-type="wrapper__layer"] {
423
- // --_sf-vt-zz: visible;
424
- // --_sf-op-zz: 1;
425
- // }
426
- // }
427
- // }
476
+ // &[data-view-state="full"] {
477
+ // width: auto;
478
+ // margin: 0;
479
+ // justify-self: stretch !important;
480
+ // align-self: stretch !important;
481
+ // cursor: auto;
482
+
483
+ // & > div {
484
+ // &[data-div-type="wrapper__layer"] {
485
+ // --_sf-vt-zz: visible;
486
+ // --_sf-op-zz: 1;
487
+ // }
488
+ // }
489
+ // }
490
+ }
428
491
  }
429
- }