@total_onion/onion-library 2.0.112 → 2.0.114
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.
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use '../fields-core-mixins-v3/core-mixins-v3';
|
|
2
2
|
@use '../fields-core-functions-v3/core-functions-v3';
|
|
3
3
|
@use '../../breakpoints';
|
|
4
|
-
// @use 'Assets/scss/modules/library-modules/core-gradient-designer/core-gradient-designer';
|
|
5
4
|
@use '../component-grid-layout-element-v3/grid-layout-element-v3';
|
|
6
5
|
@use '../component-element-positioning-v3/element-positioning-v3';
|
|
7
6
|
|
|
@@ -9,18 +8,6 @@
|
|
|
9
8
|
z-index: 10;
|
|
10
9
|
position: relative;
|
|
11
10
|
background-color: var(--block-background-colour);
|
|
12
|
-
.mobile-menu-active & {
|
|
13
|
-
z-index: 9999;
|
|
14
|
-
}
|
|
15
|
-
&__post-cover-link {
|
|
16
|
-
grid-area: unset;
|
|
17
|
-
position: absolute;
|
|
18
|
-
inset: 0;
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
z-index: 99;
|
|
22
|
-
opacity: 0;
|
|
23
|
-
}
|
|
24
11
|
|
|
25
12
|
&__main-container {
|
|
26
13
|
display: grid;
|
|
@@ -52,8 +39,7 @@
|
|
|
52
39
|
'loadmore' / 1fr;
|
|
53
40
|
}
|
|
54
41
|
|
|
55
|
-
&[data-layout='2']
|
|
56
|
-
&[data-layout='5'] {
|
|
42
|
+
&[data-layout='2'] {
|
|
57
43
|
grid-template:
|
|
58
44
|
'filter '
|
|
59
45
|
'sort'
|
|
@@ -61,8 +47,7 @@
|
|
|
61
47
|
'grid'
|
|
62
48
|
'loadmore' / 1fr;
|
|
63
49
|
}
|
|
64
|
-
&[data-layout='3']
|
|
65
|
-
&[data-layout='4'] {
|
|
50
|
+
&[data-layout='3'] {
|
|
66
51
|
grid-template:
|
|
67
52
|
'filter '
|
|
68
53
|
'sort'
|
|
@@ -83,8 +68,7 @@
|
|
|
83
68
|
background-color: var(--filter-background-colour-mobile);
|
|
84
69
|
place-items: center;
|
|
85
70
|
|
|
86
|
-
&[data-layout='2']
|
|
87
|
-
&[data-layout='5'] {
|
|
71
|
+
&[data-layout='2'] {
|
|
88
72
|
width: 100%;
|
|
89
73
|
padding-bottom: calc(var(--global-inline-spacing) / 2);
|
|
90
74
|
}
|
|
@@ -93,226 +77,10 @@
|
|
|
93
77
|
top: core-functions-v3.fluidSize(140, 'portrait');
|
|
94
78
|
}
|
|
95
79
|
|
|
96
|
-
&[data-layout='5'] {
|
|
97
|
-
top: unset;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
80
|
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
101
81
|
background-color: var(--filter-background-colour);
|
|
102
82
|
top: 0;
|
|
103
83
|
}
|
|
104
|
-
|
|
105
|
-
&[data-layout='5'] {
|
|
106
|
-
top: unset;
|
|
107
|
-
.post-type-filter-grid-v3 {
|
|
108
|
-
&__open-filter-toggle {
|
|
109
|
-
display: none;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
&[data-layout='3'] {
|
|
114
|
-
.post-type-filter-grid-v3 {
|
|
115
|
-
&__open-filter-toggle {
|
|
116
|
-
display: none;
|
|
117
|
-
}
|
|
118
|
-
&__filter-top-level-categories {
|
|
119
|
-
overflow: scroll;
|
|
120
|
-
flex-wrap: nowrap;
|
|
121
|
-
justify-content: center;
|
|
122
|
-
}
|
|
123
|
-
&__filter-container {
|
|
124
|
-
height: auto;
|
|
125
|
-
display: flex;
|
|
126
|
-
flex-direction: column-reverse;
|
|
127
|
-
}
|
|
128
|
-
&__filter-categories {
|
|
129
|
-
display: grid;
|
|
130
|
-
padding-bottom: core-functions-v3.fluidSize(20, 'static');
|
|
131
|
-
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
132
|
-
place-items: center;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
&__filter-top-level-category-container {
|
|
136
|
-
display: flex;
|
|
137
|
-
list-style-type: none;
|
|
138
|
-
place-items: flex-start;
|
|
139
|
-
margin: auto;
|
|
140
|
-
gap: core-functions-v3.fluidSize(30, 'static');
|
|
141
|
-
}
|
|
142
|
-
&__filter-categories-container {
|
|
143
|
-
display: grid;
|
|
144
|
-
grid-template: 'main'/1fr;
|
|
145
|
-
overflow: scroll;
|
|
146
|
-
width: 100%;
|
|
147
|
-
scrollbar-width: none; /* Firefox */
|
|
148
|
-
-ms-overflow-style: none; /* IE 10+ */
|
|
149
|
-
&::-webkit-scrollbar {
|
|
150
|
-
background: transparent; /* Chrome/Safari/Webkit */
|
|
151
|
-
width: 0px;
|
|
152
|
-
display: none;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
&__filter-top-level-category {
|
|
156
|
-
grid-area: main;
|
|
157
|
-
margin: 0;
|
|
158
|
-
&::after {
|
|
159
|
-
content: unset;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
&__filter-subcategories-container {
|
|
163
|
-
display: grid;
|
|
164
|
-
grid-template: 'main' / 1fr;
|
|
165
|
-
overflow: scroll;
|
|
166
|
-
scrollbar-width: none; /* Firefox */
|
|
167
|
-
-ms-overflow-style: none; /* IE 10+ */
|
|
168
|
-
&::-webkit-scrollbar {
|
|
169
|
-
background: transparent; /* Chrome/Safari/Webkit */
|
|
170
|
-
width: 0px;
|
|
171
|
-
display: none;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
&__filter-subcategory-list {
|
|
175
|
-
grid-area: main;
|
|
176
|
-
display: flex;
|
|
177
|
-
opacity: 0;
|
|
178
|
-
pointer-events: none;
|
|
179
|
-
margin-bottom: 0;
|
|
180
|
-
gap: core-functions-v3.fluidSize(30, 'static');
|
|
181
|
-
max-height: 0;
|
|
182
|
-
transition: unset;
|
|
183
|
-
width: 0;
|
|
184
|
-
max-width: 100%;
|
|
185
|
-
justify-self: center;
|
|
186
|
-
flex-wrap: var(--sub-filter-overflow-mobile);
|
|
187
|
-
overflow: var(--sub-filter-overflow-mobile);
|
|
188
|
-
justify-content: var(--sub-filter-overflow-center-mobile);
|
|
189
|
-
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
190
|
-
flex-wrap: var(--sub-filter-overflow-tablet);
|
|
191
|
-
overflow: var(--sub-filter-overflow-tablet);
|
|
192
|
-
justify-content: var(
|
|
193
|
-
--sub-filter-overflow-center-tablet
|
|
194
|
-
);
|
|
195
|
-
}
|
|
196
|
-
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
197
|
-
flex-wrap: var(--sub-filter-overflow-desktop);
|
|
198
|
-
overflow: var(--sub-filter-overflow-desktop);
|
|
199
|
-
justify-content: var(
|
|
200
|
-
--sub-filter-overflow-center-desktop
|
|
201
|
-
);
|
|
202
|
-
}
|
|
203
|
-
scrollbar-width: none; /* Firefox */
|
|
204
|
-
-ms-overflow-style: none; /* IE 10+ */
|
|
205
|
-
&::-webkit-scrollbar {
|
|
206
|
-
background: transparent; /* Chrome/Safari/Webkit */
|
|
207
|
-
width: 0px;
|
|
208
|
-
}
|
|
209
|
-
&--active {
|
|
210
|
-
opacity: 1;
|
|
211
|
-
pointer-events: all;
|
|
212
|
-
max-height: 1000px;
|
|
213
|
-
&[data-layout='3'] {
|
|
214
|
-
width: fit-content;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
&__filter-subcategory-list-item {
|
|
219
|
-
margin: 0;
|
|
220
|
-
justify-content: center;
|
|
221
|
-
&--active {
|
|
222
|
-
opacity: 1;
|
|
223
|
-
pointer-events: all;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
&__show-all {
|
|
227
|
-
place-self: center;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
&[data-layout='4'] {
|
|
232
|
-
@media all and (max-width: breakpoints.$tabLandscape - 1) {
|
|
233
|
-
.post-type-filter-grid-v3 {
|
|
234
|
-
&__filter-container--open {
|
|
235
|
-
background-color: var(
|
|
236
|
-
--filter-background-colour-mobile
|
|
237
|
-
);
|
|
238
|
-
position: fixed;
|
|
239
|
-
top: 0;
|
|
240
|
-
left: 0;
|
|
241
|
-
width: 100%;
|
|
242
|
-
height: 100%;
|
|
243
|
-
justify-content: flex-start;
|
|
244
|
-
z-index: 9;
|
|
245
|
-
}
|
|
246
|
-
&__filter-categories {
|
|
247
|
-
display: flex;
|
|
248
|
-
flex-direction: column;
|
|
249
|
-
justify-content: flex-start;
|
|
250
|
-
}
|
|
251
|
-
&__filter-update-button {
|
|
252
|
-
position: absolute;
|
|
253
|
-
width: 100%;
|
|
254
|
-
bottom: 0;
|
|
255
|
-
left: 0;
|
|
256
|
-
z-index: 99999;
|
|
257
|
-
}
|
|
258
|
-
&__filter-category.active {
|
|
259
|
-
background-color: var(
|
|
260
|
-
--filter-background-colour-mobile
|
|
261
|
-
);
|
|
262
|
-
width: 100%;
|
|
263
|
-
top: 0;
|
|
264
|
-
left: 0;
|
|
265
|
-
position: absolute;
|
|
266
|
-
height: 100%;
|
|
267
|
-
z-index: 99999;
|
|
268
|
-
justify-content: flex-start;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
273
|
-
.post-type-filter-grid-v3 {
|
|
274
|
-
&__filter-update-button {
|
|
275
|
-
display: none;
|
|
276
|
-
}
|
|
277
|
-
&__filter-container {
|
|
278
|
-
overflow: visible;
|
|
279
|
-
}
|
|
280
|
-
&__filter-categories {
|
|
281
|
-
display: flex;
|
|
282
|
-
flex-direction: row;
|
|
283
|
-
justify-content: center;
|
|
284
|
-
}
|
|
285
|
-
&__filter-categories-label {
|
|
286
|
-
@include core-mixins-v3.device(
|
|
287
|
-
breakpoints.$tabLandscape
|
|
288
|
-
) {
|
|
289
|
-
display: none;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
&__cta {
|
|
293
|
-
min-width: core-functions-v3.fluidSize(230, 'desktop');
|
|
294
|
-
width: auto;
|
|
295
|
-
&:hover {
|
|
296
|
-
background-color: unset;
|
|
297
|
-
color: unset;
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
&__filter-subcategory-list {
|
|
301
|
-
display: none;
|
|
302
|
-
}
|
|
303
|
-
&__cta.active {
|
|
304
|
-
.post-type-filter-grid-v3__filter-subcategory-list {
|
|
305
|
-
display: flex;
|
|
306
|
-
position: absolute;
|
|
307
|
-
background-color: var(--filter-background-colour);
|
|
308
|
-
width: auto;
|
|
309
|
-
flex-direction: column;
|
|
310
|
-
top: core-functions-v3.fluidSize(60, 'desktop');
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
84
|
}
|
|
317
85
|
|
|
318
86
|
&__filter-container {
|
|
@@ -326,8 +94,7 @@
|
|
|
326
94
|
height: auto;
|
|
327
95
|
background-color: transparent;
|
|
328
96
|
|
|
329
|
-
&[data-layout='2']
|
|
330
|
-
&[data-layout='5'] {
|
|
97
|
+
&[data-layout='2'] {
|
|
331
98
|
display: flex;
|
|
332
99
|
gap: core-functions-v3.fluidSize(20, 'desktop');
|
|
333
100
|
grid-auto-flow: column;
|
|
@@ -338,15 +105,6 @@
|
|
|
338
105
|
max-width: 100%;
|
|
339
106
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
340
107
|
}
|
|
341
|
-
&[data-layout='5'] {
|
|
342
|
-
grid-auto-flow: unset;
|
|
343
|
-
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
344
|
-
grid-auto-flow: column;
|
|
345
|
-
}
|
|
346
|
-
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
347
|
-
grid-auto-flow: column;
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
108
|
}
|
|
351
109
|
|
|
352
110
|
&--open {
|
|
@@ -408,8 +166,7 @@
|
|
|
408
166
|
padding-bottom: var(--global-inline-spacing);
|
|
409
167
|
width: 100%;
|
|
410
168
|
|
|
411
|
-
&[data-layout='2']
|
|
412
|
-
&[data-layout='5'] {
|
|
169
|
+
&[data-layout='2'] {
|
|
413
170
|
padding-bottom: unset;
|
|
414
171
|
}
|
|
415
172
|
|
|
@@ -418,8 +175,7 @@
|
|
|
418
175
|
position: relative;
|
|
419
176
|
gap: core-functions-v3.fluidSize(20, 'portrait');
|
|
420
177
|
|
|
421
|
-
&[data-layout='2']
|
|
422
|
-
&[data-layout='5'] {
|
|
178
|
+
&[data-layout='2'] {
|
|
423
179
|
grid-auto-flow: column;
|
|
424
180
|
grid-auto-columns: 1fr;
|
|
425
181
|
width: max-content;
|
|
@@ -449,18 +205,6 @@
|
|
|
449
205
|
}
|
|
450
206
|
|
|
451
207
|
&__filter-subcategory-list {
|
|
452
|
-
&[data-layout='5'] {
|
|
453
|
-
flex-direction: column;
|
|
454
|
-
margin: unset;
|
|
455
|
-
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
456
|
-
flex-direction: unset;
|
|
457
|
-
margin: auto;
|
|
458
|
-
}
|
|
459
|
-
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
460
|
-
flex-direction: unset;
|
|
461
|
-
margin: auto;
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
208
|
list-style-type: none;
|
|
465
209
|
display: flex;
|
|
466
210
|
flex-wrap: wrap;
|
|
@@ -501,17 +245,7 @@
|
|
|
501
245
|
width: initial;
|
|
502
246
|
}
|
|
503
247
|
|
|
504
|
-
&[data-layout='2']
|
|
505
|
-
&[data-layout='5'] {
|
|
506
|
-
margin: unset;
|
|
507
|
-
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
508
|
-
margin: auto;
|
|
509
|
-
}
|
|
510
|
-
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
511
|
-
margin: auto;
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
&[data-layout='5'] {
|
|
248
|
+
&[data-layout='2'] {
|
|
515
249
|
margin: unset;
|
|
516
250
|
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
517
251
|
margin: auto;
|
|
@@ -709,31 +443,6 @@
|
|
|
709
443
|
}
|
|
710
444
|
}
|
|
711
445
|
|
|
712
|
-
&__overlay {
|
|
713
|
-
inset: 0;
|
|
714
|
-
z-index: 1;
|
|
715
|
-
grid-row: var(--gradient-overlay-row-start, 1) /
|
|
716
|
-
var(--gradient-overlay-row-end, -1);
|
|
717
|
-
|
|
718
|
-
&--gradient-overlay-top,
|
|
719
|
-
&--gradient-overlay-right,
|
|
720
|
-
&--gradient-overlay-bottom,
|
|
721
|
-
&--gradient-overlay-left {
|
|
722
|
-
// @include core-gradient-designer.gradientDesigner();
|
|
723
|
-
position: absolute;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
&--gradient-overlay-vertical {
|
|
727
|
-
// @include core-gradient-designer.gradientDesignerVertical();
|
|
728
|
-
position: absolute;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
&--gradient-overlay-horizontal {
|
|
732
|
-
// @include core-gradient-designer.gradientDesignerHorizontal();
|
|
733
|
-
position: absolute;
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
|
|
737
446
|
&__post-image-container-link {
|
|
738
447
|
display: grid;
|
|
739
448
|
grid-template: 'main' / 1fr;
|
|
@@ -771,7 +480,6 @@
|
|
|
771
480
|
&:not(.post-type-filter-grid-v3__post-link, .post-type-filter-grid-v3__product-buy-now, .post-type-filter-grid-v3__post-image-container-link, .post-type-filter-grid-v3__post-tags, .post-type-filter-grid-v3__shopify) {
|
|
772
481
|
* {
|
|
773
482
|
width: 100%;
|
|
774
|
-
// @include core-mixins-v3.textStyle();
|
|
775
483
|
}
|
|
776
484
|
}
|
|
777
485
|
}
|
|
@@ -851,7 +559,6 @@
|
|
|
851
559
|
}
|
|
852
560
|
&__post-headline {
|
|
853
561
|
width: 100%;
|
|
854
|
-
// @include core-mixins-v3.textStyle();
|
|
855
562
|
}
|
|
856
563
|
&__post-title-icon {
|
|
857
564
|
width: 1em;
|
|
@@ -949,11 +656,6 @@
|
|
|
949
656
|
}
|
|
950
657
|
}
|
|
951
658
|
}
|
|
952
|
-
&__product-c7-add-to-cart {
|
|
953
|
-
display: flex;
|
|
954
|
-
align-items: flex-end;
|
|
955
|
-
z-index: 2;
|
|
956
|
-
}
|
|
957
659
|
|
|
958
660
|
&__post-tags {
|
|
959
661
|
display: flex;
|
|
@@ -963,26 +665,6 @@
|
|
|
963
665
|
z-index: 2;
|
|
964
666
|
}
|
|
965
667
|
|
|
966
|
-
&__person-email {
|
|
967
|
-
display: flex;
|
|
968
|
-
gap: 1em;
|
|
969
|
-
align-items: center;
|
|
970
|
-
}
|
|
971
|
-
&__person-email-icon {
|
|
972
|
-
width: 1em;
|
|
973
|
-
}
|
|
974
|
-
&__person-rating-star-container {
|
|
975
|
-
display: flex;
|
|
976
|
-
--rating-star-colour: #f8b94c;
|
|
977
|
-
padding: core-functions-v3.fluidSize(10, 'static');
|
|
978
|
-
}
|
|
979
|
-
&__person-rating-star {
|
|
980
|
-
width: core-functions-v3.fluidSize(20, 'static');
|
|
981
|
-
}
|
|
982
|
-
&__person-rating-star * {
|
|
983
|
-
fill: var(--rating-star-colour);
|
|
984
|
-
}
|
|
985
|
-
|
|
986
668
|
&__load-more-container {
|
|
987
669
|
grid-area: loadmore;
|
|
988
670
|
width: 100%;
|
|
@@ -1036,10 +718,6 @@
|
|
|
1036
718
|
}
|
|
1037
719
|
|
|
1038
720
|
&__show-all {
|
|
1039
|
-
&[data-layout='5'] {
|
|
1040
|
-
text-align: left;
|
|
1041
|
-
justify-content: flex-start;
|
|
1042
|
-
}
|
|
1043
721
|
z-index: 2;
|
|
1044
722
|
position: relative;
|
|
1045
723
|
width: auto;
|
|
@@ -1053,8 +731,7 @@
|
|
|
1053
731
|
}
|
|
1054
732
|
|
|
1055
733
|
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
1056
|
-
&[data-layout='2']
|
|
1057
|
-
&[data-layout='5'] {
|
|
734
|
+
&[data-layout='2'] {
|
|
1058
735
|
grid-column: 1;
|
|
1059
736
|
width: max-content;
|
|
1060
737
|
}
|