@sc-360-v2/storefront-cms-library 0.5.70 → 0.5.72
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 +68 -68
- package/dist/add-products-tab-details.scss +4071 -4071
- package/dist/add-products-tab-uom-details.scss +1106 -1106
- package/dist/add-products-tab.scss +2377 -2377
- package/dist/allocation-header-quota-details.scss +609 -609
- package/dist/allocations-quota-details.scss +525 -525
- package/dist/amount-estimator.scss +1192 -1192
- package/dist/animation-control.scss +23 -23
- package/dist/badge.scss +408 -408
- package/dist/brand-basic-elements.scss +387 -387
- package/dist/brand.scss +142 -142
- package/dist/breadcrumbs.scss +966 -966
- package/dist/builder.js +1 -1
- package/dist/bulk-order-pad.scss +692 -692
- package/dist/bundleDetails.scss +6189 -6189
- package/dist/buy-for-tab-container.scss +141 -141
- package/dist/buy-for-tab.scss +649 -649
- package/dist/buy-for-tabs-container-item.scss +80 -80
- package/dist/buyForPopup.scss +339 -339
- package/dist/cart-details.scss +3986 -3986
- package/dist/cart-products-sidebar.scss +211 -211
- package/dist/cart-wrapper.scss +127 -127
- package/dist/cartDropdownOverlay.scss +653 -653
- package/dist/cartGrouping.scss +89 -89
- package/dist/category-groups-element.scss +739 -739
- package/dist/category-groups-quota-details.scss +626 -626
- package/dist/category.scss +137 -137
- package/dist/categoryDetails.scss +61 -61
- package/dist/categoryWidget.scss +34 -34
- package/dist/checkbox-radio.scss +124 -124
- package/dist/code-temp.scss +59 -59
- package/dist/colorpicker_v2.scss +62 -62
- package/dist/common-element.scss +35 -35
- package/dist/confirm-modal.scss +370 -370
- package/dist/confirmationModal.scss +139 -139
- package/dist/contact-us.scss +105 -105
- package/dist/container.scss +168 -168
- package/dist/custom-fonts.scss +100 -100
- package/dist/customization-tree.scss +162 -162
- package/dist/default-dropdown.scss +259 -259
- package/dist/dropdownTemplate.scss +699 -699
- package/dist/editCartItem.scss +110 -110
- package/dist/embed-temp.scss +73 -73
- package/dist/embroider-preview-element.scss +94 -94
- package/dist/embroider-template-1-v2.scss +1105 -1105
- package/dist/embroider-template-1.scss +501 -501
- package/dist/embroidery.scss +247 -247
- package/dist/employee-bulk-order.scss +4060 -4060
- package/dist/emtpy-templates.scss +165 -165
- package/dist/faq.scss +696 -696
- package/dist/fb-dropdown.scss +135 -135
- package/dist/filter-results.scss +361 -361
- package/dist/flex-text-editor.scss +271 -271
- package/dist/form-preview.scss +530 -530
- package/dist/global-styles.scss +198 -198
- package/dist/grid.scss +169 -169
- package/dist/icon-library.scss +78 -78
- package/dist/image-for-product.scss +21 -21
- package/dist/image-temp.scss +203 -203
- package/dist/item-stock.scss +93 -93
- package/dist/kitDetails.scss +5739 -5739
- package/dist/kits.scss +305 -305
- package/dist/language-selector.scss +948 -948
- package/dist/last-x-orders.scss +285 -285
- package/dist/layouter-item.scss +141 -141
- package/dist/layouter-pro-item.scss +139 -139
- package/dist/layouter-pro.scss +134 -134
- package/dist/layouter.scss +491 -491
- package/dist/light-box-v2.scss +155 -155
- package/dist/lightbox.scss +78 -78
- package/dist/loader.scss +37 -37
- package/dist/login.scss +29 -11
- package/dist/marchandiserSets.scss +141 -141
- package/dist/mega-menu-container.scss +152 -152
- package/dist/menu-item.scss +19 -19
- package/dist/menu-v2.scss +999 -999
- package/dist/menu.scss +174 -174
- package/dist/multi-select-dropdown.scss +316 -316
- package/dist/my-templates.scss +477 -477
- package/dist/my-wishlist.scss +27 -27
- package/dist/option-bar.scss +886 -886
- package/dist/order-processing.scss +61 -61
- package/dist/order-status.scss +74 -0
- package/dist/overflow-module.scss +63 -63
- package/dist/past-orders.scss +1039 -1039
- package/dist/payment-methods.scss +307 -307
- package/dist/phone-input.scss +208 -208
- package/dist/pickup-locations.scss +1359 -1359
- package/dist/position-module.scss +95 -95
- package/dist/prefix-list.scss +86 -86
- package/dist/product-actions.scss +2872 -2872
- package/dist/product-basic-elements.scss +600 -600
- package/dist/product-customizations.scss +155 -155
- package/dist/product-inventory.scss +1621 -1621
- package/dist/product-labels.scss +265 -265
- package/dist/product-price.scss +3392 -3392
- package/dist/product-promotions.scss +3224 -3224
- package/dist/product-sizechart.scss +1921 -1921
- package/dist/product.scss +140 -140
- package/dist/profile.scss +824 -824
- package/dist/quantity-selector.scss +1074 -1074
- package/dist/quick-inventory-check.scss +285 -285
- package/dist/quick-links.scss +627 -627
- package/dist/quota-details.scss +526 -526
- package/dist/repeater-embla-controls.scss +211 -211
- package/dist/repeater-grid-toggle.scss +206 -206
- package/dist/repeater-item.scss +152 -152
- package/dist/repeater.scss +946 -946
- package/dist/request-for-quotes.scss +841 -841
- package/dist/responsive-behaviour.scss +29 -29
- package/dist/rfqs.scss +861 -861
- package/dist/scroll.scss +414 -414
- package/dist/search.scss +689 -689
- package/dist/section.scss +276 -276
- package/dist/shareCartSideBar.scss +254 -254
- package/dist/shipping-estimator.scss +41 -41
- package/dist/shipping-payments.scss +2518 -2518
- package/dist/simple-list.scss +338 -338
- package/dist/skeleton.scss +64 -64
- package/dist/sort.scss +176 -176
- package/dist/spotlight.scss +1706 -1706
- package/dist/stack.scss +171 -171
- package/dist/static-global.scss +292 -292
- package/dist/static-text.scss +52 -52
- package/dist/stockStatus.scss +70 -70
- package/dist/store-locations.scss +1592 -1592
- package/dist/sub-category.scss +74 -74
- package/dist/submit-quote.scss +275 -275
- package/dist/tab-container-item.scss +80 -80
- package/dist/tab-container.scss +141 -141
- package/dist/table.scss +9 -0
- package/dist/tabs.scss +440 -440
- package/dist/text-temp.scss +109 -109
- package/dist/theme-classes.scss +421 -421
- package/dist/toaster.scss +392 -392
- package/dist/toggle-button.scss +32 -32
- package/dist/transform-properties-module.scss +20 -20
- package/dist/types/builder/tools/element-edit/login.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/resetPassword.d.ts +1 -0
- package/dist/wishlist-overlay.scss +48 -48
- package/package.json +1 -1
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:list";
|
|
3
|
-
|
|
4
|
-
@use "./functions.scss" as *;
|
|
5
|
-
@use "./prefix-list.scss" as *;
|
|
6
|
-
|
|
7
|
-
$elementDragging: "[data-cms-new-element-dragging-v2='true']";
|
|
8
|
-
$dataResizerTrue: '[data-cms-element-resizer="true"]';
|
|
9
|
-
$activeElementSelector: "[data-has-clicked='true']";
|
|
10
|
-
$editor: '[data-page-id="cms__template__editor"]';
|
|
11
|
-
$var: "--_sf-width-rsp-psn";
|
|
12
|
-
|
|
13
|
-
@function convertListToCommaSeparateString($list) {
|
|
14
|
-
$items: ();
|
|
15
|
-
@each $key, $value in $list {
|
|
16
|
-
$sl: ".#{$value}";
|
|
17
|
-
$items: list.append($items, $sl, comma);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@return $items;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
$position: (
|
|
24
|
-
class: (
|
|
25
|
-
absolute: "flx-abs",
|
|
26
|
-
fixed: "flx-fxd",
|
|
27
|
-
sticky: "flx-stk",
|
|
28
|
-
relative: "flx-rel",
|
|
29
|
-
),
|
|
30
|
-
zIndex: "--_ctm-flex-z-index",
|
|
31
|
-
attributes: (
|
|
32
|
-
horizontal: "data-position-horizonal",
|
|
33
|
-
vertical: "data-position-vertical",
|
|
34
|
-
),
|
|
35
|
-
data: (
|
|
36
|
-
horizontal: (
|
|
37
|
-
right: prepareMediaVariable(--_ctm-flex-psn-hoft, 0px),
|
|
38
|
-
left: prepareMediaVariable(--_ctm-flex-psn-hoft, 0px),
|
|
39
|
-
),
|
|
40
|
-
vertical: (
|
|
41
|
-
top: prepareMediaVariable(--_ctm-flex-psn-voft, 0px),
|
|
42
|
-
bottom: prepareMediaVariable(--_ctm-flex-psn-voft, 0px),
|
|
43
|
-
),
|
|
44
|
-
),
|
|
45
|
-
);
|
|
46
|
-
|
|
47
|
-
@mixin FlexPositionModuleStyles() {
|
|
48
|
-
$cls: map.get($position, class);
|
|
49
|
-
$zIndex: map.get($position, zIndex);
|
|
50
|
-
$attributes: map.get($position, attributes);
|
|
51
|
-
$data: map.get($position, data);
|
|
52
|
-
$pa: map.get($cls, absolute);
|
|
53
|
-
$pr: map.get($cls, relative);
|
|
54
|
-
|
|
55
|
-
:is(#{convertListToCommaSeparateString($cls)}) {
|
|
56
|
-
@each $key, $value in $data {
|
|
57
|
-
@each $key1, $value1 in $value {
|
|
58
|
-
&[#{map.get($attributes, $key)}="#{$key1}"] {
|
|
59
|
-
#{$key1}: #{$value1};
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
// @if(){
|
|
64
|
-
|
|
65
|
-
// }
|
|
66
|
-
// z-index: var(#{$zIndex});
|
|
67
|
-
&:is(.#{$pr}, .#{pa}) {
|
|
68
|
-
&:is(#{$editor} *) {
|
|
69
|
-
&#{$activeElementSelector} {
|
|
70
|
-
z-index: var(#{$zIndex});
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
&:not(#{$editor} *) {
|
|
74
|
-
z-index: var(#{$zIndex});
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
&:not(.#{$pr}, .#{pa}) {
|
|
78
|
-
z-index: var(#{$zIndex});
|
|
79
|
-
}
|
|
80
|
-
@each $key, $value in $cls {
|
|
81
|
-
&.#{$value} {
|
|
82
|
-
&:is(:not(#{$elementDragging}, #{$dataResizerTrue})) {
|
|
83
|
-
position: var(--_p-#{$key}) !important;
|
|
84
|
-
@if ($key == fixed) {
|
|
85
|
-
@include FlexUpdatedPrefixCSSVariable($var);
|
|
86
|
-
width: var(#{$var}, #{prepareMediaVariable(--_ctm-lt-wh)}) !important;
|
|
87
|
-
}
|
|
88
|
-
@if not list.index((sticky, relative), $key) {
|
|
89
|
-
margin: 0px !important;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
@use "./functions.scss" as *;
|
|
5
|
+
@use "./prefix-list.scss" as *;
|
|
6
|
+
|
|
7
|
+
$elementDragging: "[data-cms-new-element-dragging-v2='true']";
|
|
8
|
+
$dataResizerTrue: '[data-cms-element-resizer="true"]';
|
|
9
|
+
$activeElementSelector: "[data-has-clicked='true']";
|
|
10
|
+
$editor: '[data-page-id="cms__template__editor"]';
|
|
11
|
+
$var: "--_sf-width-rsp-psn";
|
|
12
|
+
|
|
13
|
+
@function convertListToCommaSeparateString($list) {
|
|
14
|
+
$items: ();
|
|
15
|
+
@each $key, $value in $list {
|
|
16
|
+
$sl: ".#{$value}";
|
|
17
|
+
$items: list.append($items, $sl, comma);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@return $items;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
$position: (
|
|
24
|
+
class: (
|
|
25
|
+
absolute: "flx-abs",
|
|
26
|
+
fixed: "flx-fxd",
|
|
27
|
+
sticky: "flx-stk",
|
|
28
|
+
relative: "flx-rel",
|
|
29
|
+
),
|
|
30
|
+
zIndex: "--_ctm-flex-z-index",
|
|
31
|
+
attributes: (
|
|
32
|
+
horizontal: "data-position-horizonal",
|
|
33
|
+
vertical: "data-position-vertical",
|
|
34
|
+
),
|
|
35
|
+
data: (
|
|
36
|
+
horizontal: (
|
|
37
|
+
right: prepareMediaVariable(--_ctm-flex-psn-hoft, 0px),
|
|
38
|
+
left: prepareMediaVariable(--_ctm-flex-psn-hoft, 0px),
|
|
39
|
+
),
|
|
40
|
+
vertical: (
|
|
41
|
+
top: prepareMediaVariable(--_ctm-flex-psn-voft, 0px),
|
|
42
|
+
bottom: prepareMediaVariable(--_ctm-flex-psn-voft, 0px),
|
|
43
|
+
),
|
|
44
|
+
),
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
@mixin FlexPositionModuleStyles() {
|
|
48
|
+
$cls: map.get($position, class);
|
|
49
|
+
$zIndex: map.get($position, zIndex);
|
|
50
|
+
$attributes: map.get($position, attributes);
|
|
51
|
+
$data: map.get($position, data);
|
|
52
|
+
$pa: map.get($cls, absolute);
|
|
53
|
+
$pr: map.get($cls, relative);
|
|
54
|
+
|
|
55
|
+
:is(#{convertListToCommaSeparateString($cls)}) {
|
|
56
|
+
@each $key, $value in $data {
|
|
57
|
+
@each $key1, $value1 in $value {
|
|
58
|
+
&[#{map.get($attributes, $key)}="#{$key1}"] {
|
|
59
|
+
#{$key1}: #{$value1};
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
// @if(){
|
|
64
|
+
|
|
65
|
+
// }
|
|
66
|
+
// z-index: var(#{$zIndex});
|
|
67
|
+
&:is(.#{$pr}, .#{pa}) {
|
|
68
|
+
&:is(#{$editor} *) {
|
|
69
|
+
&#{$activeElementSelector} {
|
|
70
|
+
z-index: var(#{$zIndex});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
&:not(#{$editor} *) {
|
|
74
|
+
z-index: var(#{$zIndex});
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
&:not(.#{$pr}, .#{pa}) {
|
|
78
|
+
z-index: var(#{$zIndex});
|
|
79
|
+
}
|
|
80
|
+
@each $key, $value in $cls {
|
|
81
|
+
&.#{$value} {
|
|
82
|
+
&:is(:not(#{$elementDragging}, #{$dataResizerTrue})) {
|
|
83
|
+
position: var(--_p-#{$key}) !important;
|
|
84
|
+
@if ($key == fixed) {
|
|
85
|
+
@include FlexUpdatedPrefixCSSVariable($var);
|
|
86
|
+
width: var(#{$var}, #{prepareMediaVariable(--_ctm-lt-wh)}) !important;
|
|
87
|
+
}
|
|
88
|
+
@if not list.index((sticky, relative), $key) {
|
|
89
|
+
margin: 0px !important;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
package/dist/prefix-list.scss
CHANGED
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:list";
|
|
3
|
-
|
|
4
|
-
@use "./functions.scss" as *;
|
|
5
|
-
|
|
6
|
-
$dataElementType: "data-element-type";
|
|
7
|
-
$elementSelector: "[data-div-type='element']";
|
|
8
|
-
$dataLayerElementType: "data-layer-element-type";
|
|
9
|
-
|
|
10
|
-
$prefixList: (
|
|
11
|
-
section: sec,
|
|
12
|
-
grid: gri,
|
|
13
|
-
container: con,
|
|
14
|
-
stack: sta,
|
|
15
|
-
repeater: rep,
|
|
16
|
-
repeater-item: repe,
|
|
17
|
-
product: pro,
|
|
18
|
-
category: cat,
|
|
19
|
-
categoryWidget: cate,
|
|
20
|
-
brand: bran,
|
|
21
|
-
subCategory: subc,
|
|
22
|
-
productDetails: prod,
|
|
23
|
-
categoryDetails: categ,
|
|
24
|
-
lightboxv2: lig,
|
|
25
|
-
layouter: lay,
|
|
26
|
-
layouter-item: layo,
|
|
27
|
-
layouter-pro: layou,
|
|
28
|
-
layouter-pro-item: layout,
|
|
29
|
-
tbs-v2: tbs,
|
|
30
|
-
tbsContainer: tbsco,
|
|
31
|
-
marchandiserSets: march,
|
|
32
|
-
buyForWithTabs: buy,
|
|
33
|
-
buyForTabsContainer: buyFo,
|
|
34
|
-
spotlight: spo,
|
|
35
|
-
categoryGroups: catego,
|
|
36
|
-
mega-menu: meg,
|
|
37
|
-
mgContainer: mgcon,
|
|
38
|
-
cartWrapper: cartw,
|
|
39
|
-
);
|
|
40
|
-
|
|
41
|
-
$VariableTypes: (
|
|
42
|
-
width: "lt-wh",
|
|
43
|
-
maxHeight: "lt-mx-ht",
|
|
44
|
-
transform: "trsnf-vl",
|
|
45
|
-
);
|
|
46
|
-
|
|
47
|
-
@function convertListToCommaSeparateString($list) {
|
|
48
|
-
$items: ();
|
|
49
|
-
@each $key, $value in $list {
|
|
50
|
-
$sl: "[#{$dataElementType}=#{$key}]";
|
|
51
|
-
$items: list.append($items, $sl, comma);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@return $items;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@function convertIntoActualVariable($prefix, $type) {
|
|
58
|
-
// $types: (
|
|
59
|
-
// width: "lt-wh",
|
|
60
|
-
// maxHeight: "lt-mx-ht",
|
|
61
|
-
// transform: "trsnf-vl",
|
|
62
|
-
// );
|
|
63
|
-
$suffix: map.get($VariableTypes, $type);
|
|
64
|
-
@return --_ctm-#{$prefix}-#{$suffix};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
@mixin FlexUpdatedPrefixCSSVariable($var, $isLayer: false, $type: width, $defaultValue: inherit) {
|
|
68
|
-
$selector: "";
|
|
69
|
-
@if ($isLayer == false) {
|
|
70
|
-
$selector: $dataElementType;
|
|
71
|
-
} @else {
|
|
72
|
-
$selector: $dataLayerElementType;
|
|
73
|
-
}
|
|
74
|
-
@each $key, $value in $prefixList {
|
|
75
|
-
&[#{$selector}="#{$key}"] {
|
|
76
|
-
#{$var}: #{prepareMediaVariable(convertIntoActualVariable($value, $type), $defaultValue)};
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
@if ($type != maxHeight) {
|
|
80
|
-
&#{$elementSelector} {
|
|
81
|
-
&:is(:not(#{convertListToCommaSeparateString($prefixList)})) {
|
|
82
|
-
#{$var}: #{prepareMediaVariable(--_ctm-#{map.get($VariableTypes, $type)}, $defaultValue)};
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
@use "./functions.scss" as *;
|
|
5
|
+
|
|
6
|
+
$dataElementType: "data-element-type";
|
|
7
|
+
$elementSelector: "[data-div-type='element']";
|
|
8
|
+
$dataLayerElementType: "data-layer-element-type";
|
|
9
|
+
|
|
10
|
+
$prefixList: (
|
|
11
|
+
section: sec,
|
|
12
|
+
grid: gri,
|
|
13
|
+
container: con,
|
|
14
|
+
stack: sta,
|
|
15
|
+
repeater: rep,
|
|
16
|
+
repeater-item: repe,
|
|
17
|
+
product: pro,
|
|
18
|
+
category: cat,
|
|
19
|
+
categoryWidget: cate,
|
|
20
|
+
brand: bran,
|
|
21
|
+
subCategory: subc,
|
|
22
|
+
productDetails: prod,
|
|
23
|
+
categoryDetails: categ,
|
|
24
|
+
lightboxv2: lig,
|
|
25
|
+
layouter: lay,
|
|
26
|
+
layouter-item: layo,
|
|
27
|
+
layouter-pro: layou,
|
|
28
|
+
layouter-pro-item: layout,
|
|
29
|
+
tbs-v2: tbs,
|
|
30
|
+
tbsContainer: tbsco,
|
|
31
|
+
marchandiserSets: march,
|
|
32
|
+
buyForWithTabs: buy,
|
|
33
|
+
buyForTabsContainer: buyFo,
|
|
34
|
+
spotlight: spo,
|
|
35
|
+
categoryGroups: catego,
|
|
36
|
+
mega-menu: meg,
|
|
37
|
+
mgContainer: mgcon,
|
|
38
|
+
cartWrapper: cartw,
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
$VariableTypes: (
|
|
42
|
+
width: "lt-wh",
|
|
43
|
+
maxHeight: "lt-mx-ht",
|
|
44
|
+
transform: "trsnf-vl",
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
@function convertListToCommaSeparateString($list) {
|
|
48
|
+
$items: ();
|
|
49
|
+
@each $key, $value in $list {
|
|
50
|
+
$sl: "[#{$dataElementType}=#{$key}]";
|
|
51
|
+
$items: list.append($items, $sl, comma);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@return $items;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@function convertIntoActualVariable($prefix, $type) {
|
|
58
|
+
// $types: (
|
|
59
|
+
// width: "lt-wh",
|
|
60
|
+
// maxHeight: "lt-mx-ht",
|
|
61
|
+
// transform: "trsnf-vl",
|
|
62
|
+
// );
|
|
63
|
+
$suffix: map.get($VariableTypes, $type);
|
|
64
|
+
@return --_ctm-#{$prefix}-#{$suffix};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@mixin FlexUpdatedPrefixCSSVariable($var, $isLayer: false, $type: width, $defaultValue: inherit) {
|
|
68
|
+
$selector: "";
|
|
69
|
+
@if ($isLayer == false) {
|
|
70
|
+
$selector: $dataElementType;
|
|
71
|
+
} @else {
|
|
72
|
+
$selector: $dataLayerElementType;
|
|
73
|
+
}
|
|
74
|
+
@each $key, $value in $prefixList {
|
|
75
|
+
&[#{$selector}="#{$key}"] {
|
|
76
|
+
#{$var}: #{prepareMediaVariable(convertIntoActualVariable($value, $type), $defaultValue)};
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
@if ($type != maxHeight) {
|
|
80
|
+
&#{$elementSelector} {
|
|
81
|
+
&:is(:not(#{convertListToCommaSeparateString($prefixList)})) {
|
|
82
|
+
#{$var}: #{prepareMediaVariable(--_ctm-#{map.get($VariableTypes, $type)}, $defaultValue)};
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|