@total_onion/onion-library 2.0.149 → 2.0.151
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-post-type-filter-grid-v3/post-type-filter-grid-v3/post-link-widget.vue +4 -1
- package/components/block-raw-html-v3/raw-html-v3.js +7 -0
- package/components/block-raw-html-v3/raw-html-v3.scss +2 -0
- package/createDynamicBlockScss-v3.js +0 -1
- package/package.json +1 -1
- package/public/assetList.mjs +1 -1
- package/public/block-post-type-filter-grid-v3/post-type-filter-grid-v3.js +11 -11
- package/public/dynamicBlockScss-v3.scss +1 -0
- package/public/jsAssets.mjs +1 -1
- package/public/block-video-content-v3/video-content-v3.js +0 -11
- package/public/components/block-accent-image-v3/accent-image-v3.css +0 -0
- package/public/components/block-accent-image-v3/accent-image-v3.js +0 -7
- package/public/components/block-accordion-v3/accordion-v3.css +0 -474
- package/public/components/block-accordion-v3/accordion-v3.js +0 -117
- package/public/components/block-back-to-top-button-v3/back-to-top-button-v3.css +0 -62
- package/public/components/block-back-to-top-button-v3/back-to-top-button-v3.js +0 -12
- package/public/components/block-betterreviews-display-v3/betterreviews-display-v3.css +0 -96
- package/public/components/block-betterreviews-display-v3/betterreviews-display-v3.js +0 -7
- package/public/components/block-block-interactions-v3/block-interactions-v3.css +0 -34
- package/public/components/block-block-interactions-v3/block-interactions-v3.js +0 -44
- package/public/components/block-carousel-multi-layout-v3/carousel-multi-layout-v3.css +0 -928
- package/public/components/block-carousel-multi-layout-v3/carousel-multi-layout-v3.js +0 -169
- package/public/components/block-cocktail-recipe-v3/cocktail-recipe-v3.css +0 -317
- package/public/components/block-cocktail-recipe-v3/cocktail-recipe-v3.js +0 -93
- package/public/components/block-cover-link-v3/cover-link-v3.css +0 -0
- package/public/components/block-cover-link-v3/cover-link-v3.js +0 -7
- package/public/components/block-divider-v3/divider-v3.css +0 -74
- package/public/components/block-divider-v3/divider-v3.js +0 -7
- package/public/components/block-featured-image-gallery-v3/featured-image-gallery-v3.css +0 -102
- package/public/components/block-featured-image-gallery-v3/featured-image-gallery-v3.js +0 -44
- package/public/components/block-form-selection-v3/form-selection-v3.css +0 -32
- package/public/components/block-form-selection-v3/form-selection-v3.js +0 -61
- package/public/components/block-gradient-layer-v3/gradient-layer-v3.css +0 -52
- package/public/components/block-gradient-layer-v3/gradient-layer-v3.js +0 -7
- package/public/components/block-group-container-v3/group-container-v3.css +0 -323
- package/public/components/block-group-container-v3/group-container-v3.js +0 -7
- package/public/components/block-lottie-content-v3/lottie-content-v3.css +0 -0
- package/public/components/block-lottie-content-v3/lottie-content-v3.js +0 -25
- package/public/components/block-market-selector-v3/market-selector-v3.css +0 -139
- package/public/components/block-market-selector-v3/market-selector-v3.js +0 -7
- package/public/components/block-modal-form-v3/modal-form-v3.css +0 -0
- package/public/components/block-modal-form-v3/modal-form-v3.js +0 -44
- package/public/components/block-modal-form-v3/modal-form-v3.scss.css +0 -0
- package/public/components/block-nav-menu-container-v3/nav-menu-container-v3.css +0 -3
- package/public/components/block-nav-menu-container-v3/nav-menu-container-v3.js +0 -7
- package/public/components/block-post-info-v3/post-info-v3.css +0 -1310
- package/public/components/block-post-info-v3/post-info-v3.js +0 -7
- package/public/components/block-post-info-v3/post-info-v3.scss.css +0 -1310
- package/public/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3.css +0 -859
- package/public/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3.js +0 -13
- package/public/components/block-product-info-v3/product-info-v3.css +0 -993
- package/public/components/block-product-info-v3/product-info-v3.js +0 -7
- package/public/components/block-product-info-v3/product-info-v3.scss.css +0 -993
- package/public/components/block-responsive-table-v3/responsive-table-v3.css +0 -48
- package/public/components/block-responsive-table-v3/responsive-table-v3.js +0 -7
- package/public/components/block-scrolling-banner-v3/scrolling-banner-v3.css +0 -85
- package/public/components/block-scrolling-banner-v3/scrolling-banner-v3.js +0 -106
- package/public/components/block-section-separator-v3/section-separator-v3.css +0 -43
- package/public/components/block-section-separator-v3/section-separator-v3.js +0 -7
- package/public/components/block-single-column-container-v3/single-column-container-v3.css +0 -14
- package/public/components/block-single-column-container-v3/single-column-container-v3.js +0 -7
- package/public/components/block-single-responsive-image-v3/single-responsive-image-v3.css +0 -60
- package/public/components/block-single-responsive-image-v3/single-responsive-image-v3.js +0 -7
- package/public/components/block-site-copyright-notice-v3/site-copyright-notice-v3.css +0 -0
- package/public/components/block-site-copyright-notice-v3/site-copyright-notice-v3.js +0 -7
- package/public/components/block-site-logo-container-v3/site-logo-container-v3.css +0 -18
- package/public/components/block-site-logo-container-v3/site-logo-container-v3.js +0 -7
- package/public/components/block-site-title-and-tagline-v3/site-title-and-tagline-v3.css +0 -14
- package/public/components/block-site-title-and-tagline-v3/site-title-and-tagline-v3.js +0 -7
- package/public/components/block-smash-balloon-social-media-v3/smash-balloon-social-media-v3.css +0 -25
- package/public/components/block-smash-balloon-social-media-v3/smash-balloon-social-media-v3.js +0 -8
- package/public/components/block-social-networks-v3/social-networks-v3.css +0 -74
- package/public/components/block-social-networks-v3/social-networks-v3.js +0 -7
- package/public/components/block-spacer-v3/spacer-v3.css +0 -16
- package/public/components/block-spacer-v3/spacer-v3.js +0 -2
- package/public/components/block-spacer-v3/spacer-v3.scss.css +0 -16
- package/public/components/block-spotify-embed-v3/spotify-embed-v3.css +0 -7
- package/public/components/block-spotify-embed-v3/spotify-embed-v3.js +0 -7
- package/public/components/block-standard-content-v3/standard-content-v3.css +0 -529
- package/public/components/block-standard-content-v3/standard-content-v3.js +0 -7
- package/public/components/block-sticky-buy-cta-v3/sticky-buy-cta-v3.css +0 -0
- package/public/components/block-sticky-buy-cta-v3/sticky-buy-cta-v3.js +0 -7
- package/public/components/block-sub-group-container-v3/sub-group-container-v3.css +0 -308
- package/public/components/block-sub-group-container-v3/sub-group-container-v3.js +0 -2
- package/public/components/block-video-content-v3/video-content-v3.css +0 -105
- package/public/components/block-video-content-v3/video-content-v3.js +0 -11
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
.featured-image-gallery-v3 {
|
|
2
|
-
display: grid;
|
|
3
|
-
grid-template: "featured" "other"/1fr;
|
|
4
|
-
grid-gap: calc(10 / var(--design-reference) * var(--screen-width));
|
|
5
|
-
gap: calc(10 / var(--design-reference) * var(--screen-width));
|
|
6
|
-
}
|
|
7
|
-
@media screen and (min-width: 768px) {
|
|
8
|
-
.featured-image-gallery-v3 {
|
|
9
|
-
grid-template: "featured other"/1fr 1fr;
|
|
10
|
-
grid-gap: calc(20 / var(--design-reference) * var(--screen-width));
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
.featured-image-gallery-v3__featured-image-container {
|
|
14
|
-
perspective: 1000px;
|
|
15
|
-
grid-area: featured;
|
|
16
|
-
align-self: stretch;
|
|
17
|
-
justify-self: stretch;
|
|
18
|
-
place-self: stretch;
|
|
19
|
-
aspect-ratio: 1;
|
|
20
|
-
}
|
|
21
|
-
.featured-image-gallery-v3__featured-image-container.changing-image .featured-image-gallery-v3__featured-image-inner-container {
|
|
22
|
-
transform: rotateY(180deg);
|
|
23
|
-
}
|
|
24
|
-
.featured-image-gallery-v3__featured-image-inner-container {
|
|
25
|
-
position: relative;
|
|
26
|
-
width: 100%;
|
|
27
|
-
height: 100%;
|
|
28
|
-
text-align: center;
|
|
29
|
-
transition: transform 0.8s;
|
|
30
|
-
transform-style: preserve-3d;
|
|
31
|
-
}
|
|
32
|
-
.featured-image-gallery-v3__featured-image-front,
|
|
33
|
-
.featured-image-gallery-v3__featured-image-back {
|
|
34
|
-
position: absolute;
|
|
35
|
-
width: 100%;
|
|
36
|
-
height: 100%;
|
|
37
|
-
backface-visibility: hidden;
|
|
38
|
-
}
|
|
39
|
-
.featured-image-gallery-v3__featured-image-front {
|
|
40
|
-
background-color: var(--bally-blue-dark);
|
|
41
|
-
}
|
|
42
|
-
.featured-image-gallery-v3__featured-image-back {
|
|
43
|
-
display: grid;
|
|
44
|
-
align-items: center;
|
|
45
|
-
justify-items: center;
|
|
46
|
-
place-items: center;
|
|
47
|
-
background-color: var(--bally-blue-dark);
|
|
48
|
-
transform: rotateY(180deg);
|
|
49
|
-
padding: calc(20 / var(--design-reference) * var(--screen-width));
|
|
50
|
-
}
|
|
51
|
-
@media screen and (min-width: 768px) {
|
|
52
|
-
.featured-image-gallery-v3__featured-image-back {
|
|
53
|
-
padding: calc(120 / var(--design-reference) * var(--screen-width));
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
.featured-image-gallery-v3__featured-image {
|
|
57
|
-
grid-area: featured;
|
|
58
|
-
-o-object-fit: cover;
|
|
59
|
-
object-fit: cover;
|
|
60
|
-
aspect-ratio: 1;
|
|
61
|
-
}
|
|
62
|
-
@media screen and (min-width: 768px) {
|
|
63
|
-
.featured-image-gallery-v3__featured-image {
|
|
64
|
-
width: 100%;
|
|
65
|
-
height: auto;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
.featured-image-gallery-v3__other-images {
|
|
69
|
-
grid-area: other;
|
|
70
|
-
align-self: stretch;
|
|
71
|
-
justify-self: stretch;
|
|
72
|
-
place-self: stretch;
|
|
73
|
-
display: grid;
|
|
74
|
-
aspect-ratio: 1;
|
|
75
|
-
grid-gap: calc(8 / var(--design-reference) * var(--screen-width));
|
|
76
|
-
grid-template-columns: repeat(3, 1fr);
|
|
77
|
-
grid-template-rows: repeat(3, 1fr);
|
|
78
|
-
}
|
|
79
|
-
@media screen and (min-width: 768px) {
|
|
80
|
-
.featured-image-gallery-v3__other-images {
|
|
81
|
-
grid-gap: calc(10 / var(--design-reference) * var(--screen-width));
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
.featured-image-gallery-v3__image-wrapper {
|
|
85
|
-
display: flex;
|
|
86
|
-
overflow: hidden;
|
|
87
|
-
box-shadow: 0px 0px 8px transparent;
|
|
88
|
-
transition: box-shadow 0.2s;
|
|
89
|
-
cursor: pointer;
|
|
90
|
-
}
|
|
91
|
-
.featured-image-gallery-v3__image-wrapper:hover,
|
|
92
|
-
.featured-image-gallery-v3__image-wrapper--active {
|
|
93
|
-
box-shadow: 0px 0px 0px calc(2 / var(--design-reference) * var(--screen-width)) white;
|
|
94
|
-
}
|
|
95
|
-
.featured-image-gallery-v3__image {
|
|
96
|
-
-o-object-fit: cover;
|
|
97
|
-
object-fit: cover;
|
|
98
|
-
aspect-ratio: 1;
|
|
99
|
-
width: 100%;
|
|
100
|
-
height: auto;
|
|
101
|
-
transition: transform 0.5s ease-out;
|
|
102
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export default function featuredImagegalleryJs(options = {}) {
|
|
2
|
-
try {
|
|
3
|
-
const { block } = options;
|
|
4
|
-
const featuredImageContainer = block.querySelector(
|
|
5
|
-
`.featured-image-gallery-v3__featured-image-container`
|
|
6
|
-
);
|
|
7
|
-
const featuredImage = block.querySelector(
|
|
8
|
-
`.featured-image-gallery-v3__featured-image`
|
|
9
|
-
);
|
|
10
|
-
const thumbnailImages = block.querySelectorAll(
|
|
11
|
-
`.featured-image-gallery-v3__image-wrapper`
|
|
12
|
-
);
|
|
13
|
-
thumbnailImages.forEach((image) => {
|
|
14
|
-
image.addEventListener("click", function updateSrc() {
|
|
15
|
-
thumbnailImages.forEach((wrapper) => {
|
|
16
|
-
wrapper.classList.remove(
|
|
17
|
-
"featured-image-gallery-v3__image-wrapper--active"
|
|
18
|
-
);
|
|
19
|
-
});
|
|
20
|
-
image.classList.add(
|
|
21
|
-
"featured-image-gallery-v3__image-wrapper--active"
|
|
22
|
-
);
|
|
23
|
-
featuredImageContainer.classList.add("changing-image");
|
|
24
|
-
setTimeout(() => {
|
|
25
|
-
featuredImage.setAttribute(
|
|
26
|
-
"src",
|
|
27
|
-
this.querySelector("img").getAttribute("src")
|
|
28
|
-
);
|
|
29
|
-
featuredImage.setAttribute(
|
|
30
|
-
"alt",
|
|
31
|
-
this.querySelector("img").getAttribute("alt")
|
|
32
|
-
);
|
|
33
|
-
featuredImage.setAttribute(
|
|
34
|
-
"srcset",
|
|
35
|
-
this.querySelector("img").getAttribute("srcset")
|
|
36
|
-
);
|
|
37
|
-
featuredImageContainer.classList.remove("changing-image");
|
|
38
|
-
}, 800);
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
} catch (error) {
|
|
42
|
-
console.error(error);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
.form-selection-v3 {
|
|
2
|
-
pointer-events: all;
|
|
3
|
-
}
|
|
4
|
-
.form-selection-v3__container-modal {
|
|
5
|
-
display: none;
|
|
6
|
-
position: fixed;
|
|
7
|
-
top: 0;
|
|
8
|
-
right: 0;
|
|
9
|
-
bottom: 0;
|
|
10
|
-
left: 0;
|
|
11
|
-
z-index: 9998;
|
|
12
|
-
background-color: rgba(0, 0, 0, 0.4);
|
|
13
|
-
}
|
|
14
|
-
.form-selection-v3__inner {
|
|
15
|
-
overflow-y: scroll;
|
|
16
|
-
width: 100vw;
|
|
17
|
-
z-index: 9999;
|
|
18
|
-
height: 100%;
|
|
19
|
-
}
|
|
20
|
-
.form-selection-v3__modal-open--icon {
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
-webkit-appearance: none;
|
|
23
|
-
-moz-appearance: none;
|
|
24
|
-
appearance: none;
|
|
25
|
-
border: none;
|
|
26
|
-
background: transparent;
|
|
27
|
-
}
|
|
28
|
-
.form-selection-v3__modal-close {
|
|
29
|
-
position: absolute;
|
|
30
|
-
top: calc(20 / var(--design-reference) * var(--screen-width));
|
|
31
|
-
right: calc(20 / var(--design-reference) * var(--screen-width));
|
|
32
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export default function formselectionv3Js(options = {}) {
|
|
2
|
-
try {
|
|
3
|
-
let validateFormFields = function(block2) {
|
|
4
|
-
const inputs = block2.querySelectorAll(
|
|
5
|
-
".cdb_form_field input, .cdb_form_field select, .cdb_form_gdpr_information input, .cdb_form_privacypolicy_information input"
|
|
6
|
-
);
|
|
7
|
-
inputs.forEach((input) => {
|
|
8
|
-
const wrapper = input.closest(".cdb_form_field, .cdb_form_gdpr_information, .cdb_form_privacypolicy_information");
|
|
9
|
-
if (!wrapper) return;
|
|
10
|
-
wrapper.classList.remove("invalid");
|
|
11
|
-
if (!input.hasAttribute("required")) return;
|
|
12
|
-
if (input.type === "checkbox") {
|
|
13
|
-
if (!input.checked) {
|
|
14
|
-
wrapper.classList.add("invalid");
|
|
15
|
-
}
|
|
16
|
-
input.addEventListener("change", () => {
|
|
17
|
-
if (input.checked) {
|
|
18
|
-
wrapper.classList.remove("invalid");
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
} else {
|
|
22
|
-
if (!input.value.trim()) {
|
|
23
|
-
wrapper.classList.add("invalid");
|
|
24
|
-
}
|
|
25
|
-
input.addEventListener("input", () => {
|
|
26
|
-
if (input.value.trim()) {
|
|
27
|
-
wrapper.classList.remove("invalid");
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
const { block } = options;
|
|
34
|
-
const formContainer = block.querySelector(".form-selection-v3__container-modal");
|
|
35
|
-
const openModal = block.querySelector(".form-selection-v3__modal-open");
|
|
36
|
-
const closeModal = block.querySelector(".form-selection-v3__modal-close");
|
|
37
|
-
if (formContainer && openModal) {
|
|
38
|
-
openModal.addEventListener("click", function(e) {
|
|
39
|
-
e.preventDefault();
|
|
40
|
-
document.documentElement.classList.add("lock-position");
|
|
41
|
-
formContainer.style.display = "flex";
|
|
42
|
-
});
|
|
43
|
-
closeModal.addEventListener("click", function(e) {
|
|
44
|
-
document.documentElement.classList.remove("lock-position");
|
|
45
|
-
e.preventDefault();
|
|
46
|
-
formContainer.style.display = "none";
|
|
47
|
-
});
|
|
48
|
-
} else {
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
const submit = block.querySelector(
|
|
52
|
-
".cdb-submit"
|
|
53
|
-
);
|
|
54
|
-
submit.classList.add("cmpl-cta-style-11", "cmpl-cta-animation-style-1");
|
|
55
|
-
submit.addEventListener("click", (e) => {
|
|
56
|
-
validateFormFields(block);
|
|
57
|
-
});
|
|
58
|
-
} catch (error) {
|
|
59
|
-
console.error(error);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
.gradient-layer-v3 {
|
|
2
|
-
display: grid;
|
|
3
|
-
grid-template: "main"/1fr;
|
|
4
|
-
--spread: calc(100% - var(--gradient-spread));
|
|
5
|
-
}
|
|
6
|
-
.gradient-layer-v3__gradient-overlay-element {
|
|
7
|
-
position: absolute;
|
|
8
|
-
top: 0;
|
|
9
|
-
right: 0;
|
|
10
|
-
bottom: 0;
|
|
11
|
-
left: 0;
|
|
12
|
-
z-index: var(--gradient-zindex);
|
|
13
|
-
grid-area: var(--gradient-grid-area);
|
|
14
|
-
}
|
|
15
|
-
.gradient-layer-v3__gradient-overlay-element::before,
|
|
16
|
-
.gradient-layer-v3__gradient-overlay-element:after {
|
|
17
|
-
content: "";
|
|
18
|
-
pointer-events: none;
|
|
19
|
-
position: absolute;
|
|
20
|
-
top: 0;
|
|
21
|
-
right: 0;
|
|
22
|
-
bottom: 0;
|
|
23
|
-
left: 0;
|
|
24
|
-
opacity: var(--gradient-opacity);
|
|
25
|
-
}
|
|
26
|
-
.gradient-layer-v3__gradient-overlay-element::before {
|
|
27
|
-
background:
|
|
28
|
-
linear-gradient(
|
|
29
|
-
var(--gradient-origin-before),
|
|
30
|
-
rgba(255, 255, 255, 0) 0%,
|
|
31
|
-
rgba(255, 255, 255, 0) calc(var(--spread) - var(--gradient-amount)),
|
|
32
|
-
var(--gradient-colour) calc(100% - var(--gradient-amount)));
|
|
33
|
-
}
|
|
34
|
-
.gradient-layer-v3__gradient-overlay-element::after {
|
|
35
|
-
content: var(--enable-after);
|
|
36
|
-
background:
|
|
37
|
-
linear-gradient(
|
|
38
|
-
var(--gradient-origin-after),
|
|
39
|
-
rgba(255, 255, 255, 0) 0%,
|
|
40
|
-
rgba(255, 255, 255, 0) calc(var(--spread) - var(--gradient-amount)),
|
|
41
|
-
var(--gradient-colour) calc(100% - var(--gradient-amount)));
|
|
42
|
-
}
|
|
43
|
-
.gradient-layer-v3__blur-overlay-element {
|
|
44
|
-
background: var(--blur-colour);
|
|
45
|
-
backdrop-filter: blur(var(--blur-value));
|
|
46
|
-
position: absolute;
|
|
47
|
-
top: 0;
|
|
48
|
-
right: 0;
|
|
49
|
-
bottom: 0;
|
|
50
|
-
left: 0;
|
|
51
|
-
z-index: var(--blur-zindex);
|
|
52
|
-
}
|
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
.group-container-v3 {
|
|
3
|
-
display: grid;
|
|
4
|
-
grid-template: "main"/1fr;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-items: center;
|
|
7
|
-
place-items: center;
|
|
8
|
-
}
|
|
9
|
-
.group-container-v3__grid-container {
|
|
10
|
-
grid-area: main;
|
|
11
|
-
align-self: stretch;
|
|
12
|
-
justify-self: stretch;
|
|
13
|
-
place-self: stretch;
|
|
14
|
-
}
|
|
15
|
-
.group-container-v3__grid-container.flex-layout-container {
|
|
16
|
-
display: flex;
|
|
17
|
-
display: var(--display-type, flex);
|
|
18
|
-
justify-content: flex-start;
|
|
19
|
-
justify-content: var(--justify-content-mobile, flex-start);
|
|
20
|
-
flex-direction: row;
|
|
21
|
-
flex-direction: var(--flex-direction-mobile, row);
|
|
22
|
-
align-items: center;
|
|
23
|
-
align-items: var(--align-items-mobile, center);
|
|
24
|
-
gap: calc(var(--global-inline-spacing) * 0) calc(var(--global-inline-spacing) * 0);
|
|
25
|
-
gap: calc(var(--global-inline-spacing) * var(--row-gap-mult-mobile, 0)) calc(var(--global-inline-spacing) * var(--column-gap-mult-mobile, 0));
|
|
26
|
-
flex-wrap: nowrap;
|
|
27
|
-
flex-wrap: var(--flex-wrap-mobile, nowrap);
|
|
28
|
-
}
|
|
29
|
-
@media screen and (min-width: 768px) {
|
|
30
|
-
.group-container-v3__grid-container.flex-layout-container {
|
|
31
|
-
justify-content: flex-start;
|
|
32
|
-
justify-content: var(--justify-content-portrait, flex-start);
|
|
33
|
-
flex-direction: row;
|
|
34
|
-
flex-direction: var(--flex-direction-portrait, row);
|
|
35
|
-
align-items: center;
|
|
36
|
-
align-items: var(--align-items-portrait, center);
|
|
37
|
-
gap: calc(var(--global-inline-spacing) * 0) calc(var(--global-inline-spacing) * 0);
|
|
38
|
-
gap: calc(var(--global-inline-spacing) * var(--row-gap-mult-portrait, 0)) calc(var(--global-inline-spacing) * var(--column-gap-mult-portrait, 0));
|
|
39
|
-
flex-wrap: nowrap;
|
|
40
|
-
flex-wrap: var(--flex-wrap-portrait, nowrap);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
@media screen and (min-width: 1024px) {
|
|
44
|
-
.group-container-v3__grid-container.flex-layout-container {
|
|
45
|
-
justify-content: flex-start;
|
|
46
|
-
justify-content: var(--justify-content-desktop, flex-start);
|
|
47
|
-
flex-direction: row;
|
|
48
|
-
flex-direction: var(--flex-direction-desktop, row);
|
|
49
|
-
align-items: center;
|
|
50
|
-
align-items: var(--align-items-desktop, center);
|
|
51
|
-
gap: calc(var(--global-inline-spacing) * 0) calc(var(--global-inline-spacing) * 0);
|
|
52
|
-
gap: calc(var(--global-inline-spacing) * var(--row-gap-mult-desktop, 0)) calc(var(--global-inline-spacing) * var(--column-gap-mult-desktop, 0));
|
|
53
|
-
flex-wrap: nowrap;
|
|
54
|
-
flex-wrap: var(--flex-wrap-desktop, nowrap);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
.group-container-v3__grid-container.grid-layout-container {
|
|
58
|
-
display: "grid";
|
|
59
|
-
display: var(--display-type, "grid");
|
|
60
|
-
position: relative;
|
|
61
|
-
scroll-behavior: smooth;
|
|
62
|
-
overscroll-behavior-x: contain;
|
|
63
|
-
scroll-snap-type: none;
|
|
64
|
-
scroll-snap-type: var(--scroll-snap-type-mobile, none);
|
|
65
|
-
}
|
|
66
|
-
.group-container-v3__grid-container.grid-layout-container > div {
|
|
67
|
-
scroll-snap-align: start;
|
|
68
|
-
scroll-snap-align: var(--scroll-snap-align-mobile, start);
|
|
69
|
-
}
|
|
70
|
-
.group-container-v3__grid-container.grid-layout-container {
|
|
71
|
-
overflow: hidden;
|
|
72
|
-
overflow: var(--container-overflow-type-mobile, hidden);
|
|
73
|
-
grid-gap: calc(var(--global-inline-spacing) * 0) calc(var(--global-inline-spacing) * 0);
|
|
74
|
-
grid-gap: calc(var(--global-inline-spacing) * var(--row-gap-mult-mobile, 0)) calc(var(--global-inline-spacing) * var(--column-gap-mult-mobile, 0));
|
|
75
|
-
grid-auto-flow: row;
|
|
76
|
-
grid-auto-flow: var(--grid-auto-flow-mobile, row);
|
|
77
|
-
grid-auto-columns: 1fr;
|
|
78
|
-
grid-auto-columns: var(--grid-auto-columns-mobile, 1fr);
|
|
79
|
-
grid-auto-rows: auto;
|
|
80
|
-
grid-auto-rows: var(--grid-auto-rows-mobile, auto);
|
|
81
|
-
grid-template-columns: var(--grid-template-columns-custom-mobile, repeat(var(--grid-template-columns-mobile), 1fr));
|
|
82
|
-
grid-template-columns: var(--grid-template-columns-custom-mobile, repeat(var(--grid-template-columns-mobile), var(--grid-auto-columns-mobile, 1fr)));
|
|
83
|
-
grid-template-rows: var(--grid-template-rows-custom-mobile, repeat(var(--grid-template-rows-mobile), 1fr));
|
|
84
|
-
grid-template-rows: var(--grid-template-rows-custom-mobile, repeat(var(--grid-template-rows-mobile), var(--grid-auto-rows-mobile, 1fr)));
|
|
85
|
-
}
|
|
86
|
-
@media screen and (min-width: 1024px) {
|
|
87
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-desktop::scroll-button(left) {
|
|
88
|
-
content: "\25c4";
|
|
89
|
-
position: absolute;
|
|
90
|
-
align-self: center;
|
|
91
|
-
justify-self: flex-start;
|
|
92
|
-
place-self: center flex-start;
|
|
93
|
-
z-index: 50;
|
|
94
|
-
}
|
|
95
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-desktop::scroll-button(right) {
|
|
96
|
-
content: "\25ba";
|
|
97
|
-
position: absolute;
|
|
98
|
-
align-self: center;
|
|
99
|
-
justify-self: flex-end;
|
|
100
|
-
place-self: center flex-end;
|
|
101
|
-
z-index: 50;
|
|
102
|
-
}
|
|
103
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-desktop::scroll-button(*) {
|
|
104
|
-
border: 1px solid black;
|
|
105
|
-
border-radius: 10px;
|
|
106
|
-
font-size: var(--scroll-button-font-size, calc(30 / var(--design-reference) * var(--screen-width)));
|
|
107
|
-
background: rgba(0, 0, 0, 0.163);
|
|
108
|
-
color: white;
|
|
109
|
-
opacity: 0.7;
|
|
110
|
-
cursor: pointer;
|
|
111
|
-
transition: scale 0.3s ease-in-out;
|
|
112
|
-
}
|
|
113
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-desktop::scroll-button(*):hover,
|
|
114
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-desktop::scroll-button(*):focus {
|
|
115
|
-
opacity: 1;
|
|
116
|
-
scale: 1.2;
|
|
117
|
-
}
|
|
118
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-desktop::scroll-button(*):active {
|
|
119
|
-
translate: 1px 1px;
|
|
120
|
-
}
|
|
121
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-desktop::scroll-button(*):disabled {
|
|
122
|
-
opacity: 0.2;
|
|
123
|
-
cursor: inherit;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
|
127
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-portrait::scroll-button(left) {
|
|
128
|
-
content: "\25c4";
|
|
129
|
-
position: absolute;
|
|
130
|
-
align-self: center;
|
|
131
|
-
justify-self: flex-start;
|
|
132
|
-
place-self: center flex-start;
|
|
133
|
-
z-index: 50;
|
|
134
|
-
}
|
|
135
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-portrait::scroll-button(right) {
|
|
136
|
-
content: "\25ba";
|
|
137
|
-
position: absolute;
|
|
138
|
-
align-self: center;
|
|
139
|
-
justify-self: flex-end;
|
|
140
|
-
place-self: center flex-end;
|
|
141
|
-
z-index: 50;
|
|
142
|
-
}
|
|
143
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-portrait::scroll-button(*) {
|
|
144
|
-
border: 1px solid black;
|
|
145
|
-
border-radius: 10px;
|
|
146
|
-
font-size: var(--scroll-button-font-size, calc(30 / var(--design-reference) * var(--screen-width)));
|
|
147
|
-
background: rgba(0, 0, 0, 0.163);
|
|
148
|
-
color: white;
|
|
149
|
-
opacity: 0.7;
|
|
150
|
-
cursor: pointer;
|
|
151
|
-
transition: scale 0.3s ease-in-out;
|
|
152
|
-
}
|
|
153
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-portrait::scroll-button(*):hover,
|
|
154
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-portrait::scroll-button(*):focus {
|
|
155
|
-
opacity: 1;
|
|
156
|
-
scale: 1.2;
|
|
157
|
-
}
|
|
158
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-portrait::scroll-button(*):active {
|
|
159
|
-
translate: 1px 1px;
|
|
160
|
-
}
|
|
161
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-portrait::scroll-button(*):disabled {
|
|
162
|
-
opacity: 0.2;
|
|
163
|
-
cursor: inherit;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
@media screen and (max-width: 767px) {
|
|
167
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-mobile::scroll-button(left) {
|
|
168
|
-
content: "\25c4";
|
|
169
|
-
position: absolute;
|
|
170
|
-
align-self: center;
|
|
171
|
-
justify-self: flex-start;
|
|
172
|
-
place-self: center flex-start;
|
|
173
|
-
z-index: 50;
|
|
174
|
-
}
|
|
175
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-mobile::scroll-button(right) {
|
|
176
|
-
content: "\25ba";
|
|
177
|
-
position: absolute;
|
|
178
|
-
align-self: center;
|
|
179
|
-
justify-self: flex-end;
|
|
180
|
-
place-self: center flex-end;
|
|
181
|
-
z-index: 50;
|
|
182
|
-
}
|
|
183
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-mobile::scroll-button(*) {
|
|
184
|
-
border: 1px solid black;
|
|
185
|
-
border-radius: 10px;
|
|
186
|
-
font-size: var(--scroll-button-font-size, calc(30 / var(--design-reference) * var(--screen-width)));
|
|
187
|
-
background: rgba(0, 0, 0, 0.163);
|
|
188
|
-
color: white;
|
|
189
|
-
opacity: 0.7;
|
|
190
|
-
cursor: pointer;
|
|
191
|
-
transition: scale 0.3s ease-in-out;
|
|
192
|
-
}
|
|
193
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-mobile::scroll-button(*):hover,
|
|
194
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-mobile::scroll-button(*):focus {
|
|
195
|
-
opacity: 1;
|
|
196
|
-
scale: 1.2;
|
|
197
|
-
}
|
|
198
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-mobile::scroll-button(*):active {
|
|
199
|
-
translate: 1px 1px;
|
|
200
|
-
}
|
|
201
|
-
.group-container-v3__grid-container.grid-layout-container.scroll-btns-mobile::scroll-button(*):disabled {
|
|
202
|
-
opacity: 0.2;
|
|
203
|
-
cursor: inherit;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
@media screen and (min-width: 768px) {
|
|
207
|
-
.group-container-v3__grid-container.grid-layout-container {
|
|
208
|
-
scroll-snap-type: none;
|
|
209
|
-
scroll-snap-type: var(--scroll-snap-type-portrait, none);
|
|
210
|
-
}
|
|
211
|
-
.group-container-v3__grid-container.grid-layout-container > div {
|
|
212
|
-
scroll-snap-align: start;
|
|
213
|
-
scroll-snap-align: var(--scroll-snap-align-portrait, start);
|
|
214
|
-
}
|
|
215
|
-
.group-container-v3__grid-container.grid-layout-container {
|
|
216
|
-
overflow: hidden;
|
|
217
|
-
overflow: var(--container-overflow-type-portrait, hidden);
|
|
218
|
-
grid-auto-flow: row;
|
|
219
|
-
grid-auto-flow: var(--grid-auto-flow-portrait, row);
|
|
220
|
-
grid-auto-columns: 1fr;
|
|
221
|
-
grid-auto-columns: var(--grid-auto-columns-portrait, 1fr);
|
|
222
|
-
grid-auto-rows: auto;
|
|
223
|
-
grid-auto-rows: var(--grid-auto-rows-portrait, auto);
|
|
224
|
-
grid-gap: calc(var(--global-inline-spacing) * 0) calc(var(--global-inline-spacing) * 0);
|
|
225
|
-
grid-gap: calc(var(--global-inline-spacing) * var(--row-gap-mult-portrait, 0)) calc(var(--global-inline-spacing) * var(--column-gap-mult-portrait, 0));
|
|
226
|
-
grid-template-columns: var(--grid-template-columns-custom-portrait, repeat(var(--grid-template-columns-portrait), 1fr));
|
|
227
|
-
grid-template-columns: var(--grid-template-columns-custom-portrait, repeat(var(--grid-template-columns-portrait), var(--grid-auto-columns-portrait, 1fr)));
|
|
228
|
-
grid-template-rows: var(--grid-template-rows-custom-portrait, repeat(var(--grid-template-rows-portrait), 1fr));
|
|
229
|
-
grid-template-rows: var(--grid-template-rows-custom-portrait, repeat(var(--grid-template-rows-portrait), var(--grid-auto-rows-portrait, 1fr)));
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
@media screen and (min-width: 1024px) {
|
|
233
|
-
.group-container-v3__grid-container.grid-layout-container {
|
|
234
|
-
scroll-snap-type: none;
|
|
235
|
-
scroll-snap-type: var(--scroll-snap-type-desktop, none);
|
|
236
|
-
}
|
|
237
|
-
.group-container-v3__grid-container.grid-layout-container > div {
|
|
238
|
-
scroll-snap-align: start;
|
|
239
|
-
scroll-snap-align: var(--scroll-snap-align-desktop, start);
|
|
240
|
-
}
|
|
241
|
-
.group-container-v3__grid-container.grid-layout-container {
|
|
242
|
-
overflow: hidden;
|
|
243
|
-
overflow: var(--container-overflow-type-desktop, hidden);
|
|
244
|
-
grid-gap: calc(var(--global-inline-spacing) * 0) calc(var(--global-inline-spacing) * 0);
|
|
245
|
-
grid-gap: calc(var(--global-inline-spacing) * var(--row-gap-mult-desktop, 0)) calc(var(--global-inline-spacing) * var(--column-gap-mult-desktop, 0));
|
|
246
|
-
grid-auto-flow: row;
|
|
247
|
-
grid-auto-flow: var(--grid-auto-flow-desktop, row);
|
|
248
|
-
grid-auto-columns: 1fr;
|
|
249
|
-
grid-auto-columns: var(--grid-auto-columns-desktop, 1fr);
|
|
250
|
-
grid-auto-rows: auto;
|
|
251
|
-
grid-auto-rows: var(--grid-auto-rows-desktop, auto);
|
|
252
|
-
grid-template-columns: repeat(1, 1fr);
|
|
253
|
-
grid-template-columns: var(--grid-template-columns-custom-desktop, repeat(var(--grid-template-columns-desktop, 1), var(--grid-auto-columns-desktop, 1fr)));
|
|
254
|
-
grid-template-rows: var(--grid-template-rows-custom-desktop, repeat(var(--grid-template-rows-desktop), 1fr));
|
|
255
|
-
grid-template-rows: var(--grid-template-rows-custom-desktop, repeat(var(--grid-template-rows-desktop), var(--grid-auto-rows-desktop, 1fr)));
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
.group-container-v3__block-container {
|
|
259
|
-
pointer-events: none;
|
|
260
|
-
position: relative;
|
|
261
|
-
}
|
|
262
|
-
.group-container-v3__block-container.grid-layout-container {
|
|
263
|
-
display: grid;
|
|
264
|
-
z-index: 5;
|
|
265
|
-
z-index: var(--element-z-index, 5);
|
|
266
|
-
grid-row: var(--grid-row-start-mobile)/span var(--grid-row-span-mobile);
|
|
267
|
-
grid-column: var(--grid-column-start-mobile)/span var(--grid-column-span-mobile);
|
|
268
|
-
align-self: var(--grid-vertical-placement-mobile);
|
|
269
|
-
justify-self: var(--grid-horizontal-placement-mobile);
|
|
270
|
-
place-self: var(--grid-vertical-placement-mobile) var(--grid-horizontal-placement-mobile);
|
|
271
|
-
}
|
|
272
|
-
.group-container-v3__block-container.grid-layout-container:has(> .subgrid-layout-mobile) {
|
|
273
|
-
grid-template-rows: subgrid;
|
|
274
|
-
}
|
|
275
|
-
.group-container-v3__block-container.grid-layout-container:has(> .subgrid-layout-mobile) > section {
|
|
276
|
-
grid-row: 1/-1;
|
|
277
|
-
grid-column: 1/-1;
|
|
278
|
-
}
|
|
279
|
-
@media screen and (min-width: 768px) {
|
|
280
|
-
.group-container-v3__block-container.grid-layout-container {
|
|
281
|
-
grid-row: var(--grid-row-start-portrait)/span var(--grid-row-span-portrait);
|
|
282
|
-
grid-column: var(--grid-column-start-portrait)/span var(--grid-column-span-portrait);
|
|
283
|
-
align-self: var(--grid-vertical-placement-portrait);
|
|
284
|
-
justify-self: var(--grid-horizontal-placement-portrait);
|
|
285
|
-
place-self: var(--grid-vertical-placement-portrait) var(--grid-horizontal-placement-portrait);
|
|
286
|
-
}
|
|
287
|
-
.group-container-v3__block-container.grid-layout-container:has(> .subgrid-layout-portrait) {
|
|
288
|
-
grid-template-rows: subgrid;
|
|
289
|
-
}
|
|
290
|
-
.group-container-v3__block-container.grid-layout-container:has(> .subgrid-layout-portrait) > section {
|
|
291
|
-
grid-row: 1/-1;
|
|
292
|
-
grid-column: 1/-1;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
@media screen and (min-width: 1024px) {
|
|
296
|
-
.group-container-v3__block-container.grid-layout-container {
|
|
297
|
-
grid-row: var(--grid-row-start)/span var(--grid-row-span);
|
|
298
|
-
grid-column: var(--grid-column-start)/span var(--grid-column-span);
|
|
299
|
-
align-self: var(--grid-vertical-placement-desktop);
|
|
300
|
-
justify-self: var(--grid-horizontal-placement-desktop);
|
|
301
|
-
place-self: var(--grid-vertical-placement-desktop) var(--grid-horizontal-placement-desktop);
|
|
302
|
-
}
|
|
303
|
-
.group-container-v3__block-container.grid-layout-container:has(> .subgrid-layout-desktop) {
|
|
304
|
-
grid-template-rows: subgrid;
|
|
305
|
-
}
|
|
306
|
-
.group-container-v3__block-container.grid-layout-container:has(> .subgrid-layout-desktop) > section {
|
|
307
|
-
grid-row: 1/-1;
|
|
308
|
-
grid-column: 1/-1;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
.group-container-v3__block-container:has(.video-content-v3__video-container.video-playing.video-playing--high-z-index) {
|
|
312
|
-
z-index: 50;
|
|
313
|
-
}
|
|
314
|
-
.group-container-v3__block-number {
|
|
315
|
-
z-index: 99;
|
|
316
|
-
position: absolute;
|
|
317
|
-
font-size: 40px;
|
|
318
|
-
left: 50%;
|
|
319
|
-
top: 50%;
|
|
320
|
-
transform: translate(-50%, -50%);
|
|
321
|
-
color: white;
|
|
322
|
-
text-shadow: 1px 1px 1px blue;
|
|
323
|
-
}
|
|
File without changes
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import lottie from "lottie-web";
|
|
2
|
-
export default function lottiecontentv3Js(block) {
|
|
3
|
-
const lottieElement = block.querySelector(".lottie-animations");
|
|
4
|
-
if (!lottieElement) {
|
|
5
|
-
return;
|
|
6
|
-
}
|
|
7
|
-
const lottieData = lottieElement.dataset;
|
|
8
|
-
const filePath = lottieData.lottiefile;
|
|
9
|
-
if (!filePath) {
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
const loop = parseInt(lottieData.loop) ? true : false;
|
|
13
|
-
const autoplay = parseInt(lottieData.autoplay) ? true : false;
|
|
14
|
-
lottie.loadAnimation({
|
|
15
|
-
container: lottieElement,
|
|
16
|
-
renderer: "svg",
|
|
17
|
-
loop,
|
|
18
|
-
autoplay,
|
|
19
|
-
path: filePath,
|
|
20
|
-
rendererSettings: {
|
|
21
|
-
preserveAspectRatio: "xMidYMid slice",
|
|
22
|
-
progressiveLoad: true
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
}
|