@sc-360-v2/storefront-cms-library 0.4.61 → 0.4.63
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/cart-details.scss +150 -4
- package/dist/cart-summary.scss +2728 -2728
- package/dist/customization-tree.scss +161 -160
- package/dist/icon-list.scss +10 -10
- package/dist/image-temp.scss +3 -1
- package/dist/layouter.scss +4 -4
- package/dist/repeater-grid-toggle.scss +58 -58
- package/dist/repeater.scss +6 -6
- package/dist/user-elements.scss +1 -0
- package/package.json +1 -1
|
@@ -1,160 +1,161 @@
|
|
|
1
|
-
$Gray-900: #101828;
|
|
2
|
-
$border-color: #a5a5a5;
|
|
3
|
-
$Gray-600: #475467;
|
|
4
|
-
$link-color: #243dc6;
|
|
5
|
-
|
|
6
|
-
.customTreeWrapper {
|
|
7
|
-
padding: 20px 20px 20px 145px;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
font-
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
font-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
font-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
font-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
font-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}
|
|
1
|
+
$Gray-900: #101828;
|
|
2
|
+
$border-color: #a5a5a5;
|
|
3
|
+
$Gray-600: #475467;
|
|
4
|
+
$link-color: #243dc6;
|
|
5
|
+
|
|
6
|
+
.customTreeWrapper {
|
|
7
|
+
// padding: 20px 20px 20px 145px;
|
|
8
|
+
padding: 0 20px;
|
|
9
|
+
|
|
10
|
+
h3 {
|
|
11
|
+
color: $Gray-900;
|
|
12
|
+
font-size: 18px;
|
|
13
|
+
font-weight: 700;
|
|
14
|
+
line-height: 28px;
|
|
15
|
+
margin-bottom: 12px;
|
|
16
|
+
}
|
|
17
|
+
.treeNode {
|
|
18
|
+
position: relative;
|
|
19
|
+
&::after {
|
|
20
|
+
content: "";
|
|
21
|
+
position: absolute;
|
|
22
|
+
bottom: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
width: 100%;
|
|
25
|
+
border-bottom: 1px dotted var(--_gray-300);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
.treeNode,
|
|
29
|
+
.treeItem {
|
|
30
|
+
position: relative;
|
|
31
|
+
padding-left: 16px;
|
|
32
|
+
border-left: 1px dotted var(--_gray-300);
|
|
33
|
+
margin: 24px 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.dotLine {
|
|
37
|
+
position: absolute;
|
|
38
|
+
left: -5px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Base dot
|
|
42
|
+
.dot {
|
|
43
|
+
background-color: #7c90ab;
|
|
44
|
+
border-radius: 50%;
|
|
45
|
+
display: inline-block;
|
|
46
|
+
|
|
47
|
+
&.default {
|
|
48
|
+
width: 8px;
|
|
49
|
+
height: 8px;
|
|
50
|
+
margin-bottom: 6px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.small {
|
|
54
|
+
width: 6px;
|
|
55
|
+
height: 6px;
|
|
56
|
+
margin: 6px 0 0 2px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.itemDetails {
|
|
61
|
+
margin: 15px 0;
|
|
62
|
+
p {
|
|
63
|
+
color: $Gray-600;
|
|
64
|
+
font-size: 12px;
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
line-height: 18px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.category {
|
|
71
|
+
color: $Gray-900;
|
|
72
|
+
font-size: 12px;
|
|
73
|
+
font-weight: 700;
|
|
74
|
+
line-height: 18px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.type {
|
|
78
|
+
font-size: 12px;
|
|
79
|
+
color: #555;
|
|
80
|
+
margin-bottom: 2px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.value {
|
|
84
|
+
font-size: 14px;
|
|
85
|
+
color: #333;
|
|
86
|
+
max-width: 400px;
|
|
87
|
+
word-break: break-word;
|
|
88
|
+
}
|
|
89
|
+
.itemValue {
|
|
90
|
+
// display: flex;
|
|
91
|
+
color: var(--_gray-900);
|
|
92
|
+
font-size: 14px;
|
|
93
|
+
font-weight: 500;
|
|
94
|
+
line-height: 20px;
|
|
95
|
+
& > span {
|
|
96
|
+
font-weight: 500;
|
|
97
|
+
color: var(--_gray-900);
|
|
98
|
+
}
|
|
99
|
+
.link {
|
|
100
|
+
color: $link-color;
|
|
101
|
+
font-size: 14px;
|
|
102
|
+
font-weight: 400;
|
|
103
|
+
line-height: 20px;
|
|
104
|
+
white-space: nowrap;
|
|
105
|
+
display: inline-block;
|
|
106
|
+
margin-left: 8px;
|
|
107
|
+
|
|
108
|
+
&:hover {
|
|
109
|
+
text-decoration: underline;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// customization tree
|
|
116
|
+
|
|
117
|
+
.modal-overlay-main-element {
|
|
118
|
+
.modal-overlay-backdrop {
|
|
119
|
+
position: fixed;
|
|
120
|
+
top: 0;
|
|
121
|
+
left: 0;
|
|
122
|
+
width: 100%;
|
|
123
|
+
height: 100%;
|
|
124
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
125
|
+
z-index: calc(var(--_higher-zIndex) + var(--_cs-et-zIndex) + 9);
|
|
126
|
+
animation: fadeIn 0.4s forwards;
|
|
127
|
+
cursor: auto;
|
|
128
|
+
}
|
|
129
|
+
.modal-overlay-container {
|
|
130
|
+
position: fixed;
|
|
131
|
+
top: 50%;
|
|
132
|
+
left: 50%;
|
|
133
|
+
transform: translate(-50%, -50%);
|
|
134
|
+
background-color: var(--_base-white);
|
|
135
|
+
width: var(--_sf-ml-wh, 450px);
|
|
136
|
+
max-width: 250px;
|
|
137
|
+
height: 300px;
|
|
138
|
+
padding: 12px;
|
|
139
|
+
border-radius: 6px;
|
|
140
|
+
display: flex;
|
|
141
|
+
flex-direction: column;
|
|
142
|
+
gap: 12px;
|
|
143
|
+
z-index: calc(var(--_higher-zIndex) + var(--_cs-et-zIndex) + 10);
|
|
144
|
+
cursor: auto;
|
|
145
|
+
.custom_image_overlay {
|
|
146
|
+
.custom_image_container {
|
|
147
|
+
height: 230px;
|
|
148
|
+
width: 100%;
|
|
149
|
+
background-color: var(--_gray-200);
|
|
150
|
+
}
|
|
151
|
+
.custom_image_footer {
|
|
152
|
+
width: 100%;
|
|
153
|
+
background-color: var(-_base-white);
|
|
154
|
+
display: flex;
|
|
155
|
+
justify-content: space-between;
|
|
156
|
+
align-items: center;
|
|
157
|
+
padding: 16px;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
package/dist/icon-list.scss
CHANGED
|
@@ -62,9 +62,9 @@ $pos2: (
|
|
|
62
62
|
& > .wrapper {
|
|
63
63
|
width: 100%;
|
|
64
64
|
// gap: prepareMediaVariable(--_ctm-lt-im-gp);
|
|
65
|
-
row-gap: prepareMediaVariable(--_ctm-lt-rw-gp);
|
|
66
|
-
column-gap: prepareMediaVariable(--_ctm-lt-cn-gp);
|
|
67
|
-
padding: prepareMediaVariable(--_ctm-lt-pg);
|
|
65
|
+
row-gap: prepareMediaVariable(--_ctm-lt-rw-gp, 0px);
|
|
66
|
+
column-gap: prepareMediaVariable(--_ctm-lt-cn-gp, 0px);
|
|
67
|
+
padding: prepareMediaVariable(--_ctm-lt-pg, 0px);
|
|
68
68
|
display: var(--_d-flex) !important;
|
|
69
69
|
|
|
70
70
|
&.hrz {
|
|
@@ -73,13 +73,13 @@ $pos2: (
|
|
|
73
73
|
align-items: prepareMediaVariable(--_ctm-lt-an-is);
|
|
74
74
|
justify-content: prepareMediaVariable(--_ctm-lt-jy-ct);
|
|
75
75
|
flex-wrap: prepareMediaVariable(--_ctm-lt-fx-wp);
|
|
76
|
-
--_ctm-custom-lt-im-gp: #{prepareMediaVariable(--_ctm-lt-cn-gp)};
|
|
76
|
+
--_ctm-custom-lt-im-gp: #{prepareMediaVariable(--_ctm-lt-cn-gp, 0px)};
|
|
77
77
|
}
|
|
78
78
|
&.vtl {
|
|
79
79
|
flex-direction: column;
|
|
80
80
|
justify-content: prepareMediaVariable(--_ctm-lt-an-is);
|
|
81
81
|
align-items: prepareMediaVariable(--_ctm-lt-jy-ct);
|
|
82
|
-
--_ctm-custom-lt-im-gp: #{prepareMediaVariable(--_ctm-lt-rw-gp)};
|
|
82
|
+
--_ctm-custom-lt-im-gp: #{prepareMediaVariable(--_ctm-lt-rw-gp, 0px)};
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
&[data-show-border="true"] {
|
|
@@ -146,10 +146,10 @@ $pos2: (
|
|
|
146
146
|
|
|
147
147
|
& > .#{$item} {
|
|
148
148
|
display: var(--_d-flex);
|
|
149
|
-
gap: var(--_in_hr-gp, prepareMediaVariable(--_ctm-dn-in-dt-se-in-gp));
|
|
149
|
+
gap: var(--_in_hr-gp, prepareMediaVariable(--_ctm-dn-in-dt-se-in-gp, 0px));
|
|
150
150
|
|
|
151
151
|
&:hover {
|
|
152
|
-
--_in_hr-gp: #{prepareMediaVariable(--_ctm-dn-in-hr-se-in-gp)};
|
|
152
|
+
--_in_hr-gp: #{prepareMediaVariable(--_ctm-dn-in-hr-se-in-gp, 0px)};
|
|
153
153
|
--_in-hr-sz: #{prepareMediaVariable(--_ctm-dn-in-hr-se-in-se)};
|
|
154
154
|
--_in-hr-as: #{prepareMediaVariable(--_ctm-dn-in-hr-se-vl-at)};
|
|
155
155
|
--_in-hr-cr: #{prepareMediaVariable(--_ctm-dn-in-hr-se-in-c1)};
|
|
@@ -188,14 +188,14 @@ $pos2: (
|
|
|
188
188
|
flex-direction: column;
|
|
189
189
|
align-self: prepareMediaVariable(--_ctm-dn-tt-cr-vl-at);
|
|
190
190
|
padding: prepareMediaVariable(--_ctm-dn-tt-cr-pg);
|
|
191
|
-
row-gap: prepareMediaVariable(--_ctm-dn-tt-cr-im-gp);
|
|
191
|
+
row-gap: prepareMediaVariable(--_ctm-dn-tt-cr-im-gp, 0px);
|
|
192
192
|
&[data-show-divider="true"] {
|
|
193
193
|
// margin-inline-start: calc(
|
|
194
194
|
// #{prepareMediaVariable(--_ctm-dn-lt-lt-gp)} +
|
|
195
195
|
// #{prepareMediaVariable(--_ctm-dn-lt-dr-wt)}
|
|
196
196
|
// );
|
|
197
197
|
margin-inline-start: calc(
|
|
198
|
-
var(--_in_hr-gp, prepareMediaVariable(--_ctm-dn-in-dt-se-in-gp)) +
|
|
198
|
+
var(--_in_hr-gp, prepareMediaVariable(--_ctm-dn-in-dt-se-in-gp, 0px)) +
|
|
199
199
|
var(
|
|
200
200
|
--_ctm-mob-dn-tt-cr-dr-wt,
|
|
201
201
|
var(--_ctm-tab-dn-tt-cr-dr-wt, var(--_ctm-dn-tt-cr-dr-wt, inherit))
|
|
@@ -229,7 +229,7 @@ $pos2: (
|
|
|
229
229
|
--_ctm-mob-dn-tt-cr-dr-wt,
|
|
230
230
|
var(--_ctm-tab-dn-tt-cr-dr-wt, var(--_ctm-dn-tt-cr-dr-wt, inherit))
|
|
231
231
|
)
|
|
232
|
-
) - var(--_in_hr-gp, prepareMediaVariable(--_ctm-dn-in-dt-se-in-gp))
|
|
232
|
+
) - var(--_in_hr-gp, prepareMediaVariable(--_ctm-dn-in-dt-se-in-gp, 0px))
|
|
233
233
|
);
|
|
234
234
|
width: prepareMediaVariable(--_ctm-dn-tt-cr-dr-wt);
|
|
235
235
|
height: prepareMediaVariable(--_ctm-dn-tt-cr-dr-wh);
|
package/dist/image-temp.scss
CHANGED
|
@@ -12,7 +12,9 @@ $isFlexboxElementChild: ".flx > .wrapper > *";
|
|
|
12
12
|
&[data-element-type="brandImage"],
|
|
13
13
|
&[data-element-type="categoryImage"],
|
|
14
14
|
&[data-element-type="productBrandImage"] {
|
|
15
|
-
|
|
15
|
+
&:has(a) {
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
}
|
|
16
18
|
// width: var(--_lt-wh);
|
|
17
19
|
// height: var(--_lt-ht);
|
|
18
20
|
// margin: var(--_lt-mn);
|
package/dist/layouter.scss
CHANGED
|
@@ -153,7 +153,7 @@ $sliderControlDragging: "[flex-slider-control-moving='true']";
|
|
|
153
153
|
display: flex !important;
|
|
154
154
|
--_embla-slide-space: var(
|
|
155
155
|
--_ctm-mob-lay-lt-im-gp,
|
|
156
|
-
var(--_ctm-tab-lay-lt-im-gp, var(--_ctm-lay-lt-im-gp))
|
|
156
|
+
var(--_ctm-tab-lay-lt-im-gp, var(--_ctm-lay-lt-im-gp, 0px))
|
|
157
157
|
);
|
|
158
158
|
--_embla-col-count: var(
|
|
159
159
|
--_ctm-mob-lay-lt-st-is-pr-se,
|
|
@@ -206,11 +206,11 @@ $sliderControlDragging: "[flex-slider-control-moving='true']";
|
|
|
206
206
|
// --_ctm-mob-lay-lt-im-gp,
|
|
207
207
|
// var(--_ctm-tab-lay-lt-im-gp, var(--_ctm-lay-lt-im-gp, 0px))
|
|
208
208
|
// );
|
|
209
|
-
gap: #{prepareMediaVariable(--_ctm-lay-lt-im-gp)};
|
|
209
|
+
gap: #{prepareMediaVariable(--_ctm-lay-lt-im-gp, 0px)};
|
|
210
210
|
}
|
|
211
211
|
&:is(.grd > *) {
|
|
212
|
-
column-gap: #{prepareMediaVariable(--_ctm-lay-lt-cn-gp)};
|
|
213
|
-
row-gap: #{prepareMediaVariable(--_ctm-lay-lt-rw-gp)};
|
|
212
|
+
column-gap: #{prepareMediaVariable(--_ctm-lay-lt-cn-gp, 0px)};
|
|
213
|
+
row-gap: #{prepareMediaVariable(--_ctm-lay-lt-rw-gp, 0px)};
|
|
214
214
|
}
|
|
215
215
|
// width: 100%;
|
|
216
216
|
// grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:list";
|
|
3
|
-
|
|
4
|
-
$selector: ".repeater__view__toggle";
|
|
5
|
-
$wrapper: ".tgl__wrapper";
|
|
6
|
-
|
|
7
|
-
@mixin FlexRepeaterGridToggleCSS() {
|
|
8
|
-
#{$selector} {
|
|
9
|
-
position: var(--_p-absolute);
|
|
10
|
-
z-index: calc(var(--_higher-zIndex, 99999) - 2);
|
|
11
|
-
left: var(--_sf-rp-gt-t3-left-vl, 0px);
|
|
12
|
-
right: var(--_sf-rp-gt-t3-right-vl, auto);
|
|
13
|
-
bottom: var(--_sf-rp-gt-t3-bottom-vl, auto);
|
|
14
|
-
top: var(--_sf-rp-gt-t3-top-vl, 0px);
|
|
15
|
-
|
|
16
|
-
& > div {
|
|
17
|
-
&#{$wrapper} {
|
|
18
|
-
display: var(--_d-flex);
|
|
19
|
-
align-items: center;
|
|
20
|
-
border: 1px solid var(--
|
|
21
|
-
--_br-6: 6px;
|
|
22
|
-
--_width-40: 40px;
|
|
23
|
-
border-radius: var(--_br-6);
|
|
24
|
-
background-color: var(--_base-white);
|
|
25
|
-
|
|
26
|
-
& > button {
|
|
27
|
-
display: var(--_d-flex);
|
|
28
|
-
$size: var(--_width-40);
|
|
29
|
-
width: $size;
|
|
30
|
-
height: $size;
|
|
31
|
-
align-items: center;
|
|
32
|
-
justify-content: center;
|
|
33
|
-
|
|
34
|
-
&:first-of-type {
|
|
35
|
-
border-radius: 4px 0 0 4px;
|
|
36
|
-
}
|
|
37
|
-
&:last-of-type {
|
|
38
|
-
border-radius: 0 4px 4px 0;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&[data-style-active="true"] {
|
|
42
|
-
--_sf-at-pt-cl: var(--
|
|
43
|
-
background: var(--
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
svg {
|
|
47
|
-
width: calc(#{$size} * 0.5);
|
|
48
|
-
height: calc(#{$size} * 0.5);
|
|
49
|
-
|
|
50
|
-
path {
|
|
51
|
-
stroke: var(--_sf-at-pt-cl, var(--_gray-500));
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
$selector: ".repeater__view__toggle";
|
|
5
|
+
$wrapper: ".tgl__wrapper";
|
|
6
|
+
|
|
7
|
+
@mixin FlexRepeaterGridToggleCSS() {
|
|
8
|
+
#{$selector} {
|
|
9
|
+
position: var(--_p-absolute);
|
|
10
|
+
z-index: calc(var(--_higher-zIndex, 99999) - 2);
|
|
11
|
+
left: var(--_sf-rp-gt-t3-left-vl, 0px);
|
|
12
|
+
right: var(--_sf-rp-gt-t3-right-vl, auto);
|
|
13
|
+
bottom: var(--_sf-rp-gt-t3-bottom-vl, auto);
|
|
14
|
+
top: var(--_sf-rp-gt-t3-top-vl, 0px);
|
|
15
|
+
|
|
16
|
+
& > div {
|
|
17
|
+
&#{$wrapper} {
|
|
18
|
+
display: var(--_d-flex);
|
|
19
|
+
align-items: center;
|
|
20
|
+
border: 1px solid var(--_gray-200);
|
|
21
|
+
--_br-6: 6px;
|
|
22
|
+
--_width-40: 40px;
|
|
23
|
+
border-radius: var(--_br-6);
|
|
24
|
+
background-color: var(--_base-white);
|
|
25
|
+
|
|
26
|
+
& > button {
|
|
27
|
+
display: var(--_d-flex);
|
|
28
|
+
$size: var(--_width-40);
|
|
29
|
+
width: $size;
|
|
30
|
+
height: $size;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
|
|
34
|
+
&:first-of-type {
|
|
35
|
+
border-radius: 4px 0 0 4px;
|
|
36
|
+
}
|
|
37
|
+
&:last-of-type {
|
|
38
|
+
border-radius: 0 4px 4px 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&[data-style-active="true"] {
|
|
42
|
+
--_sf-at-pt-cl: var(--_gray-800);
|
|
43
|
+
background: var(--_gray-200);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
svg {
|
|
47
|
+
width: calc(#{$size} * 0.5);
|
|
48
|
+
height: calc(#{$size} * 0.5);
|
|
49
|
+
|
|
50
|
+
path {
|
|
51
|
+
stroke: var(--_sf-at-pt-cl, var(--_gray-500));
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
package/dist/repeater.scss
CHANGED
|
@@ -102,7 +102,7 @@ $rai: "repeater-advertise-item";
|
|
|
102
102
|
& > div {
|
|
103
103
|
&.wrapper {
|
|
104
104
|
display: var(--_d-grid);
|
|
105
|
-
row-gap: prepareMediaVariable(--_ctm-rep-lt-im-gp-lt);
|
|
105
|
+
row-gap: prepareMediaVariable(--_ctm-rep-lt-im-gp-lt, 0px);
|
|
106
106
|
grid-template-columns: 100%;
|
|
107
107
|
// grid-template-rows: repeat(
|
|
108
108
|
// auto-fit,
|
|
@@ -213,7 +213,7 @@ $rai: "repeater-advertise-item";
|
|
|
213
213
|
// --_ctm-mob-rep-lt-im-gp,
|
|
214
214
|
// var(--_ctm-tab-rep-lt-im-gp, var(--_ctm-rep-lt-im-gp, 0px))
|
|
215
215
|
// );
|
|
216
|
-
--_col-gap: #{prepareMediaVariable(--_ctm-rep-lt-cn-gp)};
|
|
216
|
+
--_col-gap: #{prepareMediaVariable(--_ctm-rep-lt-cn-gp, 0px)};
|
|
217
217
|
width: calc(
|
|
218
218
|
(100% / var(--_col-count)) -
|
|
219
219
|
(((var(--_col-count) - 1) * var(--_col-gap)) / (var(--_col-count)))
|
|
@@ -276,7 +276,7 @@ $rai: "repeater-advertise-item";
|
|
|
276
276
|
display: flex !important;
|
|
277
277
|
--_embla-slide-space: var(
|
|
278
278
|
--_ctm-mob-rep-lt-im-gp,
|
|
279
|
-
var(--_ctm-tab-rep-lt-im-gp, var(--_ctm-rep-lt-im-gp))
|
|
279
|
+
var(--_ctm-tab-rep-lt-im-gp, var(--_ctm-rep-lt-im-gp, 0px))
|
|
280
280
|
);
|
|
281
281
|
min-height: 100px !important;
|
|
282
282
|
--_embla-col-count: var(
|
|
@@ -319,11 +319,11 @@ $rai: "repeater-advertise-item";
|
|
|
319
319
|
& > div {
|
|
320
320
|
&.wrapper {
|
|
321
321
|
&:is(.sld > *) {
|
|
322
|
-
gap: #{prepareMediaVariable(--_ctm-rep-lt-im-gp)};
|
|
322
|
+
gap: #{prepareMediaVariable(--_ctm-rep-lt-im-gp, 0px)};
|
|
323
323
|
}
|
|
324
324
|
&:is(:not(.sld > *)) {
|
|
325
|
-
column-gap: #{prepareMediaVariable(--_ctm-rep-lt-cn-gp)};
|
|
326
|
-
row-gap: #{prepareMediaVariable(--_ctm-rep-lt-rw-gp)};
|
|
325
|
+
column-gap: #{prepareMediaVariable(--_ctm-rep-lt-cn-gp, 0px)};
|
|
326
|
+
row-gap: #{prepareMediaVariable(--_ctm-rep-lt-rw-gp, 0px)};
|
|
327
327
|
}
|
|
328
328
|
// width: 100%;
|
|
329
329
|
// grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
|
package/dist/user-elements.scss
CHANGED