@sc-360-v2/storefront-cms-library 0.5.69 → 0.5.71

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 (158) hide show
  1. package/dist/add-existing-form.scss +68 -68
  2. package/dist/add-products-tab-details.scss +4071 -4071
  3. package/dist/add-products-tab-uom-details.scss +1106 -1106
  4. package/dist/add-products-tab.scss +2377 -2377
  5. package/dist/allocation-header-quota-details.scss +609 -609
  6. package/dist/allocations-quota-details.scss +525 -525
  7. package/dist/amount-estimator.scss +1192 -1192
  8. package/dist/animation-control.scss +23 -23
  9. package/dist/badge.scss +408 -408
  10. package/dist/brand-basic-elements.scss +387 -387
  11. package/dist/brand.scss +142 -142
  12. package/dist/breadcrumbs.scss +966 -966
  13. package/dist/builder.js +1 -1
  14. package/dist/bulk-order-pad.scss +692 -692
  15. package/dist/bundleCategories.scss +301 -301
  16. package/dist/bundleDetails.scss +6189 -6189
  17. package/dist/buy-for-tab-container.scss +141 -141
  18. package/dist/buy-for-tab.scss +649 -649
  19. package/dist/buy-for-tabs-container-item.scss +80 -80
  20. package/dist/buyForPopup.scss +339 -339
  21. package/dist/cart-details.scss +3986 -3986
  22. package/dist/cart-products-sidebar.scss +211 -211
  23. package/dist/cart-summary.scss +2826 -2826
  24. package/dist/cart-wrapper.scss +127 -127
  25. package/dist/cartAttributes.scss +1422 -1422
  26. package/dist/cartDropdownOverlay.scss +653 -653
  27. package/dist/cartGrouping.scss +89 -89
  28. package/dist/category-groups-element.scss +739 -739
  29. package/dist/category-groups-quota-details.scss +626 -626
  30. package/dist/category.scss +137 -137
  31. package/dist/categoryDetails.scss +61 -61
  32. package/dist/categoryWidget.scss +34 -34
  33. package/dist/checkbox-radio.scss +124 -124
  34. package/dist/code-temp.scss +59 -59
  35. package/dist/colorpicker_v2.scss +62 -62
  36. package/dist/common-element.scss +35 -35
  37. package/dist/confirm-modal.scss +370 -370
  38. package/dist/confirmationModal.scss +139 -139
  39. package/dist/contact-us.scss +105 -105
  40. package/dist/container.scss +168 -168
  41. package/dist/countdown.scss +899 -899
  42. package/dist/coupon.scss +1519 -1519
  43. package/dist/custom-fonts.scss +100 -100
  44. package/dist/customization-tree.scss +162 -162
  45. package/dist/default-dropdown.scss +259 -259
  46. package/dist/dropdownTemplate.scss +699 -699
  47. package/dist/editCartItem.scss +110 -110
  48. package/dist/embed-temp.scss +73 -73
  49. package/dist/embroider-preview-element.scss +94 -94
  50. package/dist/embroider-template-1-v2.scss +1105 -1105
  51. package/dist/embroider-template-1.scss +501 -501
  52. package/dist/embroidery.scss +247 -247
  53. package/dist/employee-bulk-order.scss +4060 -4060
  54. package/dist/emtpy-templates.scss +165 -165
  55. package/dist/faq.scss +696 -696
  56. package/dist/fb-dropdown.scss +135 -135
  57. package/dist/filter-results.scss +361 -361
  58. package/dist/filters.scss +3040 -3040
  59. package/dist/flex-text-editor.scss +271 -271
  60. package/dist/form-preview.scss +530 -530
  61. package/dist/gallery-slider-temp.scss +1776 -1776
  62. package/dist/global-styles.scss +198 -198
  63. package/dist/grid.scss +169 -169
  64. package/dist/icon-library.scss +78 -78
  65. package/dist/icon-list.scss +39 -0
  66. package/dist/image-for-product.scss +21 -21
  67. package/dist/image-temp.scss +203 -203
  68. package/dist/item-stock.scss +93 -93
  69. package/dist/kitDetails.scss +5739 -5739
  70. package/dist/kits.scss +305 -305
  71. package/dist/language-selector.scss +948 -948
  72. package/dist/last-x-orders.scss +285 -285
  73. package/dist/layouter-item.scss +141 -141
  74. package/dist/layouter-pro-item.scss +139 -139
  75. package/dist/layouter-pro.scss +134 -134
  76. package/dist/layouter.scss +491 -491
  77. package/dist/light-box-v2.scss +155 -155
  78. package/dist/lightbox.scss +78 -78
  79. package/dist/loader.scss +37 -37
  80. package/dist/login.scss +29 -11
  81. package/dist/map.scss +1359 -1359
  82. package/dist/marchandiserSets.scss +141 -141
  83. package/dist/mega-menu-container.scss +152 -152
  84. package/dist/menu-item.scss +19 -19
  85. package/dist/menu-v2.scss +999 -999
  86. package/dist/menu.scss +174 -174
  87. package/dist/multi-select-dropdown.scss +316 -316
  88. package/dist/my-templates.scss +477 -477
  89. package/dist/my-wishlist.scss +27 -27
  90. package/dist/option-bar.scss +886 -886
  91. package/dist/order-processing.scss +61 -61
  92. package/dist/order-status.scss +2187 -2187
  93. package/dist/overflow-module.scss +63 -63
  94. package/dist/past-orders.scss +1039 -1039
  95. package/dist/payment-methods.scss +307 -307
  96. package/dist/phone-input.scss +208 -208
  97. package/dist/pickup-locations.scss +1359 -1359
  98. package/dist/position-module.scss +95 -95
  99. package/dist/prefix-list.scss +86 -86
  100. package/dist/product-actions.scss +2872 -2872
  101. package/dist/product-basic-elements.scss +600 -600
  102. package/dist/product-customizations.scss +155 -155
  103. package/dist/product-highlights.scss +348 -348
  104. package/dist/product-image-allocation.scss +1477 -1477
  105. package/dist/product-inventory.scss +1621 -1621
  106. package/dist/product-labels.scss +265 -265
  107. package/dist/product-options.scss +1444 -1444
  108. package/dist/product-price.scss +4 -0
  109. package/dist/product-promotions.scss +3224 -3224
  110. package/dist/product-sizechart.scss +1921 -1921
  111. package/dist/product.scss +140 -140
  112. package/dist/profile.scss +824 -824
  113. package/dist/quantity-selector.scss +1074 -1074
  114. package/dist/quick-inventory-check.scss +285 -285
  115. package/dist/quick-links.scss +627 -627
  116. package/dist/quota-details.scss +526 -526
  117. package/dist/quotes.scss +847 -847
  118. package/dist/repeater-embla-controls.scss +211 -211
  119. package/dist/repeater-grid-toggle.scss +206 -206
  120. package/dist/repeater-item.scss +152 -152
  121. package/dist/repeater.scss +946 -946
  122. package/dist/request-for-quotes.scss +841 -841
  123. package/dist/responsive-behaviour.scss +29 -29
  124. package/dist/rfqs.scss +861 -861
  125. package/dist/scroll.scss +414 -414
  126. package/dist/search-results-heading.scss +309 -309
  127. package/dist/search.scss +689 -689
  128. package/dist/section.scss +276 -276
  129. package/dist/shareCartSideBar.scss +254 -254
  130. package/dist/shipping-estimator.scss +41 -41
  131. package/dist/shipping-payments.scss +2518 -2518
  132. package/dist/simple-list.scss +338 -338
  133. package/dist/skeleton.scss +64 -64
  134. package/dist/spotlight.scss +1706 -1706
  135. package/dist/stack.scss +171 -171
  136. package/dist/static-global.scss +292 -292
  137. package/dist/static-text.scss +52 -52
  138. package/dist/stockStatus.scss +70 -70
  139. package/dist/store-locations.scss +1592 -1592
  140. package/dist/sub-category.scss +74 -74
  141. package/dist/submit-quote.scss +275 -275
  142. package/dist/tab-container-item.scss +80 -80
  143. package/dist/tab-container.scss +141 -141
  144. package/dist/table.scss +9 -0
  145. package/dist/tabs.scss +440 -440
  146. package/dist/text-temp.scss +109 -109
  147. package/dist/theme-classes.scss +421 -421
  148. package/dist/toaster.scss +392 -392
  149. package/dist/toggle-button.scss +32 -32
  150. package/dist/transform-properties-module.scss +20 -20
  151. package/dist/types/builder/tools/element-edit/icon-list.d.ts +5 -0
  152. package/dist/types/builder/tools/element-edit/login.d.ts +1 -0
  153. package/dist/types/builder/tools/element-edit/resetPassword.d.ts +1 -0
  154. package/dist/types/builder/tools/element-edit/userElements.d.ts +99 -0
  155. package/dist/user-elements.scss +2896 -2911
  156. package/dist/widget.scss +153 -153
  157. package/dist/wishlist-overlay.scss +48 -48
  158. package/package.json +1 -1
