@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
|
@@ -13,162 +13,135 @@
|
|
|
13
13
|
// > .cg_product_card (grid / cards)
|
|
14
14
|
// > .embla__slide > .cg_product_card (slider)
|
|
15
15
|
// > slider arrows / dots (slider mode)
|
|
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
|
-
|
|
16
|
+
.cg_product_grid {
|
|
17
|
+
// Slider-control intermediate vars consumed by the embla-controls mixin.
|
|
18
|
+
--_sf-ic-sz-nn: var(--_ctm-mob-catego-dn-pt-gd-dn-lt-aw-in-se,
|
|
19
|
+
var(--_ctm-tab-catego-dn-pt-gd-dn-lt-aw-in-se, var(--_ctm-catego-dn-pt-gd-dn-lt-aw-in-se, 40px)));
|
|
20
|
+
--_sf-ed-vl-sz: var(--_ctm-mob-catego-dn-pt-gd-dn-lt-dt-se,
|
|
21
|
+
var(--_ctm-tab-catego-dn-pt-gd-dn-lt-dt-se, var(--_ctm-catego-dn-pt-gd-dn-lt-dt-se, 10px)));
|
|
22
|
+
|
|
23
|
+
// ---- Grid mode: auto-fit columns by min column width ----
|
|
24
|
+
&.grd {
|
|
25
|
+
&>.cg_product_grid_wrapper {
|
|
26
|
+
width: 100%;
|
|
27
|
+
display: grid;
|
|
28
|
+
grid-template-columns: repeat(auto-fit,
|
|
29
|
+
minmax(var(--_ctm-mob-catego-dn-pt-gd-dn-lt-mn-cn-wh,
|
|
30
|
+
var(--_ctm-tab-catego-dn-pt-gd-dn-lt-mn-cn-wh, var(--_ctm-catego-dn-pt-gd-dn-lt-mn-cn-wh, 200px))),
|
|
31
|
+
1fr));
|
|
32
|
+
grid-auto-rows: minmax(var(--_ctm-mob-catego-dn-pt-gd-dn-lt-mn-rw-ht,
|
|
33
|
+
var(--_ctm-tab-catego-dn-pt-gd-dn-lt-mn-rw-ht, var(--_ctm-catego-dn-pt-gd-dn-lt-mn-rw-ht, auto))),
|
|
34
|
+
auto);
|
|
35
|
+
column-gap: #{prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-lt-cn-gp, 24px)};
|
|
36
|
+
row-gap: #{prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-lt-rw-gp, 24px)};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// ---- Cards mode: fixed items per row (flex calc) ----
|
|
41
|
+
&.crds {
|
|
42
|
+
&>.cg_product_grid_wrapper {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-wrap: wrap;
|
|
45
|
+
width: 100%;
|
|
46
|
+
column-gap: #{prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-lt-cn-gp, 24px)};
|
|
47
|
+
row-gap: #{prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-lt-rw-gp, 24px)};
|
|
48
|
+
|
|
49
|
+
&>.cg_product_card {
|
|
50
|
+
--_col-count: var(--_ctm-mob-catego-dn-pt-gd-dn-lt-st-is-pr-rw,
|
|
51
|
+
var(--_ctm-tab-catego-dn-pt-gd-dn-lt-st-is-pr-rw, var(--_ctm-catego-dn-pt-gd-dn-lt-st-is-pr-rw, 3)));
|
|
52
|
+
--_col-gap: #{prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-lt-cn-gp, 0px)};
|
|
53
|
+
width: calc((100% / var(--_col-count)) - (((var(--_col-count) - 1) * var(--_col-gap)) / (var(--_col-count))));
|
|
54
|
+
flex: 0 0 calc((100% / var(--_col-count)) - (((var(--_col-count) - 1) * var(--_col-gap)) / (var(--_col-count))));
|
|
52
55
|
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
53
58
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
var(--_ctm-tab-catego-dn-pt-gd-dn-lt-st-is-pr-rw, var(--_ctm-catego-dn-pt-gd-dn-lt-st-is-pr-rw, 3))
|
|
66
|
-
);
|
|
67
|
-
--_col-gap: #{prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-lt-cn-gp, 0px)};
|
|
68
|
-
width: calc(
|
|
69
|
-
(100% / var(--_col-count)) -
|
|
70
|
-
(((var(--_col-count) - 1) * var(--_col-gap)) / (var(--_col-count)))
|
|
71
|
-
);
|
|
72
|
-
flex: 0 0
|
|
73
|
-
calc(
|
|
74
|
-
(100% / var(--_col-count)) -
|
|
75
|
-
(((var(--_col-count) - 1) * var(--_col-gap)) / (var(--_col-count)))
|
|
76
|
-
);
|
|
77
|
-
}
|
|
59
|
+
// ---- Slider mode (Embla) ----
|
|
60
|
+
&.sld {
|
|
61
|
+
position: relative;
|
|
62
|
+
overflow: clip;
|
|
63
|
+
--_sf-sl-ct-ic-dt-at-cl: var(--_ctm-mob-catego-dn-pt-gd-dn-lt-cl-ae-cr,
|
|
64
|
+
var(--_ctm-tab-catego-dn-pt-gd-dn-lt-cl-ae-cr, var(--_ctm-catego-dn-pt-gd-dn-lt-cl-ae-cr)));
|
|
65
|
+
|
|
66
|
+
@for $i from 1 through 3 {
|
|
67
|
+
&:is([data-control-type="#{$i}"]) {
|
|
68
|
+
@if ($i ==3) {
|
|
69
|
+
overflow-y: visible;
|
|
78
70
|
}
|
|
71
|
+
|
|
72
|
+
@include CMSRepeaterEmblaControlStyles($i);
|
|
79
73
|
}
|
|
74
|
+
}
|
|
80
75
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
&:is([data-control-type="#{$i}"]) {
|
|
92
|
-
@if ($i == 3) {
|
|
93
|
-
overflow-y: visible;
|
|
94
|
-
}
|
|
95
|
-
@include CMSRepeaterEmblaControlStyles($i);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
76
|
+
// Template 3: place the arrows/dots ABOVE the product list (not over the
|
|
77
|
+
// images). bottom:100% puts the control's bottom edge at the grid's top
|
|
78
|
+
// edge; +8px adds a small gap. overflow-y:visible (set above) lets it
|
|
79
|
+
// show above the grid. (Repeater gets this from a saved template.)
|
|
80
|
+
&:is([data-control-type="3"]) {
|
|
81
|
+
--_sf-rp-ct-t3-top-vl: auto;
|
|
82
|
+
--_sf-rp-ct-t3-bottom-vl: calc(100% + 8px);
|
|
83
|
+
--_sf-rp-ct-t3-right-vl: 0px;
|
|
84
|
+
--_sf-rp-ct-t3-left-vl: auto;
|
|
85
|
+
--_sf-rp-ct-t3-transform-vl: none;
|
|
98
86
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
--_sf-rp-ct-t3-top-vl: auto;
|
|
105
|
-
--_sf-rp-ct-t3-bottom-vl: calc(100% + 8px);
|
|
106
|
-
--_sf-rp-ct-t3-right-vl: 0px;
|
|
107
|
-
--_sf-rp-ct-t3-left-vl: auto;
|
|
108
|
-
--_sf-rp-ct-t3-transform-vl: none;
|
|
109
|
-
|
|
110
|
-
// Restyle template-3 pagination from the connected gray bar into
|
|
111
|
-
// separated circular dots + a capsule active indicator.
|
|
112
|
-
.pagination__v1 {
|
|
113
|
-
gap: 6px;
|
|
114
|
-
}
|
|
115
|
-
.pagination__v1 > button.embla__dot {
|
|
116
|
-
width: var(--_sf-ed-vl-sz, 10px);
|
|
117
|
-
height: var(--_sf-ed-vl-sz, 10px);
|
|
118
|
-
border-radius: 50%;
|
|
119
|
-
background: #d6d6d6;
|
|
120
|
-
}
|
|
121
|
-
.pagination__v1 > button.embla__dot.embla__dot--selected {
|
|
122
|
-
width: max(calc(var(--_sf-ed-vl-sz, 10px) * 2), 20px);
|
|
123
|
-
border-radius: 999px;
|
|
124
|
-
background: var(--_sf-sl-ct-ic-dt-at-cl, #7c3aed);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
87
|
+
// Restyle template-3 pagination from the connected gray bar into
|
|
88
|
+
// separated circular dots + a capsule active indicator.
|
|
89
|
+
.pagination__v1 {
|
|
90
|
+
gap: 6px;
|
|
91
|
+
}
|
|
127
92
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
93
|
+
.pagination__v1>button.embla__dot {
|
|
94
|
+
width: var(--_sf-ed-vl-sz, 10px);
|
|
95
|
+
height: var(--_sf-ed-vl-sz, 10px);
|
|
96
|
+
border-radius: 50%;
|
|
97
|
+
background: #d6d6d6;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.pagination__v1>button.embla__dot.embla__dot--selected {
|
|
101
|
+
width: max(calc(var(--_sf-ed-vl-sz, 10px) * 2), 20px);
|
|
102
|
+
border-radius: 999px;
|
|
103
|
+
background: var(--_sf-sl-ct-ic-dt-at-cl, #7c3aed);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// Pagination dots: never compress. With many pages the strip scrolls
|
|
108
|
+
// horizontally (scrollbar hidden) instead of squishing the dots.
|
|
109
|
+
.pagination__v1 {
|
|
110
|
+
flex-wrap: nowrap;
|
|
111
|
+
overflow-x: auto;
|
|
112
|
+
overflow-y: hidden;
|
|
113
|
+
scrollbar-width: none;
|
|
114
|
+
|
|
115
|
+
&::-webkit-scrollbar {
|
|
116
|
+
display: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&>button.embla__dot {
|
|
120
|
+
flex-shrink: 0;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&>.cg_product_grid_wrapper.embla__container {
|
|
125
|
+
display: flex;
|
|
126
|
+
width: 100%;
|
|
127
|
+
min-height: 100px;
|
|
128
|
+
gap: #{prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-lt-im-gp, 0px)};
|
|
129
|
+
--_embla-slide-space: var(--_ctm-mob-catego-dn-pt-gd-dn-lt-im-gp,
|
|
130
|
+
var(--_ctm-tab-catego-dn-pt-gd-dn-lt-im-gp, var(--_ctm-catego-dn-pt-gd-dn-lt-im-gp, 0px)));
|
|
131
|
+
--_embla-col-count: var(--_ctm-mob-catego-dn-pt-gd-dn-lt-st-is-pr-se,
|
|
132
|
+
var(--_ctm-tab-catego-dn-pt-gd-dn-lt-st-is-pr-se, var(--_ctm-catego-dn-pt-gd-dn-lt-st-is-pr-se, 3)));
|
|
133
|
+
|
|
134
|
+
&>.embla__slide {
|
|
135
|
+
--_sf-cl-vl: calc((100% / var(--_embla-col-count, 3)) - (((var(--_embla-col-count, 3) - 1) * (var(--_embla-slide-space, 10px))) / (var(--_embla-col-count, 3))));
|
|
136
|
+
flex: 0 0 var(--_sf-cl-vl);
|
|
137
|
+
width: var(--_sf-cl-vl);
|
|
138
|
+
grid-template-rows: minmax(50px, auto);
|
|
139
|
+
grid-template-columns: minmax(0px, 1fr);
|
|
142
140
|
|
|
143
|
-
|
|
144
|
-
display: flex;
|
|
141
|
+
img {
|
|
145
142
|
width: 100%;
|
|
146
|
-
min-height: 100px;
|
|
147
|
-
gap: #{prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-lt-im-gp, 0px)};
|
|
148
|
-
--_embla-slide-space: var(
|
|
149
|
-
--_ctm-mob-catego-dn-pt-gd-dn-lt-im-gp,
|
|
150
|
-
var(--_ctm-tab-catego-dn-pt-gd-dn-lt-im-gp, var(--_ctm-catego-dn-pt-gd-dn-lt-im-gp, 0px))
|
|
151
|
-
);
|
|
152
|
-
--_embla-col-count: var(
|
|
153
|
-
--_ctm-mob-catego-dn-pt-gd-dn-lt-st-is-pr-se,
|
|
154
|
-
var(--_ctm-tab-catego-dn-pt-gd-dn-lt-st-is-pr-se, var(--_ctm-catego-dn-pt-gd-dn-lt-st-is-pr-se, 3))
|
|
155
|
-
);
|
|
156
|
-
& > .embla__slide {
|
|
157
|
-
--_sf-cl-vl: calc(
|
|
158
|
-
(100% / var(--_embla-col-count, 3)) -
|
|
159
|
-
(
|
|
160
|
-
((var(--_embla-col-count, 3) - 1) * (var(--_embla-slide-space, 10px))) /
|
|
161
|
-
(var(--_embla-col-count, 3))
|
|
162
|
-
)
|
|
163
|
-
);
|
|
164
|
-
flex: 0 0 var(--_sf-cl-vl);
|
|
165
|
-
width: var(--_sf-cl-vl);
|
|
166
|
-
grid-template-rows: minmax(50px, auto);
|
|
167
|
-
grid-template-columns: minmax(0px, 1fr);
|
|
168
|
-
img {
|
|
169
|
-
width: 100%;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
143
|
}
|
|
173
144
|
}
|
|
174
145
|
}
|
|
146
|
+
}
|
|
147
|
+
}
|