@total_onion/onion-library 3.0.42 → 3.0.43
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/components/block-betterreviews-display-v3/betterreviews-display-v3.scss +88 -81
- package/components/block-cocktail-recipe-v3/cocktail-recipe-v3.scss +264 -260
- package/components/block-cover-link-v3/cover-link-v3.scss +8 -6
- package/components/block-featured-image-gallery-v3/featured-image-gallery-v3.scss +81 -80
- package/components/block-form-selection-v3/form-selection-v3.scss +28 -27
- package/components/block-gradient-layer-v3/gradient-layer-v3.scss +6 -4
- package/components/block-group-container-v3/group-container-v3.scss +34 -31
- package/components/block-product-info-v3/product-info-v3.scss +149 -148
- package/components/block-responsive-table-v3/responsive-table-v3.scss +40 -39
- package/components/block-section-separator-v3/section-separator-v3.scss +28 -26
- package/components/block-single-column-container-v3/single-column-container-v3.scss +11 -9
- package/components/component-content-box-settings-v3/content-box-settings-v3.scss +0 -7
- package/package.json +1 -1
|
@@ -1,48 +1,49 @@
|
|
|
1
1
|
@use '../fields-core-functions-v3/core-functions-v3';
|
|
2
2
|
@use '../fields-core-mixins-v3/core-mixins-v3';
|
|
3
3
|
@use '../../breakpoints';
|
|
4
|
-
|
|
5
|
-
.responsive-table-v3 {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
&__headings {
|
|
15
|
-
display: grid;
|
|
16
|
-
grid-auto-flow: column;
|
|
17
|
-
grid-column: 1/ (var(--headings));
|
|
18
|
-
grid-template-columns: subgrid;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&__heading {
|
|
22
|
-
grid-row: 1;
|
|
23
|
-
background-color: var(--background-column-headers);
|
|
24
|
-
padding: core-functions-v3.fluidSize(5, 'mobile');
|
|
25
|
-
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
26
|
-
padding: core-functions-v3.fluidSize(5, 'portrait');
|
|
4
|
+
@layer base-styles {
|
|
5
|
+
.responsive-table-v3 {
|
|
6
|
+
&__wrapper {
|
|
7
|
+
display: grid;
|
|
8
|
+
grid-auto-flow: column;
|
|
9
|
+
gap: calc(
|
|
10
|
+
var(--global-inline-spacing) * var(--table-spacing-gap-desktop)
|
|
11
|
+
);
|
|
12
|
+
overflow: auto;
|
|
27
13
|
}
|
|
28
|
-
|
|
29
|
-
|
|
14
|
+
&__headings {
|
|
15
|
+
display: grid;
|
|
16
|
+
grid-auto-flow: column;
|
|
17
|
+
grid-column: 1/ (var(--headings));
|
|
18
|
+
grid-template-columns: subgrid;
|
|
30
19
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
20
|
+
|
|
21
|
+
&__heading {
|
|
22
|
+
grid-row: 1;
|
|
23
|
+
background-color: var(--background-column-headers);
|
|
24
|
+
padding: core-functions-v3.fluidSize(5);
|
|
25
|
+
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
26
|
+
padding: core-functions-v3.fluidSize(5);
|
|
27
|
+
}
|
|
28
|
+
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
29
|
+
padding: core-functions-v3.fluidSize(5);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
&__item {
|
|
33
|
+
display: grid;
|
|
34
|
+
grid-auto-flow: column;
|
|
35
|
+
grid-column: 1/ (var(--headings));
|
|
36
|
+
grid-template-columns: subgrid;
|
|
43
37
|
}
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
&__item-value {
|
|
39
|
+
background-color: var(--background-colour-items);
|
|
40
|
+
padding: core-functions-v3.fluidSize(5);
|
|
41
|
+
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
42
|
+
padding: core-functions-v3.fluidSize(5);
|
|
43
|
+
}
|
|
44
|
+
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
45
|
+
padding: core-functions-v3.fluidSize(5);
|
|
46
|
+
}
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
49
|
}
|
|
@@ -2,38 +2,40 @@
|
|
|
2
2
|
@use '../fields-core-functions-v3/core-functions-v3';
|
|
3
3
|
@use '../../breakpoints';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
@layer base-styles {
|
|
6
|
+
.section-separator-v3 {
|
|
7
|
+
@include core-mixins-v3.responsiveShowHide(grid);
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
&__secondary-image {
|
|
18
|
-
position: absolute;
|
|
19
|
-
place-self: center var(--horizontal-position);
|
|
20
|
-
translate: var(--horizontal-offset) var(--vertical-offset);
|
|
21
|
-
top: 0;
|
|
22
|
-
max-width: core-functions-v3.fluidSize(
|
|
23
|
-
var(--max-width-mobile),
|
|
24
|
-
'mobile'
|
|
25
|
-
);
|
|
9
|
+
&__separator-image {
|
|
10
|
+
width: 100%;
|
|
11
|
+
position: absolute;
|
|
12
|
+
display: block;
|
|
13
|
+
translate: 0 -50%;
|
|
14
|
+
height: auto;
|
|
15
|
+
top: 0;
|
|
16
|
+
}
|
|
26
17
|
|
|
27
|
-
|
|
18
|
+
&__secondary-image {
|
|
19
|
+
position: absolute;
|
|
20
|
+
place-self: center var(--horizontal-position);
|
|
21
|
+
translate: var(--horizontal-offset) var(--vertical-offset);
|
|
22
|
+
top: 0;
|
|
28
23
|
max-width: core-functions-v3.fluidSize(
|
|
29
|
-
var(--max-width-
|
|
30
|
-
'
|
|
24
|
+
var(--max-width-mobile),
|
|
25
|
+
'mobile'
|
|
31
26
|
);
|
|
32
|
-
|
|
27
|
+
|
|
28
|
+
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
33
29
|
max-width: core-functions-v3.fluidSize(
|
|
34
|
-
var(--max-width-
|
|
35
|
-
'
|
|
30
|
+
var(--max-width-portrait),
|
|
31
|
+
'portrait'
|
|
36
32
|
);
|
|
33
|
+
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
34
|
+
max-width: core-functions-v3.fluidSize(
|
|
35
|
+
var(--max-width-desktop),
|
|
36
|
+
'desktop'
|
|
37
|
+
);
|
|
38
|
+
}
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
grid-template: 'main' / 1fr;
|
|
4
|
-
place-items: center;
|
|
5
|
-
position: relative;
|
|
6
|
-
&__block-container {
|
|
1
|
+
@layer base-styles {
|
|
2
|
+
.single-column-container-v3 {
|
|
7
3
|
display: grid;
|
|
8
|
-
grid-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
grid-template: 'main' / 1fr;
|
|
5
|
+
place-items: center;
|
|
6
|
+
position: relative;
|
|
7
|
+
&__block-container {
|
|
8
|
+
display: grid;
|
|
9
|
+
grid-area: main;
|
|
10
|
+
z-index: 5;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
11
13
|
}
|
|
12
14
|
}
|