@@ -1,491 +1,491 @@
1
- @use "sass:map";
2
- @use "sass:list";
3
- @use "./functions.scss" as *;
4
- @use "./repeater-embla-controls.scss" as *;
5
- $childItemSelector: '[data-element-type="layouter-item"]';
6
- $sliderControlDragging: "[flex-slider-control-moving='true']";
7
- [data-div-type="element"] {
8
- &[data-element-type="layouter"] {
9
- // width: var(--_sf-con-nw-wh);
10
- // width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
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
- );
18
- // width: 100%;
19
- // height: var(--_ctm-con-lt-ht);
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
- );
24
-
25
- // Widget Style (design.widgetStyle). The `wt-se` segment arrived when these moved
26
- // off the Design tab root into their own accordion; the plain `dn-` name is kept as
27
- // the fallback so pages published before the move keep their background, border,
28
- // radius and shadow.
29
- &[data-background-type="color"] {
30
- background-color: prepareMediaVariable(
31
- --_ctm-lay-dn-wt-se-bd-cr,
32
- prepareMediaVariable(--_ctm-lay-dn-bd-cr)
33
- );
34
- }
35
-
36
- &[data-background-type="gradient"] {
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
- );
77
- }
78
-
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
- );
85
- }
86
- }
87
-
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
- );
113
- }
114
-
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 {
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
- }
227
- }
228
- }
229
- }
230
-
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
- }
299
-
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
- }
311
-
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
- }
323
-
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
- }
331
-
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 {
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);
402
- }
403
- }
404
-
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
- }
458
- }
459
- }
460
-
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
- }
475
-
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
- }
491
- }
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+ @use "./functions.scss" as *;
4
+ @use "./repeater-embla-controls.scss" as *;
5
+ $childItemSelector: '[data-element-type="layouter-item"]';
6
+ $sliderControlDragging: "[flex-slider-control-moving='true']";
7
+ [data-div-type="element"] {
8
+ &[data-element-type="layouter"] {
9
+ // width: var(--_sf-con-nw-wh);
10
+ // width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
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
+ );
18
+ // width: 100%;
19
+ // height: var(--_ctm-con-lt-ht);
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
+ );
24
+
25
+ // Widget Style (design.widgetStyle). The `wt-se` segment arrived when these moved
26
+ // off the Design tab root into their own accordion; the plain `dn-` name is kept as
27
+ // the fallback so pages published before the move keep their background, border,
28
+ // radius and shadow.
29
+ &[data-background-type="color"] {
30
+ background-color: prepareMediaVariable(
31
+ --_ctm-lay-dn-wt-se-bd-cr,
32
+ prepareMediaVariable(--_ctm-lay-dn-bd-cr)
33
+ );
34
+ }
35
+
36
+ &[data-background-type="gradient"] {
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
+ );
77
+ }
78
+
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
+ );
85
+ }
86
+ }
87
+
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
+ );
113
+ }
114
+
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 {
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
+ }
227
+ }
228
+ }
229
+ }
230
+
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
+ }
299
+
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
+ }
311
+
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
+ }
323
+
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
+ }
331
+
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 {
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);
402
+ }
403
+ }
404
+
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
+ }
458
+ }
459
+ }
460
+
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
+ }
475
+
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
+ }
491
+ }