@sc-360-v2/storefront-cms-library 0.4.50 → 0.4.51
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/filters.scss +2418 -2418
- package/dist/section.scss +210 -209
- package/package.json +1 -1
package/dist/section.scss
CHANGED
|
@@ -1,209 +1,210 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:list";
|
|
3
|
-
@use "./functions.scss" as *;
|
|
4
|
-
@use "./position-module.scss" as *;
|
|
5
|
-
@use "./animation-control.scss" as *;
|
|
6
|
-
@use "./responsive-behaviour.scss" as *;
|
|
7
|
-
@use "./overflow-module.scss" as *;
|
|
8
|
-
@use "./transform-properties-module.scss" as *;
|
|
9
|
-
|
|
10
|
-
$activeElementSelector: "[data-has-clicked='true']";
|
|
11
|
-
$isFlexboxElementChild: ".flx > .wrapper > *";
|
|
12
|
-
$repeterLElement: '[data-element-type="repeater"]';
|
|
13
|
-
$dp: "dp_d_none";
|
|
14
|
-
$tb: "tb_d_none";
|
|
15
|
-
$mb: "mb_d_none";
|
|
16
|
-
|
|
17
|
-
$rp: (
|
|
18
|
-
class: (
|
|
19
|
-
#{$tb}: (
|
|
20
|
-
laptop: (
|
|
21
|
-
display: "none !important",
|
|
22
|
-
),
|
|
23
|
-
),
|
|
24
|
-
#{$dp}: (
|
|
25
|
-
desktop: (
|
|
26
|
-
display: "none !important",
|
|
27
|
-
),
|
|
28
|
-
),
|
|
29
|
-
#{$mb}: (
|
|
30
|
-
mobile: (
|
|
31
|
-
display: "none !important",
|
|
32
|
-
),
|
|
33
|
-
),
|
|
34
|
-
),
|
|
35
|
-
);
|
|
36
|
-
|
|
37
|
-
body {
|
|
38
|
-
// color: var(--_thm-ty-p1-tt-cr);
|
|
39
|
-
// font-family: var(--_thm-ty-p1-ft-fy);
|
|
40
|
-
// font-size: var(--_thm-ty-p1-ft-se);
|
|
41
|
-
// font-weight: var(--_thm-ty-p1-bd);
|
|
42
|
-
// font-style: var(--_thm-ty-p1-ic);
|
|
43
|
-
// text-align: var(--_thm-ty-p1-tt-an);
|
|
44
|
-
// letter-spacing: var(--_thm-ty-p1-cr-sg);
|
|
45
|
-
// line-height: var(--_thm-ty-p1-le-ht);
|
|
46
|
-
// text-decoration: var(--_thm-ty-p1-ue);
|
|
47
|
-
|
|
48
|
-
// Responsive
|
|
49
|
-
@include prepareCustomClassCSSProps($rp);
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
//
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
0.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
0.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
background-
|
|
91
|
-
background-
|
|
92
|
-
background-
|
|
93
|
-
background-position
|
|
94
|
-
background-
|
|
95
|
-
background-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
//
|
|
116
|
-
//
|
|
117
|
-
// )
|
|
118
|
-
|
|
119
|
-
border-
|
|
120
|
-
border-
|
|
121
|
-
border-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
max-width: var(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
// padding-
|
|
135
|
-
padding:
|
|
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
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
// }
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
--_sf-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
//
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
//
|
|
190
|
-
//
|
|
191
|
-
//
|
|
192
|
-
//
|
|
193
|
-
//
|
|
194
|
-
//
|
|
195
|
-
//
|
|
196
|
-
//
|
|
197
|
-
//
|
|
198
|
-
//
|
|
199
|
-
//
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
//
|
|
203
|
-
//
|
|
204
|
-
//
|
|
205
|
-
//
|
|
206
|
-
//
|
|
207
|
-
//
|
|
208
|
-
//
|
|
209
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
@use "./functions.scss" as *;
|
|
4
|
+
@use "./position-module.scss" as *;
|
|
5
|
+
@use "./animation-control.scss" as *;
|
|
6
|
+
@use "./responsive-behaviour.scss" as *;
|
|
7
|
+
@use "./overflow-module.scss" as *;
|
|
8
|
+
@use "./transform-properties-module.scss" as *;
|
|
9
|
+
|
|
10
|
+
$activeElementSelector: "[data-has-clicked='true']";
|
|
11
|
+
$isFlexboxElementChild: ".flx > .wrapper > *";
|
|
12
|
+
$repeterLElement: '[data-element-type="repeater"]';
|
|
13
|
+
$dp: "dp_d_none";
|
|
14
|
+
$tb: "tb_d_none";
|
|
15
|
+
$mb: "mb_d_none";
|
|
16
|
+
|
|
17
|
+
$rp: (
|
|
18
|
+
class: (
|
|
19
|
+
#{$tb}: (
|
|
20
|
+
laptop: (
|
|
21
|
+
display: "none !important",
|
|
22
|
+
),
|
|
23
|
+
),
|
|
24
|
+
#{$dp}: (
|
|
25
|
+
desktop: (
|
|
26
|
+
display: "none !important",
|
|
27
|
+
),
|
|
28
|
+
),
|
|
29
|
+
#{$mb}: (
|
|
30
|
+
mobile: (
|
|
31
|
+
display: "none !important",
|
|
32
|
+
),
|
|
33
|
+
),
|
|
34
|
+
),
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
body {
|
|
38
|
+
// color: var(--_thm-ty-p1-tt-cr);
|
|
39
|
+
// font-family: var(--_thm-ty-p1-ft-fy);
|
|
40
|
+
// font-size: var(--_thm-ty-p1-ft-se);
|
|
41
|
+
// font-weight: var(--_thm-ty-p1-bd);
|
|
42
|
+
// font-style: var(--_thm-ty-p1-ic);
|
|
43
|
+
// text-align: var(--_thm-ty-p1-tt-an);
|
|
44
|
+
// letter-spacing: var(--_thm-ty-p1-cr-sg);
|
|
45
|
+
// line-height: var(--_thm-ty-p1-le-ht);
|
|
46
|
+
// text-decoration: var(--_thm-ty-p1-ue);
|
|
47
|
+
|
|
48
|
+
// Responsive
|
|
49
|
+
// @include prepareCustomClassCSSProps($rp);
|
|
50
|
+
@include prepareCustomClassCSSPropsV2($rp);
|
|
51
|
+
|
|
52
|
+
// Animation
|
|
53
|
+
@include FlexAnimationModuleStyles();
|
|
54
|
+
|
|
55
|
+
// Position
|
|
56
|
+
@include FlexPositionModuleStyles();
|
|
57
|
+
|
|
58
|
+
// Responsive
|
|
59
|
+
@include FlexElementResponsiveBehaviourStyles();
|
|
60
|
+
|
|
61
|
+
// Overflow
|
|
62
|
+
// @include FlexOverflowModuleStyles();
|
|
63
|
+
|
|
64
|
+
// Additional Tranform Properties
|
|
65
|
+
@include FlexElementTransformProps();
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
section {
|
|
69
|
+
&[data-div-type="section"] {
|
|
70
|
+
position: var(--_p-relative);
|
|
71
|
+
width: 100%;
|
|
72
|
+
margin: prepareMediaVariable(--_ctm-sec-lt-mn);
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
justify-self: stretch;
|
|
75
|
+
align-self: stretch;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
--_sf-element-vt-pd: max(
|
|
78
|
+
0.5px,
|
|
79
|
+
0.00625 * (var(--_cms-scaling-factor) - var(--_cms-scrollbar-width))
|
|
80
|
+
);
|
|
81
|
+
--_sf-element-hr-pd: max(
|
|
82
|
+
0.5px,
|
|
83
|
+
0.0117188 * (var(--_cms-scaling-factor) - var(--_cms-scrollbar-width))
|
|
84
|
+
);
|
|
85
|
+
box-shadow: var(
|
|
86
|
+
--_hide-section-shadow,
|
|
87
|
+
prepareMediaVariable(--_ctm-sec-dn-sw-ae) prepareMediaVariable(--_ctm-sec-dn-sw-b)
|
|
88
|
+
prepareMediaVariable(--_ctm-sec-dn-sw-sd) prepareMediaVariable(--_ctm-sec-dn-sw-cr)
|
|
89
|
+
);
|
|
90
|
+
background-color: prepareMediaVariable(--_ctm-sec-dn-bd-cr);
|
|
91
|
+
background-image: prepareMediaVariable(--_ctm-sec-dn-bd-ie);
|
|
92
|
+
background-attachment: prepareMediaVariable(--_ctm-sec-dn-bd-at);
|
|
93
|
+
background-position: prepareMediaVariable(--_ctm-sec-dn-bd-pn);
|
|
94
|
+
background-position-y: prepareMediaVariable(--_ctm-sec-dn-bd-pn-y);
|
|
95
|
+
background-repeat: prepareMediaVariable(--_ctm-sec-dn-bd-rt);
|
|
96
|
+
background-size: prepareMediaVariable(--_ctm-sec-dn-bd-se);
|
|
97
|
+
border-radius: prepareMediaVariable(--_ctm-sec-dn-br-rs) !important;
|
|
98
|
+
&[data-show-shadow="false"] {
|
|
99
|
+
--_hide-section-shadow: none;
|
|
100
|
+
}
|
|
101
|
+
&[data-show-border="false"] {
|
|
102
|
+
--_hide-section-border: none;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&:not(.#{$dp}, .#{$tb}, .#{$mb}) {
|
|
106
|
+
display: var(--_d-flex) !important;
|
|
107
|
+
}
|
|
108
|
+
& > div {
|
|
109
|
+
&[data-type="wrapper-layer"] {
|
|
110
|
+
display: var(--_d-flex) !important;
|
|
111
|
+
pointer-events: none;
|
|
112
|
+
position: var(--_p-absolute);
|
|
113
|
+
visibility: visible !important;
|
|
114
|
+
inset: 0 0 0 0;
|
|
115
|
+
// border-color: var(
|
|
116
|
+
// --_hide-section-border,
|
|
117
|
+
// var(--_ctm-mob-sec-dn-br-cr, var(--_ctm-tab-sec-dn-br-cr, var(--_ctm-sec-dn-br-cr)))
|
|
118
|
+
// );
|
|
119
|
+
border-color: var(--_hide-section-border, prepareMediaVariable(--_ctm-sec-dn-br-cr));
|
|
120
|
+
border-style: var(--_hide-section-border, prepareMediaVariable(--_ctm-sec-dn-br-se));
|
|
121
|
+
border-width: var(--_hide-section-border, prepareMediaVariable(--_ctm-sec-dn-br-wh));
|
|
122
|
+
border-radius: var(--_hide-section-border, prepareMediaVariable(--_ctm-sec-dn-br-rs));
|
|
123
|
+
}
|
|
124
|
+
&[data-div-type="cms-section-wrapper"] {
|
|
125
|
+
// max-width: var(--_sf-wp-mx-wt);
|
|
126
|
+
max-width: var(
|
|
127
|
+
--_sf-dt-sec-mw,
|
|
128
|
+
min(100%, prepareMediaVariable(--_ctm-sec-lt-wh))
|
|
129
|
+
) !important;
|
|
130
|
+
// min-height: prepareMediaVariable(--_ctm-sec-lt-mn-ht);
|
|
131
|
+
margin-inline: auto;
|
|
132
|
+
position: var(--_p-relative);
|
|
133
|
+
width: 100%;
|
|
134
|
+
// padding-inline: 10px;
|
|
135
|
+
// padding-block: 10px;
|
|
136
|
+
padding: prepareMediaVariable(--_ctm-sec-lt-pg);
|
|
137
|
+
column-gap: prepareMediaVariable(--_ctm-sec-lt-cn-gp);
|
|
138
|
+
row-gap: prepareMediaVariable(--_ctm-sec-lt-rw-gp);
|
|
139
|
+
|
|
140
|
+
&[data-vf="true"] {
|
|
141
|
+
--_sf-dt-sec-mw: 100%;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
div[data-div-type="element"] {
|
|
148
|
+
position: var(--_p-relative);
|
|
149
|
+
& > .wrapper {
|
|
150
|
+
grid-area: 1/1/2/2 !important;
|
|
151
|
+
|
|
152
|
+
a {
|
|
153
|
+
color: inherit;
|
|
154
|
+
text-decoration: none;
|
|
155
|
+
&.disabled {
|
|
156
|
+
opacity: 0.5;
|
|
157
|
+
pointer-events: none;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
&[data-view-state="full"] {
|
|
162
|
+
width: auto;
|
|
163
|
+
margin: 0;
|
|
164
|
+
cursor: auto;
|
|
165
|
+
justify-self: stretch !important;
|
|
166
|
+
align-self: stretch !important;
|
|
167
|
+
// &:not(#{$repeterLElement}) {
|
|
168
|
+
// }
|
|
169
|
+
&:is(#{$isFlexboxElementChild}) {
|
|
170
|
+
width: 100%;
|
|
171
|
+
}
|
|
172
|
+
&:is(#{$activeElementSelector}) {
|
|
173
|
+
& > div {
|
|
174
|
+
&[data-div-type="wrapper__layer"] {
|
|
175
|
+
--_sf-vt-zz: visible;
|
|
176
|
+
--_sf-op-zz: 1;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
& > .wrapper {
|
|
182
|
+
height: 100%;
|
|
183
|
+
width: 100%;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
// &:is([data-element-type="stack"].hrz > .wrapper > [data-div-type="element"]) {
|
|
187
|
+
// &:is([data-element-type="stack"]) {
|
|
188
|
+
// width: max(
|
|
189
|
+
// 0.5px,
|
|
190
|
+
// calc(#{prepareMediaVariable(--_ctm-sta-ele-nw-wh-vl)} / 100) *
|
|
191
|
+
// (var(--_cms-scaling-factor) - var(--_cms-scrollbar-width))
|
|
192
|
+
// );
|
|
193
|
+
// }
|
|
194
|
+
// &:is([data-element-type="container"]) {
|
|
195
|
+
// width: max(
|
|
196
|
+
// 0.5px,
|
|
197
|
+
// calc(#{prepareMediaVariable(--_ctm-con-ele-nw-wh-vl)} / 100) *
|
|
198
|
+
// (var(--_cms-scaling-factor) - var(--_cms-scrollbar-width))
|
|
199
|
+
// );
|
|
200
|
+
// }
|
|
201
|
+
|
|
202
|
+
// &:not([data-element-type="container"], [data-element-type="stack"]) {
|
|
203
|
+
// width: max(
|
|
204
|
+
// 0.5px,
|
|
205
|
+
// calc(#{prepareMediaVariable(--_ctm-ele-nw-wh-vl)} / 100) *
|
|
206
|
+
// (var(--_cms-scaling-factor) - var(--_cms-scrollbar-width))
|
|
207
|
+
// );
|
|
208
|
+
// }
|
|
209
|
+
// }
|
|
210
|
+
}
|