@total_onion/onion-library 2.0.198 → 2.0.200
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-accent-image-v3/accent-image-v3.scss +3 -1
- package/components/block-accent-image-v3/accent-image-v3.twig +117 -2
- package/components/block-accordion-v3/accordion-v3.scss +150 -146
- package/components/block-back-to-top-button-v3/back-to-top-button-v3.scss +53 -52
- package/components/block-back-to-top-button-v3/back-to-top-button-v3.twig +4 -1
- package/components/block-block-interactions-v3/block-interactions-v3.scss +24 -22
- package/components/block-carousel-multi-layout-v3/carousel-multi-layout-v3.js +1 -1
- package/components/block-carousel-multi-layout-v3/carousel-multi-layout-v3.scss +1 -1
- package/components/block-group-container-v3/group-container-v3.twig +4 -1
- package/components/block-post-info-v3/group_6866429531436.json +101 -27
- package/components/block-post-info-v3/post-info-v3/post-image.twig +7 -2
- package/components/block-post-info-v3/post-info-v3.scss +179 -178
- package/components/block-raw-html-v3/raw-html-v3.twig +4 -1
- package/components/block-scrolling-banner-v3/scrolling-banner-v3.twig +4 -0
- package/components/block-single-responsive-image-v3/single-responsive-image-v3.twig +144 -1
- package/components/block-site-copyright-notice-v3/index.html +33 -0
- package/components/block-site-copyright-notice-v3/site-copyright-notice-v3.js +52 -1
- package/components/block-site-copyright-notice-v3/site-copyright-notice-v3.scss +14 -13
- package/components/block-site-copyright-notice-v3/site-copyright-notice-v3.twig +4 -4
- package/components/block-standard-content-v3/standard-content-v3.twig +28 -3
- package/components/block-sub-group-container-v3/sub-group-container-v3.twig +4 -1
- package/components/block-video-content-v3/video-content-v3.twig +3 -0
- package/components/component-content-box-v3/content-box-v3.twig +2 -2
- package/components/component-video-component-v3/video-component-v3.twig +2 -2
- package/components/entrypoint-entry-point-html-v3/entry-point-html-v3.twig +15 -20
- package/onion-loader-local.js +222 -0
- package/package.json +2 -2
- package/public/block-carousel-multi-layout-v3/carousel-multi-layout-v3.css +0 -745
- package/public/block-carousel-multi-layout-v3/carousel-multi-layout-v3.js +12 -0
- package/public/block-cocktail-recipe-v3/cocktail-recipe-v3.css +6 -49
- package/public/block-cover-link-v3/cover-link-v3.css +9 -0
- package/public/block-scrolling-banner-v3/scrolling-banner-v3.css +11 -1
- package/public/block-scrolling-banner-v3/scrolling-banner-v3.js +90 -78
- package/public/block-site-copyright-notice-v3/site-copyright-notice-v3.css +18 -0
- package/public/block-site-copyright-notice-v3/site-copyright-notice-v3.js +38 -1
- package/public/dynamicBlockScss-v3.css +1025 -1773
- package/public/publicBundle.css +1025 -1773
- package/fields.json +0 -4
- package/index.js +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@use '../fields-core-functions-v3/core-functions-v3';
|
|
3
3
|
@use '../component-element-positioning-v3/element-positioning-v3';
|
|
4
4
|
@use '../../breakpoints';
|
|
5
|
-
@use 'NodeModules/swiper/swiper-bundle.min.css';
|
|
5
|
+
// @use 'NodeModules/swiper/swiper-bundle.min.css';
|
|
6
6
|
|
|
7
7
|
.carousel-multi-layout-v3 {
|
|
8
8
|
display: grid;
|
|
@@ -63,5 +63,8 @@
|
|
|
63
63
|
</div>
|
|
64
64
|
{% endfor %}
|
|
65
65
|
</div>
|
|
66
|
-
{
|
|
66
|
+
{% if fields.animations.enable_animations %}
|
|
67
|
+
{{ include('components/animations-style-v3.twig', { fields, block, blockClassName }, with_context = false) }}
|
|
68
|
+
{% endif %}
|
|
69
|
+
|
|
67
70
|
</{{blockElementType}}>
|
|
@@ -602,11 +602,11 @@
|
|
|
602
602
|
},
|
|
603
603
|
"wpml_cf_preferences": 3,
|
|
604
604
|
"choices": {
|
|
605
|
-
"1": "
|
|
606
|
-
"2": "
|
|
607
|
-
"3": "
|
|
608
|
-
"4": "
|
|
609
|
-
"5": "
|
|
605
|
+
"1": "Onion 1",
|
|
606
|
+
"2": "Onion 2",
|
|
607
|
+
"3": "Onion 3",
|
|
608
|
+
"4": "Onion 4",
|
|
609
|
+
"5": "Onion 5"
|
|
610
610
|
},
|
|
611
611
|
"default_value": 1,
|
|
612
612
|
"return_format": "value",
|
|
@@ -1399,11 +1399,11 @@
|
|
|
1399
1399
|
},
|
|
1400
1400
|
"wpml_cf_preferences": 3,
|
|
1401
1401
|
"choices": {
|
|
1402
|
-
"1": "
|
|
1403
|
-
"2": "
|
|
1404
|
-
"3": "
|
|
1405
|
-
"4": "
|
|
1406
|
-
"5": "
|
|
1402
|
+
"1": "Onion 1",
|
|
1403
|
+
"2": "Onion 2",
|
|
1404
|
+
"3": "Onion 3",
|
|
1405
|
+
"4": "Onion 4",
|
|
1406
|
+
"5": "Onion 5"
|
|
1407
1407
|
},
|
|
1408
1408
|
"default_value": 1,
|
|
1409
1409
|
"return_format": "value",
|
|
@@ -2056,11 +2056,11 @@
|
|
|
2056
2056
|
"selected": 0
|
|
2057
2057
|
},
|
|
2058
2058
|
{
|
|
2059
|
-
"key": "
|
|
2060
|
-
"label": "
|
|
2061
|
-
"name": "
|
|
2059
|
+
"key": "field_67090b7796ecc",
|
|
2060
|
+
"label": "Cta style select",
|
|
2061
|
+
"name": "cta_style_select",
|
|
2062
2062
|
"aria-label": "",
|
|
2063
|
-
"type": "
|
|
2063
|
+
"type": "select",
|
|
2064
2064
|
"instructions": "",
|
|
2065
2065
|
"required": 0,
|
|
2066
2066
|
"conditional_logic": 0,
|
|
@@ -2069,17 +2069,88 @@
|
|
|
2069
2069
|
"class": "",
|
|
2070
2070
|
"id": ""
|
|
2071
2071
|
},
|
|
2072
|
-
"
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
"
|
|
2078
|
-
"
|
|
2079
|
-
"
|
|
2080
|
-
"
|
|
2081
|
-
"
|
|
2082
|
-
"
|
|
2072
|
+
"choices": {
|
|
2073
|
+
"default": "Default",
|
|
2074
|
+
"post-colour": "Post Colour",
|
|
2075
|
+
"post-text-colour-style": "Post text colour style"
|
|
2076
|
+
},
|
|
2077
|
+
"default_value": "default",
|
|
2078
|
+
"return_format": "value",
|
|
2079
|
+
"multiple": 0,
|
|
2080
|
+
"max": "",
|
|
2081
|
+
"prepend": "",
|
|
2082
|
+
"append": "",
|
|
2083
|
+
"allow_null": 0,
|
|
2084
|
+
"allow_in_bindings": 1,
|
|
2085
|
+
"ui": 0,
|
|
2086
|
+
"ajax": 0,
|
|
2087
|
+
"placeholder": "",
|
|
2088
|
+
"create_options": 0,
|
|
2089
|
+
"save_options": 0,
|
|
2090
|
+
"allow_custom": 0,
|
|
2091
|
+
"search_placeholder": "",
|
|
2092
|
+
"min": ""
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
"key": "field_67090c638b333",
|
|
2096
|
+
"label": "Cta style",
|
|
2097
|
+
"name": "cta_style",
|
|
2098
|
+
"aria-label": "",
|
|
2099
|
+
"type": "select",
|
|
2100
|
+
"instructions": "",
|
|
2101
|
+
"required": 0,
|
|
2102
|
+
"conditional_logic": 0,
|
|
2103
|
+
"wrapper": {
|
|
2104
|
+
"width": "",
|
|
2105
|
+
"class": "",
|
|
2106
|
+
"id": ""
|
|
2107
|
+
},
|
|
2108
|
+
"choices": {
|
|
2109
|
+
"1": "Onion 1",
|
|
2110
|
+
"2": "Onion 2",
|
|
2111
|
+
"3": "Onion 3",
|
|
2112
|
+
"4": "Onion 4",
|
|
2113
|
+
"5": "Onion 5"
|
|
2114
|
+
},
|
|
2115
|
+
"default_value": "__1",
|
|
2116
|
+
"return_format": "value",
|
|
2117
|
+
"multiple": 0,
|
|
2118
|
+
"max": "",
|
|
2119
|
+
"allow_custom": 0,
|
|
2120
|
+
"placeholder": "",
|
|
2121
|
+
"search_placeholder": "",
|
|
2122
|
+
"prepend": "",
|
|
2123
|
+
"append": "",
|
|
2124
|
+
"allow_null": 1,
|
|
2125
|
+
"allow_in_bindings": 1,
|
|
2126
|
+
"ui": 1,
|
|
2127
|
+
"ajax": 0,
|
|
2128
|
+
"create_options": 0,
|
|
2129
|
+
"save_options": 0,
|
|
2130
|
+
"min": ""
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
"key": "field_696a5beb2d1d8",
|
|
2134
|
+
"label": "Number of tags",
|
|
2135
|
+
"name": "number_of_tags",
|
|
2136
|
+
"aria-label": "",
|
|
2137
|
+
"type": "number",
|
|
2138
|
+
"instructions": "",
|
|
2139
|
+
"required": 0,
|
|
2140
|
+
"conditional_logic": 0,
|
|
2141
|
+
"wrapper": {
|
|
2142
|
+
"width": "",
|
|
2143
|
+
"class": "",
|
|
2144
|
+
"id": ""
|
|
2145
|
+
},
|
|
2146
|
+
"default_value": "",
|
|
2147
|
+
"min": 1,
|
|
2148
|
+
"max": 4,
|
|
2149
|
+
"allow_in_bindings": 0,
|
|
2150
|
+
"placeholder": "",
|
|
2151
|
+
"step": "",
|
|
2152
|
+
"prepend": "",
|
|
2153
|
+
"append": ""
|
|
2083
2154
|
}
|
|
2084
2155
|
],
|
|
2085
2156
|
"min": "",
|
|
@@ -2756,7 +2827,9 @@
|
|
|
2756
2827
|
"acfe_flexible_search_enabled": false,
|
|
2757
2828
|
"acfe_flexible_search_text": "",
|
|
2758
2829
|
"acfe_flexible_search_not_found": ""
|
|
2759
|
-
}
|
|
2830
|
+
},
|
|
2831
|
+
"acfe_flexible_layouts_settings": false,
|
|
2832
|
+
"acfe_flexible_grid_container": false
|
|
2760
2833
|
},
|
|
2761
2834
|
{
|
|
2762
2835
|
"key": "field_689f3979772e6",
|
|
@@ -3032,7 +3105,8 @@
|
|
|
3032
3105
|
"display_title": "",
|
|
3033
3106
|
"acfe_autosync": ["json"],
|
|
3034
3107
|
"acfe_form": 0,
|
|
3108
|
+
"acfe_display_title": "",
|
|
3035
3109
|
"acfe_meta": "",
|
|
3036
3110
|
"acfe_note": "",
|
|
3037
|
-
"modified":
|
|
3111
|
+
"modified": 1768586501
|
|
3038
3112
|
}
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
{% set imageAspectRatioPortrait = '--image-aspect-ratio-portrait:' ~ field.image_aspect_ratio_portrait ~ ';' %}
|
|
15
15
|
{% set imageAspectRatioMobile = '--image-aspect-ratio-mobile:' ~ field.image_aspect_ratio_mobile ~ ';' %}
|
|
16
16
|
{% set imageFitStyle = '--image-fit-style:' ~ (field.image_fit_style|ru|default('contain')) ~ ';' %}
|
|
17
|
+
{% set linkToAssociatedPost = field.link_to_associated_post %}
|
|
18
|
+
|
|
17
19
|
{% set styleVars = imageWidthPercentDesktop ~ imageWidthPercentMobile ~ imageWidthPercentMobilePx ~ imageWidthPercentDesktopPx ~ imageAspectRatioDesktop ~ imageAspectRatioPortrait ~ imageAspectRatioMobile ~ imageFitStyle %}
|
|
18
20
|
<style>
|
|
19
21
|
.{{blockClassName}}__post-image-container.{{block.id}}{
|
|
@@ -22,7 +24,8 @@
|
|
|
22
24
|
{{positionVars}}
|
|
23
25
|
}
|
|
24
26
|
</style>
|
|
25
|
-
<a aria-label="{{post.title}}" href="{{post.link}}" data-pattern-post-info="link" data-image-select="{{ imageSelect }}" class="{{blockClassName}}__post-image-container {{blockClassName}}__info-item {{blockClassName}}__info-item--{{postType}} {{blockClassName}}__post-image-container--{{imageSelect|replace({'_':'-'})}} {{block.id}}">
|
|
27
|
+
<a aria-label="{{post.title}}" href="{{linkToAssociatedPost ? get_post(post.associated_post).link : post.link}}" data-pattern-post-info="link" data-image-select="{{ imageSelect }}" class="{{blockClassName}}__post-image-container {{blockClassName}}__info-item {{blockClassName}}__info-item--{{postType}} {{blockClassName}}__post-image-container--{{imageSelect|replace({'_':'-'})}} {{block.id}}">
|
|
28
|
+
|
|
26
29
|
{% set imageSizes = imageSizes|default('(min-width: 1440px) 50vw, (min-width: 768px) 50vw, (min-width: 500px) 50vw, 100vw') %}
|
|
27
30
|
{% set imageFields = [] %}
|
|
28
31
|
{% set imageFields = imageFields|merge({'enable_image' : true}) %}
|
|
@@ -33,7 +36,9 @@
|
|
|
33
36
|
{% elseif attribute(post, 'post_image') %}
|
|
34
37
|
{% set imageFields = imageFields|merge({'image' : attribute(post, 'post_image')}) %}
|
|
35
38
|
{% endif %}
|
|
36
|
-
{
|
|
39
|
+
{% set imageFields = imageFields|merge({'enable_image' : true}) %}
|
|
40
|
+
{% set imageFields = imageFields|merge({'desktop_image' : imageFields.image}) %}
|
|
41
|
+
{{ include('components/responsive-image-v3.twig', {
|
|
37
42
|
fields: imageFields,
|
|
38
43
|
block: block,
|
|
39
44
|
blockClassName: imageClassname,
|
|
@@ -8,202 +8,203 @@
|
|
|
8
8
|
@use '../component-social-media-share-v3/social-media-share-v3';
|
|
9
9
|
@use '../component-better-reviews-v3/better-reviews-v3';
|
|
10
10
|
@use '../../breakpoints';
|
|
11
|
+
@layer base-styles {
|
|
12
|
+
.post-info-v3 {
|
|
13
|
+
display: grid;
|
|
14
|
+
grid-auto-columns: 1fr;
|
|
15
|
+
grid-template: 'main' / 1fr;
|
|
16
|
+
@include content-box-settings-v3.contentBoxSettingsV3();
|
|
17
|
+
@include grid-layout-container-v3.gridLayoutContainer();
|
|
18
|
+
@include social-media-share-v3.social-media-share();
|
|
19
|
+
@include better-reviews-v3.better-reviews();
|
|
20
|
+
&__post-cover-link {
|
|
21
|
+
grid-area: unset;
|
|
22
|
+
position: absolute;
|
|
23
|
+
inset: 0;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
z-index: 99;
|
|
27
|
+
opacity: 0;
|
|
28
|
+
}
|
|
29
|
+
&__post-cover-label {
|
|
30
|
+
position: absolute;
|
|
31
|
+
width: 1px;
|
|
32
|
+
height: 1px;
|
|
33
|
+
margin: -1px;
|
|
34
|
+
padding: 0;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
clip: rect(0, 0, 0, 0);
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
border: 0;
|
|
39
|
+
}
|
|
40
|
+
&__info-item {
|
|
41
|
+
@include grid-layout-element-v3.gridLayoutElement();
|
|
42
|
+
width: 100%;
|
|
43
|
+
position: relative;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
}
|
|
46
|
+
&__post-video {
|
|
47
|
+
aspect-ratio: var(
|
|
48
|
+
--image-aspect-ratio-mobile,
|
|
49
|
+
var(--image-aspect-ratio-desktop)
|
|
50
|
+
);
|
|
51
|
+
width: 100%;
|
|
52
|
+
object-fit: cover;
|
|
53
|
+
height: auto;
|
|
11
54
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
@include social-media-share-v3.social-media-share();
|
|
19
|
-
@include better-reviews-v3.better-reviews();
|
|
20
|
-
&__post-cover-link {
|
|
21
|
-
grid-area: unset;
|
|
22
|
-
position: absolute;
|
|
23
|
-
inset: 0;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 100%;
|
|
26
|
-
z-index: 99;
|
|
27
|
-
opacity: 0;
|
|
28
|
-
}
|
|
29
|
-
&__post-cover-label {
|
|
30
|
-
position: absolute;
|
|
31
|
-
width: 1px;
|
|
32
|
-
height: 1px;
|
|
33
|
-
margin: -1px;
|
|
34
|
-
padding: 0;
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
clip: rect(0, 0, 0, 0);
|
|
37
|
-
white-space: nowrap;
|
|
38
|
-
border: 0;
|
|
39
|
-
}
|
|
40
|
-
&__info-item {
|
|
41
|
-
@include grid-layout-element-v3.gridLayoutElement();
|
|
42
|
-
width: 100%;
|
|
43
|
-
position: relative;
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
}
|
|
46
|
-
&__post-video {
|
|
47
|
-
aspect-ratio: var(
|
|
48
|
-
--image-aspect-ratio-mobile,
|
|
49
|
-
var(--image-aspect-ratio-desktop)
|
|
50
|
-
);
|
|
51
|
-
width: 100%;
|
|
52
|
-
object-fit: cover;
|
|
53
|
-
height: auto;
|
|
54
|
-
|
|
55
|
-
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
56
|
-
aspect-ratio: var(--image-aspect-ratio-portrait);
|
|
55
|
+
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
56
|
+
aspect-ratio: var(--image-aspect-ratio-portrait);
|
|
57
|
+
}
|
|
58
|
+
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
59
|
+
aspect-ratio: var(--image-aspect-ratio-desktop);
|
|
60
|
+
}
|
|
57
61
|
}
|
|
58
|
-
|
|
59
|
-
|
|
62
|
+
&__content-container {
|
|
63
|
+
width: 100%;
|
|
60
64
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
@include grid-layout-element-v3.gridLayoutElement();
|
|
67
|
-
}
|
|
68
|
-
&__cta {
|
|
69
|
-
display: flex;
|
|
70
|
-
}
|
|
71
|
-
&__cta-style-post-colour,
|
|
72
|
-
&__cta-style-post-text-colour-style {
|
|
73
|
-
padding-block: core-functions-v3.fluidSize(10);
|
|
74
|
-
padding-inline: core-functions-v3.fluidSize(20);
|
|
75
|
-
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
76
|
-
padding-block: core-functions-v3.fluidSize(10);
|
|
77
|
-
padding-inline: core-functions-v3.fluidSize(20);
|
|
65
|
+
&__cta-selection-container {
|
|
66
|
+
@include grid-layout-element-v3.gridLayoutElement();
|
|
67
|
+
}
|
|
68
|
+
&__cta {
|
|
69
|
+
display: flex;
|
|
78
70
|
}
|
|
79
|
-
|
|
71
|
+
&__cta-style-post-colour,
|
|
72
|
+
&__cta-style-post-text-colour-style {
|
|
80
73
|
padding-block: core-functions-v3.fluidSize(10);
|
|
81
74
|
padding-inline: core-functions-v3.fluidSize(20);
|
|
75
|
+
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
76
|
+
padding-block: core-functions-v3.fluidSize(10);
|
|
77
|
+
padding-inline: core-functions-v3.fluidSize(20);
|
|
78
|
+
}
|
|
79
|
+
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
80
|
+
padding-block: core-functions-v3.fluidSize(10);
|
|
81
|
+
padding-inline: core-functions-v3.fluidSize(20);
|
|
82
|
+
}
|
|
82
83
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
84
|
+
&__cta-style-post-colour {
|
|
85
|
+
color: var(--post-colour);
|
|
86
|
+
border: 1px solid var(--post-colour);
|
|
87
|
+
}
|
|
88
|
+
&__cta-style-post-text-colour-style {
|
|
89
|
+
color: var(--post-text-colour-style);
|
|
90
|
+
border: 1px solid var(--post-text-colour-style);
|
|
91
|
+
}
|
|
92
|
+
&__post-link,
|
|
93
|
+
&__better-reviews {
|
|
94
|
+
max-width: max-content;
|
|
95
|
+
}
|
|
96
|
+
&__gradient-overlay {
|
|
97
|
+
height: 100%;
|
|
98
|
+
@include gradient-overlay-v3.gradientOverlay();
|
|
99
|
+
}
|
|
100
|
+
&__post-tags {
|
|
101
|
+
pointer-events: none;
|
|
102
|
+
display: flex;
|
|
103
|
+
width: auto;
|
|
104
|
+
@include grid-layout-element-v3.gridLayoutElement();
|
|
105
|
+
}
|
|
106
|
+
&__post-image-container {
|
|
107
|
+
display: grid;
|
|
108
|
+
grid-template: 'main' / 1fr;
|
|
109
|
+
&--image-accent {
|
|
110
|
+
position: relative;
|
|
111
|
+
img,
|
|
112
|
+
svg {
|
|
113
|
+
margin: unset;
|
|
114
|
+
@include element-positioning-v3.elementPositioning();
|
|
115
|
+
}
|
|
115
116
|
}
|
|
116
117
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
width: var(--post-image-width-mobile);
|
|
118
|
+
&__post__image {
|
|
119
|
+
display: flex;
|
|
120
|
+
justify-content: center;
|
|
121
|
+
margin-inline: auto;
|
|
122
|
+
grid-area: main;
|
|
123
|
+
height: auto;
|
|
124
|
+
aspect-ratio: var(
|
|
125
|
+
--image-aspect-ratio-mobile,
|
|
126
|
+
var(--image-aspect-ratio-desktop)
|
|
127
|
+
);
|
|
128
|
+
@include grid-layout-element-v3.gridLayoutElement();
|
|
129
|
+
width: var(--post-image-width-mobile);
|
|
130
130
|
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
132
|
+
aspect-ratio: var(--image-aspect-ratio-portrait);
|
|
133
|
+
}
|
|
134
|
+
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
135
|
+
width: var(--post-image-width-desktop);
|
|
136
|
+
aspect-ratio: var(--image-aspect-ratio-desktop);
|
|
137
|
+
}
|
|
133
138
|
}
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
139
|
+
&__post__image {
|
|
140
|
+
object-fit: var(--image-fit-style);
|
|
141
|
+
margin: auto;
|
|
137
142
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}
|
|
157
|
-
&__global-image__image {
|
|
158
|
-
object-fit: var(--global-image-fit-style);
|
|
159
|
-
}
|
|
160
|
-
&__product-logo {
|
|
161
|
-
max-width: core-functions-v3.fluidSize(
|
|
162
|
-
var(--logo-max-width-mobile),
|
|
163
|
-
'mobile'
|
|
164
|
-
);
|
|
165
|
-
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
143
|
+
&__post-author-label {
|
|
144
|
+
display: flex;
|
|
145
|
+
}
|
|
146
|
+
&__global-image {
|
|
147
|
+
z-index: var(--global-image-zindex);
|
|
148
|
+
max-width: var(--global-image-max-width);
|
|
149
|
+
min-height: 100%;
|
|
150
|
+
}
|
|
151
|
+
&__global-image__picture {
|
|
152
|
+
width: var(--global-image-width);
|
|
153
|
+
display: flex;
|
|
154
|
+
position: var(--global-image-position);
|
|
155
|
+
inset: 0;
|
|
156
|
+
}
|
|
157
|
+
&__global-image__image {
|
|
158
|
+
object-fit: var(--global-image-fit-style);
|
|
159
|
+
}
|
|
160
|
+
&__product-logo {
|
|
166
161
|
max-width: core-functions-v3.fluidSize(
|
|
167
|
-
var(--logo-max-width-
|
|
168
|
-
'
|
|
162
|
+
var(--logo-max-width-mobile),
|
|
163
|
+
'mobile'
|
|
169
164
|
);
|
|
165
|
+
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
166
|
+
max-width: core-functions-v3.fluidSize(
|
|
167
|
+
var(--logo-max-width-desktop),
|
|
168
|
+
'desktop'
|
|
169
|
+
);
|
|
170
|
+
}
|
|
170
171
|
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
172
|
+
&__post-text-alternative-style {
|
|
173
|
+
width: auto;
|
|
174
|
+
@include grid-layout-element-v3.gridLayoutElement();
|
|
175
|
+
}
|
|
176
|
+
&__social-networks-inner-container {
|
|
177
|
+
display: flex;
|
|
178
|
+
flex-direction: column;
|
|
179
|
+
gap: core-functions-v3.fluidSize(10);
|
|
180
|
+
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
181
|
+
flex-direction: row;
|
|
182
|
+
gap: core-functions-v3.fluidSize(20);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
&__social-networks-links-container {
|
|
186
|
+
display: flex;
|
|
182
187
|
gap: core-functions-v3.fluidSize(20);
|
|
183
188
|
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
&__social-networks-link-container {
|
|
190
|
-
img {
|
|
191
|
-
width: core-functions-v3.fluidSize(30);
|
|
192
|
-
height: core-functions-v3.fluidSize(30);
|
|
189
|
+
&__social-networks-link-container {
|
|
190
|
+
img {
|
|
191
|
+
width: core-functions-v3.fluidSize(30);
|
|
192
|
+
height: core-functions-v3.fluidSize(30);
|
|
193
|
+
}
|
|
193
194
|
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
195
|
+
&__social-networks-share-label {
|
|
196
|
+
--default-font-weight: 700;
|
|
197
|
+
line-height: var(--paragraph-line-height);
|
|
198
|
+
letter-spacing: var(--paragraph-letter-spacing);
|
|
199
|
+
font-family: var(--paragraph-font-family);
|
|
200
|
+
font-weight: var(--default-font-weight);
|
|
201
|
+
font-size: core-functions-v3.fontSize(18, 'mobile');
|
|
202
|
+
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
203
|
+
font-size: core-functions-v3.fontSize(22, 'portrait');
|
|
204
|
+
}
|
|
205
|
+
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
206
|
+
font-size: core-functions-v3.fontSize(22, 'desktop');
|
|
207
|
+
}
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
210
|
}
|
|
@@ -10,5 +10,8 @@
|
|
|
10
10
|
{{previewEntryPoint}}
|
|
11
11
|
<section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{block.className}} {{classNameEntryPoint}} lazy-fade" {{dataAttributeEntryPoint}} data-blockid="{{block.id}}" style="{{sectionStyles}}" data-assetkey="{{blockClassName}}">
|
|
12
12
|
{{fields.code}}
|
|
13
|
-
{
|
|
13
|
+
{% if fields.animations.enable_animations %}
|
|
14
|
+
{{ include('components/animations-style-v3.twig', { fields, block, blockClassName }, with_context = false) }}
|
|
15
|
+
{% endif %}
|
|
16
|
+
|
|
14
17
|
</section>
|