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