@sc-360-v2/storefront-cms-library 0.2.0 → 0.2.1
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/README.md +12 -12
- package/dist/bulk-variant-picker.scss +1 -1
- package/dist/filters.scss +17 -0
- package/dist/globals.scss +94 -94
- package/dist/grid.scss +6 -1
- package/dist/repeater.scss +5 -0
- package/dist/section.scss +14 -6
- package/dist/stack.scss +0 -15
- package/dist/variant-picker.scss +1 -1
- package/dist/widget.scss +48 -45
- package/package.json +1 -1
- package/dist/functions.scss +0 -133
- package/dist/global.scss +0 -346
- package/dist/tooltip.scss +0 -276
- package/dist/variable.scss +0 -136
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# @sc-360-v2/storefront-cms-library
|
|
2
|
-
|
|
3
|
-
`@sc-360-v2/storefront-cms-library` is a versatile library that provides styling and property components for other modules in your projects. This package is designed to streamline the creation of consistent and customizable storefront layouts.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
You can install the package using npm or yarn:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm install @sc-360-v2/storefront-cms-library
|
|
11
|
-
# or
|
|
12
|
-
yarn add @sc-360-v2/storefront-cms-library
|
|
1
|
+
# @sc-360-v2/storefront-cms-library
|
|
2
|
+
|
|
3
|
+
`@sc-360-v2/storefront-cms-library` is a versatile library that provides styling and property components for other modules in your projects. This package is designed to streamline the creation of consistent and customizable storefront layouts.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
You can install the package using npm or yarn:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @sc-360-v2/storefront-cms-library
|
|
11
|
+
# or
|
|
12
|
+
yarn add @sc-360-v2/storefront-cms-library
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
$resizerId: "[data-cms-tool='cms-element-resizer']";
|
|
5
|
+
$resizeActive: '[data-cms-element-resizer="true"]';
|
|
6
|
+
[data-div-type="element"] {
|
|
7
|
+
&[data-element-type="filters"] {
|
|
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
|
+
|
|
11
|
+
& > div {
|
|
12
|
+
&.wrapper {
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
package/dist/globals.scss
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--max-width: 1100px;
|
|
3
|
-
--border-radius: 12px;
|
|
4
|
-
--font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono",
|
|
5
|
-
"Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono",
|
|
6
|
-
"Courier New", monospace;
|
|
7
|
-
|
|
8
|
-
--foreground-rgb: 0, 0, 0;
|
|
9
|
-
--background-start-rgb: 214, 219, 220;
|
|
10
|
-
--background-end-rgb: 255, 255, 255;
|
|
11
|
-
|
|
12
|
-
--primary-glow: conic-gradient(
|
|
13
|
-
from 180deg at 50% 50%,
|
|
14
|
-
#16abff33 0deg,
|
|
15
|
-
#0885ff33 55deg,
|
|
16
|
-
#54d6ff33 120deg,
|
|
17
|
-
#0071ff33 160deg,
|
|
18
|
-
transparent 360deg
|
|
19
|
-
);
|
|
20
|
-
--secondary-glow: radial-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
|
|
21
|
-
|
|
22
|
-
--tile-start-rgb: 239, 245, 249;
|
|
23
|
-
--tile-end-rgb: 228, 232, 233;
|
|
24
|
-
--tile-border: conic-gradient(
|
|
25
|
-
#00000080,
|
|
26
|
-
#00000040,
|
|
27
|
-
#00000030,
|
|
28
|
-
#00000020,
|
|
29
|
-
#00000010,
|
|
30
|
-
#00000010,
|
|
31
|
-
#00000080
|
|
32
|
-
);
|
|
33
|
-
|
|
34
|
-
--callout-rgb: 238, 240, 241;
|
|
35
|
-
--callout-border-rgb: 172, 175, 176;
|
|
36
|
-
--card-rgb: 180, 185, 188;
|
|
37
|
-
--card-border-rgb: 131, 134, 135;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@media (prefers-color-scheme: dark) {
|
|
41
|
-
:root {
|
|
42
|
-
--foreground-rgb: 255, 255, 255;
|
|
43
|
-
--background-start-rgb: 0, 0, 0;
|
|
44
|
-
--background-end-rgb: 0, 0, 0;
|
|
45
|
-
|
|
46
|
-
--primary-glow: radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0));
|
|
47
|
-
--secondary-glow: linear-gradient(
|
|
48
|
-
to bottom right,
|
|
49
|
-
rgba(1, 65, 255, 0),
|
|
50
|
-
rgba(1, 65, 255, 0),
|
|
51
|
-
rgba(1, 65, 255, 0.3)
|
|
52
|
-
);
|
|
53
|
-
|
|
54
|
-
--tile-start-rgb: 2, 13, 46;
|
|
55
|
-
--tile-end-rgb: 2, 5, 19;
|
|
56
|
-
--tile-border: conic-gradient(
|
|
57
|
-
#ffffff80,
|
|
58
|
-
#ffffff40,
|
|
59
|
-
#ffffff30,
|
|
60
|
-
#ffffff20,
|
|
61
|
-
#ffffff10,
|
|
62
|
-
#ffffff10,
|
|
63
|
-
#ffffff80
|
|
64
|
-
);
|
|
65
|
-
|
|
66
|
-
--callout-rgb: 20, 20, 20;
|
|
67
|
-
--callout-border-rgb: 108, 108, 108;
|
|
68
|
-
--card-rgb: 100, 100, 100;
|
|
69
|
-
--card-border-rgb: 200, 200, 200;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
* {
|
|
74
|
-
box-sizing: border-box;
|
|
75
|
-
padding: 0;
|
|
76
|
-
margin: 0;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
html,
|
|
80
|
-
body {
|
|
81
|
-
max-width: 100vw;
|
|
82
|
-
overflow-x: hidden;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
a {
|
|
86
|
-
color: inherit;
|
|
87
|
-
text-decoration: none;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@media (prefers-color-scheme: dark) {
|
|
91
|
-
html {
|
|
92
|
-
color-scheme: dark;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
--max-width: 1100px;
|
|
3
|
+
--border-radius: 12px;
|
|
4
|
+
--font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono",
|
|
5
|
+
"Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono",
|
|
6
|
+
"Courier New", monospace;
|
|
7
|
+
|
|
8
|
+
--foreground-rgb: 0, 0, 0;
|
|
9
|
+
--background-start-rgb: 214, 219, 220;
|
|
10
|
+
--background-end-rgb: 255, 255, 255;
|
|
11
|
+
|
|
12
|
+
--primary-glow: conic-gradient(
|
|
13
|
+
from 180deg at 50% 50%,
|
|
14
|
+
#16abff33 0deg,
|
|
15
|
+
#0885ff33 55deg,
|
|
16
|
+
#54d6ff33 120deg,
|
|
17
|
+
#0071ff33 160deg,
|
|
18
|
+
transparent 360deg
|
|
19
|
+
);
|
|
20
|
+
--secondary-glow: radial-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
|
|
21
|
+
|
|
22
|
+
--tile-start-rgb: 239, 245, 249;
|
|
23
|
+
--tile-end-rgb: 228, 232, 233;
|
|
24
|
+
--tile-border: conic-gradient(
|
|
25
|
+
#00000080,
|
|
26
|
+
#00000040,
|
|
27
|
+
#00000030,
|
|
28
|
+
#00000020,
|
|
29
|
+
#00000010,
|
|
30
|
+
#00000010,
|
|
31
|
+
#00000080
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
--callout-rgb: 238, 240, 241;
|
|
35
|
+
--callout-border-rgb: 172, 175, 176;
|
|
36
|
+
--card-rgb: 180, 185, 188;
|
|
37
|
+
--card-border-rgb: 131, 134, 135;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@media (prefers-color-scheme: dark) {
|
|
41
|
+
:root {
|
|
42
|
+
--foreground-rgb: 255, 255, 255;
|
|
43
|
+
--background-start-rgb: 0, 0, 0;
|
|
44
|
+
--background-end-rgb: 0, 0, 0;
|
|
45
|
+
|
|
46
|
+
--primary-glow: radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0));
|
|
47
|
+
--secondary-glow: linear-gradient(
|
|
48
|
+
to bottom right,
|
|
49
|
+
rgba(1, 65, 255, 0),
|
|
50
|
+
rgba(1, 65, 255, 0),
|
|
51
|
+
rgba(1, 65, 255, 0.3)
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
--tile-start-rgb: 2, 13, 46;
|
|
55
|
+
--tile-end-rgb: 2, 5, 19;
|
|
56
|
+
--tile-border: conic-gradient(
|
|
57
|
+
#ffffff80,
|
|
58
|
+
#ffffff40,
|
|
59
|
+
#ffffff30,
|
|
60
|
+
#ffffff20,
|
|
61
|
+
#ffffff10,
|
|
62
|
+
#ffffff10,
|
|
63
|
+
#ffffff80
|
|
64
|
+
);
|
|
65
|
+
|
|
66
|
+
--callout-rgb: 20, 20, 20;
|
|
67
|
+
--callout-border-rgb: 108, 108, 108;
|
|
68
|
+
--card-rgb: 100, 100, 100;
|
|
69
|
+
--card-border-rgb: 200, 200, 200;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
* {
|
|
74
|
+
box-sizing: border-box;
|
|
75
|
+
padding: 0;
|
|
76
|
+
margin: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
html,
|
|
80
|
+
body {
|
|
81
|
+
max-width: 100vw;
|
|
82
|
+
overflow-x: hidden;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
a {
|
|
86
|
+
color: inherit;
|
|
87
|
+
text-decoration: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@media (prefers-color-scheme: dark) {
|
|
91
|
+
html {
|
|
92
|
+
color-scheme: dark;
|
|
93
|
+
}
|
|
94
|
+
}
|
package/dist/grid.scss
CHANGED
|
@@ -3,6 +3,7 @@ $elementSelector: "[data-div-type='element']";
|
|
|
3
3
|
[data-div-type="grid"] {
|
|
4
4
|
position: var(--_p-relative);
|
|
5
5
|
display: var(--_d-grid);
|
|
6
|
+
// padding: var(--_ctm-mob-gri-lt-pg), var(--_ctm-tab-gri-lt-pg, var(--_ctm-gri-lt-pg));
|
|
6
7
|
// height: 100% !important;
|
|
7
8
|
box-shadow: var(
|
|
8
9
|
--_hide-grid-shadow,
|
|
@@ -42,7 +43,11 @@ $elementSelector: "[data-div-type='element']";
|
|
|
42
43
|
border: var(--_sf-gri-wl-bw) solid var(--_accent-color-2-500);
|
|
43
44
|
}
|
|
44
45
|
&[data-div-type="cms-grid-wrapper"] {
|
|
45
|
-
padding: var(--_ctm-mob-gri-lt-pg
|
|
46
|
+
// padding: var(--_ctm-mob-gri-lt-pg, var(--_ctm-tab-gri-lt-pg, var(--_ctm-gri-lt-pg)));
|
|
47
|
+
width: 100%;
|
|
48
|
+
grid-area: 1/1/2/2 !important;
|
|
49
|
+
height: 100%;
|
|
50
|
+
// padding: var(--_ctm-mob-gri-lt-pg), var(--_ctm-tab-gri-lt-pg, var(--_ctm-gri-lt-pg));
|
|
46
51
|
display: var(--_d-grid);
|
|
47
52
|
background: var(
|
|
48
53
|
--_ctm-mob-gri-dn-bd-cr,
|
package/dist/repeater.scss
CHANGED
|
@@ -169,6 +169,11 @@ $childItemSelector: '[data-element-type="repeater-item"]';
|
|
|
169
169
|
// width: calc(var(--_embla-slide-width, 100%) / var(--_embla-col-count, 3));
|
|
170
170
|
flex: 0 0 var(--_sf-cl-vl);
|
|
171
171
|
width: var(--_sf-cl-vl);
|
|
172
|
+
grid-template-rows: minmax(
|
|
173
|
+
max(0.5px, 0.09375 * (var(--_cms-scaling-factor) - var(--_cms-scrollbar-width))),
|
|
174
|
+
auto
|
|
175
|
+
);
|
|
176
|
+
grid-template-columns: minmax(0px, 1fr);
|
|
172
177
|
// padding-left: calc(var(--_embla-slide-space, 10px) * 1);
|
|
173
178
|
// padding-left: 0px !important;
|
|
174
179
|
|
package/dist/section.scss
CHANGED
|
@@ -97,8 +97,10 @@ section {
|
|
|
97
97
|
var(
|
|
98
98
|
--_ctm-mob-sta-ele-nw-wh-vl,
|
|
99
99
|
var(--_ctm-tab-sta-ele-nw-wh-vl, var(--_ctm-sta-ele-nw-wh-vl))
|
|
100
|
-
) /
|
|
101
|
-
|
|
100
|
+
) /
|
|
101
|
+
100
|
|
102
|
+
) *
|
|
103
|
+
(var(--_cms-scaling-factor) - var(--_cms-scrollbar-width))
|
|
102
104
|
);
|
|
103
105
|
}
|
|
104
106
|
&:is([data-element-type="container"]) {
|
|
@@ -108,8 +110,10 @@ section {
|
|
|
108
110
|
var(
|
|
109
111
|
--_ctm-mob-con-ele-nw-wh-vl,
|
|
110
112
|
var(--_ctm-tab-con-ele-nw-wh-vl, var(--_ctm-con-ele-nw-wh-vl))
|
|
111
|
-
) /
|
|
112
|
-
|
|
113
|
+
) /
|
|
114
|
+
100
|
|
115
|
+
) *
|
|
116
|
+
(var(--_cms-scaling-factor) - var(--_cms-scrollbar-width))
|
|
113
117
|
);
|
|
114
118
|
}
|
|
115
119
|
|
|
@@ -117,9 +121,13 @@ section {
|
|
|
117
121
|
width: max(
|
|
118
122
|
0.5px,
|
|
119
123
|
calc(
|
|
120
|
-
var(
|
|
124
|
+
var(
|
|
125
|
+
--_ctm-mob-ele-nw-wh-vl,
|
|
126
|
+
var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl))
|
|
127
|
+
) /
|
|
121
128
|
100
|
|
122
|
-
) *
|
|
129
|
+
) *
|
|
130
|
+
(var(--_cms-scaling-factor) - var(--_cms-scrollbar-width))
|
|
123
131
|
);
|
|
124
132
|
}
|
|
125
133
|
}
|
package/dist/stack.scss
CHANGED
|
@@ -33,21 +33,6 @@
|
|
|
33
33
|
|
|
34
34
|
&.vtl {
|
|
35
35
|
// width: var(--_sf-sta-nw-wh, auto);
|
|
36
|
-
// width: calc(
|
|
37
|
-
// 1% *
|
|
38
|
-
// var(
|
|
39
|
-
// --_ctm-mob-sta-ele-nw-wh-vl,
|
|
40
|
-
// var(--_ctm-tab-sta-ele-nw-wh-vl var(--_ctm-sta-ele-nw-wh-vl, auto))
|
|
41
|
-
// )
|
|
42
|
-
// );
|
|
43
|
-
// width: calc(
|
|
44
|
-
// 1% *
|
|
45
|
-
// var(
|
|
46
|
-
// --_ctm-mob-sta-ele-nw-wh-vl,
|
|
47
|
-
// var(--_ctm-tab-sta-ele-nw-wh-vl, var(--_ctm-sta-ele-nw-wh-vl, auto))
|
|
48
|
-
// )
|
|
49
|
-
// );
|
|
50
|
-
|
|
51
36
|
width: calc(
|
|
52
37
|
1% *
|
|
53
38
|
var(
|
package/dist/variant-picker.scss
CHANGED
package/dist/widget.scss
CHANGED
|
@@ -1,45 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
14
|
-
@
|
|
15
|
-
@
|
|
16
|
-
@
|
|
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
|
-
@
|
|
1
|
+
// Note: please import only widget related css only in this
|
|
2
|
+
@use "./video.scss";
|
|
3
|
+
@use "./social.scss";
|
|
4
|
+
@use "./faq.scss";
|
|
5
|
+
@use "./table.scss";
|
|
6
|
+
@use "./tabs.scss";
|
|
7
|
+
@use "./button.scss";
|
|
8
|
+
@use "./code-temp.scss";
|
|
9
|
+
@use "./embed-temp.scss";
|
|
10
|
+
@use "./text-temp.scss";
|
|
11
|
+
@use "./image-temp.scss";
|
|
12
|
+
@use "./gallery-slider-temp.scss";
|
|
13
|
+
@use "./scroll.scss";
|
|
14
|
+
@use "./countdown.scss";
|
|
15
|
+
@use "./hotspot.scss";
|
|
16
|
+
@use "./map.scss";
|
|
17
|
+
@use "./product-price.scss";
|
|
18
|
+
@use "./product-actions.scss";
|
|
19
|
+
@use "./volume-pricing.scss";
|
|
20
|
+
@use "./product-inventory.scss";
|
|
21
|
+
@use "./store-locations.scss";
|
|
22
|
+
@use "./pickup-locations.scss";
|
|
23
|
+
@use "./product-highlights.scss";
|
|
24
|
+
@use "./payment-methods.scss";
|
|
25
|
+
@use "./shipping-estimator.scss";
|
|
26
|
+
@use "./amount-estimator.scss";
|
|
27
|
+
@use "./quantity-selector.scss";
|
|
28
|
+
@use "./product-promotions.scss";
|
|
29
|
+
@use "./bulk-variant-picker.scss";
|
|
30
|
+
@use "./variant-picker.scss";
|
|
31
|
+
@use "./uom-selector.scss";
|
|
32
|
+
@use "./product-image.scss";
|
|
33
|
+
@use "./product-basic-elements.scss";
|
|
34
|
+
@use "./lightbox.scss";
|
|
35
|
+
@use "./cart.scss";
|
|
36
|
+
@use "./profile.scss";
|
|
37
|
+
@use "./product.scss";
|
|
38
|
+
@use "./productDetails.scss";
|
|
39
|
+
@use "./menu.scss";
|
|
40
|
+
@use "./product-options.scss";
|
|
41
|
+
@use "./brand-basic-elements.scss";
|
|
42
|
+
@use "./brand.scss";
|
|
43
|
+
@use "./bundle-basic-elements.scss";
|
|
44
|
+
@use "./bundle.scss";
|
|
45
|
+
@use "./category.scss";
|
|
46
|
+
@use "./sub-category.scss";
|
|
47
|
+
@use "./categoryWidget.scss";
|
|
48
|
+
@use "./filters.scss";
|
package/package.json
CHANGED
package/dist/functions.scss
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
@use "sass:list";
|
|
2
|
-
@use "sass:map";
|
|
3
|
-
|
|
4
|
-
$breakPoints: (
|
|
5
|
-
desktop: (
|
|
6
|
-
min: 1024px,
|
|
7
|
-
max: 99999px,
|
|
8
|
-
),
|
|
9
|
-
mobile: (
|
|
10
|
-
min: 100px,
|
|
11
|
-
max: 1023px,
|
|
12
|
-
),
|
|
13
|
-
laptop: (
|
|
14
|
-
min: 1024px,
|
|
15
|
-
max: 1367px,
|
|
16
|
-
),
|
|
17
|
-
small: (
|
|
18
|
-
min: 50px,
|
|
19
|
-
max: 399px,
|
|
20
|
-
),
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
@mixin prepareMediaQueries($list) {
|
|
24
|
-
@each $mediaKey, $mediaValue in $breakPoints {
|
|
25
|
-
$maxWidth: map.get($mediaValue, max);
|
|
26
|
-
$minWidth: map.get($mediaValue, min);
|
|
27
|
-
@media only screen and (max-width: #{$maxWidth}) and (min-width: #{$minWidth}) {
|
|
28
|
-
@each $key, $value in $defaultValues {
|
|
29
|
-
$value1: map.get($value, $mediaKey);
|
|
30
|
-
@if ($value1 != null) {
|
|
31
|
-
#{$key}: $value1;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@mixin restrictToLinesShow($count, $type: "optional") {
|
|
39
|
-
display: -webkit-box;
|
|
40
|
-
-webkit-line-clamp: $count;
|
|
41
|
-
overflow: clip;
|
|
42
|
-
text-overflow: ellipsis;
|
|
43
|
-
@if ($type == "optional") {
|
|
44
|
-
-webkit-box-orient: vertical;
|
|
45
|
-
} @else {
|
|
46
|
-
-webkit-box-orient: $type;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@function getListOfResponsive($desktop, $mobile, $latop: "optional") {
|
|
51
|
-
$list: (
|
|
52
|
-
desktop: $desktop,
|
|
53
|
-
mobile: $mobile,
|
|
54
|
-
);
|
|
55
|
-
@if ($latop != "optional") {
|
|
56
|
-
$list: map-merge(
|
|
57
|
-
$list,
|
|
58
|
-
(
|
|
59
|
-
laptop: $latop,
|
|
60
|
-
)
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
@return $list;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@function getTranstionValue($property, $duration: "normal") {
|
|
67
|
-
$dur: var(--_anim-duration);
|
|
68
|
-
@if ($duration == "slow") {
|
|
69
|
-
$dur: var(--_anim-duration-slow);
|
|
70
|
-
}
|
|
71
|
-
@return $property #{$dur} var(--_anim-timing-function-v4);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@function getRepeatColWidth($colcount, $colgap) {
|
|
75
|
-
@return repeat(
|
|
76
|
-
var($colcount),
|
|
77
|
-
calc((100% / var($colcount)) - (((var($colcount) - 1) * (var($colgap))) / (var($colcount))))
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
@function getCommonHasNavContainer() {
|
|
82
|
-
$css: ();
|
|
83
|
-
$props: (
|
|
84
|
-
display: var(--_d-flex),
|
|
85
|
-
flex-wrap: wrap,
|
|
86
|
-
justify-content: space-between,
|
|
87
|
-
gap: var(--_default-row-gap) var(--_default-col-gap),
|
|
88
|
-
);
|
|
89
|
-
$css: map-merge($css, $props);
|
|
90
|
-
@return $css;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
@mixin prepareCustomClassCSSProps($props) {
|
|
94
|
-
@each $key, $value in $props {
|
|
95
|
-
@if ($key == class) {
|
|
96
|
-
@each $classKey, $classValue in $value {
|
|
97
|
-
.#{$classKey} {
|
|
98
|
-
@each $key1, $value1 in $classValue {
|
|
99
|
-
@if ($key1 == common) {
|
|
100
|
-
@each $key2, $value2 in $value1 {
|
|
101
|
-
#{$key2}: #{$value2};
|
|
102
|
-
}
|
|
103
|
-
} @else {
|
|
104
|
-
@media only screen and (max-width: #{map.get(map.get($breakPoints, $key1), max)}) and (min-width: #{map.get(map.get($breakPoints, $key1), min)}) {
|
|
105
|
-
@each $key2, $value2 in $value1 {
|
|
106
|
-
#{$key2}: #{$value2};
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
// @include getcssprops($classValue, $breakPoints);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
} @else {
|
|
115
|
-
#{$key} {
|
|
116
|
-
@each $key1, $value1 in $value {
|
|
117
|
-
@if ($key1 == common) {
|
|
118
|
-
@each $key2, $value2 in $value1 {
|
|
119
|
-
#{$key2}: #{$value2};
|
|
120
|
-
}
|
|
121
|
-
} @else {
|
|
122
|
-
@media only screen and (max-width: #{map.get(map.get($breakPoints, $key1), max)}) and (min-width: #{map.get(map.get($breakPoints, $key1), min)}) {
|
|
123
|
-
@each $key2, $value2 in $value1 {
|
|
124
|
-
#{$key2}: #{$value2};
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
// @include getcssprops($value, $breakPoints);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
package/dist/global.scss
DELETED
|
@@ -1,346 +0,0 @@
|
|
|
1
|
-
@use "sass:list";
|
|
2
|
-
@use "sass:map";
|
|
3
|
-
@import url("./variable.scss");
|
|
4
|
-
@import "./range-slider.module.scss";
|
|
5
|
-
@import "./editor-core.scss";
|
|
6
|
-
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
|
|
7
|
-
@import "./mixin.scss";
|
|
8
|
-
|
|
9
|
-
$font-weight: (100, 200, 300, 400, 500, 600, 700, 800, 900);
|
|
10
|
-
$properties: (
|
|
11
|
-
"gap",
|
|
12
|
-
"fs",
|
|
13
|
-
"lh",
|
|
14
|
-
"pd",
|
|
15
|
-
"pd-l",
|
|
16
|
-
"pd-r",
|
|
17
|
-
"pd-b",
|
|
18
|
-
"pd-t",
|
|
19
|
-
"mt",
|
|
20
|
-
"br",
|
|
21
|
-
"ml",
|
|
22
|
-
"mt",
|
|
23
|
-
"mb",
|
|
24
|
-
"m",
|
|
25
|
-
"mr",
|
|
26
|
-
"width",
|
|
27
|
-
"height",
|
|
28
|
-
"top",
|
|
29
|
-
"left",
|
|
30
|
-
"right",
|
|
31
|
-
"bottom"
|
|
32
|
-
);
|
|
33
|
-
|
|
34
|
-
* {
|
|
35
|
-
margin: 0;
|
|
36
|
-
padding: 0;
|
|
37
|
-
box-sizing: border-box;
|
|
38
|
-
font-family: "Lato", sans-serif;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* For WebKit browsers (Chrome, Safari) */
|
|
42
|
-
::-webkit-scrollbar {
|
|
43
|
-
width: var(--_cms-scrollbar-width); /* Adjust the width as needed */
|
|
44
|
-
height: var(--_cms-scrollbar-height);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
::-webkit-scrollbar-track {
|
|
48
|
-
background: #f1f1f1; /* Background color of the track */
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
::-webkit-scrollbar-thumb {
|
|
52
|
-
background: var(--_primary-200); /* Background color of the thumb */
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
::-webkit-scrollbar-thumb:hover {
|
|
56
|
-
background: var(--_primary-300); /* Background color of the thumb on hover */
|
|
57
|
-
}
|
|
58
|
-
body {
|
|
59
|
-
--_scrollbar-width: 4px;
|
|
60
|
-
--_primary-400: #243dc6;
|
|
61
|
-
--_body-bg: #f7f8fa;
|
|
62
|
-
--_gray-500: #667085;
|
|
63
|
-
--_height-100-dvh: 100dvh;
|
|
64
|
-
--_dummy-header-height: 70px;
|
|
65
|
-
--_cms-header-height: 48px;
|
|
66
|
-
--_cms-playground-unit: 1cqw;
|
|
67
|
-
--_cms-section-max-width: 9999px;
|
|
68
|
-
--_cms-scrollbar-width: 4px;
|
|
69
|
-
--_cms-scaling-factor: min((100 * var(--_cms-playground-unit)), var(--_cms-section-max-width));
|
|
70
|
-
--_cms-scrollbar-height: var(--_cms-scrollbar-width);
|
|
71
|
-
&:has(button[aria-label="Preview"][title="Edit Site"]) {
|
|
72
|
-
--_sf-sd-pn-lt: 0px;
|
|
73
|
-
}
|
|
74
|
-
&[data-playground-scroll-y="true"] {
|
|
75
|
-
--_header-zIndex: calc(var(--_higher-zIndex) + 1);
|
|
76
|
-
}
|
|
77
|
-
&[add-element-type] {
|
|
78
|
-
--_sf-rt-ad-el-dr-lr-el-dp: var(--_d-flex);
|
|
79
|
-
--_sf-rt-ad-el-dr-lr-el-op: 1;
|
|
80
|
-
--_sf-rt-ad-el-dr-lr-el-vt: visible;
|
|
81
|
-
}
|
|
82
|
-
&:has([data-nochildhover-resizer="true"]),
|
|
83
|
-
&:has([data-cms-element-dragging="true"]),
|
|
84
|
-
&:has([data-cms-element-resizer="true"]) {
|
|
85
|
-
--_sf-cr-at-tl: var(--_d-none);
|
|
86
|
-
}
|
|
87
|
-
&[data-iframe-body="true"] {
|
|
88
|
-
&:has([data-edit-properties-popup="show"]) {
|
|
89
|
-
// --_sf-resizer-dp-v2: var(--_d-none);
|
|
90
|
-
--_sf-bm-rs-br-cr-v2: #583fff42;
|
|
91
|
-
// --_sf-bm-rs-br-cr-v2: rgba($color: var(--_accent-color-2-500), $alpha: 0.42);
|
|
92
|
-
--_sf-rsr-op-ac-vl-cr-sp: 0;
|
|
93
|
-
}
|
|
94
|
-
#cms-iframe-root {
|
|
95
|
-
overflow: clip;
|
|
96
|
-
}
|
|
97
|
-
&:has([data-cms-element-dragging="true"]) {
|
|
98
|
-
cursor: move;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
&:not([data-iframe-body="true"], [data-iframe-preview-body="true"]) {
|
|
102
|
-
margin: 0;
|
|
103
|
-
color: var(--_gray-600);
|
|
104
|
-
font-size: var(--_fs-14);
|
|
105
|
-
font-weight: var(--_fw-400);
|
|
106
|
-
font-style: normal;
|
|
107
|
-
overflow: clip;
|
|
108
|
-
|
|
109
|
-
@each $value in $font-weight {
|
|
110
|
-
--_fw-#{$value}: #{$value};
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
@for $i from 1 to 100 {
|
|
114
|
-
$totalValue: #{calc(1 * $i)};
|
|
115
|
-
|
|
116
|
-
@each $value in $properties {
|
|
117
|
-
--_#{$value}-#{$totalValue}: #{$totalValue}px;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
[contenteditable="true"]:focus {
|
|
122
|
-
outline: none; /* Remove the default focus outline */
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
button {
|
|
128
|
-
background: transparent;
|
|
129
|
-
border: none;
|
|
130
|
-
cursor: pointer;
|
|
131
|
-
&[aria-label="button"] {
|
|
132
|
-
user-select: none;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
p {
|
|
137
|
-
color: var(--_gray-600);
|
|
138
|
-
font-size: var(--_fs-14);
|
|
139
|
-
font-style: normal;
|
|
140
|
-
font-weight: var(--_fw-400);
|
|
141
|
-
line-height: var(--_lh-20);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
span {
|
|
145
|
-
&:has(input[readonly]) {
|
|
146
|
-
background: var(--_body-bg) !important;
|
|
147
|
-
* {
|
|
148
|
-
pointer-events: none !important;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
input {
|
|
154
|
-
height: var(--_height-40);
|
|
155
|
-
&:focus {
|
|
156
|
-
outline: none;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&[data-type="dotted-border"] {
|
|
160
|
-
border: none;
|
|
161
|
-
width: var(--_dotted-input-width);
|
|
162
|
-
text-align: end;
|
|
163
|
-
// border-block-end: 1px dashed var(--_gray-300);
|
|
164
|
-
resize: none;
|
|
165
|
-
|
|
166
|
-
&::-webkit-outer-spin-button {
|
|
167
|
-
-webkit-appearance: none;
|
|
168
|
-
margin: 0;
|
|
169
|
-
}
|
|
170
|
-
&::-webkit-inner-spin-button {
|
|
171
|
-
-webkit-appearance: none;
|
|
172
|
-
margin: 0;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
input {
|
|
178
|
-
&:not([data-type="dotted-border"]) {
|
|
179
|
-
width: 100%;
|
|
180
|
-
font-size: var(--_fs-16);
|
|
181
|
-
line-height: var(--_lh-24);
|
|
182
|
-
background: transparent;
|
|
183
|
-
border: none;
|
|
184
|
-
// padding: var(--_pd-8) var(--_pd-12);
|
|
185
|
-
padding-block: var(--_pd-8);
|
|
186
|
-
box-sizing: border-box;
|
|
187
|
-
&::-webkit-outer-spin-button {
|
|
188
|
-
-webkit-appearance: none;
|
|
189
|
-
-moz-appearance: none;
|
|
190
|
-
margin: 0;
|
|
191
|
-
}
|
|
192
|
-
&::-webkit-inner-spin-button {
|
|
193
|
-
-webkit-appearance: none;
|
|
194
|
-
-moz-appearance: none;
|
|
195
|
-
margin: 0;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
& :focus-visible {
|
|
199
|
-
outline: 0 none;
|
|
200
|
-
outline-offset: 0;
|
|
201
|
-
box-shadow:
|
|
202
|
-
0px 1px 2px rgba(16, 24, 40, 0.05),
|
|
203
|
-
0px 0px 0px 2px #ced4f6;
|
|
204
|
-
border-radius: 8px;
|
|
205
|
-
border: 1px solid #8190e8;
|
|
206
|
-
}
|
|
207
|
-
input[type="number"] {
|
|
208
|
-
-moz-appearance: textfield;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.divider {
|
|
213
|
-
color: var(--_gray-200);
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
canvas {
|
|
217
|
-
&[data-cms-tool="cms-custom-canvas"] {
|
|
218
|
-
position: var(--_p-fixed);
|
|
219
|
-
// z-index: -1;
|
|
220
|
-
opacity: 0;
|
|
221
|
-
bottom: 0;
|
|
222
|
-
left: 0%;
|
|
223
|
-
transform: translateX(-100%);
|
|
224
|
-
background: var(--_primary-50);
|
|
225
|
-
pointer-events: none;
|
|
226
|
-
border: 1px solid var(--_primary-400);
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
#cms-root {
|
|
231
|
-
&:has([data-elements-drag="show"]) {
|
|
232
|
-
z-index: calc(var(--_higher-zIndex) + var(--_cs-cms-root-zIndex));
|
|
233
|
-
|
|
234
|
-
// [data-elements-drag="show"] {
|
|
235
|
-
// z-index: calc(var(--_higher-zIndex) + var(--_cs-cms-root-zIndex) - 1);
|
|
236
|
-
// }
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.mt-16 {
|
|
241
|
-
margin-top: 16px;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.br__6 {
|
|
245
|
-
border-radius: var(--_br-6);
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.max__w__100 {
|
|
249
|
-
max-width: 100%;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.w__full {
|
|
253
|
-
width: 100%;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.rounded__dot {
|
|
257
|
-
height: var(--_height-5);
|
|
258
|
-
width: var(--_width-5);
|
|
259
|
-
border-radius: 50%;
|
|
260
|
-
background-color: var(--_gray-300);
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
// .overlay_section {
|
|
264
|
-
// right: 0px !important;
|
|
265
|
-
|
|
266
|
-
// & > div {
|
|
267
|
-
// padding: var(--_pd-8) var(--_pd-12) var(--_pd-10) var(--_pd-12);
|
|
268
|
-
// &:not(:last-child) {
|
|
269
|
-
// border-bottom: 1px solid var(--_gray-100);
|
|
270
|
-
// }
|
|
271
|
-
// &:hover {
|
|
272
|
-
// background-color: var(--_primary-25);
|
|
273
|
-
// }
|
|
274
|
-
// &[data-attr="Delete"] {
|
|
275
|
-
// color: var(--_error-500);
|
|
276
|
-
// }
|
|
277
|
-
// }
|
|
278
|
-
// }
|
|
279
|
-
|
|
280
|
-
.zoom__animate {
|
|
281
|
-
transform: scale(1);
|
|
282
|
-
transition: transform 0.2s ease-in-out;
|
|
283
|
-
&:hover {
|
|
284
|
-
transition: transform 0.2s ease-in-out;
|
|
285
|
-
|
|
286
|
-
transform: scale(1.2);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
&.btn__move {
|
|
290
|
-
&:hover {
|
|
291
|
-
transition: transform 0.1s ease-in-out;
|
|
292
|
-
transform: scale(1.05);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
div {
|
|
298
|
-
&[data-cms-tool="data-custom-drag-image-v2"] {
|
|
299
|
-
position: var(--_p-fixed);
|
|
300
|
-
left: calc(1px * var(--_sf-cs-vl-fr-lt, 0));
|
|
301
|
-
top: calc(1px * var(--_sf-cs-vl-fr-tp, 0));
|
|
302
|
-
width: calc(1px * var(--_sf-cs-vl-fr-wh, 0));
|
|
303
|
-
height: calc(1px * var(--_sf-cs-vl-fr-ht, 0));
|
|
304
|
-
// background: var(--_primary-300);
|
|
305
|
-
background: #583fff8a;
|
|
306
|
-
opacity: var(--_sf-cs-vl-fr-op, 0);
|
|
307
|
-
z-index: calc(var(--_higher-zIndex) + var(--_cs-canvas-img-zIndex));
|
|
308
|
-
pointer-events: none;
|
|
309
|
-
border: 1px solid var(--_primary-400);
|
|
310
|
-
transform: translate(-50%, -50%);
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
[data-cms-tool="data-global-temp-body"] {
|
|
315
|
-
position: var(--_p-absolute);
|
|
316
|
-
left: 50%;
|
|
317
|
-
transform: translate(-50%, 0%);
|
|
318
|
-
top: var(--_cms-header-height);
|
|
319
|
-
width: calc(100% - var(--_cms-header-height) - 28px);
|
|
320
|
-
height: calc(var(--_height-100-dvh) - var(--_cms-header-height));
|
|
321
|
-
opacity: var(--_sf-rt-ad-el-dr-lr-el-op, 0);
|
|
322
|
-
visibility: var(--_sf-rt-ad-el-dr-lr-el-vt, hidden);
|
|
323
|
-
display: var(--_sf-rt-ad-el-dr-lr-el-dp, var(--_d-none));
|
|
324
|
-
z-index: calc(var(--_higher-zIndex) + 10);
|
|
325
|
-
// background: rgba(0, 0, 0, 0.25);
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
// iframe css
|
|
329
|
-
[data-page-id="iframe-container-div"] {
|
|
330
|
-
display: var(--_d-flex);
|
|
331
|
-
width: 100%;
|
|
332
|
-
height: 100%;
|
|
333
|
-
iframe {
|
|
334
|
-
&[data-title="cms-iframe-preview"] {
|
|
335
|
-
width: 100%;
|
|
336
|
-
// height: calc(var(--_height-100-dvh) - var(--_cms-header-height));
|
|
337
|
-
height: 100%;
|
|
338
|
-
border: none;
|
|
339
|
-
overflow: clip;
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
// .issue-active {
|
|
345
|
-
// outline: 38px solid #8aff30 !important;
|
|
346
|
-
// }
|
package/dist/tooltip.scss
DELETED
|
@@ -1,276 +0,0 @@
|
|
|
1
|
-
.tooltipWrapper {
|
|
2
|
-
position: relative;
|
|
3
|
-
display: inline-block;
|
|
4
|
-
&:hover {
|
|
5
|
-
.tooltipBox {
|
|
6
|
-
opacity: 1;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.tooltipBox {
|
|
12
|
-
position: absolute;
|
|
13
|
-
z-index: 1000;
|
|
14
|
-
background-color: #333;
|
|
15
|
-
color: #fff;
|
|
16
|
-
padding: 8px 12px;
|
|
17
|
-
border-radius: 4px;
|
|
18
|
-
font-size: 12px;
|
|
19
|
-
white-space: nowrap;
|
|
20
|
-
visibility: visible;
|
|
21
|
-
opacity: 0;
|
|
22
|
-
transition: opacity 0.2s ease;
|
|
23
|
-
|
|
24
|
-
max-width: 250px;
|
|
25
|
-
width: max-content;
|
|
26
|
-
max-height: 100px;
|
|
27
|
-
word-wrap: break-word;
|
|
28
|
-
white-space: normal;
|
|
29
|
-
|
|
30
|
-
&.top {
|
|
31
|
-
bottom: 100%;
|
|
32
|
-
left: 50%;
|
|
33
|
-
transform: translateX(-50%);
|
|
34
|
-
margin-bottom: 8px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&.top-left {
|
|
38
|
-
bottom: 100%;
|
|
39
|
-
left: 0;
|
|
40
|
-
transform: translateX(0);
|
|
41
|
-
margin-bottom: 8px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&.top-right {
|
|
45
|
-
bottom: 100%;
|
|
46
|
-
right: 0;
|
|
47
|
-
transform: translateX(0);
|
|
48
|
-
margin-bottom: 8px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&.top-center {
|
|
52
|
-
bottom: 100%;
|
|
53
|
-
left: 50%;
|
|
54
|
-
transform: translateX(-50%);
|
|
55
|
-
margin-bottom: 8px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&.bottom {
|
|
59
|
-
top: 100%;
|
|
60
|
-
left: 50%;
|
|
61
|
-
transform: translateX(-50%);
|
|
62
|
-
margin-top: 8px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&.bottom-left {
|
|
66
|
-
top: 100%;
|
|
67
|
-
left: 0;
|
|
68
|
-
transform: translateX(0);
|
|
69
|
-
margin-top: 8px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&.bottom-right {
|
|
73
|
-
top: 100%;
|
|
74
|
-
right: 0;
|
|
75
|
-
transform: translateX(0);
|
|
76
|
-
margin-top: 8px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.bottom-center {
|
|
80
|
-
top: 100%;
|
|
81
|
-
left: 50%;
|
|
82
|
-
transform: translateX(-50%);
|
|
83
|
-
margin-top: 8px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&.left {
|
|
87
|
-
right: 100%;
|
|
88
|
-
top: 50%;
|
|
89
|
-
transform: translateY(-50%);
|
|
90
|
-
margin-right: 8px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&.left-top {
|
|
94
|
-
right: 100%;
|
|
95
|
-
top: 0;
|
|
96
|
-
transform: translateY(0);
|
|
97
|
-
margin-right: 8px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&.left-center {
|
|
101
|
-
right: 100%;
|
|
102
|
-
top: 50%;
|
|
103
|
-
transform: translateY(-50%);
|
|
104
|
-
margin-right: 8px;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&.left-bottom {
|
|
108
|
-
right: 100%;
|
|
109
|
-
bottom: 0;
|
|
110
|
-
transform: translateY(0);
|
|
111
|
-
margin-right: 8px;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&.right {
|
|
115
|
-
left: 100%;
|
|
116
|
-
top: 50%;
|
|
117
|
-
transform: translateY(-50%);
|
|
118
|
-
margin-left: 8px;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&.right-top {
|
|
122
|
-
left: 100%;
|
|
123
|
-
top: 0;
|
|
124
|
-
transform: translateY(0);
|
|
125
|
-
margin-left: 8px;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
&.right-center {
|
|
129
|
-
left: 100%;
|
|
130
|
-
top: 50%;
|
|
131
|
-
transform: translateY(-50%);
|
|
132
|
-
margin-left: 8px;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&.right-bottom {
|
|
136
|
-
left: 100%;
|
|
137
|
-
bottom: 0;
|
|
138
|
-
transform: translateY(0);
|
|
139
|
-
margin-left: 8px;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.tooltipArrow {
|
|
144
|
-
position: absolute;
|
|
145
|
-
width: 0;
|
|
146
|
-
height: 0;
|
|
147
|
-
border-style: solid;
|
|
148
|
-
|
|
149
|
-
&.top {
|
|
150
|
-
bottom: -4px;
|
|
151
|
-
left: 50%;
|
|
152
|
-
transform: translateX(-50%);
|
|
153
|
-
border-width: 4px 4px 0 4px;
|
|
154
|
-
border-color: #333 transparent transparent transparent;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
&.top-left {
|
|
158
|
-
bottom: -4px;
|
|
159
|
-
left: 10px;
|
|
160
|
-
transform: translateX(0);
|
|
161
|
-
border-width: 4px 4px 0 4px;
|
|
162
|
-
border-color: #333 transparent transparent transparent;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
&.top-right {
|
|
166
|
-
bottom: -4px;
|
|
167
|
-
right: 10px;
|
|
168
|
-
transform: translateX(0);
|
|
169
|
-
border-width: 4px 4px 0 4px;
|
|
170
|
-
border-color: #333 transparent transparent transparent;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
&.top-center {
|
|
174
|
-
bottom: -4px;
|
|
175
|
-
left: 50%;
|
|
176
|
-
transform: translateX(-50%);
|
|
177
|
-
border-width: 4px 4px 0 4px;
|
|
178
|
-
border-color: #333 transparent transparent transparent;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
&.bottom {
|
|
182
|
-
top: -4px;
|
|
183
|
-
left: 50%;
|
|
184
|
-
transform: translateX(-50%);
|
|
185
|
-
border-width: 0 4px 4px 4px;
|
|
186
|
-
border-color: transparent transparent #333 transparent;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
&.bottom-left {
|
|
190
|
-
top: -4px;
|
|
191
|
-
left: 10px;
|
|
192
|
-
transform: translateX(0);
|
|
193
|
-
border-width: 0 4px 4px 4px;
|
|
194
|
-
border-color: transparent transparent #333 transparent;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&.bottom-right {
|
|
198
|
-
top: -4px;
|
|
199
|
-
right: 10px;
|
|
200
|
-
transform: translateX(0);
|
|
201
|
-
border-width: 0 4px 4px 4px;
|
|
202
|
-
border-color: transparent transparent #333 transparent;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
&.bottom-center {
|
|
206
|
-
top: -4px;
|
|
207
|
-
left: 50%;
|
|
208
|
-
transform: translateX(-50%);
|
|
209
|
-
border-width: 0 4px 4px 4px;
|
|
210
|
-
border-color: transparent transparent #333 transparent;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
&.left {
|
|
214
|
-
right: -4px;
|
|
215
|
-
top: 50%;
|
|
216
|
-
transform: translateY(-50%);
|
|
217
|
-
border-width: 4px 0 4px 4px;
|
|
218
|
-
border-color: transparent transparent transparent #333;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
&.left-top {
|
|
222
|
-
right: -4px;
|
|
223
|
-
top: 10px;
|
|
224
|
-
transform: translateY(0);
|
|
225
|
-
border-width: 4px 0 4px 4px;
|
|
226
|
-
border-color: transparent transparent transparent #333;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
&.left-center {
|
|
230
|
-
right: -4px;
|
|
231
|
-
top: 50%;
|
|
232
|
-
transform: translateY(-50%);
|
|
233
|
-
border-width: 4px 0 4px 4px;
|
|
234
|
-
border-color: transparent transparent transparent #333;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
&.left-bottom {
|
|
238
|
-
right: -4px;
|
|
239
|
-
bottom: 10px;
|
|
240
|
-
transform: translateY(0);
|
|
241
|
-
border-width: 4px 0 4px 4px;
|
|
242
|
-
border-color: transparent transparent transparent #333;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
&.right {
|
|
246
|
-
left: -4px;
|
|
247
|
-
top: 50%;
|
|
248
|
-
transform: translateY(-50%);
|
|
249
|
-
border-width: 4px 4px 4px 0;
|
|
250
|
-
border-color: transparent #333 transparent transparent;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
&.right-top {
|
|
254
|
-
left: -4px;
|
|
255
|
-
top: 10px;
|
|
256
|
-
transform: translateY(0);
|
|
257
|
-
border-width: 4px 4px 4px 0;
|
|
258
|
-
border-color: transparent #333 transparent transparent;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
&.right-center {
|
|
262
|
-
left: -4px;
|
|
263
|
-
top: 50%;
|
|
264
|
-
transform: translateY(-50%);
|
|
265
|
-
border-width: 4px 4px 4px 0;
|
|
266
|
-
border-color: transparent #333 transparent transparent;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
&.right-bottom {
|
|
270
|
-
left: -4px;
|
|
271
|
-
bottom: 10px;
|
|
272
|
-
transform: translateY(0);
|
|
273
|
-
border-width: 4px 4px 4px 0;
|
|
274
|
-
border-color: transparent #333 transparent transparent;
|
|
275
|
-
}
|
|
276
|
-
}
|
package/dist/variable.scss
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
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: 2;
|
|
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
|
-
--_accent-Color-2-200: #c7bfff;
|
|
89
|
-
--_accent-Color-2-100: #d5cfff;
|
|
90
|
-
--_accent-Color-2-50: #e3dfff;
|
|
91
|
-
|
|
92
|
-
--_success-800: #05603a;
|
|
93
|
-
|
|
94
|
-
--_primary-25: #f5f6fd;
|
|
95
|
-
--_primary-50: #e2e5fa;
|
|
96
|
-
--_primary-100: #ced4f6;
|
|
97
|
-
--_primary-200: #a8b2ef;
|
|
98
|
-
--_primary-300: #8190e8;
|
|
99
|
-
--_primary-400: #243dc6;
|
|
100
|
-
--_primary-500: #162578;
|
|
101
|
-
--_primary-600: #132067;
|
|
102
|
-
--_primary-700: #111c5b;
|
|
103
|
-
|
|
104
|
-
--_success-50: #ecfdf3;
|
|
105
|
-
--_success-200: #a6f4c5;
|
|
106
|
-
--_success-600: #039855;
|
|
107
|
-
--_success-700: #027a48;
|
|
108
|
-
|
|
109
|
-
--_red-300: #fda29b;
|
|
110
|
-
--_red-100: #fee4e2;
|
|
111
|
-
--_warning-50: #fffaeb;
|
|
112
|
-
--_warning-200: #fedf89;
|
|
113
|
-
--_warning-300: #fec84b;
|
|
114
|
-
--_warning-500: #f79009;
|
|
115
|
-
--_warning-600: #dc6803;
|
|
116
|
-
--_warning-700: #fec84b;
|
|
117
|
-
|
|
118
|
-
--_error-700: #b42318;
|
|
119
|
-
--_error-500: #f04438;
|
|
120
|
-
--_error-200: #fecdca;
|
|
121
|
-
--_error-100: #fee4e2;
|
|
122
|
-
--_error-50: #fef3f2;
|
|
123
|
-
|
|
124
|
-
--_cms-ruler-color: #9b27d5b7;
|
|
125
|
-
--_cms-ruler-color-v2: #9b27d53a;
|
|
126
|
-
|
|
127
|
-
--_transition-duration: 0.45s;
|
|
128
|
-
--_transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
|
|
129
|
-
|
|
130
|
-
--_user-select-none: none;
|
|
131
|
-
--scroll-page: 0;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.pac-container {
|
|
135
|
-
z-index: calc(var(--_higher-zIndex) + var(--_cms-map-at-zIndex));
|
|
136
|
-
}
|