@sc-360-v2/storefront-cms-library 0.5.72 → 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.
- package/dist/add-existing-form.scss +13 -5
- package/dist/add-order.scss +126 -236
- package/dist/add-products-tab-details.scss +1048 -2097
- package/dist/add-products-tab.scss +666 -1204
- package/dist/allocation-header-quota-details.scss +189 -407
- package/dist/allocationDetails.scss +1661 -2143
- package/dist/allocations-quota-details.scss +159 -323
- package/dist/allocations.scss +475 -793
- package/dist/amount-estimator.scss +405 -743
- package/dist/badge.scss +43 -18
- package/dist/brand-basic-elements.scss +76 -124
- package/dist/brand.scss +28 -55
- package/dist/breadcrumbs.scss +356 -718
- package/dist/builder.js +1 -1
- package/dist/bulk-variant-picker.scss +1128 -2027
- package/dist/bundle.scss +841 -1477
- package/dist/bundleDetails.scss +3774 -5072
- package/dist/button.scss +79 -103
- package/dist/buy-for-tab-container.scss +77 -106
- package/dist/buyForHeaders.scss +1722 -2976
- package/dist/cart-details.scss +481 -1012
- package/dist/cart-summary.scss +557 -1149
- package/dist/cart-wrapper.scss +37 -79
- package/dist/cart.scss +117 -225
- package/dist/cartAttributes.scss +416 -735
- package/dist/category-groups-element.scss +127 -108
- package/dist/category-groups-product-grid.scss +120 -147
- package/dist/category-groups-product-image.scss +1162 -1457
- package/dist/category-groups-product-options.scss +613 -680
- package/dist/category-groups-product-price.scss +1966 -3244
- package/dist/category-groups-quota-details.scss +210 -464
- package/dist/category.scss +26 -50
- package/dist/checkout.scss +24 -16
- package/dist/confirm-modal.scss +22 -2
- package/dist/container.scss +32 -54
- package/dist/countdown.scss +255 -443
- package/dist/coupon.scss +351 -710
- package/dist/default-dropdown.scss +12 -1
- package/dist/embroider-template-1-v2.scss +123 -172
- package/dist/embroider-template-1.scss +68 -104
- package/dist/embroidery.scss +30 -31
- package/dist/employee-bulk-order.scss +418 -142
- package/dist/faq.scss +228 -408
- package/dist/filter-results.scss +125 -265
- package/dist/filters.scss +900 -1797
- package/dist/gallery-slider-temp.scss +432 -750
- package/dist/global-styles.scss +218 -198
- package/dist/grid.scss +25 -33
- package/dist/hotspot.scss +68 -115
- package/dist/image-temp.scss +21 -20
- package/dist/item-stock.scss +9 -16
- package/dist/kitDetails.scss +2719 -4299
- package/dist/kits.scss +24 -19
- package/dist/language-selector.scss +211 -361
- package/dist/last-x-orders.scss +95 -174
- package/dist/layouter-item.scss +75 -103
- package/dist/layouter-pro-item.scss +89 -95
- package/dist/layouter-pro.scss +87 -92
- package/dist/layouter.scss +383 -445
- package/dist/light-box-v2.scss +89 -104
- package/dist/login.scss +287 -566
- package/dist/map.scss +221 -368
- package/dist/marchandiserSets.scss +95 -104
- package/dist/mega-menu-container.scss +96 -109
- package/dist/mega-menu.scss +624 -731
- package/dist/menu-item.scss +2 -2
- package/dist/menu-v2.scss +507 -619
- package/dist/multi-select-dropdown.scss +27 -3
- package/dist/my-templates.scss +38 -9
- package/dist/option-bar.scss +215 -375
- package/dist/order-status.scss +646 -1117
- package/dist/overflow-module.scss +6 -7
- package/dist/past-orders.scss +118 -149
- package/dist/payment-methods.scss +46 -30
- package/dist/pickup-locations.scss +558 -1118
- package/dist/position-module.scss +20 -17
- package/dist/prefix-list.scss +21 -10
- package/dist/product-actions.scss +1750 -2055
- package/dist/product-basic-elements.scss +108 -169
- package/dist/product-highlights.scss +107 -152
- package/dist/product-image-bundles.scss +337 -642
- package/dist/product-inventory.scss +673 -1357
- package/dist/product-labels.scss +84 -105
- package/dist/product-options.scss +1117 -1274
- package/dist/product-price.scss +1283 -2561
- package/dist/product-promotions.scss +1388 -2830
- package/dist/product-sizechart.scss +516 -905
- package/dist/product.scss +28 -61
- package/dist/productDetails.scss +19 -39
- package/dist/profile.scss +207 -447
- package/dist/quantity-selector.scss +837 -1074
- package/dist/quick-inventory-check.scss +95 -174
- package/dist/quick-links.scss +55 -133
- package/dist/quick-order-pad.scss +218 -271
- package/dist/quota-details.scss +152 -282
- package/dist/quotes.scss +89 -122
- package/dist/repeater-embla-controls.scss +35 -15
- package/dist/repeater-grid-toggle.scss +156 -166
- package/dist/repeater-item.scss +41 -64
- package/dist/repeater.scss +671 -814
- package/dist/request-for-quotes.scss +66 -16
- package/dist/responsive-behaviour.scss +3 -1
- package/dist/rfqs.scss +118 -181
- package/dist/scroll.scss +93 -172
- package/dist/search.scss +179 -326
- package/dist/section.scss +27 -51
- package/dist/shipping-payments.scss +198 -58
- package/dist/simple-list.scss +74 -164
- package/dist/social.scss +80 -145
- package/dist/sort.scss +11 -19
- package/dist/stack.scss +23 -34
- package/dist/static-global.scss +44 -26
- package/dist/stockStatus.scss +11 -19
- package/dist/store-locations.scss +577 -1105
- package/dist/tab-container.scss +81 -108
- package/dist/table-common.scss +217 -408
- package/dist/table.scss +271 -502
- package/dist/text-temp.scss +8 -7
- package/dist/theme-classes.scss +17 -13
- package/dist/uom-selector.scss +489 -949
- package/dist/user-elements.scss +529 -837
- package/dist/variant-picker.scss +1281 -2555
- package/dist/volume-pricing.scss +541 -1037
- package/package.json +1 -1
package/dist/global-styles.scss
CHANGED
|
@@ -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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
&--
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
&--
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
53
|
-
background-image: linear-gradient(
|
|
54
|
-
|
|
55
|
-
|
|
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
|
-
|
|
63
|
-
background-image: radial-gradient(
|
|
64
|
-
|
|
65
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
+
}
|