@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
package/dist/badge.scss CHANGED
@@ -1,408 +1,408 @@
1
- @use "sass:map";
2
- @use "sass:list";
3
- @use "./functions.scss" as *;
4
-
5
- $resizerId: "[data-cms-tool='cms-element-resizer']";
6
- $resizeActive: '[data-cms-element-resizer="true"]';
7
- [data-div-type="element"] {
8
- &[data-element-type="badge"] {
9
- margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
10
- padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
11
- min-width: 100px;
12
- &.vtl {
13
- min-height: 100px !important;
14
- min-width: 30px;
15
- height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) !important;
16
- width: auto;
17
- .badge__wrapper {
18
- flex-direction: column;
19
- justify-content: center;
20
- align-items: center;
21
- width: fit-content;
22
-
23
- .status_badge {
24
- flex-direction: column;
25
- align-items: center;
26
- justify-content: center;
27
- width: 26px;
28
- padding: 0px 24px 24px;
29
- &[data-styletag="style1"] {
30
- border-radius: 12px;
31
- font-weight: bold;
32
- white-space: nowrap;
33
- border: 2px solid #fff;
34
- text-transform: uppercase;
35
- }
36
- &[data-styletag="style2"] {
37
- text-transform: uppercase;
38
- //clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
39
- clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 90%, 0% 100%);
40
- }
41
-
42
- &[data-styletag="style3"] {
43
- clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 90%, 0% 100%);
44
- }
45
- &[data-styletag="style4"] {
46
- clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
47
- }
48
- &[data-styletag="style5"] {
49
- clip-path: polygon(0% 10%, 50% 0%, 100% 10%, 100% 90%, 50% 100%, 0% 90%);
50
- }
51
-
52
- .product_tag {
53
- //writing-mode: vertical-rl;
54
- //transform: rotate(180deg); // top-to-bottom vertical text
55
- }
56
-
57
- .icon {
58
- margin-bottom: 4px;
59
- }
60
- }
61
- }
62
- }
63
- &.hrz {
64
- min-height: 30px !important;
65
- min-width: 100px !important;
66
- height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) !important;
67
- .badge__wrapper {
68
- flex-direction: row;
69
- justify-content: center;
70
- align-items: center;
71
-
72
- .status_badge {
73
- flex-direction: row;
74
- align-items: center;
75
- justify-content: center;
76
- padding: 8px 12px;
77
- &[data-styletag="style1"] {
78
- border-radius: 12px;
79
- font-weight: bold;
80
- white-space: nowrap;
81
- border: 2px solid #fff;
82
- text-transform: uppercase;
83
- }
84
- &[data-styletag="style2"] {
85
- text-transform: uppercase;
86
- white-space: nowrap;
87
- clip-path: polygon(0 0, 80% 0, 80% 100%, 0% 100%, 10% 50%);
88
- }
89
-
90
- &[data-styletag="style3"] {
91
- clip-path: polygon(20% 0, 100% 0, 90% 50%, 100% 100%, 20% 100%);
92
- }
93
-
94
- &[data-styletag="style4"] {
95
- clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
96
- }
97
- &[data-styletag="style5"] {
98
- clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
99
- }
100
-
101
- .product_tag {
102
- white-space: nowrap;
103
- text-align: center;
104
- }
105
-
106
- .icon {
107
- margin-right: 6px;
108
- }
109
- }
110
- }
111
- }
112
- & > div {
113
- &.wrapper {
114
- //width: 100%;
115
- height: 100%;
116
- }
117
- }
118
- .badge__wrapper {
119
- display: flex;
120
- align-items: center;
121
- align-self: stretch;
122
- justify-content: var(--_sf-hr-at, prepareMediaVariable(--_ctm-dn-be-ct-dt-se-at));
123
- gap: prepareMediaVariable(--_ctm-lt-im-gp);
124
- // width: 100%;
125
- // height: 100%;
126
-
127
- .status_badge {
128
- display: flex;
129
- align-items: center;
130
- gap: prepareMediaVariable(--_ctm-lt-sg-bn-is);
131
- width: 100%;
132
- height: 100%;
133
- mix-blend-mode: multiply;
134
-
135
- // &[data-styletag="style7"] {
136
- // clip-path: polygon(0 0, 80% 0, 85% 50%, 80% 100%, 0 100%, 5% 50%);
137
- // display: flex;
138
- // justify-content: space-evenly;
139
- // align-items: center;
140
- // }
141
- // &[data-styletag="style6"] {
142
- // clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
143
- // line-height: 1.3;
144
- // }
145
-
146
- &[data-producttag="New"] {
147
- background-color: prepareMediaVariable(--_ctm-dn-be-nw-se-bd-cr);
148
- border-width: prepareMediaVariable(--_ctm-dn-be-nw-se-br-wh);
149
- border-color: prepareMediaVariable(--_ctm-dn-be-nw-se-br-cr);
150
- border-style: prepareMediaVariable(--_ctm-dn-be-nw-se-br-se);
151
- border-radius: prepareMediaVariable(--_ctm-dn-be-nw-se-br-rs);
152
- box-shadow: prepareMediaVariable(--_ctm-dn-be-nw-se-sw-ae)
153
- prepareMediaVariable(--_ctm-dn-be-nw-se-sw-br)
154
- prepareMediaVariable(--_ctm-dn-be-nw-se-sw-sd)
155
- prepareMediaVariable(--_ctm-dn-be-nw-se-sw-cr);
156
- .icon {
157
- display: var(--_hover-show-icon, var(--_show-icon, flex));
158
- svg {
159
- width: prepareMediaVariable(--_ctm-dn-be-nw-se-in-se);
160
- height: prepareMediaVariable(--_ctm-dn-be-nw-se-in-se);
161
- path {
162
- stroke: prepareMediaVariable(--_ctm-dn-be-nw-se-in-c1);
163
- // Overrides the stroke-width presentation attribute baked into the icon markup.
164
- stroke-width: prepareMediaVariable(--_ctm-dn-be-nw-se-se-wh, 1.25);
165
- }
166
- }
167
- }
168
- }
169
- &[data-producttag="Bestseller"] {
170
- //background-color: #f57c00;
171
- background-color: prepareMediaVariable(--_ctm-dn-be-br-se-bd-cr);
172
- border-width: prepareMediaVariable(--_ctm-dn-be-br-se-br-wh);
173
- border-color: prepareMediaVariable(--_ctm-dn-be-br-se-br-cr);
174
- border-style: prepareMediaVariable(--_ctm-dn-be-br-se-br-se);
175
- border-radius: prepareMediaVariable(--_ctm-dn-be-br-se-br-rs);
176
- box-shadow: prepareMediaVariable(--_ctm-dn-be-br-se-sw-ae)
177
- prepareMediaVariable(--_ctm-dn-be-br-se-sw-br)
178
- prepareMediaVariable(--_ctm-dn-be-br-se-sw-sd)
179
- prepareMediaVariable(--_ctm-dn-be-br-se-sw-cr);
180
- .icon {
181
- display: var(--_hover-show-icon, var(--_show-icon, flex));
182
- svg {
183
- width: prepareMediaVariable(--_ctm-dn-be-br-se-in-se);
184
- height: prepareMediaVariable(--_ctm-dn-be-br-se-in-se);
185
-
186
- path {
187
- stroke: prepareMediaVariable(--_ctm-dn-be-br-se-in-c1);
188
- // Overrides the stroke-width presentation attribute baked into the icon markup.
189
- stroke-width: prepareMediaVariable(--_ctm-dn-be-br-se-se-wh, 1.25);
190
- }
191
- }
192
- }
193
- }
194
- &[data-producttag="Limited"] {
195
- //background-color: #6a1b9a;
196
- background-color: prepareMediaVariable(--_ctm-dn-be-ld-se-bd-cr);
197
- border-width: prepareMediaVariable(--_ctm-dn-be-ld-se-br-wh);
198
- border-color: prepareMediaVariable(--_ctm-dn-be-ld-se-br-cr);
199
- border-style: prepareMediaVariable(--_ctm-dn-be-ld-se-br-se);
200
- border-radius: prepareMediaVariable(--_ctm-dn-be-ld-se-br-rs);
201
- box-shadow: prepareMediaVariable(--_ctm-dn-be-ld-se-sw-ae)
202
- prepareMediaVariable(--_ctm-dn-be-ld-se-sw-br)
203
- prepareMediaVariable(--_ctm-dn-be-ld-se-sw-sd)
204
- prepareMediaVariable(--_ctm-dn-be-ld-se-sw-cr);
205
- .icon {
206
- display: var(--_hover-show-icon, var(--_show-icon, flex));
207
- svg {
208
- width: prepareMediaVariable(--_ctm-dn-be-ld-se-in-se);
209
- height: prepareMediaVariable(--_ctm-dn-be-ld-se-in-se);
210
-
211
- path {
212
- stroke: prepareMediaVariable(--_ctm-dn-be-ld-se-in-c1);
213
- // Overrides the stroke-width presentation attribute baked into the icon markup.
214
- stroke-width: prepareMediaVariable(--_ctm-dn-be-ld-se-se-wh, 1.25);
215
- }
216
- }
217
- }
218
- }
219
- &[data-producttag="Exclusive"] {
220
- //background-color: #1976d2;
221
- background-color: prepareMediaVariable(--_ctm-dn-be-ee-se-bd-cr);
222
- border-width: prepareMediaVariable(--_ctm-dn-be-ee-se-br-wh);
223
- border-color: prepareMediaVariable(--_ctm-dn-be-ee-se-br-cr);
224
- border-style: prepareMediaVariable(--_ctm-dn-be-ee-se-br-se);
225
- border-radius: prepareMediaVariable(--_ctm-dn-be-ee-se-br-rs);
226
- box-shadow: prepareMediaVariable(--_ctm-dn-be-ee-se-sw-ae)
227
- prepareMediaVariable(--_ctm-dn-be-ee-se-sw-br)
228
- prepareMediaVariable(--_ctm-dn-be-ee-se-sw-sd)
229
- prepareMediaVariable(--_ctm-dn-be-ee-se-sw-cr);
230
- .icon {
231
- display: var(--_hover-show-icon, var(--_show-icon, flex));
232
- svg {
233
- width: prepareMediaVariable(--_ctm-dn-be-ee-se-in-se);
234
- height: prepareMediaVariable(--_ctm-dn-be-ee-se-in-se);
235
-
236
- path {
237
- stroke: prepareMediaVariable(--_ctm-dn-be-ee-se-in-c1);
238
- // Overrides the stroke-width presentation attribute baked into the icon markup.
239
- stroke-width: prepareMediaVariable(--_ctm-dn-be-ee-se-se-wh, 1.25);
240
- }
241
- }
242
- }
243
- }
244
-
245
- .product_tag {
246
- &[data-producttag="New"] {
247
- font-family: prepareMediaVariable(--_ctm-dn-be-nw-se-ft-fy);
248
- text-transform: prepareMediaVariable(--_ctm-dn-be-nw-se-tt-tm);
249
- word-wrap: prepareMediaVariable(--_ctm-dn-be-nw-se-wd-wp);
250
- word-break: prepareMediaVariable(--_ctm-dn-be-nw-se-wd-bk);
251
- font-size: prepareMediaVariable(--_ctm-dn-be-nw-se-ft-se);
252
- color: prepareMediaVariable(--_ctm-dn-be-nw-se-cr);
253
- font-weight: prepareMediaVariable(--_ctm-dn-be-nw-se-ft-wt);
254
- font-style: prepareMediaVariable(--_ctm-dn-be-nw-se-ft-se-ic);
255
- text-decoration: prepareMediaVariable(--_ctm-dn-be-nw-se-ue);
256
- text-align: prepareMediaVariable(--_ctm-dn-be-nw-se-tt-an);
257
- letter-spacing: prepareMediaVariable(--_ctm-dn-be-nw-se-lr-sg);
258
- line-height: prepareMediaVariable(--_ctm-dn-be-nw-se-le-ht);
259
- }
260
- &[data-producttag="Bestseller"] {
261
- font-family: prepareMediaVariable(--_ctm-dn-be-br-se-ft-fy);
262
- text-transform: prepareMediaVariable(--_ctm-dn-be-br-se-tt-tm);
263
- word-wrap: prepareMediaVariable(--_ctm-dn-be-br-se-wd-wp);
264
- word-break: prepareMediaVariable(--_ctm-dn-be-br-se-wd-bk);
265
- font-size: prepareMediaVariable(--_ctm-dn-be-br-se-ft-se);
266
- color: prepareMediaVariable(--_ctm-dn-be-br-se-cr);
267
- font-weight: prepareMediaVariable(--_ctm-dn-be-br-se-ft-wt);
268
- font-style: prepareMediaVariable(--_ctm-dn-be-br-se-ft-se-ic);
269
- text-decoration: prepareMediaVariable(--_ctm-dn-be-br-se-ue);
270
- text-align: prepareMediaVariable(--_ctm-dn-be-br-se-tt-an);
271
- letter-spacing: prepareMediaVariable(--_ctm-dn-be-br-se-lr-sg);
272
- line-height: prepareMediaVariable(--_ctm-dn-be-br-se-le-ht);
273
- }
274
- &[data-producttag="Limited"] {
275
- font-family: prepareMediaVariable(--_ctm-dn-be-ld-se-ft-fy);
276
- text-transform: prepareMediaVariable(--_ctm-dn-be-ld-se-tt-tm);
277
- word-wrap: prepareMediaVariable(--_ctm-dn-be-ld-se-wd-wp);
278
- word-break: prepareMediaVariable(--_ctm-dn-be-ld-se-wd-bk);
279
- font-size: prepareMediaVariable(--_ctm-dn-be-ld-se-ft-se);
280
- color: prepareMediaVariable(--_ctm-dn-be-ld-se-cr);
281
- font-weight: prepareMediaVariable(--_ctm-dn-be-ld-se-ft-wt);
282
- font-style: prepareMediaVariable(--_ctm-dn-be-ld-se-ft-se-ic);
283
- text-decoration: prepareMediaVariable(--_ctm-dn-be-ld-se-ue);
284
- text-align: prepareMediaVariable(--_ctm-dn-be-ld-se-tt-an);
285
- letter-spacing: prepareMediaVariable(--_ctm-dn-be-ld-se-lr-sg);
286
- line-height: prepareMediaVariable(--_ctm-dn-be-ld-se-le-ht);
287
- }
288
- &[data-producttag="Exclusive"] {
289
- font-family: prepareMediaVariable(--_ctm-dn-be-ee-se-ft-fy);
290
- text-transform: prepareMediaVariable(--_ctm-dn-be-ee-se-tt-tm);
291
- word-wrap: prepareMediaVariable(--_ctm-dn-be-ee-se-wd-wp);
292
- word-break: prepareMediaVariable(--_ctm-dn-be-ee-se-wd-bk);
293
- font-size: prepareMediaVariable(--_ctm-dn-be-ee-se-ft-se);
294
- color: prepareMediaVariable(--_ctm-dn-be-ee-se-cr);
295
- font-weight: prepareMediaVariable(--_ctm-dn-be-ee-se-ft-wt);
296
- font-style: prepareMediaVariable(--_ctm-dn-be-ee-se-ft-se-ic);
297
- text-decoration: prepareMediaVariable(--_ctm-dn-be-ee-se-ue);
298
- text-align: prepareMediaVariable(--_ctm-dn-be-ee-se-tt-an);
299
- letter-spacing: prepareMediaVariable(--_ctm-dn-be-ee-se-lr-sg);
300
- line-height: prepareMediaVariable(--_ctm-dn-be-ee-se-le-ht);
301
- }
302
- }
303
- }
304
- .badge_vertical_pill {
305
- background-color: #4caf50;
306
- color: #fff;
307
- padding: 10px 8px;
308
- border-radius: 12px;
309
- font-weight: bold;
310
- writing-mode: vertical-rl;
311
- text-align: center;
312
- font-size: 16px;
313
- white-space: nowrap;
314
- border: 2px solid #fff;
315
- }
316
- .badge_big_sale {
317
- background-color: #ffa726;
318
- color: #fff;
319
- display: flex;
320
- align-items: center;
321
- font-weight: bold;
322
- font-size: 14px;
323
- text-transform: uppercase;
324
- padding: 6px 12px;
325
- white-space: nowrap;
326
- clip-path: polygon(0 0, 80% 0, 80% 100%, 0% 100%, 10% 50%);
327
- gap: 8px;
328
-
329
- .left {
330
- font-size: 16px;
331
- }
332
-
333
- .right {
334
- font-size: 12px;
335
- font-weight: normal;
336
- }
337
- }
338
- .badge_bogo {
339
- background-color: #d5a373;
340
- color: #fff;
341
- padding: 6px 16px;
342
- clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
343
- font-weight: bold;
344
- font-size: 14px;
345
- display: inline-block;
346
- text-transform: uppercase;
347
- white-space: nowrap;
348
- border: 2px dashed #fff;
349
- }
350
- .badgerightarrow {
351
- background-color: #c49b6c;
352
- color: white;
353
- padding: 6px 12px;
354
- clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
355
- font-weight: bold;
356
- font-size: 14px;
357
- }
358
- .badgebigsale {
359
- background-color: #ff9800;
360
- color: white;
361
- padding: 6px 14px;
362
- clip-path: polygon(0 0, 80% 0, 85% 50%, 80% 100%, 0 100%, 5% 50%);
363
- display: flex;
364
- justify-content: space-between;
365
- align-items: center;
366
- font-weight: bold;
367
-
368
- .label {
369
- font-size: 16px;
370
- }
371
-
372
- .offer {
373
- font-size: 12px;
374
- }
375
- }
376
- .badge_verticalpill {
377
- writing-mode: vertical-rl;
378
- text-align: center;
379
- background-color: #4caf50;
380
- color: white;
381
- padding: 12px 4px;
382
- border-radius: 10px;
383
- font-weight: bold;
384
- font-size: 14px;
385
- }
386
- .badge_tail_down {
387
- background-color: #8bc34a;
388
- color: white;
389
- padding: 10px 8px;
390
- clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
391
- text-align: center;
392
- font-weight: bold;
393
- font-size: 14px;
394
- line-height: 1.3;
395
- }
396
- .badge_ribbon {
397
- background-color: #d2b48c;
398
- color: white;
399
- font-weight: bold;
400
- font-size: 14px;
401
- padding: 6px 12px;
402
- clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
403
- transform: rotate(-5deg);
404
- text-align: center;
405
- }
406
- }
407
- }
408
- }
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+ @use "./functions.scss" as *;
4
+
5
+ $resizerId: "[data-cms-tool='cms-element-resizer']";
6
+ $resizeActive: '[data-cms-element-resizer="true"]';
7
+ [data-div-type="element"] {
8
+ &[data-element-type="badge"] {
9
+ margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
10
+ padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
11
+ min-width: 100px;
12
+ &.vtl {
13
+ min-height: 100px !important;
14
+ min-width: 30px;
15
+ height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) !important;
16
+ width: auto;
17
+ .badge__wrapper {
18
+ flex-direction: column;
19
+ justify-content: center;
20
+ align-items: center;
21
+ width: fit-content;
22
+
23
+ .status_badge {
24
+ flex-direction: column;
25
+ align-items: center;
26
+ justify-content: center;
27
+ width: 26px;
28
+ padding: 0px 24px 24px;
29
+ &[data-styletag="style1"] {
30
+ border-radius: 12px;
31
+ font-weight: bold;
32
+ white-space: nowrap;
33
+ border: 2px solid #fff;
34
+ text-transform: uppercase;
35
+ }
36
+ &[data-styletag="style2"] {
37
+ text-transform: uppercase;
38
+ //clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
39
+ clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 90%, 0% 100%);
40
+ }
41
+
42
+ &[data-styletag="style3"] {
43
+ clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 90%, 0% 100%);
44
+ }
45
+ &[data-styletag="style4"] {
46
+ clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
47
+ }
48
+ &[data-styletag="style5"] {
49
+ clip-path: polygon(0% 10%, 50% 0%, 100% 10%, 100% 90%, 50% 100%, 0% 90%);
50
+ }
51
+
52
+ .product_tag {
53
+ //writing-mode: vertical-rl;
54
+ //transform: rotate(180deg); // top-to-bottom vertical text
55
+ }
56
+
57
+ .icon {
58
+ margin-bottom: 4px;
59
+ }
60
+ }
61
+ }
62
+ }
63
+ &.hrz {
64
+ min-height: 30px !important;
65
+ min-width: 100px !important;
66
+ height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) !important;
67
+ .badge__wrapper {
68
+ flex-direction: row;
69
+ justify-content: center;
70
+ align-items: center;
71
+
72
+ .status_badge {
73
+ flex-direction: row;
74
+ align-items: center;
75
+ justify-content: center;
76
+ padding: 8px 12px;
77
+ &[data-styletag="style1"] {
78
+ border-radius: 12px;
79
+ font-weight: bold;
80
+ white-space: nowrap;
81
+ border: 2px solid #fff;
82
+ text-transform: uppercase;
83
+ }
84
+ &[data-styletag="style2"] {
85
+ text-transform: uppercase;
86
+ white-space: nowrap;
87
+ clip-path: polygon(0 0, 80% 0, 80% 100%, 0% 100%, 10% 50%);
88
+ }
89
+
90
+ &[data-styletag="style3"] {
91
+ clip-path: polygon(20% 0, 100% 0, 90% 50%, 100% 100%, 20% 100%);
92
+ }
93
+
94
+ &[data-styletag="style4"] {
95
+ clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
96
+ }
97
+ &[data-styletag="style5"] {
98
+ clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
99
+ }
100
+
101
+ .product_tag {
102
+ white-space: nowrap;
103
+ text-align: center;
104
+ }
105
+
106
+ .icon {
107
+ margin-right: 6px;
108
+ }
109
+ }
110
+ }
111
+ }
112
+ & > div {
113
+ &.wrapper {
114
+ //width: 100%;
115
+ height: 100%;
116
+ }
117
+ }
118
+ .badge__wrapper {
119
+ display: flex;
120
+ align-items: center;
121
+ align-self: stretch;
122
+ justify-content: var(--_sf-hr-at, prepareMediaVariable(--_ctm-dn-be-ct-dt-se-at));
123
+ gap: prepareMediaVariable(--_ctm-lt-im-gp);
124
+ // width: 100%;
125
+ // height: 100%;
126
+
127
+ .status_badge {
128
+ display: flex;
129
+ align-items: center;
130
+ gap: prepareMediaVariable(--_ctm-lt-sg-bn-is);
131
+ width: 100%;
132
+ height: 100%;
133
+ mix-blend-mode: multiply;
134
+
135
+ // &[data-styletag="style7"] {
136
+ // clip-path: polygon(0 0, 80% 0, 85% 50%, 80% 100%, 0 100%, 5% 50%);
137
+ // display: flex;
138
+ // justify-content: space-evenly;
139
+ // align-items: center;
140
+ // }
141
+ // &[data-styletag="style6"] {
142
+ // clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
143
+ // line-height: 1.3;
144
+ // }
145
+
146
+ &[data-producttag="New"] {
147
+ background-color: prepareMediaVariable(--_ctm-dn-be-nw-se-bd-cr);
148
+ border-width: prepareMediaVariable(--_ctm-dn-be-nw-se-br-wh);
149
+ border-color: prepareMediaVariable(--_ctm-dn-be-nw-se-br-cr);
150
+ border-style: prepareMediaVariable(--_ctm-dn-be-nw-se-br-se);
151
+ border-radius: prepareMediaVariable(--_ctm-dn-be-nw-se-br-rs);
152
+ box-shadow: prepareMediaVariable(--_ctm-dn-be-nw-se-sw-ae)
153
+ prepareMediaVariable(--_ctm-dn-be-nw-se-sw-br)
154
+ prepareMediaVariable(--_ctm-dn-be-nw-se-sw-sd)
155
+ prepareMediaVariable(--_ctm-dn-be-nw-se-sw-cr);
156
+ .icon {
157
+ display: var(--_hover-show-icon, var(--_show-icon, flex));
158
+ svg {
159
+ width: prepareMediaVariable(--_ctm-dn-be-nw-se-in-se);
160
+ height: prepareMediaVariable(--_ctm-dn-be-nw-se-in-se);
161
+ path {
162
+ stroke: prepareMediaVariable(--_ctm-dn-be-nw-se-in-c1);
163
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
164
+ stroke-width: prepareMediaVariable(--_ctm-dn-be-nw-se-se-wh, 1.25);
165
+ }
166
+ }
167
+ }
168
+ }
169
+ &[data-producttag="Bestseller"] {
170
+ //background-color: #f57c00;
171
+ background-color: prepareMediaVariable(--_ctm-dn-be-br-se-bd-cr);
172
+ border-width: prepareMediaVariable(--_ctm-dn-be-br-se-br-wh);
173
+ border-color: prepareMediaVariable(--_ctm-dn-be-br-se-br-cr);
174
+ border-style: prepareMediaVariable(--_ctm-dn-be-br-se-br-se);
175
+ border-radius: prepareMediaVariable(--_ctm-dn-be-br-se-br-rs);
176
+ box-shadow: prepareMediaVariable(--_ctm-dn-be-br-se-sw-ae)
177
+ prepareMediaVariable(--_ctm-dn-be-br-se-sw-br)
178
+ prepareMediaVariable(--_ctm-dn-be-br-se-sw-sd)
179
+ prepareMediaVariable(--_ctm-dn-be-br-se-sw-cr);
180
+ .icon {
181
+ display: var(--_hover-show-icon, var(--_show-icon, flex));
182
+ svg {
183
+ width: prepareMediaVariable(--_ctm-dn-be-br-se-in-se);
184
+ height: prepareMediaVariable(--_ctm-dn-be-br-se-in-se);
185
+
186
+ path {
187
+ stroke: prepareMediaVariable(--_ctm-dn-be-br-se-in-c1);
188
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
189
+ stroke-width: prepareMediaVariable(--_ctm-dn-be-br-se-se-wh, 1.25);
190
+ }
191
+ }
192
+ }
193
+ }
194
+ &[data-producttag="Limited"] {
195
+ //background-color: #6a1b9a;
196
+ background-color: prepareMediaVariable(--_ctm-dn-be-ld-se-bd-cr);
197
+ border-width: prepareMediaVariable(--_ctm-dn-be-ld-se-br-wh);
198
+ border-color: prepareMediaVariable(--_ctm-dn-be-ld-se-br-cr);
199
+ border-style: prepareMediaVariable(--_ctm-dn-be-ld-se-br-se);
200
+ border-radius: prepareMediaVariable(--_ctm-dn-be-ld-se-br-rs);
201
+ box-shadow: prepareMediaVariable(--_ctm-dn-be-ld-se-sw-ae)
202
+ prepareMediaVariable(--_ctm-dn-be-ld-se-sw-br)
203
+ prepareMediaVariable(--_ctm-dn-be-ld-se-sw-sd)
204
+ prepareMediaVariable(--_ctm-dn-be-ld-se-sw-cr);
205
+ .icon {
206
+ display: var(--_hover-show-icon, var(--_show-icon, flex));
207
+ svg {
208
+ width: prepareMediaVariable(--_ctm-dn-be-ld-se-in-se);
209
+ height: prepareMediaVariable(--_ctm-dn-be-ld-se-in-se);
210
+
211
+ path {
212
+ stroke: prepareMediaVariable(--_ctm-dn-be-ld-se-in-c1);
213
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
214
+ stroke-width: prepareMediaVariable(--_ctm-dn-be-ld-se-se-wh, 1.25);
215
+ }
216
+ }
217
+ }
218
+ }
219
+ &[data-producttag="Exclusive"] {
220
+ //background-color: #1976d2;
221
+ background-color: prepareMediaVariable(--_ctm-dn-be-ee-se-bd-cr);
222
+ border-width: prepareMediaVariable(--_ctm-dn-be-ee-se-br-wh);
223
+ border-color: prepareMediaVariable(--_ctm-dn-be-ee-se-br-cr);
224
+ border-style: prepareMediaVariable(--_ctm-dn-be-ee-se-br-se);
225
+ border-radius: prepareMediaVariable(--_ctm-dn-be-ee-se-br-rs);
226
+ box-shadow: prepareMediaVariable(--_ctm-dn-be-ee-se-sw-ae)
227
+ prepareMediaVariable(--_ctm-dn-be-ee-se-sw-br)
228
+ prepareMediaVariable(--_ctm-dn-be-ee-se-sw-sd)
229
+ prepareMediaVariable(--_ctm-dn-be-ee-se-sw-cr);
230
+ .icon {
231
+ display: var(--_hover-show-icon, var(--_show-icon, flex));
232
+ svg {
233
+ width: prepareMediaVariable(--_ctm-dn-be-ee-se-in-se);
234
+ height: prepareMediaVariable(--_ctm-dn-be-ee-se-in-se);
235
+
236
+ path {
237
+ stroke: prepareMediaVariable(--_ctm-dn-be-ee-se-in-c1);
238
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
239
+ stroke-width: prepareMediaVariable(--_ctm-dn-be-ee-se-se-wh, 1.25);
240
+ }
241
+ }
242
+ }
243
+ }
244
+
245
+ .product_tag {
246
+ &[data-producttag="New"] {
247
+ font-family: prepareMediaVariable(--_ctm-dn-be-nw-se-ft-fy);
248
+ text-transform: prepareMediaVariable(--_ctm-dn-be-nw-se-tt-tm);
249
+ word-wrap: prepareMediaVariable(--_ctm-dn-be-nw-se-wd-wp);
250
+ word-break: prepareMediaVariable(--_ctm-dn-be-nw-se-wd-bk);
251
+ font-size: prepareMediaVariable(--_ctm-dn-be-nw-se-ft-se);
252
+ color: prepareMediaVariable(--_ctm-dn-be-nw-se-cr);
253
+ font-weight: prepareMediaVariable(--_ctm-dn-be-nw-se-ft-wt);
254
+ font-style: prepareMediaVariable(--_ctm-dn-be-nw-se-ft-se-ic);
255
+ text-decoration: prepareMediaVariable(--_ctm-dn-be-nw-se-ue);
256
+ text-align: prepareMediaVariable(--_ctm-dn-be-nw-se-tt-an);
257
+ letter-spacing: prepareMediaVariable(--_ctm-dn-be-nw-se-lr-sg);
258
+ line-height: prepareMediaVariable(--_ctm-dn-be-nw-se-le-ht);
259
+ }
260
+ &[data-producttag="Bestseller"] {
261
+ font-family: prepareMediaVariable(--_ctm-dn-be-br-se-ft-fy);
262
+ text-transform: prepareMediaVariable(--_ctm-dn-be-br-se-tt-tm);
263
+ word-wrap: prepareMediaVariable(--_ctm-dn-be-br-se-wd-wp);
264
+ word-break: prepareMediaVariable(--_ctm-dn-be-br-se-wd-bk);
265
+ font-size: prepareMediaVariable(--_ctm-dn-be-br-se-ft-se);
266
+ color: prepareMediaVariable(--_ctm-dn-be-br-se-cr);
267
+ font-weight: prepareMediaVariable(--_ctm-dn-be-br-se-ft-wt);
268
+ font-style: prepareMediaVariable(--_ctm-dn-be-br-se-ft-se-ic);
269
+ text-decoration: prepareMediaVariable(--_ctm-dn-be-br-se-ue);
270
+ text-align: prepareMediaVariable(--_ctm-dn-be-br-se-tt-an);
271
+ letter-spacing: prepareMediaVariable(--_ctm-dn-be-br-se-lr-sg);
272
+ line-height: prepareMediaVariable(--_ctm-dn-be-br-se-le-ht);
273
+ }
274
+ &[data-producttag="Limited"] {
275
+ font-family: prepareMediaVariable(--_ctm-dn-be-ld-se-ft-fy);
276
+ text-transform: prepareMediaVariable(--_ctm-dn-be-ld-se-tt-tm);
277
+ word-wrap: prepareMediaVariable(--_ctm-dn-be-ld-se-wd-wp);
278
+ word-break: prepareMediaVariable(--_ctm-dn-be-ld-se-wd-bk);
279
+ font-size: prepareMediaVariable(--_ctm-dn-be-ld-se-ft-se);
280
+ color: prepareMediaVariable(--_ctm-dn-be-ld-se-cr);
281
+ font-weight: prepareMediaVariable(--_ctm-dn-be-ld-se-ft-wt);
282
+ font-style: prepareMediaVariable(--_ctm-dn-be-ld-se-ft-se-ic);
283
+ text-decoration: prepareMediaVariable(--_ctm-dn-be-ld-se-ue);
284
+ text-align: prepareMediaVariable(--_ctm-dn-be-ld-se-tt-an);
285
+ letter-spacing: prepareMediaVariable(--_ctm-dn-be-ld-se-lr-sg);
286
+ line-height: prepareMediaVariable(--_ctm-dn-be-ld-se-le-ht);
287
+ }
288
+ &[data-producttag="Exclusive"] {
289
+ font-family: prepareMediaVariable(--_ctm-dn-be-ee-se-ft-fy);
290
+ text-transform: prepareMediaVariable(--_ctm-dn-be-ee-se-tt-tm);
291
+ word-wrap: prepareMediaVariable(--_ctm-dn-be-ee-se-wd-wp);
292
+ word-break: prepareMediaVariable(--_ctm-dn-be-ee-se-wd-bk);
293
+ font-size: prepareMediaVariable(--_ctm-dn-be-ee-se-ft-se);
294
+ color: prepareMediaVariable(--_ctm-dn-be-ee-se-cr);
295
+ font-weight: prepareMediaVariable(--_ctm-dn-be-ee-se-ft-wt);
296
+ font-style: prepareMediaVariable(--_ctm-dn-be-ee-se-ft-se-ic);
297
+ text-decoration: prepareMediaVariable(--_ctm-dn-be-ee-se-ue);
298
+ text-align: prepareMediaVariable(--_ctm-dn-be-ee-se-tt-an);
299
+ letter-spacing: prepareMediaVariable(--_ctm-dn-be-ee-se-lr-sg);
300
+ line-height: prepareMediaVariable(--_ctm-dn-be-ee-se-le-ht);
301
+ }
302
+ }
303
+ }
304
+ .badge_vertical_pill {
305
+ background-color: #4caf50;
306
+ color: #fff;
307
+ padding: 10px 8px;
308
+ border-radius: 12px;
309
+ font-weight: bold;
310
+ writing-mode: vertical-rl;
311
+ text-align: center;
312
+ font-size: 16px;
313
+ white-space: nowrap;
314
+ border: 2px solid #fff;
315
+ }
316
+ .badge_big_sale {
317
+ background-color: #ffa726;
318
+ color: #fff;
319
+ display: flex;
320
+ align-items: center;
321
+ font-weight: bold;
322
+ font-size: 14px;
323
+ text-transform: uppercase;
324
+ padding: 6px 12px;
325
+ white-space: nowrap;
326
+ clip-path: polygon(0 0, 80% 0, 80% 100%, 0% 100%, 10% 50%);
327
+ gap: 8px;
328
+
329
+ .left {
330
+ font-size: 16px;
331
+ }
332
+
333
+ .right {
334
+ font-size: 12px;
335
+ font-weight: normal;
336
+ }
337
+ }
338
+ .badge_bogo {
339
+ background-color: #d5a373;
340
+ color: #fff;
341
+ padding: 6px 16px;
342
+ clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
343
+ font-weight: bold;
344
+ font-size: 14px;
345
+ display: inline-block;
346
+ text-transform: uppercase;
347
+ white-space: nowrap;
348
+ border: 2px dashed #fff;
349
+ }
350
+ .badgerightarrow {
351
+ background-color: #c49b6c;
352
+ color: white;
353
+ padding: 6px 12px;
354
+ clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
355
+ font-weight: bold;
356
+ font-size: 14px;
357
+ }
358
+ .badgebigsale {
359
+ background-color: #ff9800;
360
+ color: white;
361
+ padding: 6px 14px;
362
+ clip-path: polygon(0 0, 80% 0, 85% 50%, 80% 100%, 0 100%, 5% 50%);
363
+ display: flex;
364
+ justify-content: space-between;
365
+ align-items: center;
366
+ font-weight: bold;
367
+
368
+ .label {
369
+ font-size: 16px;
370
+ }
371
+
372
+ .offer {
373
+ font-size: 12px;
374
+ }
375
+ }
376
+ .badge_verticalpill {
377
+ writing-mode: vertical-rl;
378
+ text-align: center;
379
+ background-color: #4caf50;
380
+ color: white;
381
+ padding: 12px 4px;
382
+ border-radius: 10px;
383
+ font-weight: bold;
384
+ font-size: 14px;
385
+ }
386
+ .badge_tail_down {
387
+ background-color: #8bc34a;
388
+ color: white;
389
+ padding: 10px 8px;
390
+ clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
391
+ text-align: center;
392
+ font-weight: bold;
393
+ font-size: 14px;
394
+ line-height: 1.3;
395
+ }
396
+ .badge_ribbon {
397
+ background-color: #d2b48c;
398
+ color: white;
399
+ font-weight: bold;
400
+ font-size: 14px;
401
+ padding: 6px 12px;
402
+ clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
403
+ transform: rotate(-5deg);
404
+ text-align: center;
405
+ }
406
+ }
407
+ }
408
+ }