@sc-360-v2/storefront-cms-library 0.1.7 → 0.1.9
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/App.scss +31 -0
- package/dist/amount-estimator.scss +28 -0
- package/dist/builder.js +1 -1
- package/dist/bulk-variant-picker.scss +28 -0
- package/dist/button.scss +4 -2
- package/dist/code-temp.scss +2 -1
- package/dist/countdown.scss +2 -1
- package/dist/editor-core.scss +66 -8
- package/dist/embed-temp.scss +2 -1
- package/dist/faq.scss +7 -1
- package/dist/gallery-slider-temp.scss +230 -66
- package/dist/global.scss +342 -0
- package/dist/hotspot.scss +2 -1
- package/dist/icons.js +1 -1
- package/dist/image-temp.scss +2 -1
- package/dist/index.js +1 -1
- package/dist/map.scss +2 -1
- package/dist/mixin.scss +9 -0
- package/dist/payment-methods.scss +57 -0
- package/dist/pickup-locations.scss +10 -162
- package/dist/product-actions.scss +3 -1
- package/dist/product-basic-elements.scss +329 -0
- package/dist/product-highlights.scss +28 -0
- package/dist/product-image.scss +572 -0
- package/dist/product-inventory.scss +10 -159
- package/dist/product-price.scss +11 -3
- package/dist/product-promotions.scss +45 -0
- package/dist/quantity-selector.scss +265 -0
- package/dist/range-slider.module.scss +85 -0
- package/dist/scroll.scss +2 -1
- package/dist/shipping-estimator.scss +29 -0
- package/dist/social.scss +2 -1
- package/dist/store-locations.scss +13 -162
- package/dist/table.scss +2 -1
- package/dist/text-temp.scss +2 -1
- package/dist/types/builder/elements/bulk-variant-picker/index.d.ts +27 -0
- package/dist/types/builder/elements/common.d.ts +1 -0
- package/dist/types/builder/elements/product-image/index.d.ts +30 -0
- package/dist/types/builder/elements/stack/index.d.ts +37 -0
- package/dist/types/builder/elements/uom-selector/index.d.ts +27 -0
- package/dist/types/builder/elements/variant-picker/index.d.ts +27 -0
- package/dist/types/builder/enums/index.d.ts +10 -2
- package/dist/types/builder/index.d.ts +6 -1
- package/dist/types/builder/tools/element-edit/bulkVariantPicker.d.ts +118 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +6 -1
- package/dist/types/builder/tools/element-edit/product-image.d.ts +112 -0
- package/dist/types/builder/tools/element-edit/productDetails.d.ts +1 -1
- package/dist/types/builder/tools/element-edit/productPromotions.d.ts +1 -1
- package/dist/types/builder/tools/element-edit/stack.d.ts +25 -0
- package/dist/types/builder/tools/element-edit/uomSelector.d.ts +39 -0
- package/dist/types/builder/tools/element-edit/variantPicker.d.ts +119 -0
- package/dist/types/global/types.d.ts +1 -0
- package/dist/uom-selector.scss +28 -0
- package/dist/variable.scss +128 -0
- package/dist/variant-picker.scss +28 -0
- package/dist/video.scss +4 -2
- package/dist/volume-pricing.scss +18 -0
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ export interface selfContentInterface {
|
|
|
16
16
|
selectorKey: string;
|
|
17
17
|
productName: controlInterface;
|
|
18
18
|
productCodes: controlInterface;
|
|
19
|
-
|
|
19
|
+
variantCodes: controlInterface;
|
|
20
20
|
productImages: controlInterface;
|
|
21
21
|
prices: controlInterface;
|
|
22
22
|
productDescription: controlInterface;
|
|
@@ -6,7 +6,7 @@ interface selfLayoutInterface {
|
|
|
6
6
|
dividerBetweenItems: CMSIBCommonInterface;
|
|
7
7
|
itemSpacing: CMSIBCommonInterface;
|
|
8
8
|
itemPadding: CMSIBCommonInterface;
|
|
9
|
-
|
|
9
|
+
itemContentAlignment: CMSIBCommonInterface;
|
|
10
10
|
overflowItems: CMSIBCommonInterface;
|
|
11
11
|
maxItemsToDisplay: CMSIBCommonInterface;
|
|
12
12
|
header: CMSIBCommonInterface;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AlignItemsValue, JustifyContentValue, StackDirectionType } from "../../../global/types";
|
|
2
|
+
import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
|
|
3
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
4
|
+
interface selfLayoutInterface {
|
|
5
|
+
selectorKey: string;
|
|
6
|
+
direction: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
7
|
+
value: StackDirectionType;
|
|
8
|
+
};
|
|
9
|
+
itemGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
|
|
10
|
+
justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
11
|
+
value: JustifyContentValue;
|
|
12
|
+
};
|
|
13
|
+
alignItems: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
14
|
+
value: AlignItemsValue;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export interface selfDesignInterface {
|
|
18
|
+
selectorKey: string;
|
|
19
|
+
}
|
|
20
|
+
export declare enum selfSelectorKeysEnum {
|
|
21
|
+
LAYOUT = "layout",
|
|
22
|
+
DESIGN = "design"
|
|
23
|
+
}
|
|
24
|
+
export declare const getDefaultData: (contentWidth: any) => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
|
+
interface selfLayoutInterface {
|
|
4
|
+
selectorKey: string;
|
|
5
|
+
displayFormat: CMSIBCommonInterface;
|
|
6
|
+
showUOMPrice: CMSIBCommonInterface;
|
|
7
|
+
itemSpacing: CMSIBCommonInterface;
|
|
8
|
+
maxItemsToDisplay: CMSIBCommonInterface;
|
|
9
|
+
overflowControl: CMSIBCommonInterface;
|
|
10
|
+
onClick: CMSIBCommonInterface;
|
|
11
|
+
header: CMSIBCommonInterface;
|
|
12
|
+
headerHeight: CMSIBCommonInterface;
|
|
13
|
+
rowHeight: CMSIBCommonInterface;
|
|
14
|
+
headerDivider: CMSIBCommonInterface;
|
|
15
|
+
rowDivider: CMSIBCommonInterface;
|
|
16
|
+
columnDivider: CMSIBCommonInterface;
|
|
17
|
+
alternativeRowColors: CMSIBCommonInterface;
|
|
18
|
+
headerCellPadding: CMSIBCommonInterface;
|
|
19
|
+
rowCellPadding: CMSIBCommonInterface;
|
|
20
|
+
contentAlignment: CMSIBCommonInterface;
|
|
21
|
+
rowsPerPage: CMSIBCommonInterface;
|
|
22
|
+
paginationType: CMSIBCommonInterface;
|
|
23
|
+
paginationAliginment: CMSIBCommonInterface;
|
|
24
|
+
imageBehavior: CMSIBCommonInterface;
|
|
25
|
+
itemsPerRow: CMSIBCommonInterface;
|
|
26
|
+
itemPadding: CMSIBCommonInterface;
|
|
27
|
+
ItemContentAlignment: CMSIBCommonInterface;
|
|
28
|
+
overflowItems: CMSIBCommonInterface;
|
|
29
|
+
}
|
|
30
|
+
interface selfDesignInterface {
|
|
31
|
+
selectorKey: string;
|
|
32
|
+
}
|
|
33
|
+
export declare enum UOMSelectorKeysEnum {
|
|
34
|
+
LAYOUT = "layout",
|
|
35
|
+
CONTENT = "content",
|
|
36
|
+
DESIGN = "design"
|
|
37
|
+
}
|
|
38
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
|
+
interface selfLayoutInterface {
|
|
4
|
+
selectorKey: string;
|
|
5
|
+
optionSelection: CMSIBCommonInterface;
|
|
6
|
+
displayStyle: CMSIBCommonInterface;
|
|
7
|
+
displayOutOfStockValues: CMSIBCommonInterface;
|
|
8
|
+
notifyMeButton: CMSIBCommonInterface;
|
|
9
|
+
quantitySelectorForVariantSelector: CMSIBCommonInterface;
|
|
10
|
+
dividerBetweenItems: CMSIBCommonInterface;
|
|
11
|
+
optionTitleValueSpacing: CMSIBCommonInterface;
|
|
12
|
+
remainingDisplayStyle: CMSIBCommonInterface;
|
|
13
|
+
allowUserToSearch: CMSIBCommonInterface;
|
|
14
|
+
allowUserToFilter: CMSIBCommonInterface;
|
|
15
|
+
swatchTypeDisplayStyle: {
|
|
16
|
+
selectorKey: string;
|
|
17
|
+
displayValues: CMSIBCommonInterface;
|
|
18
|
+
itemPadding: CMSIBCommonInterface;
|
|
19
|
+
itemSpacing: CMSIBCommonInterface;
|
|
20
|
+
maxItemsToDisplay: CMSIBCommonInterface;
|
|
21
|
+
overflowItems: CMSIBCommonInterface;
|
|
22
|
+
swatchImageType: CMSIBCommonInterface;
|
|
23
|
+
};
|
|
24
|
+
singleSelectDisplayStyle: {
|
|
25
|
+
selectorKey: string;
|
|
26
|
+
displayValues: CMSIBCommonInterface;
|
|
27
|
+
itemSpacing: CMSIBCommonInterface;
|
|
28
|
+
itemPadding: CMSIBCommonInterface;
|
|
29
|
+
maxItemsToDisplay: CMSIBCommonInterface;
|
|
30
|
+
overflowItems: CMSIBCommonInterface;
|
|
31
|
+
imageBehaviour: CMSIBCommonInterface;
|
|
32
|
+
itemsPerRow: CMSIBCommonInterface;
|
|
33
|
+
itemContentAlignment: CMSIBCommonInterface;
|
|
34
|
+
overflowDirection: CMSIBCommonInterface;
|
|
35
|
+
};
|
|
36
|
+
dropdownDisplayStyle: {
|
|
37
|
+
selectorKey: string;
|
|
38
|
+
dropdownOptionsSpacing: CMSIBCommonInterface;
|
|
39
|
+
dropdownOptionsPadding: CMSIBCommonInterface;
|
|
40
|
+
dropdownStyle: CMSIBCommonInterface;
|
|
41
|
+
optionAndListSpacing: CMSIBCommonInterface;
|
|
42
|
+
dropdownListItemSpacing: CMSIBCommonInterface;
|
|
43
|
+
dropdownListItemPadding: CMSIBCommonInterface;
|
|
44
|
+
dividerBetweenListItems: CMSIBCommonInterface;
|
|
45
|
+
maxItemsToDisplay: CMSIBCommonInterface;
|
|
46
|
+
overflowItems: CMSIBCommonInterface;
|
|
47
|
+
};
|
|
48
|
+
groupedOptionsDisplayStyle: {
|
|
49
|
+
selectorKey: string;
|
|
50
|
+
groupsDisplayStyle: CMSIBCommonInterface;
|
|
51
|
+
groupSpacing: CMSIBCommonInterface;
|
|
52
|
+
groupPadding: CMSIBCommonInterface;
|
|
53
|
+
groupHeaderAndOptionSpacing: CMSIBCommonInterface;
|
|
54
|
+
tabDirection: CMSIBCommonInterface;
|
|
55
|
+
tabLayout: CMSIBCommonInterface;
|
|
56
|
+
tabAlignment: CMSIBCommonInterface;
|
|
57
|
+
tabSpacing: CMSIBCommonInterface;
|
|
58
|
+
tabAndContainerSpacing: CMSIBCommonInterface;
|
|
59
|
+
tabHorizontalPadding: CMSIBCommonInterface;
|
|
60
|
+
tabVerticalPadding: CMSIBCommonInterface;
|
|
61
|
+
containerPadding: CMSIBCommonInterface;
|
|
62
|
+
overflowItems: CMSIBCommonInterface;
|
|
63
|
+
tabRowSpacing: CMSIBCommonInterface;
|
|
64
|
+
expandIconPositon: CMSIBCommonInterface;
|
|
65
|
+
expandFirstItemByDefault: CMSIBCommonInterface;
|
|
66
|
+
allowMultipleOpenItems: CMSIBCommonInterface;
|
|
67
|
+
itemDividers: CMSIBCommonInterface;
|
|
68
|
+
accordionSpacing: CMSIBCommonInterface;
|
|
69
|
+
accordionAndContainerSpacing: CMSIBCommonInterface;
|
|
70
|
+
accordionHorizontalPadding: CMSIBCommonInterface;
|
|
71
|
+
accordionVerticalPadding: CMSIBCommonInterface;
|
|
72
|
+
groupAndContainerSpacing: CMSIBCommonInterface;
|
|
73
|
+
groupHorizontalPadding: CMSIBCommonInterface;
|
|
74
|
+
groupVerticalPadding: CMSIBCommonInterface;
|
|
75
|
+
canCollapseGroups: CMSIBCommonInterface;
|
|
76
|
+
collapseIconPosition: CMSIBCommonInterface;
|
|
77
|
+
};
|
|
78
|
+
tableDisplayStyle: {
|
|
79
|
+
selectorKey: string;
|
|
80
|
+
header: CMSIBCommonInterface;
|
|
81
|
+
headerHeight: CMSIBCommonInterface;
|
|
82
|
+
rowHeight: CMSIBCommonInterface;
|
|
83
|
+
headerDivider: CMSIBCommonInterface;
|
|
84
|
+
rowDivider: CMSIBCommonInterface;
|
|
85
|
+
columnDivider: CMSIBCommonInterface;
|
|
86
|
+
alternativeRowColors: CMSIBCommonInterface;
|
|
87
|
+
headerCellPadding: CMSIBCommonInterface;
|
|
88
|
+
rowCellPadding: CMSIBCommonInterface;
|
|
89
|
+
contentAlignment: CMSIBCommonInterface;
|
|
90
|
+
rowsPerPage: CMSIBCommonInterface;
|
|
91
|
+
overflowControl: CMSIBCommonInterface;
|
|
92
|
+
showMoreRows: CMSIBCommonInterface;
|
|
93
|
+
paginationType: CMSIBCommonInterface;
|
|
94
|
+
paginationAliginment: CMSIBCommonInterface;
|
|
95
|
+
};
|
|
96
|
+
groupedTableDisplayStyle: {
|
|
97
|
+
selectorKey: string;
|
|
98
|
+
groupsDisplayStyle: CMSIBCommonInterface;
|
|
99
|
+
groupSpacing: CMSIBCommonInterface;
|
|
100
|
+
groupPadding: CMSIBCommonInterface;
|
|
101
|
+
groupHeaderAndOptionSpacing: CMSIBCommonInterface;
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
interface selfDesignInterface {
|
|
105
|
+
selectorKey: string;
|
|
106
|
+
}
|
|
107
|
+
export declare enum VariantPickerSelectorKeysEnum {
|
|
108
|
+
LAYOUT = "layout",
|
|
109
|
+
CONTENT = "content",
|
|
110
|
+
DESIGN = "design",
|
|
111
|
+
SWATFH_TYPE_DISPLAY_STYLE = "swatchTypeDisplayStyle",
|
|
112
|
+
SINGLE_SELECT_DISPLAY_STYLE = "singleSelectDisplayStyle",
|
|
113
|
+
DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle",
|
|
114
|
+
GROUPED_OPTION_DISPLAY_STYLE = "groupedOptionsDisplayStyle",
|
|
115
|
+
TABLE_DISPLAY_STYLE = "tableDisplayStyle",
|
|
116
|
+
GROUPED_TABLE_DISPLAY_STYLE = "groupedTableDisplayStyle"
|
|
117
|
+
}
|
|
118
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
119
|
+
export {};
|
|
@@ -32,5 +32,6 @@ export type CMSEditControlsTypes = "Slider" | "Settings" | string;
|
|
|
32
32
|
export type GlobalVideoAttributes = "src" | "poster" | "controls" | "autoplay" | "loop" | "muted" | "preload" | "crossOrigin" | "playsInline";
|
|
33
33
|
export type CommonBuilderAttributes = "dataDivType" | "dataType" | "dataElementType" | "dataWidgetType" | "dataElementSubChild";
|
|
34
34
|
export type GlobalTableAttributes = "cellPadding" | "cellSpacing" | "border" | "width" | "height" | "align" | "bgColor" | "frame" | "headers" | "rows" | "rules";
|
|
35
|
+
export type StackDirectionType = "horizontal" | "vertical";
|
|
35
36
|
export type ObjectFitValue = "fill" | "contain" | "cover" | "none" | "scale-down" | string;
|
|
36
37
|
export type ObjectPositionValue = string;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
[data-div-type="element"] {
|
|
5
|
+
&[data-element-type="uomSelector"] {
|
|
6
|
+
// width: var(--_lt-wh);
|
|
7
|
+
// height: var(--_lt-ht);
|
|
8
|
+
// margin: var(--_lt-mn);
|
|
9
|
+
// padding: var(--_lt-pg);
|
|
10
|
+
// width: var(--_ctm-lt-wh, var(--_tst-lt-wh));
|
|
11
|
+
width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
12
|
+
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
13
|
+
// height: var(--_ctm-lt-ht, var(--_tst-lt-ht));
|
|
14
|
+
// height: ;
|
|
15
|
+
aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
16
|
+
--_aspect-ratio: calc(
|
|
17
|
+
1 * (var(--_ctm-lt-ht, var(--_tst-lt-ht)) / var(--_ctm-lt-wh, var(--_tst-lt-wh)))
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
& > .wrapper {
|
|
21
|
+
width: 100%;
|
|
22
|
+
// height: 100%;
|
|
23
|
+
}
|
|
24
|
+
&[data-show-shadow="false"] {
|
|
25
|
+
--_show-shadow: none;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
|
|
4
|
+
body {
|
|
5
|
+
--_container-width: 1366px;
|
|
6
|
+
--_builder-breakpoint: 1024px;
|
|
7
|
+
--_sidebar-small-width: 428px;
|
|
8
|
+
--_sidebar-big-width: 600px;
|
|
9
|
+
--_dotted-input-width: 55px;
|
|
10
|
+
--_settings-tab-width: 370px;
|
|
11
|
+
--_settings-tab-top: 170px;
|
|
12
|
+
--_settings-tab-default-value: 10px;
|
|
13
|
+
--_themesettings-button-minwidth: 165px;
|
|
14
|
+
|
|
15
|
+
--_element-settngs-popup-mxheight: 500px;
|
|
16
|
+
--_element-settngs-popup-gap: 12px;
|
|
17
|
+
|
|
18
|
+
--_d-flex: flex;
|
|
19
|
+
--_flex-wrap: wrap;
|
|
20
|
+
--_d-inline-flex: inline-flex;
|
|
21
|
+
--_d-grid: grid;
|
|
22
|
+
--_d-block: block;
|
|
23
|
+
--_d-none: none;
|
|
24
|
+
|
|
25
|
+
--_p-absolute: absolute;
|
|
26
|
+
--_p-fixed: fixed;
|
|
27
|
+
--_p-sticky: sticky;
|
|
28
|
+
--_p-static: static;
|
|
29
|
+
--_p-relative: relative;
|
|
30
|
+
|
|
31
|
+
--_f-row: row;
|
|
32
|
+
--_f-column: column;
|
|
33
|
+
--_justify_start: flex-start;
|
|
34
|
+
--_justify-center: center;
|
|
35
|
+
--_justify-between: space-between;
|
|
36
|
+
--_justify-end: flex-end;
|
|
37
|
+
|
|
38
|
+
--_align-center: center;
|
|
39
|
+
--_align-start: start;
|
|
40
|
+
--_align-left: left;
|
|
41
|
+
--_align-items-flex-start: flex-start;
|
|
42
|
+
|
|
43
|
+
--_shadow-xs: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
|
|
44
|
+
--_shadow-x1: 0px 8px 8px -4px rgba(16, 24, 40, 0.03), 0px 20px 24px -4px rgba(16, 24, 40, 0.08);
|
|
45
|
+
--_shadow-x3: 0px 32px 64px -12px rgba(16, 24, 40, 0.14);
|
|
46
|
+
--_shadow-md: 0px 2px 4px -2px rgba(16, 24, 40, 0.06), 0px 4px 8px -2px rgba(16, 24, 40, 0.1);
|
|
47
|
+
|
|
48
|
+
--_shadow-lg: 0px 4px 6px -2px rgba(16, 24, 40, 0.03), 0px 12px 16px -4px rgba(16, 24, 40, 0.08);
|
|
49
|
+
--_higher-zIndex: 99999;
|
|
50
|
+
|
|
51
|
+
--_cms-map-at-zIndex: 9;
|
|
52
|
+
--_cms-zoom-at-zIndex: 10;
|
|
53
|
+
--_cs-canvas-img-zIndex: 9;
|
|
54
|
+
--_cs-pl-zIndex: 8;
|
|
55
|
+
--_cms-properties-zIndex: 7;
|
|
56
|
+
--_cms-sidebar-zIndex: 6;
|
|
57
|
+
--_cs-cms-root-zIndex: 5;
|
|
58
|
+
--_add-element-zIndex: 3;
|
|
59
|
+
--_cs-et-zIndex: 2;
|
|
60
|
+
--_it-gl-zIndex: 1;
|
|
61
|
+
--_cms-et-pe-zIndex: 1;
|
|
62
|
+
|
|
63
|
+
--_inline-toolbar-zIndex: 9999;
|
|
64
|
+
--_white: #fff;
|
|
65
|
+
--_body-bg: #f7f8fa;
|
|
66
|
+
--_gray-25: #fcfcfd;
|
|
67
|
+
--_gray-50: #f9fafb;
|
|
68
|
+
--_gray-100: #f2f4f7;
|
|
69
|
+
--_gray-200: #eaecf0;
|
|
70
|
+
--_gray-300: #d0d5dd;
|
|
71
|
+
--_gray-400: #98a2b3;
|
|
72
|
+
--_gray-500: #667085;
|
|
73
|
+
--_gray-600: #475467;
|
|
74
|
+
--_gray-700: #344054;
|
|
75
|
+
--_gray-900: #101828;
|
|
76
|
+
--_base-white: #fff;
|
|
77
|
+
--_base-black: #000;
|
|
78
|
+
--_border-light-color: #eaecf0;
|
|
79
|
+
--_gray-bg: #d9d9d9;
|
|
80
|
+
--_gray-bg-r: 217;
|
|
81
|
+
--_gray-bg-g: 217;
|
|
82
|
+
--_gray-bg-b: 217;
|
|
83
|
+
--_bg-overlay: rgba(52, 64, 84, 0.4);
|
|
84
|
+
--_gray-blue-300: #b3b8db;
|
|
85
|
+
--_red-500: #f04438;
|
|
86
|
+
|
|
87
|
+
--_accent-color-2-500: #583fff;
|
|
88
|
+
--_success-800: #05603a;
|
|
89
|
+
|
|
90
|
+
--_primary-25: #f5f6fd;
|
|
91
|
+
--_primary-50: #e2e5fa;
|
|
92
|
+
--_primary-100: #ced4f6;
|
|
93
|
+
--_primary-200: #a8b2ef;
|
|
94
|
+
--_primary-300: #8190e8;
|
|
95
|
+
--_primary-400: #243dc6;
|
|
96
|
+
--_primary-500: #162578;
|
|
97
|
+
--_primary-600: #132067;
|
|
98
|
+
--_primary-700: #111c5b;
|
|
99
|
+
|
|
100
|
+
--_success-50: #ecfdf3;
|
|
101
|
+
--_success-200: #a6f4c5;
|
|
102
|
+
--_success-600: #039855;
|
|
103
|
+
--_success-700: #027a48;
|
|
104
|
+
|
|
105
|
+
--_red-300: #fda29b;
|
|
106
|
+
--_red-100: #fee4e2;
|
|
107
|
+
--_warning-50: #fffaeb;
|
|
108
|
+
--_warning-200: #fedf89;
|
|
109
|
+
--_warning-300: #fec84b;
|
|
110
|
+
--_warning-500: #f79009;
|
|
111
|
+
--_warning-600: #dc6803;
|
|
112
|
+
--_warning-700: #fec84b;
|
|
113
|
+
|
|
114
|
+
--_error-700: #b42318;
|
|
115
|
+
--_error-500: #f04438;
|
|
116
|
+
--_error-200: #fecdca;
|
|
117
|
+
--_error-50: #fef3f2;
|
|
118
|
+
|
|
119
|
+
--_transition-duration: 0.45s;
|
|
120
|
+
--_transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
|
|
121
|
+
|
|
122
|
+
--_user-select-none: none;
|
|
123
|
+
--scroll-page: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.pac-container {
|
|
127
|
+
z-index: calc(var(--_higher-zIndex) + var(--_cms-map-at-zIndex));
|
|
128
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
[data-div-type="element"] {
|
|
5
|
+
&[data-element-type="variantPicker"] {
|
|
6
|
+
// width: var(--_lt-wh);
|
|
7
|
+
// height: var(--_lt-ht);
|
|
8
|
+
// margin: var(--_lt-mn);
|
|
9
|
+
// padding: var(--_lt-pg);
|
|
10
|
+
// width: var(--_ctm-lt-wh, var(--_tst-lt-wh));
|
|
11
|
+
width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
12
|
+
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
13
|
+
// height: var(--_ctm-lt-ht, var(--_tst-lt-ht));
|
|
14
|
+
// height: ;
|
|
15
|
+
aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
16
|
+
--_aspect-ratio: calc(
|
|
17
|
+
1 * (var(--_ctm-lt-ht, var(--_tst-lt-ht)) / var(--_ctm-lt-wh, var(--_tst-lt-wh)))
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
& > .wrapper {
|
|
21
|
+
width: 100%;
|
|
22
|
+
// height: 100%;
|
|
23
|
+
}
|
|
24
|
+
&[data-show-shadow="false"] {
|
|
25
|
+
--_show-shadow: none;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
package/dist/video.scss
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
[data-div-type="element"] {
|
|
2
2
|
&[data-element-type="video"] {
|
|
3
|
-
width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
3
|
+
// width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
4
|
+
width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
|
|
4
5
|
margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
5
6
|
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
6
7
|
--_aspect-ratio: calc(
|
|
@@ -167,8 +168,9 @@
|
|
|
167
168
|
}
|
|
168
169
|
.video__thumbnail {
|
|
169
170
|
position: relative;
|
|
171
|
+
width: 100%;
|
|
170
172
|
.placeholder__img {
|
|
171
|
-
|
|
173
|
+
width: 100%;
|
|
172
174
|
// position: absolute;
|
|
173
175
|
// left: 0;
|
|
174
176
|
// top: 0;
|
package/dist/volume-pricing.scss
CHANGED
|
@@ -24,5 +24,23 @@
|
|
|
24
24
|
&[data-show-shadow="false"] {
|
|
25
25
|
--_show-shadow: none;
|
|
26
26
|
}
|
|
27
|
+
|
|
28
|
+
table {
|
|
29
|
+
font-family: arial, sans-serif;
|
|
30
|
+
border-collapse: collapse;
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 100%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
td,
|
|
36
|
+
th {
|
|
37
|
+
border: 1px solid #dddddd;
|
|
38
|
+
text-align: center;
|
|
39
|
+
padding: 8px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
tr:nth-child(even) {
|
|
43
|
+
// background-color: #dddddd;
|
|
44
|
+
}
|
|
27
45
|
}
|
|
28
46
|
}
|