@total_onion/onion-library 3.0.38 → 3.0.41
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/component-block-padding-v3/block-padding-v3.scss +13 -13
- package/components/component-block-settings-v3/block-settings-v3.scss +13 -13
- package/onion-utils.mjs +70 -24
- package/package.json +1 -1
- package/public/block-accordion-v3/accordion-v3.css +0 -84
- package/public/block-post-info-v3/post-info-v3.css +0 -84
- package/public/block-product-info-v3/product-info-v3.css +0 -84
- package/public/block-single-responsive-image-v3/single-responsive-image-v3.css +53 -51
- package/public/block-standard-content-v3/standard-content-v3.css +359 -441
- package/public/block-sub-group-container-v3/sub-group-container-v3.css +258 -256
- package/public/block-video-content-v3/video-content-v3.css +96 -94
- package/public/dynamicBlockScss-v3.scss +36 -0
- package/public/publicBundleBase.css +315 -349
|
@@ -1,100 +1,102 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
display: grid;
|
|
7
|
-
grid-template: "video"/1fr;
|
|
8
|
-
grid-area: main;
|
|
9
|
-
opacity: 0;
|
|
10
|
-
pointer-events: none;
|
|
11
|
-
height: 100%;
|
|
12
|
-
width: 100%;
|
|
13
|
-
background-color: black;
|
|
14
|
-
transition: opacity 0.5s, background-color 1s;
|
|
15
|
-
z-index: -1;
|
|
16
|
-
}
|
|
17
|
-
@media screen and (min-width: 768px) {
|
|
1
|
+
@layer base-styles {
|
|
2
|
+
.video-content-v3 {
|
|
3
|
+
display: grid;
|
|
4
|
+
grid-template: "main"/1fr;
|
|
5
|
+
}
|
|
18
6
|
.video-content-v3__video-container {
|
|
7
|
+
display: grid;
|
|
8
|
+
grid-template: "video"/1fr;
|
|
9
|
+
grid-area: main;
|
|
10
|
+
opacity: 0;
|
|
11
|
+
pointer-events: none;
|
|
12
|
+
height: 100%;
|
|
13
|
+
width: 100%;
|
|
14
|
+
background-color: black;
|
|
15
|
+
transition: opacity 0.5s, background-color 1s;
|
|
16
|
+
z-index: -1;
|
|
17
|
+
}
|
|
18
|
+
@media screen and (min-width: 768px) {
|
|
19
|
+
.video-content-v3__video-container {
|
|
20
|
+
-o-object-fit: cover;
|
|
21
|
+
object-fit: cover;
|
|
22
|
+
grid-area: main;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.video-content-v3__video-container.video-playing {
|
|
26
|
+
pointer-events: all;
|
|
27
|
+
opacity: 1;
|
|
28
|
+
z-index: 10;
|
|
29
|
+
}
|
|
30
|
+
.video-content-v3__video-container.lock-video-aspect-to-image iframe,
|
|
31
|
+
.video-content-v3__video-container.lock-video-aspect-to-image video {
|
|
32
|
+
position: absolute;
|
|
33
|
+
inset: 0;
|
|
34
|
+
width: 100%;
|
|
35
|
+
height: 100%;
|
|
36
|
+
}
|
|
37
|
+
.video-content-v3__video-container.set-video-to-cover iframe,
|
|
38
|
+
.video-content-v3__video-container.set-video-to-cover video {
|
|
19
39
|
-o-object-fit: cover;
|
|
20
40
|
object-fit: cover;
|
|
41
|
+
-o-object-position: center;
|
|
42
|
+
object-position: center;
|
|
43
|
+
}
|
|
44
|
+
.video-content-v3__video-container .loading-wrapper {
|
|
45
|
+
position: absolute;
|
|
46
|
+
left: 50%;
|
|
47
|
+
top: 50%;
|
|
48
|
+
transform: translate(-50%, -50%);
|
|
49
|
+
width: calc(84 / var(--desktop-design-reference) * var(--screen-width-static));
|
|
50
|
+
height: calc(84 / var(--desktop-design-reference) * var(--screen-width-static));
|
|
51
|
+
--spinner-bg-colour: #ffffff54;
|
|
52
|
+
--spinner-colour: white;
|
|
53
|
+
}
|
|
54
|
+
.video-content-v3__video-container .loading-wrapper:before {
|
|
55
|
+
content: "";
|
|
56
|
+
top: 0;
|
|
57
|
+
left: 0;
|
|
58
|
+
width: calc(84 / var(--desktop-design-reference) * var(--screen-width-static));
|
|
59
|
+
height: calc(84 / var(--desktop-design-reference) * var(--screen-width-static));
|
|
60
|
+
position: absolute;
|
|
61
|
+
border-radius: 50%;
|
|
62
|
+
border-right: solid calc(5 / var(--desktop-design-reference) * var(--screen-width-static)) var(--spinner-bg-colour);
|
|
63
|
+
border-left: solid calc(5 / var(--desktop-design-reference) * var(--screen-width-static)) var(--spinner-bg-colour);
|
|
64
|
+
border-top: solid calc(5 / var(--desktop-design-reference) * var(--screen-width-static)) var(--spinner-bg-colour);
|
|
65
|
+
border-bottom: solid calc(5 / var(--desktop-design-reference) * var(--screen-width-static)) var(--spinner-colour);
|
|
66
|
+
animation: rotate 1s linear infinite;
|
|
67
|
+
}
|
|
68
|
+
.video-content-v3__video-play-button {
|
|
21
69
|
grid-area: main;
|
|
70
|
+
place-self: center;
|
|
71
|
+
transform: scale(1);
|
|
72
|
+
transition: transform 0.3s 0.5s;
|
|
73
|
+
}
|
|
74
|
+
.video-content-v3__video-play-button.video-playing {
|
|
75
|
+
transform: scale(0);
|
|
76
|
+
transition: transform 0.5s;
|
|
77
|
+
opacity: 0;
|
|
78
|
+
pointer-events: none;
|
|
79
|
+
max-height: 0px;
|
|
80
|
+
}
|
|
81
|
+
.video-content-v3__video-inner-container {
|
|
82
|
+
grid-area: video;
|
|
83
|
+
display: flex;
|
|
84
|
+
width: 100%;
|
|
85
|
+
position: relative;
|
|
86
|
+
}
|
|
87
|
+
.video-content-v3__video-inner-container iframe {
|
|
88
|
+
left: 0;
|
|
89
|
+
top: 0;
|
|
90
|
+
width: 100%;
|
|
91
|
+
height: 100%;
|
|
92
|
+
}
|
|
93
|
+
.video-content-v3__video-player {
|
|
94
|
+
height: auto;
|
|
95
|
+
-o-object-fit: contain;
|
|
96
|
+
object-fit: contain;
|
|
97
|
+
width: 100%;
|
|
98
|
+
}
|
|
99
|
+
.video-content-v3:has(.video-playing) {
|
|
100
|
+
z-index: 99;
|
|
22
101
|
}
|
|
23
|
-
}
|
|
24
|
-
.video-content-v3__video-container.video-playing {
|
|
25
|
-
pointer-events: all;
|
|
26
|
-
opacity: 1;
|
|
27
|
-
z-index: 10;
|
|
28
|
-
}
|
|
29
|
-
.video-content-v3__video-container.lock-video-aspect-to-image iframe,
|
|
30
|
-
.video-content-v3__video-container.lock-video-aspect-to-image video {
|
|
31
|
-
position: absolute;
|
|
32
|
-
inset: 0;
|
|
33
|
-
width: 100%;
|
|
34
|
-
height: 100%;
|
|
35
|
-
}
|
|
36
|
-
.video-content-v3__video-container.set-video-to-cover iframe,
|
|
37
|
-
.video-content-v3__video-container.set-video-to-cover video {
|
|
38
|
-
-o-object-fit: cover;
|
|
39
|
-
object-fit: cover;
|
|
40
|
-
-o-object-position: center;
|
|
41
|
-
object-position: center;
|
|
42
|
-
}
|
|
43
|
-
.video-content-v3__video-container .loading-wrapper {
|
|
44
|
-
position: absolute;
|
|
45
|
-
left: 50%;
|
|
46
|
-
top: 50%;
|
|
47
|
-
transform: translate(-50%, -50%);
|
|
48
|
-
width: calc(84 / var(--desktop-design-reference) * var(--screen-width-static));
|
|
49
|
-
height: calc(84 / var(--desktop-design-reference) * var(--screen-width-static));
|
|
50
|
-
--spinner-bg-colour: #ffffff54;
|
|
51
|
-
--spinner-colour: white;
|
|
52
|
-
}
|
|
53
|
-
.video-content-v3__video-container .loading-wrapper:before {
|
|
54
|
-
content: "";
|
|
55
|
-
top: 0;
|
|
56
|
-
left: 0;
|
|
57
|
-
width: calc(84 / var(--desktop-design-reference) * var(--screen-width-static));
|
|
58
|
-
height: calc(84 / var(--desktop-design-reference) * var(--screen-width-static));
|
|
59
|
-
position: absolute;
|
|
60
|
-
border-radius: 50%;
|
|
61
|
-
border-right: solid calc(5 / var(--desktop-design-reference) * var(--screen-width-static)) var(--spinner-bg-colour);
|
|
62
|
-
border-left: solid calc(5 / var(--desktop-design-reference) * var(--screen-width-static)) var(--spinner-bg-colour);
|
|
63
|
-
border-top: solid calc(5 / var(--desktop-design-reference) * var(--screen-width-static)) var(--spinner-bg-colour);
|
|
64
|
-
border-bottom: solid calc(5 / var(--desktop-design-reference) * var(--screen-width-static)) var(--spinner-colour);
|
|
65
|
-
animation: rotate 1s linear infinite;
|
|
66
|
-
}
|
|
67
|
-
.video-content-v3__video-play-button {
|
|
68
|
-
grid-area: main;
|
|
69
|
-
place-self: center;
|
|
70
|
-
transform: scale(1);
|
|
71
|
-
transition: transform 0.3s 0.5s;
|
|
72
|
-
}
|
|
73
|
-
.video-content-v3__video-play-button.video-playing {
|
|
74
|
-
transform: scale(0);
|
|
75
|
-
transition: transform 0.5s;
|
|
76
|
-
opacity: 0;
|
|
77
|
-
pointer-events: none;
|
|
78
|
-
max-height: 0px;
|
|
79
|
-
}
|
|
80
|
-
.video-content-v3__video-inner-container {
|
|
81
|
-
grid-area: video;
|
|
82
|
-
display: flex;
|
|
83
|
-
width: 100%;
|
|
84
|
-
position: relative;
|
|
85
|
-
}
|
|
86
|
-
.video-content-v3__video-inner-container iframe {
|
|
87
|
-
left: 0;
|
|
88
|
-
top: 0;
|
|
89
|
-
width: 100%;
|
|
90
|
-
height: 100%;
|
|
91
|
-
}
|
|
92
|
-
.video-content-v3__video-player {
|
|
93
|
-
height: auto;
|
|
94
|
-
-o-object-fit: contain;
|
|
95
|
-
object-fit: contain;
|
|
96
|
-
width: 100%;
|
|
97
|
-
}
|
|
98
|
-
.video-content-v3:has(.video-playing) {
|
|
99
|
-
z-index: 99;
|
|
100
102
|
}
|
|
@@ -1 +1,37 @@
|
|
|
1
1
|
// This file is auto-generated.
|
|
2
|
+
@use '../components/block-video-content-v3/video-content-v3.scss';
|
|
3
|
+
@use '../components/block-sub-group-container-v3/sub-group-container-v3.scss';
|
|
4
|
+
@use '../components/block-sticky-buy-cta-v3/sticky-buy-cta-v3.scss';
|
|
5
|
+
@use '../components/block-standard-content-v3/standard-content-v3.scss';
|
|
6
|
+
@use '../components/block-spotify-embed-v3/spotify-embed-v3.scss';
|
|
7
|
+
@use '../components/block-spacer-v3/spacer-v3.scss';
|
|
8
|
+
@use '../components/block-social-networks-v3/social-networks-v3.scss';
|
|
9
|
+
@use '../components/block-smash-balloon-social-media-v3/smash-balloon-social-media-v3.scss';
|
|
10
|
+
@use '../components/block-site-title-and-tagline-v3/site-title-and-tagline-v3.scss';
|
|
11
|
+
@use '../components/block-site-logo-container-v3/site-logo-container-v3.scss';
|
|
12
|
+
@use '../components/block-site-copyright-notice-v3/site-copyright-notice-v3.scss';
|
|
13
|
+
@use '../components/block-single-responsive-image-v3/single-responsive-image-v3.scss';
|
|
14
|
+
@use '../components/block-single-column-container-v3/single-column-container-v3.scss';
|
|
15
|
+
@use '../components/block-section-separator-v3/section-separator-v3.scss';
|
|
16
|
+
@use '../components/block-scrolling-banner-v3/scrolling-banner-v3.scss';
|
|
17
|
+
@use '../components/block-responsive-table-v3/responsive-table-v3.scss';
|
|
18
|
+
@use '../components/block-raw-html-v3/raw-html-v3.scss';
|
|
19
|
+
@use '../components/block-product-info-v3/product-info-v3.scss';
|
|
20
|
+
@use '../components/block-post-info-v3/post-info-v3.scss';
|
|
21
|
+
@use '../components/block-nav-menu-container-v3/nav-menu-container-v3.scss';
|
|
22
|
+
@use '../components/block-modal-form-v3/modal-form-v3.scss';
|
|
23
|
+
@use '../components/block-market-selector-v3/market-selector-v3.scss';
|
|
24
|
+
@use '../components/block-lottie-content-v3/lottie-content-v3.scss';
|
|
25
|
+
@use '../components/block-group-container-v3/group-container-v3.scss';
|
|
26
|
+
@use '../components/block-gradient-layer-v3/gradient-layer-v3.scss';
|
|
27
|
+
@use '../components/block-form-selection-v3/form-selection-v3.scss';
|
|
28
|
+
@use '../components/block-featured-image-gallery-v3/featured-image-gallery-v3.scss';
|
|
29
|
+
@use '../components/block-divider-v3/divider-v3.scss';
|
|
30
|
+
@use '../components/block-cover-link-v3/cover-link-v3.scss';
|
|
31
|
+
@use '../components/block-cocktail-recipe-v3/cocktail-recipe-v3.scss';
|
|
32
|
+
@use '../components/block-carousel-multi-layout-v3/carousel-multi-layout-v3.scss';
|
|
33
|
+
@use '../components/block-block-interactions-v3/block-interactions-v3.scss';
|
|
34
|
+
@use '../components/block-betterreviews-display-v3/betterreviews-display-v3.scss';
|
|
35
|
+
@use '../components/block-back-to-top-button-v3/back-to-top-button-v3.scss';
|
|
36
|
+
@use '../components/block-accordion-v3/accordion-v3.scss';
|
|
37
|
+
@use '../components/block-accent-image-v3/accent-image-v3.scss';
|