@total_onion/onion-library 3.0.35 → 3.0.37
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.
|
@@ -3,60 +3,62 @@
|
|
|
3
3
|
@use '../../breakpoints';
|
|
4
4
|
|
|
5
5
|
@mixin blockPadding() {
|
|
6
|
-
|
|
7
|
-
padding
|
|
8
|
-
var(--global-inline-spacing) *
|
|
9
|
-
var(--padding-block-multiplier-mobile-top)
|
|
10
|
-
)
|
|
11
|
-
calc(
|
|
12
|
-
var(--global-inline-spacing) *
|
|
13
|
-
var(--padding-inline-multiplier-mobile-right)
|
|
14
|
-
)
|
|
15
|
-
calc(
|
|
16
|
-
var(--global-inline-spacing) *
|
|
17
|
-
var(--padding-block-multiplier-mobile-bottom)
|
|
18
|
-
)
|
|
19
|
-
calc(
|
|
20
|
-
var(--global-inline-spacing) *
|
|
21
|
-
var(--padding-inline-multiplier-mobile-left)
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
6
|
+
@layer base-styles {
|
|
7
|
+
.cmpl-block-padding {
|
|
25
8
|
padding: calc(
|
|
26
9
|
var(--global-inline-spacing) *
|
|
27
|
-
var(--padding-block-multiplier-
|
|
10
|
+
var(--padding-block-multiplier-mobile-top)
|
|
28
11
|
)
|
|
29
12
|
calc(
|
|
30
13
|
var(--global-inline-spacing) *
|
|
31
|
-
var(--padding-inline-multiplier-
|
|
14
|
+
var(--padding-inline-multiplier-mobile-right)
|
|
32
15
|
)
|
|
33
16
|
calc(
|
|
34
17
|
var(--global-inline-spacing) *
|
|
35
|
-
var(--padding-block-multiplier-
|
|
18
|
+
var(--padding-block-multiplier-mobile-bottom)
|
|
36
19
|
)
|
|
37
20
|
calc(
|
|
38
21
|
var(--global-inline-spacing) *
|
|
39
|
-
var(--padding-inline-multiplier-
|
|
22
|
+
var(--padding-inline-multiplier-mobile-left)
|
|
40
23
|
);
|
|
41
|
-
}
|
|
42
24
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
25
|
+
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
26
|
+
padding: calc(
|
|
27
|
+
var(--global-inline-spacing) *
|
|
28
|
+
var(--padding-block-multiplier-portrait-top)
|
|
29
|
+
)
|
|
30
|
+
calc(
|
|
31
|
+
var(--global-inline-spacing) *
|
|
32
|
+
var(--padding-inline-multiplier-portrait-right)
|
|
33
|
+
)
|
|
34
|
+
calc(
|
|
35
|
+
var(--global-inline-spacing) *
|
|
36
|
+
var(--padding-block-multiplier-portrait-bottom)
|
|
37
|
+
)
|
|
38
|
+
calc(
|
|
39
|
+
var(--global-inline-spacing) *
|
|
40
|
+
var(--padding-inline-multiplier-portrait-left)
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
45
|
+
padding: calc(
|
|
46
|
+
var(--global-inline-spacing) *
|
|
47
|
+
var(--padding-block-multiplier-desktop-top)
|
|
48
|
+
)
|
|
49
|
+
calc(
|
|
50
|
+
var(--global-inline-spacing) *
|
|
51
|
+
var(--padding-inline-multiplier-desktop-right)
|
|
52
|
+
)
|
|
53
|
+
calc(
|
|
54
|
+
var(--global-inline-spacing) *
|
|
55
|
+
var(--padding-block-multiplier-desktop-bottom)
|
|
56
|
+
)
|
|
57
|
+
calc(
|
|
58
|
+
var(--global-inline-spacing) *
|
|
59
|
+
var(--padding-inline-multiplier-desktop-left)
|
|
60
|
+
);
|
|
61
|
+
}
|
|
60
62
|
}
|
|
61
63
|
}
|
|
62
64
|
}
|
package/components/component-core-group-container-styles-v3/core-group-container-styles-v3.scss
CHANGED
|
@@ -6,39 +6,43 @@
|
|
|
6
6
|
@use '../../breakpoints';
|
|
7
7
|
|
|
8
8
|
@mixin coreGroupContainerStylesV3() {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
@layer base-styles {
|
|
10
|
+
.cmpl-core-group-container-styles {
|
|
11
|
+
display: grid;
|
|
12
|
+
grid-template: 'main' / 1fr;
|
|
13
|
+
place-items: center;
|
|
14
|
+
&__grid-container {
|
|
15
|
+
grid-area: main;
|
|
16
|
+
place-self: stretch;
|
|
17
|
+
&.flex-layout-container {
|
|
18
|
+
@include flex-layout-container-v3.flexLayoutContainer();
|
|
19
|
+
}
|
|
20
|
+
&.grid-layout-container {
|
|
21
|
+
@include grid-layout-container-v3.gridLayoutContainer();
|
|
22
|
+
}
|
|
18
23
|
}
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
&__block-container {
|
|
25
|
+
pointer-events: none;
|
|
26
|
+
position: relative;
|
|
27
|
+
&.grid-layout-container {
|
|
28
|
+
@include grid-layout-element-v3.gridLayoutElement();
|
|
29
|
+
}
|
|
30
|
+
&:has(
|
|
31
|
+
.video-content-v3__video-container.video-playing.video-playing--high-z-index
|
|
32
|
+
) {
|
|
33
|
+
z-index: 50;
|
|
34
|
+
}
|
|
21
35
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
36
|
+
&__block-number {
|
|
37
|
+
z-index: 99;
|
|
38
|
+
position: absolute;
|
|
39
|
+
font-size: 40px;
|
|
40
|
+
left: 50%;
|
|
41
|
+
top: 50%;
|
|
42
|
+
transform: translate(-50%, -50%);
|
|
43
|
+
color: white;
|
|
44
|
+
text-shadow: 1px 1px 1px blue;
|
|
31
45
|
}
|
|
32
46
|
}
|
|
33
|
-
&__block-number {
|
|
34
|
-
z-index: 99;
|
|
35
|
-
position: absolute;
|
|
36
|
-
font-size: 40px;
|
|
37
|
-
left: 50%;
|
|
38
|
-
top: 50%;
|
|
39
|
-
transform: translate(-50%, -50%);
|
|
40
|
-
color: white;
|
|
41
|
-
text-shadow: 1px 1px 1px blue;
|
|
42
|
-
}
|
|
43
47
|
}
|
|
44
48
|
}
|