@sc-360-v2/storefront-cms-library 0.4.57 → 0.4.59
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 +66 -66
- package/dist/add-order.scss +377 -377
- package/dist/add-products-tab copy.scss +1132 -1132
- package/dist/allocationDetails.scss +3 -0
- package/dist/allocations.scss +1603 -1603
- package/dist/amount-estimator.scss +1083 -1083
- package/dist/animation-control.scss +23 -23
- package/dist/badge.scss +388 -388
- package/dist/brand-basic-elements.scss +292 -292
- package/dist/brand.scss +93 -93
- package/dist/breadcrumbs.scss +802 -802
- package/dist/bulk-order-pad.scss +677 -677
- package/dist/bulk-variant-picker copy.scss +1121 -1121
- package/dist/bulk-variant-picker.scss +3294 -3294
- package/dist/bundle copy.scss +2805 -2805
- package/dist/bundle.scss +2383 -2383
- package/dist/bundleDetails copy.scss +1431 -1431
- package/dist/button copy.scss +271 -271
- package/dist/button.scss +292 -292
- package/dist/buy-for-tab-container.scss +90 -90
- package/dist/buy-for-tabs-container-item.scss +80 -80
- package/dist/buyForHeaders.scss +6718 -6718
- package/dist/cart-products-sidebar.scss +211 -211
- package/dist/cart-summary.scss +2728 -2728
- package/dist/cart-wrapper.scss +127 -127
- package/dist/cartGrouping.scss +89 -89
- package/dist/category-groups-element.scss +138 -138
- package/dist/category.scss +73 -73
- package/dist/categoryDetails.scss +61 -61
- package/dist/categoryWidget.scss +34 -34
- package/dist/checkbox-radio.scss +124 -124
- package/dist/code-temp.scss +58 -58
- package/dist/colorpicker_v2.scss +52 -52
- package/dist/common-element.scss +35 -35
- package/dist/confirm-modal.scss +351 -351
- package/dist/confirmationModal.scss +139 -139
- package/dist/container.scss +114 -114
- package/dist/countdown.scss +751 -751
- package/dist/coupon.scss +1254 -1254
- package/dist/custom-fonts.scss +100 -100
- package/dist/customization-tree.scss +160 -160
- package/dist/default-dropdown.scss +240 -240
- package/dist/editCartItem.scss +111 -111
- package/dist/embed-temp.scss +72 -72
- package/dist/embroider-preview-element.scss +94 -94
- package/dist/embroider-template-1-v2.scss +937 -937
- package/dist/embroider-template-1.scss +482 -482
- package/dist/embroidery.scss +213 -213
- package/dist/employee-bulk-order.scss +4057 -4057
- package/dist/emtpy-templates.scss +165 -165
- package/dist/faq.scss +564 -564
- package/dist/fb-dropdown.scss +125 -125
- package/dist/filter-results.scss +323 -323
- package/dist/flex-text-editor.scss +271 -271
- package/dist/form-preview.scss +290 -290
- package/dist/form-zindex-module.scss +24 -24
- package/dist/gallery-slider-temp.scss +1234 -1234
- package/dist/global-styles.scss +86 -86
- package/dist/grid.scss +119 -119
- package/dist/hotspot.scss +397 -397
- package/dist/icon-library.scss +74 -74
- package/dist/image-for-product.scss +21 -21
- package/dist/image-temp.scss +168 -168
- package/dist/item-stock.scss +87 -87
- package/dist/layouter-item.scss +89 -89
- package/dist/layouter-pro-item.scss +80 -80
- package/dist/layouter-pro.scss +88 -88
- package/dist/light-box-v2.scss +105 -105
- package/dist/lightbox.scss +78 -78
- package/dist/line.scss +166 -166
- package/dist/loader.scss +37 -37
- package/dist/map.scss +962 -962
- package/dist/marchandiserSets.scss +60 -60
- package/dist/mega-menu-container.scss +99 -99
- package/dist/mega-menu.scss +838 -838
- package/dist/menu-item.scss +19 -19
- package/dist/menu.scss +162 -162
- package/dist/modal.scss +2267 -2267
- package/dist/multi-select-dropdown.scss +282 -282
- package/dist/my-wishlist.scss +17 -17
- package/dist/option-bar.scss +845 -845
- package/dist/order-processing.scss +61 -61
- package/dist/overflow-module.scss +63 -63
- package/dist/past-orders.scss +975 -975
- package/dist/payment-methods.scss +289 -289
- package/dist/pickup-locations.scss +1167 -1167
- package/dist/position-module.scss +95 -95
- package/dist/prefix-list.scss +86 -86
- package/dist/product-actions copy.scss +2765 -2765
- package/dist/product-actions.scss +2286 -2286
- package/dist/product-basic-elements.scss +770 -770
- package/dist/product-customizations.scss +149 -149
- package/dist/product-highlights copy.scss +217 -217
- package/dist/product-highlights.scss +311 -311
- package/dist/product-image copy.scss +787 -787
- package/dist/product-image-allocation.scss +3 -0
- package/dist/product-inventory.scss +1378 -1378
- package/dist/product-options.scss +1144 -1144
- package/dist/product-price.scss +2598 -2598
- package/dist/product-promotions.scss +2759 -2759
- package/dist/product.scss +97 -97
- package/dist/productDetails.scss +70 -70
- package/dist/quick-links.scss +552 -552
- package/dist/quick-order-pad.scss +237 -237
- package/dist/quota-details.scss +263 -263
- package/dist/quotes.scss +737 -737
- package/dist/repeater copy.scss +635 -635
- package/dist/repeater-grid-toggle.scss +58 -58
- package/dist/repeater-item.scss +90 -90
- package/dist/request-for-quotes.scss +746 -746
- package/dist/responsive-behaviour.scss +29 -29
- package/dist/rfqs.scss +736 -736
- package/dist/scroll.scss +222 -222
- package/dist/search-results-heading.scss +279 -279
- package/dist/shareCartSideBar.scss +254 -254
- package/dist/shipping-estimator.scss +41 -41
- package/dist/shipping-payments.scss +2467 -2467
- package/dist/simple-list.scss +259 -259
- package/dist/skeleton.scss +74 -74
- package/dist/social.scss +276 -276
- package/dist/sort.scss +89 -89
- package/dist/spotlight.scss +1663 -1663
- package/dist/stack.scss +129 -129
- package/dist/static-text.scss +52 -52
- package/dist/stockStatus.scss +64 -64
- package/dist/store-locations.scss +1398 -1398
- 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 +89 -89
- package/dist/tab-v2.scss +583 -583
- package/dist/table-common.scss +506 -506
- package/dist/table.scss +685 -685
- package/dist/tabs.scss +395 -395
- package/dist/text-temp-v2.scss +139 -139
- package/dist/text-temp.scss +109 -109
- package/dist/toaster.scss +350 -350
- package/dist/toggle-button.scss +32 -32
- package/dist/transform-properties-module.scss +20 -20
- package/dist/uom-selector.scss +1169 -1169
- package/dist/user-elements copy.scss +1437 -1437
- package/dist/variant-picker.scss +2384 -2384
- package/dist/video.scss +476 -476
- package/dist/volume-pricing copy 2.scss +1468 -1468
- package/dist/volume-pricing copy.scss +1077 -1077
- package/dist/volume-pricing.scss +1175 -1175
- package/dist/widget.scss +148 -148
- 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,58 +1,58 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:list";
|
|
3
|
-
|
|
4
|
-
[data-div-type="element"] {
|
|
5
|
-
&[data-element-type="code"] {
|
|
6
|
-
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
7
|
-
// width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
|
|
8
|
-
// margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
9
|
-
// min-height: ;
|
|
10
|
-
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
11
|
-
// --_aspect-ratio: calc(
|
|
12
|
-
// 1 * (var(--_ctm-lt-ht, var(--_tst-lt-ht)) / var(--_ctm-lt-wh, var(--_tst-lt-wh)))
|
|
13
|
-
// );
|
|
14
|
-
|
|
15
|
-
& > .wrapper {
|
|
16
|
-
width: 100%;
|
|
17
|
-
min-height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
|
|
18
|
-
// height: 100%;
|
|
19
|
-
|
|
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
|
-
&[data-show-shadow="false"] {
|
|
36
|
-
--_show-shadow: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.code-element {
|
|
40
|
-
display: flex;
|
|
41
|
-
flex-direction: column;
|
|
42
|
-
--_sf-gp: 16px;
|
|
43
|
-
--_sf-cd-gp: calc(var(--_sf-gp) * 0.5);
|
|
44
|
-
row-gap: var(--_sf-gp);
|
|
45
|
-
width: 100%;
|
|
46
|
-
// height: 100%;
|
|
47
|
-
|
|
48
|
-
// transform: scale(var(--_ctm-dn-zm-ie));
|
|
49
|
-
scale: var(--_ctm-mob-dn-zm-ie, var(--_ctm-tab-dn-zm-ie, var(--_ctm-dn-zm-ie)));
|
|
50
|
-
&[data-flip-x="true"] {
|
|
51
|
-
transform: scaleX(-1);
|
|
52
|
-
}
|
|
53
|
-
&[data-flip-y="true"] {
|
|
54
|
-
transform: scaleY(-1);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
[data-div-type="element"] {
|
|
5
|
+
&[data-element-type="code"] {
|
|
6
|
+
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
7
|
+
// width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
|
|
8
|
+
// margin: var(--_ctm-lt-mn, --_tst-lt-mn);
|
|
9
|
+
// min-height: ;
|
|
10
|
+
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
11
|
+
// --_aspect-ratio: calc(
|
|
12
|
+
// 1 * (var(--_ctm-lt-ht, var(--_tst-lt-ht)) / var(--_ctm-lt-wh, var(--_tst-lt-wh)))
|
|
13
|
+
// );
|
|
14
|
+
|
|
15
|
+
& > .wrapper {
|
|
16
|
+
width: 100%;
|
|
17
|
+
min-height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
|
|
18
|
+
// height: 100%;
|
|
19
|
+
|
|
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
|
+
&[data-show-shadow="false"] {
|
|
36
|
+
--_show-shadow: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.code-element {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
--_sf-gp: 16px;
|
|
43
|
+
--_sf-cd-gp: calc(var(--_sf-gp) * 0.5);
|
|
44
|
+
row-gap: var(--_sf-gp);
|
|
45
|
+
width: 100%;
|
|
46
|
+
// height: 100%;
|
|
47
|
+
|
|
48
|
+
// transform: scale(var(--_ctm-dn-zm-ie));
|
|
49
|
+
scale: var(--_ctm-mob-dn-zm-ie, var(--_ctm-tab-dn-zm-ie, var(--_ctm-dn-zm-ie)));
|
|
50
|
+
&[data-flip-x="true"] {
|
|
51
|
+
transform: scaleX(-1);
|
|
52
|
+
}
|
|
53
|
+
&[data-flip-y="true"] {
|
|
54
|
+
transform: scaleY(-1);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
package/dist/colorpicker_v2.scss
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
.colorpicker__parent__v2 {
|
|
2
|
-
width: max-content;
|
|
3
|
-
max-width: 225px;
|
|
4
|
-
position: absolute;
|
|
5
|
-
left: auto;
|
|
6
|
-
background: #fff;
|
|
7
|
-
border: 1px solid #d0d5dd;
|
|
8
|
-
border-radius: 8px;
|
|
9
|
-
padding: 12px;
|
|
10
|
-
z-index: 99999;
|
|
11
|
-
opacity: 0;
|
|
12
|
-
transform: translateY(-10px) scale(0.95, 0.95);
|
|
13
|
-
transform-origin: center;
|
|
14
|
-
animation: pickerAnim 0.45s ease-in-out 1 forwards;
|
|
15
|
-
// animation: name duration timing-function delay iteration-count direction fill-mode;
|
|
16
|
-
|
|
17
|
-
@keyframes pickerAnim {
|
|
18
|
-
to {
|
|
19
|
-
transform: translateY(0) scale(1, 1);
|
|
20
|
-
opacity: 1;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
& > div {
|
|
25
|
-
box-shadow: none !important;
|
|
26
|
-
|
|
27
|
-
label {
|
|
28
|
-
color: #475467;
|
|
29
|
-
font-size: 14px;
|
|
30
|
-
font-weight: 400;
|
|
31
|
-
line-height: 1.5;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.cutom__hex__v2 {
|
|
37
|
-
padding: 0 12px !important;
|
|
38
|
-
border-radius: 8px !important;
|
|
39
|
-
border: 1px solid #d0d5dd !important;
|
|
40
|
-
background: #fff !important;
|
|
41
|
-
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
|
|
42
|
-
width: 100%;
|
|
43
|
-
font-size: 16px !important;
|
|
44
|
-
line-height: 24px !important;
|
|
45
|
-
padding-block: 8px !important;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.custom__div__v2 {
|
|
49
|
-
display: grid;
|
|
50
|
-
grid-template-columns: repeat(4, 1fr);
|
|
51
|
-
gap: 8px;
|
|
52
|
-
}
|
|
1
|
+
.colorpicker__parent__v2 {
|
|
2
|
+
width: max-content;
|
|
3
|
+
max-width: 225px;
|
|
4
|
+
position: absolute;
|
|
5
|
+
left: auto;
|
|
6
|
+
background: #fff;
|
|
7
|
+
border: 1px solid #d0d5dd;
|
|
8
|
+
border-radius: 8px;
|
|
9
|
+
padding: 12px;
|
|
10
|
+
z-index: 99999;
|
|
11
|
+
opacity: 0;
|
|
12
|
+
transform: translateY(-10px) scale(0.95, 0.95);
|
|
13
|
+
transform-origin: center;
|
|
14
|
+
animation: pickerAnim 0.45s ease-in-out 1 forwards;
|
|
15
|
+
// animation: name duration timing-function delay iteration-count direction fill-mode;
|
|
16
|
+
|
|
17
|
+
@keyframes pickerAnim {
|
|
18
|
+
to {
|
|
19
|
+
transform: translateY(0) scale(1, 1);
|
|
20
|
+
opacity: 1;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
& > div {
|
|
25
|
+
box-shadow: none !important;
|
|
26
|
+
|
|
27
|
+
label {
|
|
28
|
+
color: #475467;
|
|
29
|
+
font-size: 14px;
|
|
30
|
+
font-weight: 400;
|
|
31
|
+
line-height: 1.5;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.cutom__hex__v2 {
|
|
37
|
+
padding: 0 12px !important;
|
|
38
|
+
border-radius: 8px !important;
|
|
39
|
+
border: 1px solid #d0d5dd !important;
|
|
40
|
+
background: #fff !important;
|
|
41
|
+
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
|
|
42
|
+
width: 100%;
|
|
43
|
+
font-size: 16px !important;
|
|
44
|
+
line-height: 24px !important;
|
|
45
|
+
padding-block: 8px !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.custom__div__v2 {
|
|
49
|
+
display: grid;
|
|
50
|
+
grid-template-columns: repeat(4, 1fr);
|
|
51
|
+
gap: 8px;
|
|
52
|
+
}
|
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
|
+
}
|