@total_onion/onion-library 1.0.89 → 1.0.92
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-carousel-multi-layout-v3/carousel-multi-layout-v3.scss +3 -4
- package/components/block-group-container-v3/group-container-v3.scss +5 -5
- package/components/block-single-column-container-v3/group_6887640458d61.json +483 -0
- package/components/block-single-column-container-v3/single-column-container-v3-extra.scss +6 -0
- package/components/block-single-column-container-v3/single-column-container-v3.js +8 -0
- package/components/block-single-column-container-v3/single-column-container-v3.php +14 -0
- package/components/block-single-column-container-v3/single-column-container-v3.scss +22 -0
- package/components/block-single-column-container-v3/single-column-container-v3.twig +30 -0
- package/components/block-single-responsive-image-v3/single-responsive-image-v3.scss +1 -1
- package/components/block-standard-content-v3/standard-content-v3-extra.scss +15 -13
- package/components/block-standard-content-v3/standard-content-v3.scss +1 -1
- package/components/block-sub-group-container-v3/sub-group-container-v3.scss +1 -1
- package/components/block-video-content-v3/video-content-v3.scss +1 -1
- package/components/component-responsive-image-v3/responsive-image-v3.scss +61 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// LIBRARY FILE - Do not modify/override here as your changes will be lost when the package is updated.
|
|
2
2
|
@use 'Assets/scss/modules/library-modules/core-mixins-v3/core-mixins-v3';
|
|
3
3
|
@use 'Assets/scss/modules/library-modules/core-functions-v3/core-functions-v3';
|
|
4
|
-
@use 'Assets/scss/modules/library-modules/element-positioning/element-positioning';
|
|
4
|
+
@use 'Assets/scss/modules/library-modules/element-positioning-v3/element-positioning-v3';
|
|
5
5
|
@use 'Assets/scss/theme/breakpoints';
|
|
6
6
|
@use 'Assets/scss/blocks/carousel-multi-layout-v3/carousel-multi-layout-v3-extra';
|
|
7
7
|
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
width: unset;
|
|
114
114
|
}
|
|
115
115
|
.swiper-pagination {
|
|
116
|
-
@include element-positioning.elementPositioning();
|
|
116
|
+
@include element-positioning-v3.elementPositioning();
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.swiper-pagination-bullet {
|
|
@@ -150,6 +150,5 @@
|
|
|
150
150
|
display: var(--display-arrows-desktop);
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
|
|
154
|
-
@include carousel-multi-layout-v3-extra.additionalStyles();
|
|
155
153
|
}
|
|
154
|
+
@include carousel-multi-layout-v3-extra.additionalStyles();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// LIBRARY FILE - Do not modify/override here as your changes will be lost when the package is updated.
|
|
2
|
-
@use 'Assets/scss/modules/library-modules/grid-layout-element/grid-layout-element';
|
|
3
|
-
@use 'Assets/scss/modules/library-modules/grid-layout-container/grid-layout-container';
|
|
2
|
+
@use 'Assets/scss/modules/library-modules/grid-layout-element-v3/grid-layout-element-v3';
|
|
3
|
+
@use 'Assets/scss/modules/library-modules/grid-layout-container-v3/grid-layout-container-v3';
|
|
4
4
|
@use 'Assets/scss/blocks/group-container-v3/group-container-v3-extra';
|
|
5
5
|
|
|
6
6
|
.group-container-v3 {
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
&__grid-container {
|
|
11
11
|
grid-area: main;
|
|
12
12
|
place-self: stretch;
|
|
13
|
-
@include grid-layout-container.gridLayoutContainer();
|
|
13
|
+
@include grid-layout-container-v3.gridLayoutContainer();
|
|
14
14
|
}
|
|
15
15
|
&__block-container {
|
|
16
|
-
@include grid-layout-element.gridLayoutElement();
|
|
16
|
+
@include grid-layout-element-v3.gridLayoutElement();
|
|
17
17
|
z-index: 5;
|
|
18
18
|
pointer-events: none;
|
|
19
19
|
position: relative;
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
color: white;
|
|
32
32
|
text-shadow: 1px 1px 1px blue;
|
|
33
33
|
}
|
|
34
|
-
@include group-container-v3-extra.additionalStyles();
|
|
35
34
|
}
|
|
35
|
+
@include group-container-v3-extra.additionalStyles();
|
|
@@ -0,0 +1,483 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "group_6887640458d61",
|
|
3
|
+
"title": "Block: Single Column Container v3",
|
|
4
|
+
"fields": [
|
|
5
|
+
{
|
|
6
|
+
"key": "field_688764046c112",
|
|
7
|
+
"label": "Sections",
|
|
8
|
+
"name": "",
|
|
9
|
+
"aria-label": "",
|
|
10
|
+
"type": "tab",
|
|
11
|
+
"instructions": "",
|
|
12
|
+
"required": 0,
|
|
13
|
+
"conditional_logic": 0,
|
|
14
|
+
"wrapper": {
|
|
15
|
+
"width": "",
|
|
16
|
+
"class": "",
|
|
17
|
+
"id": ""
|
|
18
|
+
},
|
|
19
|
+
"wpml_cf_preferences": 3,
|
|
20
|
+
"placement": "top",
|
|
21
|
+
"endpoint": 0,
|
|
22
|
+
"no_preference": 0,
|
|
23
|
+
"selected": 0
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"key": "field_688764046c504",
|
|
27
|
+
"label": "Sections",
|
|
28
|
+
"name": "sections",
|
|
29
|
+
"aria-label": "",
|
|
30
|
+
"type": "flexible_content",
|
|
31
|
+
"instructions": "",
|
|
32
|
+
"required": 0,
|
|
33
|
+
"conditional_logic": 0,
|
|
34
|
+
"wrapper": {
|
|
35
|
+
"width": "",
|
|
36
|
+
"class": "",
|
|
37
|
+
"id": ""
|
|
38
|
+
},
|
|
39
|
+
"wpml_cf_preferences": 3,
|
|
40
|
+
"acfe_flexible_advanced": 1,
|
|
41
|
+
"acfe_flexible_stylised_button": 1,
|
|
42
|
+
"acfe_flexible_layouts_templates": 0,
|
|
43
|
+
"acfe_flexible_layouts_placeholder": 0,
|
|
44
|
+
"acfe_flexible_layouts_thumbnails": 0,
|
|
45
|
+
"acfe_flexible_layouts_settings": 0,
|
|
46
|
+
"acfe_flexible_layouts_locations": 0,
|
|
47
|
+
"acfe_flexible_async": [
|
|
48
|
+
"title",
|
|
49
|
+
"layout"
|
|
50
|
+
],
|
|
51
|
+
"acfe_flexible_add_actions": [
|
|
52
|
+
"title",
|
|
53
|
+
"toggle",
|
|
54
|
+
"copy",
|
|
55
|
+
"close"
|
|
56
|
+
],
|
|
57
|
+
"acfe_flexible_remove_button": [],
|
|
58
|
+
"acfe_flexible_layouts_state": "collapse",
|
|
59
|
+
"acfe_flexible_modal_edit": {
|
|
60
|
+
"acfe_flexible_modal_edit_enabled": "0",
|
|
61
|
+
"acfe_flexible_modal_edit_size": "large"
|
|
62
|
+
},
|
|
63
|
+
"acfe_flexible_modal": {
|
|
64
|
+
"acfe_flexible_modal_enabled": "0",
|
|
65
|
+
"acfe_flexible_modal_title": false,
|
|
66
|
+
"acfe_flexible_modal_size": "full",
|
|
67
|
+
"acfe_flexible_modal_col": "4",
|
|
68
|
+
"acfe_flexible_modal_categories": false
|
|
69
|
+
},
|
|
70
|
+
"acfe_flexible_grid": {
|
|
71
|
+
"acfe_flexible_grid_enabled": "0",
|
|
72
|
+
"acfe_flexible_grid_align": "center",
|
|
73
|
+
"acfe_flexible_grid_valign": "stretch",
|
|
74
|
+
"acfe_flexible_grid_wrap": false
|
|
75
|
+
},
|
|
76
|
+
"layouts": {
|
|
77
|
+
"layout_65a6742314401": {
|
|
78
|
+
"key": "layout_65a6742314401",
|
|
79
|
+
"name": "single_responsive_image_v3",
|
|
80
|
+
"label": "Single Responsive Image v3",
|
|
81
|
+
"display": "block",
|
|
82
|
+
"sub_fields": [
|
|
83
|
+
{
|
|
84
|
+
"key": "field_68876404780d4",
|
|
85
|
+
"label": "Single responsive image field",
|
|
86
|
+
"name": "single_responsive_image_field",
|
|
87
|
+
"aria-label": "",
|
|
88
|
+
"type": "clone",
|
|
89
|
+
"instructions": "",
|
|
90
|
+
"required": 0,
|
|
91
|
+
"conditional_logic": 0,
|
|
92
|
+
"wrapper": {
|
|
93
|
+
"width": "",
|
|
94
|
+
"class": "",
|
|
95
|
+
"id": ""
|
|
96
|
+
},
|
|
97
|
+
"wpml_cf_preferences": 3,
|
|
98
|
+
"clone": [
|
|
99
|
+
"group_6867bcf24c2fc"
|
|
100
|
+
],
|
|
101
|
+
"display": "seamless",
|
|
102
|
+
"layout": "block",
|
|
103
|
+
"prefix_label": 0,
|
|
104
|
+
"prefix_name": 0,
|
|
105
|
+
"acfe_seamless_style": 0,
|
|
106
|
+
"acfe_clone_modal": 0,
|
|
107
|
+
"acfe_clone_modal_close": 0,
|
|
108
|
+
"acfe_clone_modal_button": "",
|
|
109
|
+
"acfe_clone_modal_size": "large"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"min": "",
|
|
113
|
+
"max": "",
|
|
114
|
+
"acfe_flexible_render_template": false,
|
|
115
|
+
"acfe_flexible_render_style": false,
|
|
116
|
+
"acfe_flexible_render_script": false,
|
|
117
|
+
"acfe_flexible_thumbnail": false,
|
|
118
|
+
"acfe_flexible_settings": false,
|
|
119
|
+
"acfe_flexible_settings_size": "medium",
|
|
120
|
+
"acfe_layout_locations": [],
|
|
121
|
+
"acfe_flexible_modal_edit_size": false,
|
|
122
|
+
"acfe_flexible_category": false,
|
|
123
|
+
"acfe_layout_col": "auto",
|
|
124
|
+
"acfe_layout_allowed_col": false
|
|
125
|
+
},
|
|
126
|
+
"layout_65732b3aa267b": {
|
|
127
|
+
"key": "layout_65732b3aa267b",
|
|
128
|
+
"name": "spacer_v3",
|
|
129
|
+
"label": "Spacer v3",
|
|
130
|
+
"display": "block",
|
|
131
|
+
"sub_fields": [
|
|
132
|
+
{
|
|
133
|
+
"key": "field_688764047ea2b",
|
|
134
|
+
"label": "Spacer fields",
|
|
135
|
+
"name": "spacer_fields",
|
|
136
|
+
"aria-label": "",
|
|
137
|
+
"type": "clone",
|
|
138
|
+
"instructions": "",
|
|
139
|
+
"required": 0,
|
|
140
|
+
"conditional_logic": 0,
|
|
141
|
+
"wrapper": {
|
|
142
|
+
"width": "",
|
|
143
|
+
"class": "",
|
|
144
|
+
"id": ""
|
|
145
|
+
},
|
|
146
|
+
"wpml_cf_preferences": 3,
|
|
147
|
+
"clone": [
|
|
148
|
+
"group_64060dc280525"
|
|
149
|
+
],
|
|
150
|
+
"display": "seamless",
|
|
151
|
+
"layout": "block",
|
|
152
|
+
"prefix_label": 0,
|
|
153
|
+
"prefix_name": 0,
|
|
154
|
+
"acfe_seamless_style": 0,
|
|
155
|
+
"acfe_clone_modal": 0,
|
|
156
|
+
"acfe_clone_modal_close": 0,
|
|
157
|
+
"acfe_clone_modal_button": "",
|
|
158
|
+
"acfe_clone_modal_size": "large"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"min": "",
|
|
162
|
+
"max": "",
|
|
163
|
+
"acfe_flexible_render_template": false,
|
|
164
|
+
"acfe_flexible_render_style": false,
|
|
165
|
+
"acfe_flexible_render_script": false,
|
|
166
|
+
"acfe_flexible_thumbnail": false,
|
|
167
|
+
"acfe_flexible_settings": false,
|
|
168
|
+
"acfe_flexible_settings_size": "medium",
|
|
169
|
+
"acfe_layout_locations": [],
|
|
170
|
+
"acfe_flexible_modal_edit_size": false,
|
|
171
|
+
"acfe_flexible_category": false,
|
|
172
|
+
"acfe_layout_col": "auto",
|
|
173
|
+
"acfe_layout_allowed_col": false
|
|
174
|
+
},
|
|
175
|
+
"layout_6887649f6e58e": {
|
|
176
|
+
"key": "layout_6887649f6e58e",
|
|
177
|
+
"name": "standard_content_v3",
|
|
178
|
+
"label": "Standard Content v3",
|
|
179
|
+
"display": "block",
|
|
180
|
+
"sub_fields": [
|
|
181
|
+
{
|
|
182
|
+
"key": "field_6887649f6e590",
|
|
183
|
+
"label": "Standard content fields",
|
|
184
|
+
"name": "standard_content_fields",
|
|
185
|
+
"aria-label": "",
|
|
186
|
+
"type": "clone",
|
|
187
|
+
"instructions": "",
|
|
188
|
+
"required": 0,
|
|
189
|
+
"conditional_logic": 0,
|
|
190
|
+
"wrapper": {
|
|
191
|
+
"width": "",
|
|
192
|
+
"class": "",
|
|
193
|
+
"id": ""
|
|
194
|
+
},
|
|
195
|
+
"wpml_cf_preferences": 3,
|
|
196
|
+
"clone": [
|
|
197
|
+
"group_68655756737c9"
|
|
198
|
+
],
|
|
199
|
+
"display": "seamless",
|
|
200
|
+
"layout": "",
|
|
201
|
+
"prefix_label": 0,
|
|
202
|
+
"prefix_name": 0,
|
|
203
|
+
"acfe_seamless_style": 0,
|
|
204
|
+
"acfe_clone_modal": 0,
|
|
205
|
+
"acfe_clone_modal_close": 0,
|
|
206
|
+
"acfe_clone_modal_button": "",
|
|
207
|
+
"acfe_clone_modal_size": "large"
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
"min": "",
|
|
211
|
+
"max": "",
|
|
212
|
+
"acfe_flexible_render_template": false,
|
|
213
|
+
"acfe_flexible_render_style": false,
|
|
214
|
+
"acfe_flexible_render_script": false,
|
|
215
|
+
"acfe_flexible_thumbnail": false,
|
|
216
|
+
"acfe_flexible_settings": false,
|
|
217
|
+
"acfe_flexible_settings_size": "medium",
|
|
218
|
+
"acfe_layout_locations": [],
|
|
219
|
+
"acfe_flexible_modal_edit_size": false,
|
|
220
|
+
"acfe_flexible_category": false,
|
|
221
|
+
"acfe_layout_col": "auto",
|
|
222
|
+
"acfe_layout_allowed_col": false
|
|
223
|
+
},
|
|
224
|
+
"layout_688764d06e591": {
|
|
225
|
+
"key": "layout_688764d06e591",
|
|
226
|
+
"name": "group_container__v3",
|
|
227
|
+
"label": "Group Container v3",
|
|
228
|
+
"display": "block",
|
|
229
|
+
"sub_fields": [
|
|
230
|
+
{
|
|
231
|
+
"key": "field_688764d06e593",
|
|
232
|
+
"label": "group container fields",
|
|
233
|
+
"name": "group_container_fields",
|
|
234
|
+
"aria-label": "",
|
|
235
|
+
"type": "clone",
|
|
236
|
+
"instructions": "",
|
|
237
|
+
"required": 0,
|
|
238
|
+
"conditional_logic": 0,
|
|
239
|
+
"wrapper": {
|
|
240
|
+
"width": "",
|
|
241
|
+
"class": "",
|
|
242
|
+
"id": ""
|
|
243
|
+
},
|
|
244
|
+
"wpml_cf_preferences": 3,
|
|
245
|
+
"clone": [
|
|
246
|
+
"group_6865578ada499"
|
|
247
|
+
],
|
|
248
|
+
"display": "seamless",
|
|
249
|
+
"layout": "block",
|
|
250
|
+
"prefix_label": 0,
|
|
251
|
+
"prefix_name": 0,
|
|
252
|
+
"acfe_seamless_style": 0,
|
|
253
|
+
"acfe_clone_modal": 0,
|
|
254
|
+
"acfe_clone_modal_close": 0,
|
|
255
|
+
"acfe_clone_modal_button": "",
|
|
256
|
+
"acfe_clone_modal_size": "large"
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"min": "",
|
|
260
|
+
"max": "",
|
|
261
|
+
"acfe_flexible_render_template": false,
|
|
262
|
+
"acfe_flexible_render_style": false,
|
|
263
|
+
"acfe_flexible_render_script": false,
|
|
264
|
+
"acfe_flexible_thumbnail": false,
|
|
265
|
+
"acfe_flexible_settings": false,
|
|
266
|
+
"acfe_flexible_settings_size": "medium",
|
|
267
|
+
"acfe_layout_locations": [],
|
|
268
|
+
"acfe_flexible_modal_edit_size": false,
|
|
269
|
+
"acfe_flexible_category": false,
|
|
270
|
+
"acfe_layout_col": "auto",
|
|
271
|
+
"acfe_layout_allowed_col": false
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"min": "",
|
|
275
|
+
"max": "",
|
|
276
|
+
"button_label": "Add Row",
|
|
277
|
+
"acfe_flexible_hide_empty_message": false,
|
|
278
|
+
"acfe_flexible_empty_message": "",
|
|
279
|
+
"acfe_flexible_layouts_previews": false,
|
|
280
|
+
"acfe_flexible_grid_container": false
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"key": "field_688764046d0b7",
|
|
284
|
+
"label": "Block settings",
|
|
285
|
+
"name": "",
|
|
286
|
+
"aria-label": "",
|
|
287
|
+
"type": "tab",
|
|
288
|
+
"instructions": "",
|
|
289
|
+
"required": 0,
|
|
290
|
+
"conditional_logic": 0,
|
|
291
|
+
"wrapper": {
|
|
292
|
+
"width": "",
|
|
293
|
+
"class": "",
|
|
294
|
+
"id": ""
|
|
295
|
+
},
|
|
296
|
+
"wpml_cf_preferences": 3,
|
|
297
|
+
"user_roles": [
|
|
298
|
+
"administrator"
|
|
299
|
+
],
|
|
300
|
+
"placement": "top",
|
|
301
|
+
"endpoint": 0,
|
|
302
|
+
"no_preference": 0,
|
|
303
|
+
"selected": 0
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"key": "field_688764046d49f",
|
|
307
|
+
"label": "Block",
|
|
308
|
+
"name": "",
|
|
309
|
+
"aria-label": "",
|
|
310
|
+
"type": "accordion",
|
|
311
|
+
"instructions": "",
|
|
312
|
+
"required": 0,
|
|
313
|
+
"conditional_logic": 0,
|
|
314
|
+
"wrapper": {
|
|
315
|
+
"width": "",
|
|
316
|
+
"class": "",
|
|
317
|
+
"id": ""
|
|
318
|
+
},
|
|
319
|
+
"wpml_cf_preferences": 3,
|
|
320
|
+
"user_roles": [
|
|
321
|
+
"administrator"
|
|
322
|
+
],
|
|
323
|
+
"open": 0,
|
|
324
|
+
"multi_expand": 0,
|
|
325
|
+
"endpoint": 0
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"key": "field_688764046d88c",
|
|
329
|
+
"label": "Block settings fields",
|
|
330
|
+
"name": "block_settings_fields",
|
|
331
|
+
"aria-label": "",
|
|
332
|
+
"type": "clone",
|
|
333
|
+
"instructions": "",
|
|
334
|
+
"required": 0,
|
|
335
|
+
"conditional_logic": 0,
|
|
336
|
+
"wrapper": {
|
|
337
|
+
"width": "",
|
|
338
|
+
"class": "",
|
|
339
|
+
"id": ""
|
|
340
|
+
},
|
|
341
|
+
"wpml_cf_preferences": 3,
|
|
342
|
+
"user_roles": [
|
|
343
|
+
"administrator"
|
|
344
|
+
],
|
|
345
|
+
"clone": [
|
|
346
|
+
"group_65a45ada4e128"
|
|
347
|
+
],
|
|
348
|
+
"display": "seamless",
|
|
349
|
+
"layout": "block",
|
|
350
|
+
"prefix_label": 0,
|
|
351
|
+
"prefix_name": 0,
|
|
352
|
+
"acfe_seamless_style": 0,
|
|
353
|
+
"acfe_clone_modal": 0,
|
|
354
|
+
"acfe_clone_modal_close": 0,
|
|
355
|
+
"acfe_clone_modal_button": "",
|
|
356
|
+
"acfe_clone_modal_size": "large"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"key": "field_688764046e05a",
|
|
360
|
+
"label": "Block end",
|
|
361
|
+
"name": "",
|
|
362
|
+
"aria-label": "",
|
|
363
|
+
"type": "accordion",
|
|
364
|
+
"instructions": "",
|
|
365
|
+
"required": 0,
|
|
366
|
+
"conditional_logic": 0,
|
|
367
|
+
"wrapper": {
|
|
368
|
+
"width": "",
|
|
369
|
+
"class": "",
|
|
370
|
+
"id": ""
|
|
371
|
+
},
|
|
372
|
+
"wpml_cf_preferences": 3,
|
|
373
|
+
"user_roles": [
|
|
374
|
+
"administrator"
|
|
375
|
+
],
|
|
376
|
+
"open": 0,
|
|
377
|
+
"multi_expand": 0,
|
|
378
|
+
"endpoint": 1
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"key": "field_688764046e445",
|
|
382
|
+
"label": "Block padding",
|
|
383
|
+
"name": "",
|
|
384
|
+
"aria-label": "",
|
|
385
|
+
"type": "accordion",
|
|
386
|
+
"instructions": "",
|
|
387
|
+
"required": 0,
|
|
388
|
+
"conditional_logic": 0,
|
|
389
|
+
"wrapper": {
|
|
390
|
+
"width": "",
|
|
391
|
+
"class": "",
|
|
392
|
+
"id": ""
|
|
393
|
+
},
|
|
394
|
+
"wpml_cf_preferences": 3,
|
|
395
|
+
"user_roles": [
|
|
396
|
+
"administrator"
|
|
397
|
+
],
|
|
398
|
+
"open": 0,
|
|
399
|
+
"multi_expand": 0,
|
|
400
|
+
"endpoint": 0
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"key": "field_688764046e826",
|
|
404
|
+
"label": "Block padding field",
|
|
405
|
+
"name": "block_padding_field",
|
|
406
|
+
"aria-label": "",
|
|
407
|
+
"type": "clone",
|
|
408
|
+
"instructions": "",
|
|
409
|
+
"required": 0,
|
|
410
|
+
"conditional_logic": 0,
|
|
411
|
+
"wrapper": {
|
|
412
|
+
"width": "",
|
|
413
|
+
"class": "",
|
|
414
|
+
"id": ""
|
|
415
|
+
},
|
|
416
|
+
"wpml_cf_preferences": 3,
|
|
417
|
+
"user_roles": [
|
|
418
|
+
"administrator"
|
|
419
|
+
],
|
|
420
|
+
"clone": [
|
|
421
|
+
"group_638f4148bc10b"
|
|
422
|
+
],
|
|
423
|
+
"display": "seamless",
|
|
424
|
+
"layout": "block",
|
|
425
|
+
"prefix_label": 0,
|
|
426
|
+
"prefix_name": 0,
|
|
427
|
+
"acfe_seamless_style": 0,
|
|
428
|
+
"acfe_clone_modal": 0,
|
|
429
|
+
"acfe_clone_modal_close": 0,
|
|
430
|
+
"acfe_clone_modal_button": "",
|
|
431
|
+
"acfe_clone_modal_size": "large"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"key": "field_688764046ec13",
|
|
435
|
+
"label": "Block padding",
|
|
436
|
+
"name": "",
|
|
437
|
+
"aria-label": "",
|
|
438
|
+
"type": "accordion",
|
|
439
|
+
"instructions": "",
|
|
440
|
+
"required": 0,
|
|
441
|
+
"conditional_logic": 0,
|
|
442
|
+
"wrapper": {
|
|
443
|
+
"width": "",
|
|
444
|
+
"class": "",
|
|
445
|
+
"id": ""
|
|
446
|
+
},
|
|
447
|
+
"wpml_cf_preferences": 3,
|
|
448
|
+
"user_roles": [
|
|
449
|
+
"administrator"
|
|
450
|
+
],
|
|
451
|
+
"open": 0,
|
|
452
|
+
"multi_expand": 0,
|
|
453
|
+
"endpoint": 1
|
|
454
|
+
}
|
|
455
|
+
],
|
|
456
|
+
"location": [
|
|
457
|
+
[
|
|
458
|
+
{
|
|
459
|
+
"param": "block",
|
|
460
|
+
"operator": "==",
|
|
461
|
+
"value": "acf\/single-column-container-v3"
|
|
462
|
+
}
|
|
463
|
+
]
|
|
464
|
+
],
|
|
465
|
+
"menu_order": 0,
|
|
466
|
+
"position": "normal",
|
|
467
|
+
"style": "default",
|
|
468
|
+
"label_placement": "top",
|
|
469
|
+
"instruction_placement": "label",
|
|
470
|
+
"hide_on_screen": "",
|
|
471
|
+
"active": true,
|
|
472
|
+
"description": "",
|
|
473
|
+
"show_in_rest": 0,
|
|
474
|
+
"acfe_autosync": [
|
|
475
|
+
"json"
|
|
476
|
+
],
|
|
477
|
+
"acfml_field_group_mode": "localization",
|
|
478
|
+
"acfe_form": 0,
|
|
479
|
+
"acfe_display_title": "",
|
|
480
|
+
"acfe_meta": "",
|
|
481
|
+
"acfe_note": "",
|
|
482
|
+
"modified": 1753704644
|
|
483
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// LIBRARY FILE - Do not modify/override here as your changes will be lost when the package is updated.
|
|
2
|
+
export default function singlecolumncontainerv3Js(options = {}) {
|
|
3
|
+
// try {
|
|
4
|
+
// const {block} = options;
|
|
5
|
+
// } catch (error) {
|
|
6
|
+
// console.error(error);
|
|
7
|
+
// }
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
acf_register_block_type(
|
|
4
|
+
array(
|
|
5
|
+
'name' => 'single-column-container-v3',
|
|
6
|
+
'title' => __('Single column container v3', 'Global-theme Admin'),
|
|
7
|
+
'render_callback' => 'athena_block_render_post_object',
|
|
8
|
+
'category' => 'common',
|
|
9
|
+
'icon' => get_svg_icon_content('brick.svg'),
|
|
10
|
+
'keywords' => array('content', 'text'),
|
|
11
|
+
'mode' => 'preview',
|
|
12
|
+
'supports' => array('align' => false, 'anchor' => true),
|
|
13
|
+
)
|
|
14
|
+
);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// LIBRARY FILE - Do not modify/override here as your changes will be lost when the package is updated.
|
|
2
|
+
@use 'Assets/scss/modules/library-modules/responsive-image/responsive-image';
|
|
3
|
+
@use 'Assets/scss/modules/library-modules/gradient-overlay/gradient-overlay';
|
|
4
|
+
@use 'Assets/scss/blocks/single-column-container-v3/single-column-container-v3-extra';
|
|
5
|
+
|
|
6
|
+
.single-column-container-v3 {
|
|
7
|
+
@include responsive-image.responsiveImage();
|
|
8
|
+
@include gradient-overlay.gradientOverlay();
|
|
9
|
+
}
|
|
10
|
+
.single-column-container-v3 {
|
|
11
|
+
display: grid;
|
|
12
|
+
grid-template: 'main' / 1fr;
|
|
13
|
+
place-items: center;
|
|
14
|
+
position: relative;
|
|
15
|
+
&__block-container {
|
|
16
|
+
display: grid;
|
|
17
|
+
grid-area: main;
|
|
18
|
+
z-index: 5;
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
@include single-column-container-v3-extra.additionalStyles();
|
|
22
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{% set blockClassName = "single-column-container-v3" %}
|
|
2
|
+
{% set classNameEntryPoint = include('entry-points/entry-point-classes.twig', { fields, block }, with_context = false) %}
|
|
3
|
+
{% set htmlEntryPoint = include('entry-points/entry-point-html-v3.twig', { fields, block, blockClassName, options, environment, is_preview, nav_menus }, with_context = false) %}
|
|
4
|
+
{% set dataAttributeEntryPoint = include('entry-points/entry-point-data-attribute.twig', { fields, block }, with_context = false) %}
|
|
5
|
+
{% set styleEntryPoint = include('entry-points/entry-point-style.twig', { fields, block, displaytype, is_preview }, with_context = false) %}
|
|
6
|
+
|
|
7
|
+
{% set previewEntryPoint = include('entry-points/entry-point-preview-info.twig', { fields: fields, block: block, displaytype: displaytype, is_preview: is_preview }, with_context = false) %}
|
|
8
|
+
|
|
9
|
+
{% set backgroundColour = '--section-background-colour: ' ~ fields.background_colour ~ ';' %}
|
|
10
|
+
|
|
11
|
+
{% set sectionStyles = styleEntryPoint ~ backgroundColour %}
|
|
12
|
+
|
|
13
|
+
{{previewEntryPoint}}
|
|
14
|
+
<style>
|
|
15
|
+
.{{blockClassName}}.{{block.id}}{
|
|
16
|
+
{{sectionStyles}}
|
|
17
|
+
}
|
|
18
|
+
</style>
|
|
19
|
+
<section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{block.className}} {{classNameEntryPoint}} lazy-fade {{block.id}}" {{dataAttributeEntryPoint}} data-jsload="false" data-blockid="{{block.id}}" data-assetkey="{{blockClassName}}">
|
|
20
|
+
|
|
21
|
+
<div class="{{blockClassName}}__block-container">
|
|
22
|
+
{% for section in fields.sections %}
|
|
23
|
+
{% if block %}
|
|
24
|
+
{% set block = block|merge({'anchor' : '','className' : '', 'id': block.id ~ loop.index }) %}
|
|
25
|
+
{% endif %}
|
|
26
|
+
{{ include('blocks/' ~ (section.acf_fc_layout|replace({ '_': '-' })) ~ '.twig', { fields: section, options, cta_styles, block, is_preview, current }, with_context = false, ignore_missing = true) }}
|
|
27
|
+
{% endfor %}
|
|
28
|
+
</div>
|
|
29
|
+
{{htmlEntryPoint}}
|
|
30
|
+
</section>
|
|
@@ -5,17 +5,19 @@
|
|
|
5
5
|
// @use 'Assets/scss/theme/animations';
|
|
6
6
|
|
|
7
7
|
@mixin additionalStyles() {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
&
|
|
20
|
-
}
|
|
8
|
+
// .standard-content-v3:has(
|
|
9
|
+
// .standard-content-v2__cover-link.cover-link-hover-effect
|
|
10
|
+
// ) {
|
|
11
|
+
// &:hover {
|
|
12
|
+
// .standard-content-v2__inner-container {
|
|
13
|
+
// * {
|
|
14
|
+
// color: red;
|
|
15
|
+
// }
|
|
16
|
+
// }
|
|
17
|
+
// }
|
|
18
|
+
// }
|
|
19
|
+
// &__cta-animation-style-1 {
|
|
20
|
+
// }
|
|
21
|
+
// &__wysiwyg-decoration-1 {
|
|
22
|
+
// }
|
|
21
23
|
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
|
|
2
|
+
@use 'Assets/scss/modules/library-modules/core-functions/core-functions';
|
|
3
|
+
@use 'Assets/scss/theme/breakpoints';
|
|
4
|
+
|
|
5
|
+
@mixin responsiveImage() {
|
|
6
|
+
&__picture {
|
|
7
|
+
width: var(--image-width-mobile, 100%);
|
|
8
|
+
grid-area: var(--image-grid-area, main);
|
|
9
|
+
position: var(--image-position, relative);
|
|
10
|
+
inset: 0;
|
|
11
|
+
min-height: 100%;
|
|
12
|
+
display: flex;
|
|
13
|
+
z-index: var(--image-z-index);
|
|
14
|
+
border: core-functions.fluidSize(var(--image-border-width), 'static')
|
|
15
|
+
var(--image-border-style) var(--image-border-colour);
|
|
16
|
+
@include core-mixins.device(breakpoints.$tabPortrait) {
|
|
17
|
+
width: var(--image-width-portrait, 100%);
|
|
18
|
+
}
|
|
19
|
+
@include core-mixins.device(breakpoints.$tabLandscape) {
|
|
20
|
+
width: var(--image-width, 100%);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&__image {
|
|
25
|
+
object-fit: var(--image-fit-style, cover);
|
|
26
|
+
position: relative;
|
|
27
|
+
object-position: var(--image-object-position-align);
|
|
28
|
+
translate: var(--image-offset-horiz) var(--image-offset-vert);
|
|
29
|
+
opacity: var(--image-opacity, 1);
|
|
30
|
+
aspect-ratio: var(
|
|
31
|
+
--image-aspect-ratio-mobile,
|
|
32
|
+
var(--image-aspect-ratio-desktop)
|
|
33
|
+
);
|
|
34
|
+
border-radius: var(--image-border-radius);
|
|
35
|
+
min-height: calc(
|
|
36
|
+
var(--image-min-height-mobile) - calc(
|
|
37
|
+
var(--global-site-header-height, 0px) - var(
|
|
38
|
+
--cancel-header-height
|
|
39
|
+
)
|
|
40
|
+
)
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
@include core-mixins.device(breakpoints.$tabPortrait) {
|
|
44
|
+
aspect-ratio: var(--image-aspect-ratio-portrait);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@include core-mixins.device(breakpoints.$tabLandscape) {
|
|
48
|
+
aspect-ratio: var(--image-aspect-ratio-desktop);
|
|
49
|
+
min-height: calc(
|
|
50
|
+
var(--image-min-height-desktop) - calc(
|
|
51
|
+
var(--global-site-header-height, 0px) - var(
|
|
52
|
+
--cancel-header-height
|
|
53
|
+
)
|
|
54
|
+
)
|
|
55
|
+
);
|
|
56
|
+
// .wp-admin & {
|
|
57
|
+
// min-height: unset;
|
|
58
|
+
// }
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|