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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/dist/add-existing-form.scss +13 -5
  2. package/dist/add-order.scss +126 -236
  3. package/dist/add-products-tab-details.scss +1048 -2097
  4. package/dist/add-products-tab.scss +666 -1204
  5. package/dist/allocation-header-quota-details.scss +189 -407
  6. package/dist/allocationDetails.scss +1661 -2143
  7. package/dist/allocations-quota-details.scss +159 -323
  8. package/dist/allocations.scss +475 -793
  9. package/dist/amount-estimator.scss +405 -743
  10. package/dist/badge.scss +43 -18
  11. package/dist/brand-basic-elements.scss +76 -124
  12. package/dist/brand.scss +28 -55
  13. package/dist/breadcrumbs.scss +356 -718
  14. package/dist/builder.js +1 -1
  15. package/dist/bulk-variant-picker.scss +1128 -2027
  16. package/dist/bundle.scss +841 -1477
  17. package/dist/bundleCategories.scss +301 -301
  18. package/dist/bundleDetails.scss +3774 -5072
  19. package/dist/button.scss +79 -103
  20. package/dist/buy-for-tab-container.scss +77 -106
  21. package/dist/buyForHeaders.scss +1722 -2976
  22. package/dist/cart-details.scss +481 -1012
  23. package/dist/cart-summary.scss +2234 -2826
  24. package/dist/cart-wrapper.scss +37 -79
  25. package/dist/cart.scss +117 -225
  26. package/dist/cartAttributes.scss +1103 -1422
  27. package/dist/category-groups-element.scss +127 -108
  28. package/dist/category-groups-product-grid.scss +120 -147
  29. package/dist/category-groups-product-image.scss +1162 -1457
  30. package/dist/category-groups-product-options.scss +613 -680
  31. package/dist/category-groups-product-price.scss +1966 -3244
  32. package/dist/category-groups-quota-details.scss +210 -464
  33. package/dist/category.scss +26 -50
  34. package/dist/checkout.scss +24 -16
  35. package/dist/confirm-modal.scss +22 -2
  36. package/dist/container.scss +32 -54
  37. package/dist/countdown.scss +711 -899
  38. package/dist/coupon.scss +1160 -1519
  39. package/dist/default-dropdown.scss +12 -1
  40. package/dist/embroider-template-1-v2.scss +123 -172
  41. package/dist/embroider-template-1.scss +68 -104
  42. package/dist/embroidery.scss +30 -31
  43. package/dist/employee-bulk-order.scss +418 -142
  44. package/dist/faq.scss +228 -408
  45. package/dist/filter-results.scss +125 -265
  46. package/dist/filters.scss +2143 -3040
  47. package/dist/gallery-slider-temp.scss +1458 -1776
  48. package/dist/global-styles.scss +218 -198
  49. package/dist/grid.scss +25 -33
  50. package/dist/hotspot.scss +68 -115
  51. package/dist/image-temp.scss +21 -20
  52. package/dist/item-stock.scss +9 -16
  53. package/dist/kitDetails.scss +2719 -4299
  54. package/dist/kits.scss +24 -19
  55. package/dist/language-selector.scss +211 -361
  56. package/dist/last-x-orders.scss +95 -174
  57. package/dist/layouter-item.scss +75 -103
  58. package/dist/layouter-pro-item.scss +89 -95
  59. package/dist/layouter-pro.scss +87 -92
  60. package/dist/layouter.scss +383 -445
  61. package/dist/light-box-v2.scss +89 -104
  62. package/dist/login.scss +287 -566
  63. package/dist/map.scss +1212 -1359
  64. package/dist/marchandiserSets.scss +95 -104
  65. package/dist/mega-menu-container.scss +96 -109
  66. package/dist/mega-menu.scss +624 -731
  67. package/dist/menu-item.scss +2 -2
  68. package/dist/menu-v2.scss +507 -619
  69. package/dist/multi-select-dropdown.scss +27 -3
  70. package/dist/my-templates.scss +38 -9
  71. package/dist/option-bar.scss +215 -375
  72. package/dist/order-status.scss +1790 -2187
  73. package/dist/overflow-module.scss +6 -7
  74. package/dist/past-orders.scss +118 -149
  75. package/dist/payment-methods.scss +46 -30
  76. package/dist/pickup-locations.scss +558 -1118
  77. package/dist/position-module.scss +20 -17
  78. package/dist/prefix-list.scss +21 -10
  79. package/dist/product-actions.scss +1750 -2055
  80. package/dist/product-basic-elements.scss +108 -169
  81. package/dist/product-highlights.scss +303 -348
  82. package/dist/product-image-allocation.scss +1477 -1477
  83. package/dist/product-image-bundles.scss +337 -642
  84. package/dist/product-inventory.scss +673 -1357
  85. package/dist/product-labels.scss +84 -105
  86. package/dist/product-options.scss +1287 -1444
  87. package/dist/product-price.scss +1283 -2561
  88. package/dist/product-promotions.scss +1388 -2830
  89. package/dist/product-sizechart.scss +516 -905
  90. package/dist/product.scss +28 -61
  91. package/dist/productDetails.scss +19 -39
  92. package/dist/profile.scss +207 -447
  93. package/dist/quantity-selector.scss +837 -1074
  94. package/dist/quick-inventory-check.scss +95 -174
  95. package/dist/quick-links.scss +55 -133
  96. package/dist/quick-order-pad.scss +218 -271
  97. package/dist/quota-details.scss +152 -282
  98. package/dist/quotes.scss +814 -847
  99. package/dist/repeater-embla-controls.scss +35 -15
  100. package/dist/repeater-grid-toggle.scss +156 -166
  101. package/dist/repeater-item.scss +41 -64
  102. package/dist/repeater.scss +671 -814
  103. package/dist/request-for-quotes.scss +66 -16
  104. package/dist/responsive-behaviour.scss +3 -1
  105. package/dist/rfqs.scss +118 -181
  106. package/dist/scroll.scss +93 -172
  107. package/dist/search-results-heading.scss +309 -309
  108. package/dist/search.scss +179 -326
  109. package/dist/section.scss +27 -51
  110. package/dist/shipping-payments.scss +198 -58
  111. package/dist/simple-list.scss +74 -164
  112. package/dist/social.scss +80 -145
  113. package/dist/sort.scss +168 -176
  114. package/dist/stack.scss +23 -34
  115. package/dist/static-global.scss +44 -26
  116. package/dist/stockStatus.scss +11 -19
  117. package/dist/store-locations.scss +577 -1105
  118. package/dist/tab-container.scss +81 -108
  119. package/dist/table-common.scss +217 -408
  120. package/dist/table.scss +271 -502
  121. package/dist/text-temp.scss +8 -7
  122. package/dist/theme-classes.scss +17 -13
  123. package/dist/uom-selector.scss +489 -949
  124. package/dist/user-elements.scss +2588 -2896
  125. package/dist/variant-picker.scss +1281 -2555
  126. package/dist/volume-pricing.scss +541 -1037
  127. package/dist/widget.scss +153 -153
  128. package/package.json +1 -1
