@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
package/dist/checkbox-radio.scss
CHANGED
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
.checkbox_container {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
gap: 8px;
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
position: relative;
|
|
7
|
-
|
|
8
|
-
&.disabled {
|
|
9
|
-
opacity: 0.6;
|
|
10
|
-
cursor: not-allowed;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.checkbox_input {
|
|
14
|
-
position: absolute;
|
|
15
|
-
opacity: 0;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.checkbox_custom {
|
|
20
|
-
width: 16px;
|
|
21
|
-
height: 16px;
|
|
22
|
-
border: 2px solid #797583;
|
|
23
|
-
border-radius: 4px; // use 50% for circle
|
|
24
|
-
display: inline-block;
|
|
25
|
-
position: relative;
|
|
26
|
-
transition: all 0.2s ease;
|
|
27
|
-
&.checkbox_grouped {
|
|
28
|
-
margin-right: 12px;
|
|
29
|
-
}
|
|
30
|
-
// 🔹 minus (indeterminate) state
|
|
31
|
-
&.checkbox_remove {
|
|
32
|
-
background-color: var(--_primary-400);
|
|
33
|
-
border-color: var(--_primary-400);
|
|
34
|
-
|
|
35
|
-
&::after {
|
|
36
|
-
content: "" !important;
|
|
37
|
-
position: absolute !important;
|
|
38
|
-
top: 50% !important;
|
|
39
|
-
left: 50% !important;
|
|
40
|
-
width: 8px !important;
|
|
41
|
-
height: 1px !important;
|
|
42
|
-
background: white !important;
|
|
43
|
-
transform: translate(-50%, -50%) !important;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// checked state
|
|
49
|
-
.checkbox_input:checked + .checkbox_custom {
|
|
50
|
-
background-color: var(--_primary-400);
|
|
51
|
-
border-color: var(--_primary-400);
|
|
52
|
-
|
|
53
|
-
&::after {
|
|
54
|
-
content: "";
|
|
55
|
-
position: absolute;
|
|
56
|
-
left: 4px;
|
|
57
|
-
top: 0px;
|
|
58
|
-
width: 3px;
|
|
59
|
-
height: 7px;
|
|
60
|
-
border: solid white;
|
|
61
|
-
border-width: 0 2px 2px 0;
|
|
62
|
-
transform: rotate(45deg);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.checkbox_label {
|
|
67
|
-
font-size: 14px;
|
|
68
|
-
color: var(--_gray-600);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// radio button
|
|
73
|
-
.radio_container {
|
|
74
|
-
display: flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
gap: 8px;
|
|
77
|
-
cursor: pointer;
|
|
78
|
-
position: relative;
|
|
79
|
-
|
|
80
|
-
&.disabled {
|
|
81
|
-
opacity: 0.6;
|
|
82
|
-
cursor: not-allowed;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.radio_input {
|
|
86
|
-
position: absolute;
|
|
87
|
-
opacity: 0;
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.radio_custom {
|
|
92
|
-
width: 16px;
|
|
93
|
-
height: 16px;
|
|
94
|
-
border: 2px solid #999;
|
|
95
|
-
border-radius: 50%; // round for radio
|
|
96
|
-
display: inline-block;
|
|
97
|
-
position: relative;
|
|
98
|
-
transition: all 0.2s ease;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// checked state
|
|
102
|
-
.radio_input:checked + .radio_custom {
|
|
103
|
-
background-color: var(--_primary-400);
|
|
104
|
-
border: 2px solid var(--_primary-400);
|
|
105
|
-
|
|
106
|
-
&::after {
|
|
107
|
-
content: "";
|
|
108
|
-
content: "";
|
|
109
|
-
position: absolute;
|
|
110
|
-
top: 50%;
|
|
111
|
-
left: 50%;
|
|
112
|
-
width: 8px;
|
|
113
|
-
height: 8px;
|
|
114
|
-
border-radius: 50%;
|
|
115
|
-
background: #fff;
|
|
116
|
-
transform: translate(-50%, -50%);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.radio_label {
|
|
121
|
-
font-size: 14px;
|
|
122
|
-
color: var(--_gray-600);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
1
|
+
.checkbox_container {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: 8px;
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
position: relative;
|
|
7
|
+
|
|
8
|
+
&.disabled {
|
|
9
|
+
opacity: 0.6;
|
|
10
|
+
cursor: not-allowed;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.checkbox_input {
|
|
14
|
+
position: absolute;
|
|
15
|
+
opacity: 0;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.checkbox_custom {
|
|
20
|
+
width: 16px;
|
|
21
|
+
height: 16px;
|
|
22
|
+
border: 2px solid #797583;
|
|
23
|
+
border-radius: 4px; // use 50% for circle
|
|
24
|
+
display: inline-block;
|
|
25
|
+
position: relative;
|
|
26
|
+
transition: all 0.2s ease;
|
|
27
|
+
&.checkbox_grouped {
|
|
28
|
+
margin-right: 12px;
|
|
29
|
+
}
|
|
30
|
+
// 🔹 minus (indeterminate) state
|
|
31
|
+
&.checkbox_remove {
|
|
32
|
+
background-color: var(--_primary-400);
|
|
33
|
+
border-color: var(--_primary-400);
|
|
34
|
+
|
|
35
|
+
&::after {
|
|
36
|
+
content: "" !important;
|
|
37
|
+
position: absolute !important;
|
|
38
|
+
top: 50% !important;
|
|
39
|
+
left: 50% !important;
|
|
40
|
+
width: 8px !important;
|
|
41
|
+
height: 1px !important;
|
|
42
|
+
background: white !important;
|
|
43
|
+
transform: translate(-50%, -50%) !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// checked state
|
|
49
|
+
.checkbox_input:checked + .checkbox_custom {
|
|
50
|
+
background-color: var(--_primary-400);
|
|
51
|
+
border-color: var(--_primary-400);
|
|
52
|
+
|
|
53
|
+
&::after {
|
|
54
|
+
content: "";
|
|
55
|
+
position: absolute;
|
|
56
|
+
left: 4px;
|
|
57
|
+
top: 0px;
|
|
58
|
+
width: 3px;
|
|
59
|
+
height: 7px;
|
|
60
|
+
border: solid white;
|
|
61
|
+
border-width: 0 2px 2px 0;
|
|
62
|
+
transform: rotate(45deg);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.checkbox_label {
|
|
67
|
+
font-size: 14px;
|
|
68
|
+
color: var(--_gray-600);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// radio button
|
|
73
|
+
.radio_container {
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
gap: 8px;
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
position: relative;
|
|
79
|
+
|
|
80
|
+
&.disabled {
|
|
81
|
+
opacity: 0.6;
|
|
82
|
+
cursor: not-allowed;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.radio_input {
|
|
86
|
+
position: absolute;
|
|
87
|
+
opacity: 0;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.radio_custom {
|
|
92
|
+
width: 16px;
|
|
93
|
+
height: 16px;
|
|
94
|
+
border: 2px solid #999;
|
|
95
|
+
border-radius: 50%; // round for radio
|
|
96
|
+
display: inline-block;
|
|
97
|
+
position: relative;
|
|
98
|
+
transition: all 0.2s ease;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// checked state
|
|
102
|
+
.radio_input:checked + .radio_custom {
|
|
103
|
+
background-color: var(--_primary-400);
|
|
104
|
+
border: 2px solid var(--_primary-400);
|
|
105
|
+
|
|
106
|
+
&::after {
|
|
107
|
+
content: "";
|
|
108
|
+
content: "";
|
|
109
|
+
position: absolute;
|
|
110
|
+
top: 50%;
|
|
111
|
+
left: 50%;
|
|
112
|
+
width: 8px;
|
|
113
|
+
height: 8px;
|
|
114
|
+
border-radius: 50%;
|
|
115
|
+
background: #fff;
|
|
116
|
+
transform: translate(-50%, -50%);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.radio_label {
|
|
121
|
+
font-size: 14px;
|
|
122
|
+
color: var(--_gray-600);
|
|
123
|
+
}
|
|
124
|
+
}
|
package/dist/code-temp.scss
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:list";
|
|
3
|
-
|
|
4
|
-
[data-div-type="element"] {
|
|
5
|
-
&[data-element-type="code"] {
|
|
6
|
-
display: var(--_d-flex);
|
|
7
|
-
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
8
|
-
// width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
|
|
9
|
-
// margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
10
|
-
// min-height: ;
|
|
11
|
-
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
12
|
-
// --_aspect-ratio: calc(
|
|
13
|
-
// 1 * (var(--_ctm-lt-ht, var(--_tst-lt-ht)) / var(--_ctm-lt-wh, var(--_tst-lt-wh)))
|
|
14
|
-
// );
|
|
15
|
-
|
|
16
|
-
& > .wrapper {
|
|
17
|
-
width: 100%;
|
|
18
|
-
min-height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
|
|
19
|
-
// height: 100%;
|
|
20
|
-
|
|
21
|
-
background-color: var(--_ctm-mob-dn-bd-cr, var(--_ctm-tab-dn-bd-cr, var(--_ctm-dn-bd-cr)));
|
|
22
|
-
padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
|
|
23
|
-
|
|
24
|
-
border-color: var(--_ctm-mob-dn-br-cr, var(--_ctm-tab-dn-br-cr, var(--_ctm-dn-br-cr)));
|
|
25
|
-
border-style: var(--_ctm-mob-dn-br-se, var(--_ctm-tab-dn-br-se, var(--_ctm-dn-br-se)));
|
|
26
|
-
border-width: var(--_ctm-mob-dn-br-wh, var(--_ctm-tab-dn-br-wh, var(--_ctm-dn-br-wh)));
|
|
27
|
-
border-radius: var(--_ctm-mob-dn-br-rs, var(--_ctm-tab-dn-br-rs, var(--_ctm-dn-br-rs)));
|
|
28
|
-
box-shadow: var(
|
|
29
|
-
--_show-shadow,
|
|
30
|
-
var(--_ctm-mob-dn-sw-ae, var(--_ctm-tab-dn-sw-ae, var(--_ctm-dn-sw-ae)))
|
|
31
|
-
var(--_ctm-mob-dn-sw-br, var(--_ctm-tab-dn-sw-br, var(--_ctm-dn-sw-br)))
|
|
32
|
-
var(--_ctm-mob-dn-sw-sd, var(--_ctm-tab-dn-sw-sd, var(--_ctm-dn-sw-sd)))
|
|
33
|
-
var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr)))
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
&[data-show-shadow="false"] {
|
|
37
|
-
--_show-shadow: none;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.code-element {
|
|
41
|
-
display: flex;
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
--_sf-gp: 16px;
|
|
44
|
-
--_sf-cd-gp: calc(var(--_sf-gp) * 0.5);
|
|
45
|
-
row-gap: var(--_sf-gp);
|
|
46
|
-
width: 100%;
|
|
47
|
-
height: 100%;
|
|
48
|
-
|
|
49
|
-
// transform: scale(var(--_ctm-dn-zm-ie));
|
|
50
|
-
scale: var(--_ctm-mob-dn-zm-ie, var(--_ctm-tab-dn-zm-ie, var(--_ctm-dn-zm-ie)));
|
|
51
|
-
&[data-flip-x="true"] {
|
|
52
|
-
transform: scaleX(-1);
|
|
53
|
-
}
|
|
54
|
-
&[data-flip-y="true"] {
|
|
55
|
-
transform: scaleY(-1);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
[data-div-type="element"] {
|
|
5
|
+
&[data-element-type="code"] {
|
|
6
|
+
display: var(--_d-flex);
|
|
7
|
+
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
8
|
+
// width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
|
|
9
|
+
// margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
10
|
+
// min-height: ;
|
|
11
|
+
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
12
|
+
// --_aspect-ratio: calc(
|
|
13
|
+
// 1 * (var(--_ctm-lt-ht, var(--_tst-lt-ht)) / var(--_ctm-lt-wh, var(--_tst-lt-wh)))
|
|
14
|
+
// );
|
|
15
|
+
|
|
16
|
+
& > .wrapper {
|
|
17
|
+
width: 100%;
|
|
18
|
+
min-height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
|
|
19
|
+
// height: 100%;
|
|
20
|
+
|
|
21
|
+
background-color: var(--_ctm-mob-dn-bd-cr, var(--_ctm-tab-dn-bd-cr, var(--_ctm-dn-bd-cr)));
|
|
22
|
+
padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
|
|
23
|
+
|
|
24
|
+
border-color: var(--_ctm-mob-dn-br-cr, var(--_ctm-tab-dn-br-cr, var(--_ctm-dn-br-cr)));
|
|
25
|
+
border-style: var(--_ctm-mob-dn-br-se, var(--_ctm-tab-dn-br-se, var(--_ctm-dn-br-se)));
|
|
26
|
+
border-width: var(--_ctm-mob-dn-br-wh, var(--_ctm-tab-dn-br-wh, var(--_ctm-dn-br-wh)));
|
|
27
|
+
border-radius: var(--_ctm-mob-dn-br-rs, var(--_ctm-tab-dn-br-rs, var(--_ctm-dn-br-rs)));
|
|
28
|
+
box-shadow: var(
|
|
29
|
+
--_show-shadow,
|
|
30
|
+
var(--_ctm-mob-dn-sw-ae, var(--_ctm-tab-dn-sw-ae, var(--_ctm-dn-sw-ae)))
|
|
31
|
+
var(--_ctm-mob-dn-sw-br, var(--_ctm-tab-dn-sw-br, var(--_ctm-dn-sw-br)))
|
|
32
|
+
var(--_ctm-mob-dn-sw-sd, var(--_ctm-tab-dn-sw-sd, var(--_ctm-dn-sw-sd)))
|
|
33
|
+
var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr)))
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
&[data-show-shadow="false"] {
|
|
37
|
+
--_show-shadow: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.code-element {
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
--_sf-gp: 16px;
|
|
44
|
+
--_sf-cd-gp: calc(var(--_sf-gp) * 0.5);
|
|
45
|
+
row-gap: var(--_sf-gp);
|
|
46
|
+
width: 100%;
|
|
47
|
+
height: 100%;
|
|
48
|
+
|
|
49
|
+
// transform: scale(var(--_ctm-dn-zm-ie));
|
|
50
|
+
scale: var(--_ctm-mob-dn-zm-ie, var(--_ctm-tab-dn-zm-ie, var(--_ctm-dn-zm-ie)));
|
|
51
|
+
&[data-flip-x="true"] {
|
|
52
|
+
transform: scaleX(-1);
|
|
53
|
+
}
|
|
54
|
+
&[data-flip-y="true"] {
|
|
55
|
+
transform: scaleY(-1);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
package/dist/colorpicker_v2.scss
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:list";
|
|
3
|
-
|
|
4
|
-
$mainWrapper: ".emb__main__wrapper";
|
|
5
|
-
$v1Child: "#{$mainWrapper}.v1 *";
|
|
6
|
-
$v2Child: "#{$mainWrapper}.v2 *";
|
|
7
|
-
.colorpicker__parent__v2 {
|
|
8
|
-
width: max-content;
|
|
9
|
-
max-width: 225px;
|
|
10
|
-
position: var(--_sf-bm-pnshl-dorp, absolute);
|
|
11
|
-
left: auto;
|
|
12
|
-
background: #fff;
|
|
13
|
-
border: 1px solid #d0d5dd;
|
|
14
|
-
border-radius: 8px;
|
|
15
|
-
padding: 12px;
|
|
16
|
-
z-index: 99999;
|
|
17
|
-
opacity: 0;
|
|
18
|
-
transform: translateY(-10px) scale(0.95, 0.95);
|
|
19
|
-
transform-origin: center;
|
|
20
|
-
animation: pickerAnim 0.45s ease-in-out 1 forwards;
|
|
21
|
-
|
|
22
|
-
&:is(#{$v1Child}) {
|
|
23
|
-
--_sf-bm-pnshl-dorp: fixed;
|
|
24
|
-
}
|
|
25
|
-
// animation: name duration timing-function delay iteration-count direction fill-mode;
|
|
26
|
-
|
|
27
|
-
@keyframes pickerAnim {
|
|
28
|
-
to {
|
|
29
|
-
transform: translateY(0) scale(1, 1);
|
|
30
|
-
opacity: 1;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
& > div {
|
|
35
|
-
box-shadow: none !important;
|
|
36
|
-
|
|
37
|
-
label {
|
|
38
|
-
color: #475467;
|
|
39
|
-
font-size: 14px;
|
|
40
|
-
font-weight: 400;
|
|
41
|
-
line-height: 1.5;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.cutom__hex__v2 {
|
|
47
|
-
padding: 0 12px !important;
|
|
48
|
-
border-radius: 8px !important;
|
|
49
|
-
border: 1px solid #d0d5dd !important;
|
|
50
|
-
background: #fff !important;
|
|
51
|
-
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
|
|
52
|
-
width: 100%;
|
|
53
|
-
font-size: 16px !important;
|
|
54
|
-
line-height: 24px !important;
|
|
55
|
-
padding-block: 8px !important;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.custom__div__v2 {
|
|
59
|
-
display: grid;
|
|
60
|
-
grid-template-columns: repeat(4, 1fr);
|
|
61
|
-
gap: 8px;
|
|
62
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
$mainWrapper: ".emb__main__wrapper";
|
|
5
|
+
$v1Child: "#{$mainWrapper}.v1 *";
|
|
6
|
+
$v2Child: "#{$mainWrapper}.v2 *";
|
|
7
|
+
.colorpicker__parent__v2 {
|
|
8
|
+
width: max-content;
|
|
9
|
+
max-width: 225px;
|
|
10
|
+
position: var(--_sf-bm-pnshl-dorp, absolute);
|
|
11
|
+
left: auto;
|
|
12
|
+
background: #fff;
|
|
13
|
+
border: 1px solid #d0d5dd;
|
|
14
|
+
border-radius: 8px;
|
|
15
|
+
padding: 12px;
|
|
16
|
+
z-index: 99999;
|
|
17
|
+
opacity: 0;
|
|
18
|
+
transform: translateY(-10px) scale(0.95, 0.95);
|
|
19
|
+
transform-origin: center;
|
|
20
|
+
animation: pickerAnim 0.45s ease-in-out 1 forwards;
|
|
21
|
+
|
|
22
|
+
&:is(#{$v1Child}) {
|
|
23
|
+
--_sf-bm-pnshl-dorp: fixed;
|
|
24
|
+
}
|
|
25
|
+
// animation: name duration timing-function delay iteration-count direction fill-mode;
|
|
26
|
+
|
|
27
|
+
@keyframes pickerAnim {
|
|
28
|
+
to {
|
|
29
|
+
transform: translateY(0) scale(1, 1);
|
|
30
|
+
opacity: 1;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
& > div {
|
|
35
|
+
box-shadow: none !important;
|
|
36
|
+
|
|
37
|
+
label {
|
|
38
|
+
color: #475467;
|
|
39
|
+
font-size: 14px;
|
|
40
|
+
font-weight: 400;
|
|
41
|
+
line-height: 1.5;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.cutom__hex__v2 {
|
|
47
|
+
padding: 0 12px !important;
|
|
48
|
+
border-radius: 8px !important;
|
|
49
|
+
border: 1px solid #d0d5dd !important;
|
|
50
|
+
background: #fff !important;
|
|
51
|
+
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
|
|
52
|
+
width: 100%;
|
|
53
|
+
font-size: 16px !important;
|
|
54
|
+
line-height: 24px !important;
|
|
55
|
+
padding-block: 8px !important;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.custom__div__v2 {
|
|
59
|
+
display: grid;
|
|
60
|
+
grid-template-columns: repeat(4, 1fr);
|
|
61
|
+
gap: 8px;
|
|
62
|
+
}
|
package/dist/common-element.scss
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:list";
|
|
3
|
-
|
|
4
|
-
$es: '[data-div-type="element"]';
|
|
5
|
-
|
|
6
|
-
#{$es} {
|
|
7
|
-
width: var(
|
|
8
|
-
--_sf-el-wh-st-mx,
|
|
9
|
-
calc(
|
|
10
|
-
1% *
|
|
11
|
-
var(
|
|
12
|
-
--_ctm-mob-ele-nw-wh-vl,
|
|
13
|
-
var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh)))
|
|
14
|
-
)
|
|
15
|
-
)
|
|
16
|
-
);
|
|
17
|
-
margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
|
|
18
|
-
|
|
19
|
-
& > .wrapper {
|
|
20
|
-
// background-color: var(--_ctm-mob-dn-bd-cr, var(--_ctm-tab-dn-bd-cr, var(--_ctm-dn-bd-cr)));
|
|
21
|
-
// padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
|
|
22
|
-
|
|
23
|
-
// border-color: var(--_ctm-mob-dn-br-cr, var(--_ctm-tab-dn-br-cr, var(--_ctm-dn-br-cr)));
|
|
24
|
-
// border-style: var(--_ctm-mob-dn-br-se, var(--_ctm-tab-dn-br-se, var(--_ctm-dn-br-se)));
|
|
25
|
-
// border-width: var(--_ctm-mob-dn-br-wh, var(--_ctm-tab-dn-br-wh, var(--_ctm-dn-br-wh)));
|
|
26
|
-
// border-radius: var(--_ctm-mob-dn-br-rs, var(--_ctm-tab-dn-br-rs, var(--_ctm-dn-br-rs)));
|
|
27
|
-
// box-shadow: var(
|
|
28
|
-
// --_show-shadow,
|
|
29
|
-
// var(--_ctm-mob-dn-sw-ae, var(--_ctm-tab-dn-sw-ae, var(--_ctm-dn-sw-ae)))
|
|
30
|
-
// var(--_ctm-mob-dn-sw-br, var(--_ctm-tab-dn-sw-br, var(--_ctm-dn-sw-br)))
|
|
31
|
-
// var(--_ctm-mob-dn-sw-sd, var(--_ctm-tab-dn-sw-sd, var(--_ctm-dn-sw-sd)))
|
|
32
|
-
// var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr)))
|
|
33
|
-
// );
|
|
34
|
-
}
|
|
35
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
$es: '[data-div-type="element"]';
|
|
5
|
+
|
|
6
|
+
#{$es} {
|
|
7
|
+
width: var(
|
|
8
|
+
--_sf-el-wh-st-mx,
|
|
9
|
+
calc(
|
|
10
|
+
1% *
|
|
11
|
+
var(
|
|
12
|
+
--_ctm-mob-ele-nw-wh-vl,
|
|
13
|
+
var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh)))
|
|
14
|
+
)
|
|
15
|
+
)
|
|
16
|
+
);
|
|
17
|
+
margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
|
|
18
|
+
|
|
19
|
+
& > .wrapper {
|
|
20
|
+
// background-color: var(--_ctm-mob-dn-bd-cr, var(--_ctm-tab-dn-bd-cr, var(--_ctm-dn-bd-cr)));
|
|
21
|
+
// padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
|
|
22
|
+
|
|
23
|
+
// border-color: var(--_ctm-mob-dn-br-cr, var(--_ctm-tab-dn-br-cr, var(--_ctm-dn-br-cr)));
|
|
24
|
+
// border-style: var(--_ctm-mob-dn-br-se, var(--_ctm-tab-dn-br-se, var(--_ctm-dn-br-se)));
|
|
25
|
+
// border-width: var(--_ctm-mob-dn-br-wh, var(--_ctm-tab-dn-br-wh, var(--_ctm-dn-br-wh)));
|
|
26
|
+
// border-radius: var(--_ctm-mob-dn-br-rs, var(--_ctm-tab-dn-br-rs, var(--_ctm-dn-br-rs)));
|
|
27
|
+
// box-shadow: var(
|
|
28
|
+
// --_show-shadow,
|
|
29
|
+
// var(--_ctm-mob-dn-sw-ae, var(--_ctm-tab-dn-sw-ae, var(--_ctm-dn-sw-ae)))
|
|
30
|
+
// var(--_ctm-mob-dn-sw-br, var(--_ctm-tab-dn-sw-br, var(--_ctm-dn-sw-br)))
|
|
31
|
+
// var(--_ctm-mob-dn-sw-sd, var(--_ctm-tab-dn-sw-sd, var(--_ctm-dn-sw-sd)))
|
|
32
|
+
// var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr)))
|
|
33
|
+
// );
|
|
34
|
+
}
|
|
35
|
+
}
|