@sc-360-v2/storefront-cms-library 0.5.73 → 0.5.74
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 +5 -13
- package/dist/add-order.scss +236 -126
- package/dist/add-products-tab-details.scss +2097 -1048
- package/dist/add-products-tab.scss +1204 -666
- package/dist/allocation-header-quota-details.scss +407 -189
- package/dist/allocationDetails.scss +2143 -1661
- package/dist/allocations-quota-details.scss +323 -159
- package/dist/allocations.scss +793 -475
- package/dist/amount-estimator.scss +743 -405
- package/dist/badge.scss +18 -43
- package/dist/brand-basic-elements.scss +124 -76
- package/dist/brand.scss +55 -28
- package/dist/breadcrumbs.scss +718 -356
- package/dist/builder.js +1 -1
- package/dist/builderLite.js +1 -1
- package/dist/bulk-variant-picker.scss +2027 -1128
- package/dist/bundle.scss +1477 -841
- package/dist/bundleDetails.scss +5072 -3774
- package/dist/button.scss +103 -79
- package/dist/buy-for-tab-container.scss +106 -77
- package/dist/buyForHeaders.scss +2976 -1722
- package/dist/cart-details.scss +1012 -481
- package/dist/cart-summary.scss +1149 -557
- package/dist/cart-wrapper.scss +79 -37
- package/dist/cart.scss +225 -117
- package/dist/cartAttributes.scss +735 -416
- package/dist/category-groups-element.scss +108 -127
- package/dist/category-groups-product-grid.scss +147 -120
- package/dist/category-groups-product-image.scss +1457 -1162
- package/dist/category-groups-product-options.scss +680 -613
- package/dist/category-groups-product-price.scss +3244 -1966
- package/dist/category-groups-quota-details.scss +464 -210
- package/dist/category.scss +50 -26
- package/dist/checkout.scss +16 -24
- package/dist/confirm-modal.scss +2 -22
- package/dist/container.scss +54 -32
- package/dist/countdown.scss +443 -255
- package/dist/coupon.scss +710 -351
- package/dist/default-dropdown.scss +1 -12
- package/dist/embroider-template-1-v2.scss +172 -123
- package/dist/embroider-template-1.scss +104 -68
- package/dist/embroidery.scss +31 -30
- package/dist/employee-bulk-order.scss +142 -418
- package/dist/faq.scss +408 -228
- package/dist/filter-results.scss +265 -125
- package/dist/filters.scss +1797 -900
- package/dist/gallery-slider-temp.scss +750 -432
- package/dist/global-styles.scss +7 -23
- package/dist/grid.scss +33 -25
- package/dist/hotspot.scss +115 -68
- package/dist/image-temp.scss +20 -21
- package/dist/item-stock.scss +16 -9
- package/dist/kitDetails.scss +4301 -2721
- package/dist/kits.scss +19 -24
- package/dist/language-selector.scss +361 -211
- package/dist/last-x-orders.scss +174 -95
- package/dist/layouter-item.scss +103 -75
- package/dist/layouter-pro-item.scss +95 -89
- package/dist/layouter-pro.scss +92 -87
- package/dist/layouter.scss +445 -383
- package/dist/light-box-v2.scss +104 -89
- package/dist/login.scss +566 -287
- package/dist/map.scss +368 -221
- package/dist/marchandiserSets.scss +104 -95
- package/dist/mega-menu-container.scss +109 -96
- package/dist/mega-menu.scss +731 -624
- package/dist/menu-item.scss +2 -2
- package/dist/menu-v2.scss +619 -507
- package/dist/multi-select-dropdown.scss +3 -27
- package/dist/my-templates.scss +9 -38
- package/dist/option-bar.scss +375 -215
- package/dist/option-families.scss +252 -0
- package/dist/order-status.scss +1117 -646
- package/dist/overflow-module.scss +7 -6
- package/dist/past-orders.scss +149 -118
- package/dist/payment-methods.scss +30 -46
- package/dist/pickup-locations.scss +1118 -558
- package/dist/position-module.scss +17 -20
- package/dist/prefix-list.scss +10 -21
- package/dist/product-actions.scss +2316 -1610
- package/dist/product-basic-elements.scss +169 -108
- package/dist/product-highlights.scss +152 -107
- package/dist/product-image-bundles.scss +642 -337
- package/dist/product-inventory.scss +1357 -673
- package/dist/product-labels.scss +105 -84
- package/dist/product-options.scss +1274 -1117
- package/dist/product-price.scss +2561 -1283
- package/dist/product-promotions.scss +2830 -1388
- package/dist/product-sizechart.scss +905 -516
- package/dist/product.scss +61 -28
- package/dist/productDetails.scss +39 -19
- package/dist/profile.scss +447 -207
- package/dist/quantity-selector.scss +550 -313
- package/dist/quick-inventory-check.scss +174 -95
- package/dist/quick-links.scss +133 -55
- package/dist/quick-order-pad.scss +271 -218
- package/dist/quota-details.scss +282 -152
- package/dist/quotes.scss +122 -89
- package/dist/repeater-embla-controls.scss +15 -35
- package/dist/repeater-grid-toggle.scss +166 -156
- package/dist/repeater-item.scss +64 -41
- package/dist/repeater.scss +814 -671
- package/dist/request-for-quotes.scss +16 -66
- package/dist/responsive-behaviour.scss +1 -3
- package/dist/rfqs.scss +181 -118
- package/dist/scroll.scss +172 -93
- package/dist/search.scss +326 -179
- package/dist/section.scss +51 -27
- package/dist/shipping-payments.scss +58 -198
- package/dist/simple-list.scss +164 -74
- package/dist/social.scss +145 -80
- package/dist/sort.scss +19 -11
- package/dist/stack.scss +34 -23
- package/dist/static-global.scss +26 -44
- package/dist/stockStatus.scss +19 -11
- package/dist/store-locations.scss +1105 -577
- package/dist/tab-container.scss +108 -81
- package/dist/table-common.scss +408 -217
- package/dist/table.scss +502 -271
- package/dist/text-temp.scss +7 -8
- package/dist/theme-classes.scss +13 -17
- package/dist/types/builder/enums/data-connectors.d.ts +3 -1
- package/dist/types/builder/enums/index.d.ts +3 -1
- package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/optionFamilies.d.ts +20 -0
- package/dist/types/website/constants/data-connector-souces.d.ts +40 -8
- package/dist/types/website/constants/data-connectors.d.ts +12 -1
- package/dist/types/website/helper/ssr-functions.d.ts +8 -0
- package/dist/uom-selector.scss +949 -489
- package/dist/user-elements.scss +837 -529
- package/dist/variant-picker.scss +2555 -1281
- package/dist/volume-pricing.scss +1037 -541
- package/dist/website.js +1 -1
- package/dist/widget.scss +1 -0
- package/package.json +1 -1
package/dist/global-styles.scss
CHANGED
|
@@ -4,34 +4,28 @@
|
|
|
4
4
|
|
|
5
5
|
.custom-upload {
|
|
6
6
|
display: flex;
|
|
7
|
-
|
|
8
7
|
&:has(.preview_image_container) {
|
|
9
8
|
justify-content: space-between;
|
|
10
9
|
}
|
|
11
|
-
|
|
12
10
|
align-items: center;
|
|
13
11
|
border: 1px solid var(--_gray-300);
|
|
14
12
|
background-color: var(--_base-white);
|
|
15
13
|
padding: 16px;
|
|
16
14
|
border-radius: 4px;
|
|
17
15
|
gap: 12px;
|
|
18
|
-
|
|
19
16
|
.preview_image_container {
|
|
20
17
|
width: 100%;
|
|
21
18
|
display: flex;
|
|
22
19
|
align-items: center;
|
|
23
20
|
gap: 12px;
|
|
24
|
-
|
|
25
21
|
.image_title {
|
|
26
22
|
font-size: 14px;
|
|
27
23
|
margin-top: 3px;
|
|
28
|
-
|
|
29
24
|
.label {
|
|
30
25
|
color: var(--_thm-cs-at-sy);
|
|
31
26
|
@include restrictToLinesShow(1);
|
|
32
27
|
}
|
|
33
28
|
}
|
|
34
|
-
|
|
35
29
|
.preview_image {
|
|
36
30
|
height: 36px;
|
|
37
31
|
width: 36px;
|
|
@@ -39,7 +33,6 @@
|
|
|
39
33
|
padding: 4px;
|
|
40
34
|
background: var(--_base-white);
|
|
41
35
|
border: 1px solid var(--_gray-300);
|
|
42
|
-
|
|
43
36
|
img {
|
|
44
37
|
width: 100%;
|
|
45
38
|
width: 100%;
|
|
@@ -47,14 +40,12 @@
|
|
|
47
40
|
}
|
|
48
41
|
}
|
|
49
42
|
}
|
|
50
|
-
|
|
51
43
|
.clear_upload_icon {
|
|
52
44
|
svg {
|
|
53
45
|
width: 18px;
|
|
54
46
|
height: 18px;
|
|
55
47
|
}
|
|
56
48
|
}
|
|
57
|
-
|
|
58
49
|
.uploadicon {
|
|
59
50
|
padding: 8px;
|
|
60
51
|
display: flex;
|
|
@@ -65,12 +56,10 @@
|
|
|
65
56
|
border-radius: 50%;
|
|
66
57
|
height: 36px;
|
|
67
58
|
width: 36px;
|
|
68
|
-
|
|
69
59
|
.svg_icon {
|
|
70
60
|
svg {
|
|
71
61
|
width: 20px;
|
|
72
62
|
height: 20px;
|
|
73
|
-
|
|
74
63
|
path {
|
|
75
64
|
stroke: var(--_gray-700);
|
|
76
65
|
}
|
|
@@ -82,16 +71,13 @@
|
|
|
82
71
|
display: flex;
|
|
83
72
|
flex-direction: column;
|
|
84
73
|
gap: 8px;
|
|
85
|
-
|
|
86
74
|
.label {
|
|
87
75
|
@include restrictToLinesShow(1);
|
|
88
76
|
}
|
|
89
|
-
|
|
90
77
|
p {
|
|
91
78
|
color: var(--_thm-cs-at-py);
|
|
92
79
|
font-weight: 600;
|
|
93
80
|
}
|
|
94
|
-
|
|
95
81
|
span {
|
|
96
82
|
color: var(--_thm-cs-at-sy);
|
|
97
83
|
font-size: 14px;
|
|
@@ -104,7 +90,6 @@
|
|
|
104
90
|
// globals so the swatch placeholders keep their spacing here too.
|
|
105
91
|
.product_options_skeleton {
|
|
106
92
|
width: 100%;
|
|
107
|
-
|
|
108
93
|
.sklts_swatch {
|
|
109
94
|
display: flex;
|
|
110
95
|
gap: 8px;
|
|
@@ -153,10 +138,12 @@
|
|
|
153
138
|
left: 0;
|
|
154
139
|
right: 0;
|
|
155
140
|
bottom: 0;
|
|
156
|
-
background: linear-gradient(
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
141
|
+
background: linear-gradient(
|
|
142
|
+
90deg,
|
|
143
|
+
transparent 0%,
|
|
144
|
+
rgba(255, 255, 255, 0.4) 50%,
|
|
145
|
+
transparent 100%
|
|
146
|
+
);
|
|
160
147
|
animation: skeleton-shimmer 1.5s infinite;
|
|
161
148
|
transform: translateX(-100%);
|
|
162
149
|
}
|
|
@@ -171,19 +158,16 @@
|
|
|
171
158
|
0% {
|
|
172
159
|
transform: translateX(-100%);
|
|
173
160
|
}
|
|
174
|
-
|
|
175
161
|
100% {
|
|
176
162
|
transform: translateX(100%);
|
|
177
163
|
}
|
|
178
164
|
}
|
|
179
165
|
|
|
180
166
|
@keyframes skeleton-pulse {
|
|
181
|
-
|
|
182
167
|
0%,
|
|
183
168
|
100% {
|
|
184
169
|
opacity: 1;
|
|
185
170
|
}
|
|
186
|
-
|
|
187
171
|
50% {
|
|
188
172
|
opacity: 0.5;
|
|
189
173
|
}
|
|
@@ -215,4 +199,4 @@
|
|
|
215
199
|
// clamps in allocations-quota-details.scss and friends do.
|
|
216
200
|
white-space: normal;
|
|
217
201
|
@include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
|
|
218
|
-
}
|
|
202
|
+
}
|
package/dist/grid.scss
CHANGED
|
@@ -9,14 +9,16 @@ $flexRow: "rw";
|
|
|
9
9
|
$flexRowReverse: "rw-rv";
|
|
10
10
|
$flexColumn: "cln";
|
|
11
11
|
$flexColumnReverse: "cln-rv";
|
|
12
|
-
|
|
13
12
|
[data-div-type="grid"] {
|
|
14
13
|
position: var(--_p-relative);
|
|
15
14
|
display: var(--_d-grid);
|
|
16
15
|
// padding: var(--_ctm-mob-gri-lt-pg), var(--_ctm-tab-gri-lt-pg, var(--_ctm-gri-lt-pg));
|
|
17
16
|
// height: 100% !important;
|
|
18
|
-
box-shadow: var(
|
|
19
|
-
|
|
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
|
+
);
|
|
20
22
|
// padding: var(--_ctm-mob-gri-lt-pg, var(--_ctm-tab-gri-lt-pg, var(--_ctm-gri-lt-pg)));
|
|
21
23
|
|
|
22
24
|
// padding: var(--_ctm-mob-gri-lt-pg, var(--_ctm-tab-gri-lt-pg, var(--_ctm-gri-lt-pg)));
|
|
@@ -29,7 +31,7 @@ $flexColumnReverse: "cln-rv";
|
|
|
29
31
|
// background-size: prepareMediaVariable(--_ctm-gri-dn-bd-se);
|
|
30
32
|
|
|
31
33
|
&[data-background-type="color"] {
|
|
32
|
-
|
|
34
|
+
& > .wrapper {
|
|
33
35
|
background-color: prepareMediaVariable(--_ctm-gri-dn-bd-cr);
|
|
34
36
|
}
|
|
35
37
|
}
|
|
@@ -37,30 +39,38 @@ $flexColumnReverse: "cln-rv";
|
|
|
37
39
|
&[data-background-type="gradient"] {
|
|
38
40
|
--_sf-gri-gradient-angle: calc(#{prepareMediaVariable(--_ctm-gri-dn-gt-ae, 90)} * 1deg);
|
|
39
41
|
--_sf-gri-gradient-start-color: #{prepareMediaVariable(--_ctm-gri-dn-gt-st-cr, transparent)};
|
|
40
|
-
--_sf-gri-gradient-start-position: calc(
|
|
42
|
+
--_sf-gri-gradient-start-position: calc(
|
|
43
|
+
#{prepareMediaVariable(--_ctm-gri-dn-gt-st-pn, 0)} * 1%
|
|
44
|
+
);
|
|
41
45
|
--_sf-gri-gradient-end-color: #{prepareMediaVariable(--_ctm-gri-dn-gt-ed-cr, transparent)};
|
|
42
|
-
--_sf-gri-gradient-end-position: calc(
|
|
46
|
+
--_sf-gri-gradient-end-position: calc(
|
|
47
|
+
#{prepareMediaVariable(--_ctm-gri-dn-gt-ed-pn, 100)} * 1%
|
|
48
|
+
);
|
|
43
49
|
--_sf-gri-gradient-position: #{prepareMediaVariable(--_ctm-gri-dn-gt-pn, center)};
|
|
44
50
|
|
|
45
51
|
&[data-gradient-type="Linear Gradient"] {
|
|
46
|
-
|
|
47
|
-
background-image: linear-gradient(
|
|
48
|
-
|
|
49
|
-
|
|
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
|
+
);
|
|
50
58
|
}
|
|
51
59
|
}
|
|
52
60
|
|
|
53
61
|
&[data-gradient-type="Radial Gradient"] {
|
|
54
|
-
|
|
55
|
-
background-image: radial-gradient(
|
|
56
|
-
|
|
57
|
-
|
|
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
|
+
);
|
|
58
68
|
}
|
|
59
69
|
}
|
|
60
70
|
}
|
|
61
71
|
|
|
62
72
|
&[data-background-type="image"] {
|
|
63
|
-
|
|
73
|
+
& > .wrapper {
|
|
64
74
|
background-image: prepareMediaVariable(--_ctm-gri-dn-bd-ie);
|
|
65
75
|
background-attachment: prepareMediaVariable(--_ctm-gri-dn-bd-at);
|
|
66
76
|
background-position: prepareMediaVariable(--_ctm-gri-dn-bd-pn);
|
|
@@ -73,14 +83,13 @@ $flexColumnReverse: "cln-rv";
|
|
|
73
83
|
&[data-show-shadow="false"] {
|
|
74
84
|
--_hide-grid-shadow: none;
|
|
75
85
|
}
|
|
76
|
-
|
|
77
86
|
&[data-show-border="false"] {
|
|
78
87
|
--_hide-grid-border: none;
|
|
79
88
|
}
|
|
80
89
|
|
|
81
90
|
&:is(#{$activeElementSelector}) {
|
|
82
91
|
&:has(#{$activeElementSelector}#{$elementSelector}) {
|
|
83
|
-
|
|
92
|
+
& > div {
|
|
84
93
|
&[data-type="wrapper-layer"] {
|
|
85
94
|
--_sf-gri-wl-vt: visible;
|
|
86
95
|
--_sf-gri-wl-op: 1;
|
|
@@ -92,7 +101,7 @@ $flexColumnReverse: "cln-rv";
|
|
|
92
101
|
}
|
|
93
102
|
}
|
|
94
103
|
|
|
95
|
-
|
|
104
|
+
& > div {
|
|
96
105
|
&[data-type="wrapper-layer"] {
|
|
97
106
|
display: var(--_sf-gri-wl-dp, var(--_d-none)) !important;
|
|
98
107
|
pointer-events: none;
|
|
@@ -101,11 +110,13 @@ $flexColumnReverse: "cln-rv";
|
|
|
101
110
|
position: var(--_p-absolute) !important;
|
|
102
111
|
inset: 0 0 0 0;
|
|
103
112
|
--_sf-pr-wr-ly-br-cl: 25%;
|
|
104
|
-
border: var(--_sf-gri-wl-bw) solid
|
|
113
|
+
border: var(--_sf-gri-wl-bw) solid
|
|
114
|
+
color-mix(
|
|
115
|
+
in srgb,
|
|
105
116
|
var(--_accent-color-2-500) var(--_sf-pr-wr-ly-br-cl),
|
|
106
|
-
transparent calc(100% - var(--_sf-pr-wr-ly-br-cl))
|
|
117
|
+
transparent calc(100% - var(--_sf-pr-wr-ly-br-cl))
|
|
118
|
+
);
|
|
107
119
|
}
|
|
108
|
-
|
|
109
120
|
&[data-div-type="cms-grid-wrapper"] {
|
|
110
121
|
// padding: var(--_ctm-mob-gri-lt-pg, var(--_ctm-tab-gri-lt-pg, var(--_ctm-gri-lt-pg)));
|
|
111
122
|
padding: #{prepareMediaVariable(--_ctm-gri-lt-pg)};
|
|
@@ -137,19 +148,16 @@ $flexColumnReverse: "cln-rv";
|
|
|
137
148
|
align-items: prepareMediaVariable(--_ctm-gri-lt-an-is);
|
|
138
149
|
justify-content: prepareMediaVariable(--_ctm-gri-lt-jy-ct);
|
|
139
150
|
}
|
|
140
|
-
|
|
141
151
|
&.#{$flexRowReverse} {
|
|
142
152
|
flex-direction: row-reverse;
|
|
143
153
|
align-items: prepareMediaVariable(--_ctm-gri-lt-an-is);
|
|
144
154
|
justify-content: prepareMediaVariable(--_ctm-gri-lt-jy-ct);
|
|
145
155
|
}
|
|
146
|
-
|
|
147
156
|
&.#{$flexColumn} {
|
|
148
157
|
flex-direction: column;
|
|
149
158
|
justify-content: prepareMediaVariable(--_ctm-gri-lt-an-is);
|
|
150
159
|
align-items: prepareMediaVariable(--_ctm-gri-lt-jy-ct);
|
|
151
160
|
}
|
|
152
|
-
|
|
153
161
|
&.#{$flexColumnReverse} {
|
|
154
162
|
flex-direction: column-reverse;
|
|
155
163
|
justify-content: prepareMediaVariable(--_ctm-gri-lt-an-is);
|
|
@@ -158,4 +166,4 @@ $flexColumnReverse: "cln-rv";
|
|
|
158
166
|
}
|
|
159
167
|
}
|
|
160
168
|
}
|
|
161
|
-
}
|
|
169
|
+
}
|
package/dist/hotspot.scss
CHANGED
|
@@ -25,77 +25,101 @@ $fullViewOn: '[data-view-state="full"]';
|
|
|
25
25
|
// spans exactly the gap, base on the tooltip edge and apex on the marker edge.
|
|
26
26
|
$data: (
|
|
27
27
|
// tooltip to the LEFT — tip on its right edge, pointing right
|
|
28
|
-
leftTop: (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
leftTop: (
|
|
29
|
+
transform: translate(calc(-100% - #{$g}), calc(-100% + #{$bm})),
|
|
30
|
+
icon: (
|
|
31
|
+
right: -#{$tip},
|
|
32
|
+
bottom: calc(#{$bm} - #{$ics}),
|
|
33
|
+
border-color: transparent transparent transparent var(--_ctm-dn-tp-dn-bd-cr),
|
|
34
|
+
),
|
|
32
35
|
),
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
icon: (
|
|
36
|
+
leftCenter: (
|
|
37
|
+
transform: translate(calc(-100% - #{$g}), -50%),
|
|
38
|
+
icon: (
|
|
39
|
+
right: -#{$tip},
|
|
36
40
|
top: calc(50% - #{$ics}),
|
|
37
41
|
border-color: transparent transparent transparent var(--_ctm-dn-tp-dn-bd-cr),
|
|
38
42
|
),
|
|
39
43
|
),
|
|
40
|
-
leftBottom: (
|
|
41
|
-
|
|
44
|
+
leftBottom: (
|
|
45
|
+
transform: translate(calc(-100% - #{$g}), calc(0% - #{$bm})),
|
|
46
|
+
icon: (
|
|
47
|
+
right: -#{$tip},
|
|
42
48
|
top: calc(#{$bm} - #{$ics}),
|
|
43
49
|
border-color: transparent transparent transparent var(--_ctm-dn-tp-dn-bd-cr),
|
|
44
50
|
),
|
|
45
51
|
),
|
|
46
52
|
// tooltip ABOVE — tip on its bottom edge, pointing down
|
|
47
|
-
topLeft: (
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
53
|
+
topLeft: (
|
|
54
|
+
transform: translate(calc(-100% + #{$bm}), calc(-100% - #{$g})),
|
|
55
|
+
icon: (
|
|
56
|
+
bottom: -#{$tip},
|
|
57
|
+
right: calc(#{$bm} - #{$ics}),
|
|
58
|
+
border-color: var(--_ctm-dn-tp-dn-bd-cr) transparent transparent transparent,
|
|
59
|
+
),
|
|
51
60
|
),
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
icon: (
|
|
61
|
+
topCenter: (
|
|
62
|
+
transform: translate(-50%, calc(-100% - #{$g})),
|
|
63
|
+
icon: (
|
|
64
|
+
bottom: -#{$tip},
|
|
55
65
|
left: calc(50% - #{$ics}),
|
|
56
66
|
border-color: var(--_ctm-dn-tp-dn-bd-cr) transparent transparent transparent,
|
|
57
67
|
),
|
|
58
68
|
),
|
|
59
|
-
topRight: (
|
|
60
|
-
|
|
69
|
+
topRight: (
|
|
70
|
+
transform: translate(calc(0% - #{$bm}), calc(-100% - #{$g})),
|
|
71
|
+
icon: (
|
|
72
|
+
bottom: -#{$tip},
|
|
61
73
|
left: calc(#{$bm} - #{$ics}),
|
|
62
74
|
border-color: var(--_ctm-dn-tp-dn-bd-cr) transparent transparent transparent,
|
|
63
75
|
),
|
|
64
76
|
),
|
|
65
77
|
// tooltip to the RIGHT — tip on its left edge, pointing left
|
|
66
|
-
rightTop: (
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
78
|
+
rightTop: (
|
|
79
|
+
transform: translate(#{$g}, calc(-100% + #{$bm})),
|
|
80
|
+
icon: (
|
|
81
|
+
left: -#{$tip},
|
|
82
|
+
bottom: calc(#{$bm} - #{$ics}),
|
|
83
|
+
border-color: transparent var(--_ctm-dn-tp-dn-bd-cr) transparent transparent,
|
|
84
|
+
),
|
|
70
85
|
),
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
icon: (
|
|
86
|
+
rightCenter: (
|
|
87
|
+
transform: translate(#{$g}, -50%),
|
|
88
|
+
icon: (
|
|
89
|
+
left: -#{$tip},
|
|
74
90
|
top: calc(50% - #{$ics}),
|
|
75
91
|
border-color: transparent var(--_ctm-dn-tp-dn-bd-cr) transparent transparent,
|
|
76
92
|
),
|
|
77
93
|
),
|
|
78
|
-
rightBottom: (
|
|
79
|
-
|
|
94
|
+
rightBottom: (
|
|
95
|
+
transform: translate(#{$g}, calc(0% - #{$bm})),
|
|
96
|
+
icon: (
|
|
97
|
+
left: -#{$tip},
|
|
80
98
|
top: calc(#{$bm} - #{$ics}),
|
|
81
99
|
border-color: transparent var(--_ctm-dn-tp-dn-bd-cr) transparent transparent,
|
|
82
100
|
),
|
|
83
101
|
),
|
|
84
102
|
// tooltip BELOW — tip on its top edge, pointing up
|
|
85
|
-
bottomLeft: (
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
103
|
+
bottomLeft: (
|
|
104
|
+
transform: translate(calc(-100% + #{$bm}), #{$g}),
|
|
105
|
+
icon: (
|
|
106
|
+
top: -#{$tip},
|
|
107
|
+
right: calc(#{$bm} - #{$ics}),
|
|
108
|
+
border-color: transparent transparent var(--_ctm-dn-tp-dn-bd-cr) transparent,
|
|
109
|
+
),
|
|
89
110
|
),
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
icon: (
|
|
111
|
+
bottomCenter: (
|
|
112
|
+
transform: translate(-50%, #{$g}),
|
|
113
|
+
icon: (
|
|
114
|
+
top: -#{$tip},
|
|
93
115
|
left: calc(50% - #{$ics}),
|
|
94
116
|
border-color: transparent transparent var(--_ctm-dn-tp-dn-bd-cr) transparent,
|
|
95
117
|
),
|
|
96
118
|
),
|
|
97
|
-
bottomRight: (
|
|
98
|
-
|
|
119
|
+
bottomRight: (
|
|
120
|
+
transform: translate(calc(0% - #{$bm}), #{$g}),
|
|
121
|
+
icon: (
|
|
122
|
+
top: -#{$tip},
|
|
99
123
|
left: calc(#{$bm} - #{$ics}),
|
|
100
124
|
border-color: transparent transparent var(--_ctm-dn-tp-dn-bd-cr) transparent,
|
|
101
125
|
),
|
|
@@ -122,9 +146,7 @@ $data: (
|
|
|
122
146
|
@each $prop, $val in $value {
|
|
123
147
|
@if ($prop !=icon) {
|
|
124
148
|
#{$prop}: #{$val};
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
@else {
|
|
149
|
+
} @else {
|
|
128
150
|
@each $key2, $value2 in $val {
|
|
129
151
|
&:after {
|
|
130
152
|
#{$key2}: #{$value2};
|
|
@@ -142,8 +164,12 @@ $data: (
|
|
|
142
164
|
[data-div-type="element"] {
|
|
143
165
|
&[data-element-type="imageHotspot"] {
|
|
144
166
|
// width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
|
|
145
|
-
width: var(
|
|
146
|
-
|
|
167
|
+
width: var(
|
|
168
|
+
--_sf-el-wh-st-mx,
|
|
169
|
+
calc(
|
|
170
|
+
1% * var(--_ctm-mob-ele-nw-wh-vl, var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl)))
|
|
171
|
+
)
|
|
172
|
+
);
|
|
147
173
|
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
148
174
|
// height: var(--_ctm-lt-ht, var(--_tst-lt-ht));
|
|
149
175
|
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
@@ -165,7 +191,7 @@ $data: (
|
|
|
165
191
|
}
|
|
166
192
|
}
|
|
167
193
|
|
|
168
|
-
|
|
194
|
+
& > .wrapper {
|
|
169
195
|
width: 100%;
|
|
170
196
|
// Fill the element's fixed height and keep padding + border inside it, so
|
|
171
197
|
// the image (height:100%) fits the padded frame instead of overflowing.
|
|
@@ -178,9 +204,11 @@ $data: (
|
|
|
178
204
|
// Frame border-radius lives on the wrapper (with the background & shadow),
|
|
179
205
|
// not on the image inside it.
|
|
180
206
|
border-radius: prepareMediaVariable(--_ctm-dn-ie-se-br-rs);
|
|
181
|
-
box-shadow: prepareMediaVariable(--_ctm-dn-ie-se-sw-ae)
|
|
207
|
+
box-shadow: prepareMediaVariable(--_ctm-dn-ie-se-sw-ae)
|
|
208
|
+
prepareMediaVariable(--_ctm-dn-ie-se-sw-br) prepareMediaVariable(--_ctm-dn-ie-se-sw-sd)
|
|
209
|
+
prepareMediaVariable(--_ctm-dn-ie-se-sw-cr);
|
|
182
210
|
|
|
183
|
-
|
|
211
|
+
& > div {
|
|
184
212
|
&.hotspot__tooltip {
|
|
185
213
|
--_sf-br-vl: #{prepareMediaVariable(--_ctm-dn-tp-dn-br-rs, 0px)};
|
|
186
214
|
position: absolute;
|
|
@@ -382,8 +410,10 @@ $data: (
|
|
|
382
410
|
}
|
|
383
411
|
}
|
|
384
412
|
|
|
385
|
-
background-color: var(
|
|
386
|
-
|
|
413
|
+
background-color: var(
|
|
414
|
+
--_sf-hr-bd-cr,
|
|
415
|
+
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-bd-cr)
|
|
416
|
+
);
|
|
387
417
|
|
|
388
418
|
padding: var(--_sf-hr-pg, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-pg));
|
|
389
419
|
width: var(--_sf-hr-wh, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-wh));
|
|
@@ -396,17 +426,26 @@ $data: (
|
|
|
396
426
|
|
|
397
427
|
border-radius: var(--_sf-hr-br-rs, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-rs));
|
|
398
428
|
|
|
399
|
-
box-shadow: var(--_sf-hr-sw-ae, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-ae))
|
|
429
|
+
box-shadow: var(--_sf-hr-sw-ae, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-ae))
|
|
430
|
+
var(--_sf-hr-sw-br, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-br))
|
|
431
|
+
var(--_sf-hr-sw-sd, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-sd))
|
|
432
|
+
var(--_sf-hr-sw-cr, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-sw-cr));
|
|
400
433
|
|
|
401
434
|
&[data-show-border="true"] {
|
|
402
|
-
border-color: var(
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
435
|
+
border-color: var(
|
|
436
|
+
--_sf-hr-br-cr,
|
|
437
|
+
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-cr)
|
|
438
|
+
);
|
|
439
|
+
|
|
440
|
+
border-style: var(
|
|
441
|
+
--_sf-hr-br-se,
|
|
442
|
+
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-se)
|
|
443
|
+
);
|
|
444
|
+
|
|
445
|
+
border-width: var(
|
|
446
|
+
--_sf-hr-br-wh,
|
|
447
|
+
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-br-wh)
|
|
448
|
+
);
|
|
410
449
|
}
|
|
411
450
|
|
|
412
451
|
.txt {
|
|
@@ -418,7 +457,6 @@ $data: (
|
|
|
418
457
|
text-transform: var(--_sf-hr-tt-tm, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-tt-tm));
|
|
419
458
|
word-wrap: var(--_sf-hr-wd-wp, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-wd-wp));
|
|
420
459
|
word-break: var(--_sf-hr-wd-bk, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-wd-bk));
|
|
421
|
-
|
|
422
460
|
&.flex__overflow {
|
|
423
461
|
white-space: normal;
|
|
424
462
|
@include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
|
|
@@ -428,13 +466,17 @@ $data: (
|
|
|
428
466
|
|
|
429
467
|
font-weight: var(--_sf-hr-ft-wt, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-ft-wt));
|
|
430
468
|
|
|
431
|
-
font-style: var(
|
|
432
|
-
|
|
469
|
+
font-style: var(
|
|
470
|
+
--_sf-hr-ft-se-ic,
|
|
471
|
+
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-ft-se-ic)
|
|
472
|
+
);
|
|
433
473
|
|
|
434
474
|
text-align: var(--_sf-hr-tt-an, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-tt-an));
|
|
435
475
|
|
|
436
|
-
letter-spacing: var(
|
|
437
|
-
|
|
476
|
+
letter-spacing: var(
|
|
477
|
+
--_sf-hr-lr-sg,
|
|
478
|
+
prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-lr-sg)
|
|
479
|
+
);
|
|
438
480
|
|
|
439
481
|
line-height: var(--_sf-hr-le-ht, prepareMediaVariable(--_ctm-dn-tp-bn-dt-se-le-ht));
|
|
440
482
|
|
|
@@ -555,7 +597,7 @@ $data: (
|
|
|
555
597
|
}
|
|
556
598
|
|
|
557
599
|
&[data-hotspot-image-style-show-border="true"] {
|
|
558
|
-
|
|
600
|
+
& > .wrapper {
|
|
559
601
|
border-style: prepareMediaVariable(--_ctm-dn-ie-se-br-se);
|
|
560
602
|
border-color: prepareMediaVariable(--_ctm-dn-ie-se-br-cr);
|
|
561
603
|
border-width: prepareMediaVariable(--_ctm-dn-ie-se-br-wh);
|
|
@@ -573,7 +615,9 @@ $data: (
|
|
|
573
615
|
|
|
574
616
|
&[data-hotspot-tooltip-style-show-shadow="true"] {
|
|
575
617
|
.hotspot__tooltip {
|
|
576
|
-
box-shadow: prepareMediaVariable(--_ctm-dn-tp-dn-sw-ae)
|
|
618
|
+
box-shadow: prepareMediaVariable(--_ctm-dn-tp-dn-sw-ae)
|
|
619
|
+
prepareMediaVariable(--_ctm-dn-tp-dn-sw-br) prepareMediaVariable(--_ctm-dn-tp-dn-sw-sd)
|
|
620
|
+
prepareMediaVariable(--_ctm-dn-tp-dn-sw-cr);
|
|
577
621
|
}
|
|
578
622
|
}
|
|
579
623
|
|
|
@@ -588,21 +632,24 @@ $data: (
|
|
|
588
632
|
|
|
589
633
|
&[data-hotspot-tooltip-image-style-show-shadow="true"] {
|
|
590
634
|
.tooltip__image {
|
|
591
|
-
box-shadow: var(
|
|
592
|
-
|
|
635
|
+
box-shadow: var(
|
|
636
|
+
--_show-shadow,
|
|
637
|
+
prepareMediaVariable(--_ctm-dn-tp-ie-sw-ae) prepareMediaVariable(--_ctm-dn-tp-ie-sw-br)
|
|
638
|
+
prepareMediaVariable(--_ctm-dn-tp-ie-sw-sd) prepareMediaVariable(--_ctm-dn-tp-ie-sw-cr)
|
|
639
|
+
);
|
|
593
640
|
}
|
|
594
641
|
}
|
|
595
642
|
|
|
596
643
|
&[data-hotspot-style-show-shadow="true"] {
|
|
597
|
-
|
|
598
644
|
.hotspot,
|
|
599
645
|
.hotspot__icon {
|
|
600
|
-
box-shadow: prepareMediaVariable(--_ctm-dn-ht-se-sw-ae)
|
|
646
|
+
box-shadow: prepareMediaVariable(--_ctm-dn-ht-se-sw-ae)
|
|
647
|
+
prepareMediaVariable(--_ctm-dn-ht-se-sw-br) prepareMediaVariable(--_ctm-dn-ht-se-sw-sd)
|
|
648
|
+
prepareMediaVariable(--_ctm-dn-ht-se-sw-cr);
|
|
601
649
|
}
|
|
602
650
|
}
|
|
603
651
|
|
|
604
652
|
&[data-hotspot-style-show-border="true"] {
|
|
605
|
-
|
|
606
653
|
.hotspot,
|
|
607
654
|
.hotspot__icon {
|
|
608
655
|
border-style: prepareMediaVariable(--_ctm-dn-ht-se-br-se);
|
|
@@ -745,4 +792,4 @@ $data: (
|
|
|
745
792
|
}
|
|
746
793
|
}
|
|
747
794
|
}
|
|
748
|
-
}
|
|
795
|
+
}
|