@@ -1,198 +1,218 @@
1
- @use "sass:map";
2
- @use "sass:list";
3
- @use "./functions.scss" as *;
4
-
5
- .custom-upload {
6
- display: flex;
7
- &:has(.preview_image_container) {
8
- justify-content: space-between;
9
- }
10
- align-items: center;
11
- border: 1px solid var(--_gray-300);
12
- background-color: var(--_base-white);
13
- padding: 16px;
14
- border-radius: 4px;
15
- gap: 12px;
16
- .preview_image_container {
17
- width: 100%;
18
- display: flex;
19
- align-items: center;
20
- gap: 12px;
21
- .image_title {
22
- font-size: 14px;
23
- margin-top: 3px;
24
- .label {
25
- color: var(--_thm-cs-at-sy);
26
- @include restrictToLinesShow(1);
27
- }
28
- }
29
- .preview_image {
30
- height: 36px;
31
- width: 36px;
32
- border-radius: 50%;
33
- padding: 4px;
34
- background: var(--_base-white);
35
- border: 1px solid var(--_gray-300);
36
- img {
37
- width: 100%;
38
- width: 100%;
39
- object-fit: contain;
40
- }
41
- }
42
- }
43
- .clear_upload_icon {
44
- svg {
45
- width: 18px;
46
- height: 18px;
47
- }
48
- }
49
- .uploadicon {
50
- padding: 8px;
51
- display: flex;
52
- justify-content: center;
53
- align-items: center;
54
- background: var(--_gray-200);
55
- outline: 6px solid var(--_gray-100);
56
- border-radius: 50%;
57
- height: 36px;
58
- width: 36px;
59
- .svg_icon {
60
- svg {
61
- width: 20px;
62
- height: 20px;
63
- path {
64
- stroke: var(--_gray-700);
65
- }
66
- }
67
- }
68
- }
69
-
70
- .file_upload_text {
71
- display: flex;
72
- flex-direction: column;
73
- gap: 8px;
74
- .label {
75
- @include restrictToLinesShow(1);
76
- }
77
- p {
78
- color: var(--_thm-cs-at-py);
79
- font-weight: 600;
80
- }
81
- span {
82
- color: var(--_thm-cs-at-sy);
83
- font-size: 14px;
84
- }
85
- }
86
- }
87
-
88
- // Skeleton for the reused ProductOptions swatches (rendered inside the CMS
89
- // builder/preview, e.g. the Category Groups product cards). Mirrors the website
90
- // globals so the swatch placeholders keep their spacing here too.
91
- .product_options_skeleton {
92
- width: 100%;
93
- .sklts_swatch {
94
- display: flex;
95
- gap: 8px;
96
- margin-bottom: 8px;
97
- }
98
- }
99
-
100
- // Skeleton base styles (mirrored from storefront-websites globals so reused
101
- // element skeletons render identically inside the CMS builder/preview).
102
- .skeleton {
103
- background-color: #e5e7eb !important;
104
- border: none !important;
105
- min-height: 8px;
106
- position: relative;
107
- overflow: hidden;
108
- display: block;
109
-
110
- &--rectangular {
111
- width: 100%;
112
- height: 100%;
113
- }
114
-
115
- &--circular {
116
- border-radius: 50%;
117
- }
118
-
119
- &--text {
120
- transform-origin: 0 55%;
121
- transform: scale(1, 0.6);
122
- border-radius: 4px;
123
-
124
- &::before {
125
- content: "\00a0";
126
- }
127
- }
128
-
129
- &--shimmer {
130
- &::after {
131
- content: "";
132
- position: absolute;
133
- top: 0;
134
- left: 0;
135
- right: 0;
136
- bottom: 0;
137
- background: linear-gradient(
138
- 90deg,
139
- transparent 0%,
140
- rgba(255, 255, 255, 0.4) 50%,
141
- transparent 100%
142
- );
143
- animation: skeleton-shimmer 1.5s infinite;
144
- transform: translateX(-100%);
145
- }
146
- }
147
-
148
- &--pulse {
149
- animation: skeleton-pulse 1.5s ease-in-out infinite;
150
- }
151
- }
152
-
153
- @keyframes skeleton-shimmer {
154
- 0% {
155
- transform: translateX(-100%);
156
- }
157
- 100% {
158
- transform: translateX(100%);
159
- }
160
- }
161
-
162
- @keyframes skeleton-pulse {
163
- 0%,
164
- 100% {
165
- opacity: 1;
166
- }
167
- 50% {
168
- opacity: 0.5;
169
- }
170
- }
171
-
172
- .skeleton__element {
173
- @extend .skeleton;
174
- @extend .skeleton--shimmer;
175
- }
176
-
177
- // Text Overflow fallback.
178
- //
179
- // Text Overflow is a `controls` property, not a CSS one, so it cannot travel to the
180
- // stylesheet as a variable — the renderer opts a text node in with `.flex__overflow`
181
- // and carries the line count in `--_sf-line-clamp`.
182
- //
183
- // This is the clamp declared once, for every text node whose own block does not set a
184
- // competing `display`. Blocks that do (a flex label, say) carry their own scoped
185
- // `&.flex__overflow` rule, since this one is a single class and would lose to them.
186
- //
187
- // The class is only ever emitted when the toggle is on, so this cannot clamp a node
188
- // that was not asked to be clamped.
189
- //
190
- // Mirrored in storefront-cms-library/src/components/css/widgets/global-styles.scss —
191
- // change one, copy it across.
192
- .flex__overflow {
193
- // A clamp can only reach its second line if the text is allowed to wrap, so this
194
- // undoes any `white-space: nowrap` the node carries — the same thing the hand-written
195
- // clamps in allocations-quota-details.scss and friends do.
196
- white-space: normal;
197
- @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
198
- }
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+ @use "./functions.scss" as *;
4
+
5
+ .custom-upload {
6
+ display: flex;
7
+
8
+ &:has(.preview_image_container) {
9
+ justify-content: space-between;
10
+ }
11
+
12
+ align-items: center;
13
+ border: 1px solid var(--_gray-300);
14
+ background-color: var(--_base-white);
15
+ padding: 16px;
16
+ border-radius: 4px;
17
+ gap: 12px;
18
+
19
+ .preview_image_container {
20
+ width: 100%;
21
+ display: flex;
22
+ align-items: center;
23
+ gap: 12px;
24
+
25
+ .image_title {
26
+ font-size: 14px;
27
+ margin-top: 3px;
28
+
29
+ .label {
30
+ color: var(--_thm-cs-at-sy);
31
+ @include restrictToLinesShow(1);
32
+ }
33
+ }
34
+
35
+ .preview_image {
36
+ height: 36px;
37
+ width: 36px;
38
+ border-radius: 50%;
39
+ padding: 4px;
40
+ background: var(--_base-white);
41
+ border: 1px solid var(--_gray-300);
42
+
43
+ img {
44
+ width: 100%;
45
+ width: 100%;
46
+ object-fit: contain;
47
+ }
48
+ }
49
+ }
50
+
51
+ .clear_upload_icon {
52
+ svg {
53
+ width: 18px;
54
+ height: 18px;
55
+ }
56
+ }
57
+
58
+ .uploadicon {
59
+ padding: 8px;
60
+ display: flex;
61
+ justify-content: center;
62
+ align-items: center;
63
+ background: var(--_gray-200);
64
+ outline: 6px solid var(--_gray-100);
65
+ border-radius: 50%;
66
+ height: 36px;
67
+ width: 36px;
68
+
69
+ .svg_icon {
70
+ svg {
71
+ width: 20px;
72
+ height: 20px;
73
+
74
+ path {
75
+ stroke: var(--_gray-700);
76
+ }
77
+ }
78
+ }
79
+ }
80
+
81
+ .file_upload_text {
82
+ display: flex;
83
+ flex-direction: column;
84
+ gap: 8px;
85
+
86
+ .label {
87
+ @include restrictToLinesShow(1);
88
+ }
89
+
90
+ p {
91
+ color: var(--_thm-cs-at-py);
92
+ font-weight: 600;
93
+ }
94
+
95
+ span {
96
+ color: var(--_thm-cs-at-sy);
97
+ font-size: 14px;
98
+ }
99
+ }
100
+ }
101
+
102
+ // Skeleton for the reused ProductOptions swatches (rendered inside the CMS
103
+ // builder/preview, e.g. the Category Groups product cards). Mirrors the website
104
+ // globals so the swatch placeholders keep their spacing here too.
105
+ .product_options_skeleton {
106
+ width: 100%;
107
+
108
+ .sklts_swatch {
109
+ display: flex;
110
+ gap: 8px;
111
+ margin-bottom: 8px;
112
+ }
113
+ }
114
+
115
+ // Skeleton base styles (mirrored from storefront-websites globals so reused
116
+ // element skeletons render identically inside the CMS builder/preview).
117
+ .skeleton {
118
+ background-color: #e5e7eb !important;
119
+ border: none !important;
120
+ // One radius for every placeholder, never the element's schema radius — see the
121
+ // note on `.skeleton` in storefront-websites globals.scss. `!important` beats both
122
+ // the element classes templates reuse and the Skeleton component's inline `br`.
123
+ border-radius: 4px !important;
124
+ min-height: 8px;
125
+ position: relative;
126
+ overflow: hidden;
127
+ display: block;
128
+
129
+ &--rectangular {
130
+ width: 100%;
131
+ height: 100%;
132
+ }
133
+
134
+ &--circular {
135
+ // The only exception to 6px; needs `!important` to survive the base rule.
136
+ border-radius: 50% !important;
137
+ }
138
+
139
+ &--text {
140
+ transform-origin: 0 55%;
141
+ transform: scale(1, 0.6);
142
+
143
+ &::before {
144
+ content: "\00a0";
145
+ }
146
+ }
147
+
148
+ &--shimmer {
149
+ &::after {
150
+ content: "";
151
+ position: absolute;
152
+ top: 0;
153
+ left: 0;
154
+ right: 0;
155
+ bottom: 0;
156
+ background: linear-gradient(90deg,
157
+ transparent 0%,
158
+ rgba(255, 255, 255, 0.4) 50%,
159
+ transparent 100%);
160
+ animation: skeleton-shimmer 1.5s infinite;
161
+ transform: translateX(-100%);
162
+ }
163
+ }
164
+
165
+ &--pulse {
166
+ animation: skeleton-pulse 1.5s ease-in-out infinite;
167
+ }
168
+ }
169
+
170
+ @keyframes skeleton-shimmer {
171
+ 0% {
172
+ transform: translateX(-100%);
173
+ }
174
+
175
+ 100% {
176
+ transform: translateX(100%);
177
+ }
178
+ }
179
+
180
+ @keyframes skeleton-pulse {
181
+
182
+ 0%,
183
+ 100% {
184
+ opacity: 1;
185
+ }
186
+
187
+ 50% {
188
+ opacity: 0.5;
189
+ }
190
+ }
191
+
192
+ .skeleton__element {
193
+ @extend .skeleton;
194
+ @extend .skeleton--shimmer;
195
+ }
196
+
197
+ // Text Overflow fallback.
198
+ //
199
+ // Text Overflow is a `controls` property, not a CSS one, so it cannot travel to the
200
+ // stylesheet as a variable — the renderer opts a text node in with `.flex__overflow`
201
+ // and carries the line count in `--_sf-line-clamp`.
202
+ //
203
+ // This is the clamp declared once, for every text node whose own block does not set a
204
+ // competing `display`. Blocks that do (a flex label, say) carry their own scoped
205
+ // `&.flex__overflow` rule, since this one is a single class and would lose to them.
206
+ //
207
+ // The class is only ever emitted when the toggle is on, so this cannot clamp a node
208
+ // that was not asked to be clamped.
209
+ //
210
+ // Mirrored in storefront-cms-library/src/components/css/widgets/global-styles.scss —
211
+ // change one, copy it across.
212
+ .flex__overflow {
213
+ // A clamp can only reach its second line if the text is allowed to wrap, so this
214
+ // undoes any `white-space: nowrap` the node carries — the same thing the hand-written
215
+ // clamps in allocations-quota-details.scss and friends do.
216
+ white-space: normal;
217
+ @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
218
+ }
package/dist/grid.scss CHANGED
@@ -9,16 +9,14 @@ $flexRow: "rw";
9
9
  $flexRowReverse: "rw-rv";
10
10
  $flexColumn: "cln";
11
11
  $flexColumnReverse: "cln-rv";
12
+
12
13
  [data-div-type="grid"] {
13
14
  position: var(--_p-relative);
14
15
  display: var(--_d-grid);
15
16
  // padding: var(--_ctm-mob-gri-lt-pg), var(--_ctm-tab-gri-lt-pg, var(--_ctm-gri-lt-pg));
16
17
  // height: 100% !important;
17
- box-shadow: var(
18
- --_hide-grid-shadow,
19
- prepareMediaVariable(--_ctm-gri-dn-sw-ae) prepareMediaVariable(--_ctm-gri-dn-sw-br)
20
- prepareMediaVariable(--_ctm-gri-dn-sw-sd) prepareMediaVariable(--_ctm-gri-dn-sw-cr)
21
- );
18
+ box-shadow: var(--_hide-grid-shadow,
19
+ prepareMediaVariable(--_ctm-gri-dn-sw-ae) prepareMediaVariable(--_ctm-gri-dn-sw-br) prepareMediaVariable(--_ctm-gri-dn-sw-sd) prepareMediaVariable(--_ctm-gri-dn-sw-cr));
22
20
  // padding: var(--_ctm-mob-gri-lt-pg, var(--_ctm-tab-gri-lt-pg, var(--_ctm-gri-lt-pg)));
23
21
 
24
22
  // padding: var(--_ctm-mob-gri-lt-pg, var(--_ctm-tab-gri-lt-pg, var(--_ctm-gri-lt-pg)));
@@ -31,7 +29,7 @@ $flexColumnReverse: "cln-rv";
31
29
  // background-size: prepareMediaVariable(--_ctm-gri-dn-bd-se);
32
30
 
33
31
  &[data-background-type="color"] {
34
- & > .wrapper {
32
+ &>.wrapper {
35
33
  background-color: prepareMediaVariable(--_ctm-gri-dn-bd-cr);
36
34
  }
37
35
  }
@@ -39,38 +37,30 @@ $flexColumnReverse: "cln-rv";
39
37
  &[data-background-type="gradient"] {
40
38
  --_sf-gri-gradient-angle: calc(#{prepareMediaVariable(--_ctm-gri-dn-gt-ae, 90)} * 1deg);
41
39
  --_sf-gri-gradient-start-color: #{prepareMediaVariable(--_ctm-gri-dn-gt-st-cr, transparent)};
42
- --_sf-gri-gradient-start-position: calc(
43
- #{prepareMediaVariable(--_ctm-gri-dn-gt-st-pn, 0)} * 1%
44
- );
40
+ --_sf-gri-gradient-start-position: calc(#{prepareMediaVariable(--_ctm-gri-dn-gt-st-pn, 0)} * 1%);
45
41
  --_sf-gri-gradient-end-color: #{prepareMediaVariable(--_ctm-gri-dn-gt-ed-cr, transparent)};
46
- --_sf-gri-gradient-end-position: calc(
47
- #{prepareMediaVariable(--_ctm-gri-dn-gt-ed-pn, 100)} * 1%
48
- );
42
+ --_sf-gri-gradient-end-position: calc(#{prepareMediaVariable(--_ctm-gri-dn-gt-ed-pn, 100)} * 1%);
49
43
  --_sf-gri-gradient-position: #{prepareMediaVariable(--_ctm-gri-dn-gt-pn, center)};
50
44
 
51
45
  &[data-gradient-type="Linear Gradient"] {
52
- & > .wrapper {
53
- background-image: linear-gradient(
54
- var(--_sf-gri-gradient-angle),
55
- var(--_sf-gri-gradient-start-color) var(--_sf-gri-gradient-start-position),
56
- var(--_sf-gri-gradient-end-color) var(--_sf-gri-gradient-end-position)
57
- );
46
+ &>.wrapper {
47
+ background-image: linear-gradient(var(--_sf-gri-gradient-angle),
48
+ var(--_sf-gri-gradient-start-color) var(--_sf-gri-gradient-start-position),
49
+ var(--_sf-gri-gradient-end-color) var(--_sf-gri-gradient-end-position));
58
50
  }
59
51
  }
60
52
 
61
53
  &[data-gradient-type="Radial Gradient"] {
62
- & > .wrapper {
63
- background-image: radial-gradient(
64
- circle at var(--_sf-gri-gradient-position),
65
- var(--_sf-gri-gradient-start-color) var(--_sf-gri-gradient-start-position),
66
- var(--_sf-gri-gradient-end-color) var(--_sf-gri-gradient-end-position)
67
- );
54
+ &>.wrapper {
55
+ background-image: radial-gradient(circle at var(--_sf-gri-gradient-position),
56
+ var(--_sf-gri-gradient-start-color) var(--_sf-gri-gradient-start-position),
57
+ var(--_sf-gri-gradient-end-color) var(--_sf-gri-gradient-end-position));
68
58
  }
69
59
  }
70
60
  }
71
61
 
72
62
  &[data-background-type="image"] {
73
- & > .wrapper {
63
+ &>.wrapper {
74
64
  background-image: prepareMediaVariable(--_ctm-gri-dn-bd-ie);
75
65
  background-attachment: prepareMediaVariable(--_ctm-gri-dn-bd-at);
76
66
  background-position: prepareMediaVariable(--_ctm-gri-dn-bd-pn);
@@ -83,13 +73,14 @@ $flexColumnReverse: "cln-rv";
83
73
  &[data-show-shadow="false"] {
84
74
  --_hide-grid-shadow: none;
85
75
  }
76
+
86
77
  &[data-show-border="false"] {
87
78
  --_hide-grid-border: none;
88
79
  }
89
80
 
90
81
  &:is(#{$activeElementSelector}) {
91
82
  &:has(#{$activeElementSelector}#{$elementSelector}) {
92
- & > div {
83
+ &>div {
93
84
  &[data-type="wrapper-layer"] {
94
85
  --_sf-gri-wl-vt: visible;
95
86
  --_sf-gri-wl-op: 1;
@@ -101,7 +92,7 @@ $flexColumnReverse: "cln-rv";
101
92
  }
102
93
  }
103
94
 
104
- & > div {
95
+ &>div {
105
96
  &[data-type="wrapper-layer"] {
106
97
  display: var(--_sf-gri-wl-dp, var(--_d-none)) !important;
107
98
  pointer-events: none;
@@ -110,13 +101,11 @@ $flexColumnReverse: "cln-rv";
110
101
  position: var(--_p-absolute) !important;
111
102
  inset: 0 0 0 0;
112
103
  --_sf-pr-wr-ly-br-cl: 25%;
113
- border: var(--_sf-gri-wl-bw) solid
114
- color-mix(
115
- in srgb,
104
+ border: var(--_sf-gri-wl-bw) solid color-mix(in srgb,
116
105
  var(--_accent-color-2-500) var(--_sf-pr-wr-ly-br-cl),
117
- transparent calc(100% - var(--_sf-pr-wr-ly-br-cl))
118
- );
106
+ transparent calc(100% - var(--_sf-pr-wr-ly-br-cl)));
119
107
  }
108
+
120
109
  &[data-div-type="cms-grid-wrapper"] {
121
110
  // padding: var(--_ctm-mob-gri-lt-pg, var(--_ctm-tab-gri-lt-pg, var(--_ctm-gri-lt-pg)));
122
111
  padding: #{prepareMediaVariable(--_ctm-gri-lt-pg)};
@@ -148,16 +137,19 @@ $flexColumnReverse: "cln-rv";
148
137
  align-items: prepareMediaVariable(--_ctm-gri-lt-an-is);
149
138
  justify-content: prepareMediaVariable(--_ctm-gri-lt-jy-ct);
150
139
  }
140
+
151
141
  &.#{$flexRowReverse} {
152
142
  flex-direction: row-reverse;
153
143
  align-items: prepareMediaVariable(--_ctm-gri-lt-an-is);
154
144
  justify-content: prepareMediaVariable(--_ctm-gri-lt-jy-ct);
155
145
  }
146
+
156
147
  &.#{$flexColumn} {
157
148
  flex-direction: column;
158
149
  justify-content: prepareMediaVariable(--_ctm-gri-lt-an-is);
159
150
  align-items: prepareMediaVariable(--_ctm-gri-lt-jy-ct);
160
151
  }
152
+
161
153
  &.#{$flexColumnReverse} {
162
154
  flex-direction: column-reverse;
163
155
  justify-content: prepareMediaVariable(--_ctm-gri-lt-an-is);
@@ -166,4 +158,4 @@ $flexColumnReverse: "cln-rv";
166
158
  }
167
159
  }
168
160
  }
169
- }
161
+ }