@total_onion/onion-library 2.0.194 → 2.0.195
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-scrolling-banner-v3/group_68e67fca1ec80.json +172 -62
- package/components/block-scrolling-banner-v3/scrolling-banner-v3.scss +5 -4
- package/components/block-scrolling-banner-v3/scrolling-banner-v3.twig +11 -3
- package/components/fields-core-generic-v3/core-generic-v3.scss +236 -234
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"fields": [
|
|
5
5
|
{
|
|
6
6
|
"key": "field_68e6822690986",
|
|
7
|
-
"label": "Banner
|
|
7
|
+
"label": "Banner Content",
|
|
8
8
|
"name": "",
|
|
9
9
|
"aria-label": "",
|
|
10
10
|
"type": "tab",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"class": "",
|
|
17
17
|
"id": ""
|
|
18
18
|
},
|
|
19
|
-
"wpml_cf_preferences": 3,
|
|
20
19
|
"placement": "top",
|
|
21
20
|
"endpoint": 0,
|
|
22
21
|
"no_preference": 0,
|
|
@@ -111,6 +110,25 @@
|
|
|
111
110
|
}
|
|
112
111
|
]
|
|
113
112
|
},
|
|
113
|
+
{
|
|
114
|
+
"key": "field_69601f0538ee5",
|
|
115
|
+
"label": "Banner Settings",
|
|
116
|
+
"name": "",
|
|
117
|
+
"aria-label": "",
|
|
118
|
+
"type": "tab",
|
|
119
|
+
"instructions": "",
|
|
120
|
+
"required": 0,
|
|
121
|
+
"conditional_logic": 0,
|
|
122
|
+
"wrapper": {
|
|
123
|
+
"width": "",
|
|
124
|
+
"class": "",
|
|
125
|
+
"id": ""
|
|
126
|
+
},
|
|
127
|
+
"placement": "top",
|
|
128
|
+
"endpoint": 0,
|
|
129
|
+
"no_preference": 0,
|
|
130
|
+
"selected": 0
|
|
131
|
+
},
|
|
114
132
|
{
|
|
115
133
|
"key": "field_62647361727b8",
|
|
116
134
|
"label": "Scrolling Banner Speed",
|
|
@@ -121,7 +139,7 @@
|
|
|
121
139
|
"required": 0,
|
|
122
140
|
"conditional_logic": 0,
|
|
123
141
|
"wrapper": {
|
|
124
|
-
"width": "",
|
|
142
|
+
"width": "50",
|
|
125
143
|
"class": "",
|
|
126
144
|
"id": ""
|
|
127
145
|
},
|
|
@@ -133,6 +151,37 @@
|
|
|
133
151
|
"prepend": "",
|
|
134
152
|
"append": ""
|
|
135
153
|
},
|
|
154
|
+
{
|
|
155
|
+
"key": "field_65661d79b8b14",
|
|
156
|
+
"label": "Text Colour",
|
|
157
|
+
"name": "text_colour",
|
|
158
|
+
"aria-label": "",
|
|
159
|
+
"type": "color_picker",
|
|
160
|
+
"instructions": "",
|
|
161
|
+
"required": 0,
|
|
162
|
+
"conditional_logic": 0,
|
|
163
|
+
"wrapper": {
|
|
164
|
+
"width": "50",
|
|
165
|
+
"class": "",
|
|
166
|
+
"id": ""
|
|
167
|
+
},
|
|
168
|
+
"default_value": "#FFFFFF",
|
|
169
|
+
"enable_opacity": 1,
|
|
170
|
+
"return_format": "string",
|
|
171
|
+
"display": "default",
|
|
172
|
+
"button_label": "Select Color",
|
|
173
|
+
"color_picker": 1,
|
|
174
|
+
"absolute": 0,
|
|
175
|
+
"input": 1,
|
|
176
|
+
"allow_null": 1,
|
|
177
|
+
"theme_colors": 0,
|
|
178
|
+
"colors": [],
|
|
179
|
+
"allow_in_bindings": 1,
|
|
180
|
+
"show_custom_palette": 0,
|
|
181
|
+
"show_color_wheel": 1,
|
|
182
|
+
"custom_palette_source": "",
|
|
183
|
+
"palette_colors": ""
|
|
184
|
+
},
|
|
136
185
|
{
|
|
137
186
|
"key": "field_656601518b51f",
|
|
138
187
|
"label": "Font Size Desktop",
|
|
@@ -143,15 +192,14 @@
|
|
|
143
192
|
"required": 0,
|
|
144
193
|
"conditional_logic": 0,
|
|
145
194
|
"wrapper": {
|
|
146
|
-
"width": "",
|
|
195
|
+
"width": "33",
|
|
147
196
|
"class": "",
|
|
148
197
|
"id": ""
|
|
149
198
|
},
|
|
150
|
-
"wpml_cf_preferences": 3,
|
|
151
|
-
"user_roles": ["all"],
|
|
152
199
|
"default_value": 32,
|
|
153
200
|
"min": "",
|
|
154
201
|
"max": 300,
|
|
202
|
+
"allow_in_bindings": 1,
|
|
155
203
|
"step": "",
|
|
156
204
|
"prepend": "",
|
|
157
205
|
"append": ""
|
|
@@ -166,15 +214,14 @@
|
|
|
166
214
|
"required": 0,
|
|
167
215
|
"conditional_logic": 0,
|
|
168
216
|
"wrapper": {
|
|
169
|
-
"width": "",
|
|
217
|
+
"width": "34",
|
|
170
218
|
"class": "",
|
|
171
219
|
"id": ""
|
|
172
220
|
},
|
|
173
|
-
"wpml_cf_preferences": 3,
|
|
174
|
-
"user_roles": ["all"],
|
|
175
221
|
"default_value": 24,
|
|
176
222
|
"min": "",
|
|
177
223
|
"max": 300,
|
|
224
|
+
"allow_in_bindings": 1,
|
|
178
225
|
"step": "",
|
|
179
226
|
"prepend": "",
|
|
180
227
|
"append": ""
|
|
@@ -189,23 +236,22 @@
|
|
|
189
236
|
"required": 0,
|
|
190
237
|
"conditional_logic": 0,
|
|
191
238
|
"wrapper": {
|
|
192
|
-
"width": "",
|
|
239
|
+
"width": "33",
|
|
193
240
|
"class": "",
|
|
194
241
|
"id": ""
|
|
195
242
|
},
|
|
196
|
-
"wpml_cf_preferences": 3,
|
|
197
|
-
"user_roles": ["all"],
|
|
198
243
|
"default_value": 16,
|
|
199
244
|
"min": "",
|
|
200
245
|
"max": 300,
|
|
246
|
+
"allow_in_bindings": 1,
|
|
201
247
|
"step": "",
|
|
202
248
|
"prepend": "",
|
|
203
249
|
"append": ""
|
|
204
250
|
},
|
|
205
251
|
{
|
|
206
252
|
"key": "field_656612fd660a7",
|
|
207
|
-
"label": "
|
|
208
|
-
"name": "
|
|
253
|
+
"label": "Separator As Image?",
|
|
254
|
+
"name": "separator_as_image",
|
|
209
255
|
"aria-label": "",
|
|
210
256
|
"type": "true_false",
|
|
211
257
|
"instructions": "",
|
|
@@ -216,15 +262,81 @@
|
|
|
216
262
|
"class": "",
|
|
217
263
|
"id": ""
|
|
218
264
|
},
|
|
219
|
-
"wpml_cf_preferences": 3,
|
|
220
|
-
"user_roles": ["all"],
|
|
221
265
|
"message": "",
|
|
222
266
|
"default_value": 0,
|
|
267
|
+
"allow_in_bindings": 1,
|
|
223
268
|
"ui_on_text": "",
|
|
224
269
|
"ui_off_text": "",
|
|
225
270
|
"ui": 1,
|
|
226
271
|
"style": ""
|
|
227
272
|
},
|
|
273
|
+
{
|
|
274
|
+
"key": "field_69601f602ec52",
|
|
275
|
+
"label": "Separator image",
|
|
276
|
+
"name": "separator_image",
|
|
277
|
+
"aria-label": "",
|
|
278
|
+
"type": "image",
|
|
279
|
+
"instructions": "",
|
|
280
|
+
"required": 0,
|
|
281
|
+
"conditional_logic": [
|
|
282
|
+
[
|
|
283
|
+
{
|
|
284
|
+
"field": "field_656612fd660a7",
|
|
285
|
+
"operator": "==",
|
|
286
|
+
"value": "1"
|
|
287
|
+
}
|
|
288
|
+
]
|
|
289
|
+
],
|
|
290
|
+
"wrapper": {
|
|
291
|
+
"width": "50",
|
|
292
|
+
"class": "",
|
|
293
|
+
"id": ""
|
|
294
|
+
},
|
|
295
|
+
"uploader": "",
|
|
296
|
+
"return_format": "id",
|
|
297
|
+
"library": "all",
|
|
298
|
+
"upload_folder": "",
|
|
299
|
+
"acfe_thumbnail": 0,
|
|
300
|
+
"min_width": "",
|
|
301
|
+
"min_height": "",
|
|
302
|
+
"min_size": "",
|
|
303
|
+
"max_width": "",
|
|
304
|
+
"max_height": "",
|
|
305
|
+
"max_size": "",
|
|
306
|
+
"mime_types": "",
|
|
307
|
+
"allow_in_bindings": 0,
|
|
308
|
+
"preview_size": "medium"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"key": "field_696021d920c68",
|
|
312
|
+
"label": "Separator image width",
|
|
313
|
+
"name": "separator_image_width",
|
|
314
|
+
"aria-label": "",
|
|
315
|
+
"type": "range",
|
|
316
|
+
"instructions": "in ems",
|
|
317
|
+
"required": 0,
|
|
318
|
+
"conditional_logic": [
|
|
319
|
+
[
|
|
320
|
+
{
|
|
321
|
+
"field": "field_656612fd660a7",
|
|
322
|
+
"operator": "==",
|
|
323
|
+
"value": "1"
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
],
|
|
327
|
+
"wrapper": {
|
|
328
|
+
"width": "",
|
|
329
|
+
"class": "",
|
|
330
|
+
"id": ""
|
|
331
|
+
},
|
|
332
|
+
"default_value": "1.5",
|
|
333
|
+
"min": "0.1",
|
|
334
|
+
"max": 10,
|
|
335
|
+
"allow_in_bindings": 0,
|
|
336
|
+
"step": "0.1",
|
|
337
|
+
"prepend": "",
|
|
338
|
+
"append": ""
|
|
339
|
+
},
|
|
228
340
|
{
|
|
229
341
|
"key": "field_656615b26dfc2",
|
|
230
342
|
"label": "Positioning",
|
|
@@ -253,37 +365,6 @@
|
|
|
253
365
|
"layout": "vertical",
|
|
254
366
|
"save_other_choice": 0
|
|
255
367
|
},
|
|
256
|
-
{
|
|
257
|
-
"key": "field_65661d79b8b14",
|
|
258
|
-
"label": "Text Colour",
|
|
259
|
-
"name": "text_colour",
|
|
260
|
-
"aria-label": "",
|
|
261
|
-
"type": "color_picker",
|
|
262
|
-
"instructions": "",
|
|
263
|
-
"required": 0,
|
|
264
|
-
"conditional_logic": 0,
|
|
265
|
-
"wrapper": {
|
|
266
|
-
"width": "",
|
|
267
|
-
"class": "",
|
|
268
|
-
"id": ""
|
|
269
|
-
},
|
|
270
|
-
"wpml_cf_preferences": 3,
|
|
271
|
-
"user_roles": ["all"],
|
|
272
|
-
"default_value": "#FFFFFF",
|
|
273
|
-
"enable_opacity": 1,
|
|
274
|
-
"return_format": "string",
|
|
275
|
-
"display": "default",
|
|
276
|
-
"button_label": "Select Color",
|
|
277
|
-
"color_picker": true,
|
|
278
|
-
"absolute": false,
|
|
279
|
-
"input": true,
|
|
280
|
-
"allow_null": true,
|
|
281
|
-
"theme_colors": false,
|
|
282
|
-
"colors": [],
|
|
283
|
-
"custom_palette_source": "",
|
|
284
|
-
"palette_colors": "",
|
|
285
|
-
"show_color_wheel": true
|
|
286
|
-
},
|
|
287
368
|
{
|
|
288
369
|
"key": "field_65b7ac3ef1fea",
|
|
289
370
|
"label": "Enable Text Shadow",
|
|
@@ -315,17 +396,24 @@
|
|
|
315
396
|
"type": "range",
|
|
316
397
|
"instructions": "",
|
|
317
398
|
"required": 0,
|
|
318
|
-
"conditional_logic":
|
|
399
|
+
"conditional_logic": [
|
|
400
|
+
[
|
|
401
|
+
{
|
|
402
|
+
"field": "field_65b7ac3ef1fea",
|
|
403
|
+
"operator": "==",
|
|
404
|
+
"value": "1"
|
|
405
|
+
}
|
|
406
|
+
]
|
|
407
|
+
],
|
|
319
408
|
"wrapper": {
|
|
320
409
|
"width": "",
|
|
321
410
|
"class": "",
|
|
322
411
|
"id": ""
|
|
323
412
|
},
|
|
324
|
-
"wpml_cf_preferences": 3,
|
|
325
|
-
"user_roles": ["all"],
|
|
326
413
|
"default_value": 0,
|
|
327
414
|
"min": -40,
|
|
328
415
|
"max": 40,
|
|
416
|
+
"allow_in_bindings": 1,
|
|
329
417
|
"step": "",
|
|
330
418
|
"prepend": "",
|
|
331
419
|
"append": ""
|
|
@@ -338,17 +426,24 @@
|
|
|
338
426
|
"type": "range",
|
|
339
427
|
"instructions": "",
|
|
340
428
|
"required": 0,
|
|
341
|
-
"conditional_logic":
|
|
429
|
+
"conditional_logic": [
|
|
430
|
+
[
|
|
431
|
+
{
|
|
432
|
+
"field": "field_65b7ac3ef1fea",
|
|
433
|
+
"operator": "==",
|
|
434
|
+
"value": "1"
|
|
435
|
+
}
|
|
436
|
+
]
|
|
437
|
+
],
|
|
342
438
|
"wrapper": {
|
|
343
439
|
"width": "",
|
|
344
440
|
"class": "",
|
|
345
441
|
"id": ""
|
|
346
442
|
},
|
|
347
|
-
"wpml_cf_preferences": 3,
|
|
348
|
-
"user_roles": ["all"],
|
|
349
443
|
"default_value": 0,
|
|
350
444
|
"min": -40,
|
|
351
445
|
"max": 40,
|
|
446
|
+
"allow_in_bindings": 1,
|
|
352
447
|
"step": "",
|
|
353
448
|
"prepend": "",
|
|
354
449
|
"append": ""
|
|
@@ -361,17 +456,24 @@
|
|
|
361
456
|
"type": "range",
|
|
362
457
|
"instructions": "",
|
|
363
458
|
"required": 0,
|
|
364
|
-
"conditional_logic":
|
|
459
|
+
"conditional_logic": [
|
|
460
|
+
[
|
|
461
|
+
{
|
|
462
|
+
"field": "field_65b7ac3ef1fea",
|
|
463
|
+
"operator": "==",
|
|
464
|
+
"value": "1"
|
|
465
|
+
}
|
|
466
|
+
]
|
|
467
|
+
],
|
|
365
468
|
"wrapper": {
|
|
366
469
|
"width": "",
|
|
367
470
|
"class": "",
|
|
368
471
|
"id": ""
|
|
369
472
|
},
|
|
370
|
-
"wpml_cf_preferences": 3,
|
|
371
|
-
"user_roles": ["all"],
|
|
372
473
|
"default_value": 0,
|
|
373
474
|
"min": 0,
|
|
374
475
|
"max": 20,
|
|
476
|
+
"allow_in_bindings": 1,
|
|
375
477
|
"step": "",
|
|
376
478
|
"prepend": "",
|
|
377
479
|
"append": ""
|
|
@@ -384,14 +486,20 @@
|
|
|
384
486
|
"type": "color_picker",
|
|
385
487
|
"instructions": "",
|
|
386
488
|
"required": 0,
|
|
387
|
-
"conditional_logic":
|
|
489
|
+
"conditional_logic": [
|
|
490
|
+
[
|
|
491
|
+
{
|
|
492
|
+
"field": "field_65b7ac3ef1fea",
|
|
493
|
+
"operator": "==",
|
|
494
|
+
"value": "1"
|
|
495
|
+
}
|
|
496
|
+
]
|
|
497
|
+
],
|
|
388
498
|
"wrapper": {
|
|
389
499
|
"width": "",
|
|
390
500
|
"class": "",
|
|
391
501
|
"id": ""
|
|
392
502
|
},
|
|
393
|
-
"wpml_cf_preferences": 3,
|
|
394
|
-
"user_roles": ["all"],
|
|
395
503
|
"default_value": "rgba(255,255,255,0.5)",
|
|
396
504
|
"enable_opacity": 1,
|
|
397
505
|
"return_format": "string",
|
|
@@ -403,9 +511,11 @@
|
|
|
403
511
|
"allow_null": 1,
|
|
404
512
|
"theme_colors": 0,
|
|
405
513
|
"colors": [],
|
|
514
|
+
"allow_in_bindings": 1,
|
|
515
|
+
"show_custom_palette": 0,
|
|
516
|
+
"show_color_wheel": 1,
|
|
406
517
|
"custom_palette_source": "",
|
|
407
|
-
"palette_colors": ""
|
|
408
|
-
"show_color_wheel": true
|
|
518
|
+
"palette_colors": ""
|
|
409
519
|
},
|
|
410
520
|
{
|
|
411
521
|
"key": "field_68e67fca63368",
|
|
@@ -497,5 +607,5 @@
|
|
|
497
607
|
"acfe_display_title": "",
|
|
498
608
|
"acfe_meta": "",
|
|
499
609
|
"acfe_note": "",
|
|
500
|
-
"modified":
|
|
610
|
+
"modified": 1767907938
|
|
501
611
|
}
|
|
@@ -48,10 +48,7 @@
|
|
|
48
48
|
align-items: center;
|
|
49
49
|
align-self: flex-start;
|
|
50
50
|
white-space: nowrap;
|
|
51
|
-
font-size: core-functions-v3.fontSize(
|
|
52
|
-
var(--text-size-mobile),
|
|
53
|
-
'mobile'
|
|
54
|
-
);
|
|
51
|
+
font-size: core-functions-v3.fontSize(var(--text-size-mobile));
|
|
55
52
|
|
|
56
53
|
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
57
54
|
font-size: core-functions-v3.fontSize(
|
|
@@ -95,6 +92,10 @@
|
|
|
95
92
|
border-radius: 50%;
|
|
96
93
|
}
|
|
97
94
|
}
|
|
95
|
+
&__separator--image {
|
|
96
|
+
width: var(--separator-image-width, 1.5em);
|
|
97
|
+
height: auto;
|
|
98
|
+
}
|
|
98
99
|
|
|
99
100
|
&--text-shadow {
|
|
100
101
|
@include core-mixins-v3.textShadow();
|
|
@@ -15,13 +15,16 @@
|
|
|
15
15
|
<section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{classNameEntryPoint}} {{block.id}} lazy-fade" {{dataAttributeEntryPoint}} data-blockid="{{block.id}}" data-assetkey="{{blockClassName}}">
|
|
16
16
|
|
|
17
17
|
{% set bannerSpeed = fields.scrolling_banner_speed %}
|
|
18
|
-
{% set
|
|
18
|
+
{% set separatorAsImage = fields.separator_as_image %}
|
|
19
|
+
{% set separatorImage = get_image(fields.separator_image) %}
|
|
20
|
+
{% set separatorImageWidth = '--separator-image-width: ' ~ fields.separator_image_width ~ 'em;' %}
|
|
19
21
|
{% set positioning = '--position:' ~ fields.positioning|ru ~ ';' %}
|
|
20
22
|
{% set textSizeDesktop = '--text-size-desktop:' ~ fields.font_size_desktop ~ ';' %}
|
|
21
23
|
{% set textSizePortrait = '--text-size-portrait:' ~ fields.font_size_portrait ~ ';' %}
|
|
22
24
|
{% set textSizeMobile = '--text-size-mobile:' ~ fields.font_size_mobile ~ ';' %}
|
|
23
25
|
{% set textColour = '--banner-text-colour:' ~ fields.text_colour ~ ';' %}
|
|
24
|
-
{% set bannerTextStyles = textSizeDesktop ~ textSizePortrait ~ textSizeMobile ~ positioning ~ textColour %}
|
|
26
|
+
{% set bannerTextStyles = textSizeDesktop ~ textSizePortrait ~ textSizeMobile ~ positioning ~ textColour ~ separatorImageWidth %}
|
|
27
|
+
|
|
25
28
|
|
|
26
29
|
{% if fields.enable_text_shadow %}
|
|
27
30
|
{% set textShadowClassName = blockClassName ~ "--text-shadow" %}
|
|
@@ -40,7 +43,11 @@
|
|
|
40
43
|
<div class="{{blockClassName}}__container">
|
|
41
44
|
<div class="{{blockClassName}}__inner">
|
|
42
45
|
{% for item in fields.scrolling_banner_texts %}
|
|
43
|
-
|
|
46
|
+
{% if separatorAsImage %}
|
|
47
|
+
<img class="{{blockClassName}}__separator {{blockClassName}}__separator--image" src="{{gt_image_mainsrc(separatorImage)}}">
|
|
48
|
+
{% else %}
|
|
49
|
+
<span class="{{blockClassName}}__separator"></span>
|
|
50
|
+
{% endif %}
|
|
44
51
|
{% set elementType = item.text_link ? 'a href="' ~ item.text_link.url ~ '"' : 'span' %}
|
|
45
52
|
<{{elementType}} class="{{blockClassName}}__text {{textShadowClassName}}">{{item.scrolling_banner_text}}</{{elementType}}>
|
|
46
53
|
{% endfor %}
|
|
@@ -50,3 +57,4 @@
|
|
|
50
57
|
</div>
|
|
51
58
|
{% endif %}
|
|
52
59
|
</section>
|
|
60
|
+
|
|
@@ -3,295 +3,297 @@
|
|
|
3
3
|
@use '../../breakpoints';
|
|
4
4
|
|
|
5
5
|
@mixin coreGenericV3() {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
/* Remove default padding */
|
|
14
|
-
ul,
|
|
15
|
-
ol {
|
|
16
|
-
padding: 0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* Remove default margin */
|
|
20
|
-
body,
|
|
21
|
-
h1,
|
|
22
|
-
h2,
|
|
23
|
-
h3,
|
|
24
|
-
h4,
|
|
25
|
-
p,
|
|
26
|
-
ul,
|
|
27
|
-
ol,
|
|
28
|
-
li,
|
|
29
|
-
figure,
|
|
30
|
-
figcaption,
|
|
31
|
-
blockquote,
|
|
32
|
-
dl,
|
|
33
|
-
dd {
|
|
34
|
-
margin: 0;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/* Box sizing rules */
|
|
38
|
-
*,
|
|
39
|
-
*::before,
|
|
40
|
-
*::after {
|
|
41
|
-
box-sizing: border-box;
|
|
42
|
-
}
|
|
6
|
+
@layer base-styles {
|
|
7
|
+
/* Box sizing rules */
|
|
8
|
+
*,
|
|
9
|
+
*::before,
|
|
10
|
+
*::after {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
}
|
|
43
13
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
14
|
+
/* Remove default padding */
|
|
15
|
+
ul,
|
|
16
|
+
ol {
|
|
17
|
+
padding: 0;
|
|
18
|
+
}
|
|
48
19
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
// h3,
|
|
52
|
-
// h4,
|
|
53
|
-
// h5,
|
|
54
|
-
// h6 {
|
|
55
|
-
// margin: 0; //reset default margin
|
|
56
|
-
// font-weight: unset; //reset default font weight
|
|
57
|
-
// margin-top: unset;
|
|
58
|
-
// @include core-typography-mixins-v3.fontPrimary();
|
|
59
|
-
// }
|
|
60
|
-
.override-element-styles {
|
|
20
|
+
/* Remove default margin */
|
|
21
|
+
body,
|
|
61
22
|
h1,
|
|
62
23
|
h2,
|
|
63
24
|
h3,
|
|
64
25
|
h4,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
26
|
+
p,
|
|
27
|
+
ul,
|
|
28
|
+
ol,
|
|
29
|
+
li,
|
|
30
|
+
figure,
|
|
31
|
+
figcaption,
|
|
32
|
+
blockquote,
|
|
33
|
+
dl,
|
|
34
|
+
dd {
|
|
35
|
+
margin: 0;
|
|
68
36
|
}
|
|
69
|
-
}
|
|
70
37
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
h6 {
|
|
78
|
-
margin-bottom: var(--heading-block-spacing);
|
|
38
|
+
/* Box sizing rules */
|
|
39
|
+
*,
|
|
40
|
+
*::before,
|
|
41
|
+
*::after {
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
}
|
|
79
44
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
45
|
+
//***** TYPOGRAPHY *****\\
|
|
46
|
+
body {
|
|
47
|
+
// @include core-typography-mixins-v3.fontSecondary();
|
|
83
48
|
}
|
|
84
|
-
p {
|
|
85
|
-
margin-bottom: var(--paragraph-block-spacing);
|
|
86
49
|
|
|
87
|
-
|
|
88
|
-
|
|
50
|
+
// h1,
|
|
51
|
+
// h2,
|
|
52
|
+
// h3,
|
|
53
|
+
// h4,
|
|
54
|
+
// h5,
|
|
55
|
+
// h6 {
|
|
56
|
+
// margin: 0; //reset default margin
|
|
57
|
+
// font-weight: unset; //reset default font weight
|
|
58
|
+
// margin-top: unset;
|
|
59
|
+
// @include core-typography-mixins-v3.fontPrimary();
|
|
60
|
+
// }
|
|
61
|
+
.override-element-styles {
|
|
62
|
+
h1,
|
|
63
|
+
h2,
|
|
64
|
+
h3,
|
|
65
|
+
h4,
|
|
66
|
+
h5,
|
|
67
|
+
h6 {
|
|
68
|
+
font-size: 0;
|
|
89
69
|
}
|
|
90
70
|
}
|
|
91
|
-
}
|
|
92
71
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
72
|
+
.standard-content-box-wysiwyg-editor {
|
|
73
|
+
h1,
|
|
74
|
+
h2,
|
|
75
|
+
h3,
|
|
76
|
+
h4,
|
|
77
|
+
h5,
|
|
78
|
+
h6 {
|
|
79
|
+
margin-bottom: var(--heading-block-spacing);
|
|
80
|
+
|
|
81
|
+
&:last-child {
|
|
82
|
+
margin-bottom: 0;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
p {
|
|
86
|
+
margin-bottom: var(--paragraph-block-spacing);
|
|
97
87
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
88
|
+
&:last-child {
|
|
89
|
+
margin-bottom: 0;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
103
93
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
94
|
+
p {
|
|
95
|
+
margin: 0; //reset default margin
|
|
96
|
+
// @include core-typography-mixins-v3.p();
|
|
107
97
|
}
|
|
108
98
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
color: var(--link-colour
|
|
112
|
-
text-decoration: var(--link-decoration-style
|
|
113
|
-
text-decoration-color: var(--link-decoration-colour
|
|
99
|
+
a {
|
|
100
|
+
text-decoration-skip-ink: auto;
|
|
101
|
+
color: var(--link-colour);
|
|
102
|
+
text-decoration: var(--link-decoration-style);
|
|
103
|
+
text-decoration-color: var(--link-decoration-colour);
|
|
104
|
+
|
|
105
|
+
strong,
|
|
106
|
+
b {
|
|
107
|
+
font-weight: var(--weight-bold);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&:hover {
|
|
111
|
+
cursor: pointer;
|
|
112
|
+
color: var(--link-colour-hover);
|
|
113
|
+
text-decoration: var(--link-decoration-style-hover);
|
|
114
|
+
text-decoration-color: var(--link-decoration-colour-hover);
|
|
115
|
+
}
|
|
114
116
|
}
|
|
115
|
-
}
|
|
116
117
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
button {
|
|
119
|
+
&:focus {
|
|
120
|
+
// outline: none;
|
|
121
|
+
// appearance: none;
|
|
122
|
+
}
|
|
121
123
|
}
|
|
122
|
-
}
|
|
123
124
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
125
|
+
blockquote {
|
|
126
|
+
margin: 0; //reset default margin
|
|
127
|
+
quotes: '“' '”' '‘' '’';
|
|
128
|
+
font-weight: bold;
|
|
129
|
+
|
|
130
|
+
&::before {
|
|
131
|
+
content: open-quote;
|
|
132
|
+
}
|
|
128
133
|
|
|
129
|
-
|
|
130
|
-
|
|
134
|
+
&::after {
|
|
135
|
+
content: close-quote;
|
|
136
|
+
}
|
|
131
137
|
}
|
|
132
138
|
|
|
133
|
-
|
|
134
|
-
|
|
139
|
+
figure,
|
|
140
|
+
figcaption,
|
|
141
|
+
dl,
|
|
142
|
+
dd {
|
|
143
|
+
margin: 0;
|
|
135
144
|
}
|
|
136
|
-
}
|
|
137
145
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
margin: 0;
|
|
143
|
-
}
|
|
146
|
+
q {
|
|
147
|
+
&::before {
|
|
148
|
+
content: open-quote;
|
|
149
|
+
}
|
|
144
150
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
151
|
+
&::after {
|
|
152
|
+
content: close-quote;
|
|
153
|
+
}
|
|
148
154
|
}
|
|
149
155
|
|
|
150
|
-
|
|
151
|
-
|
|
156
|
+
ol {
|
|
157
|
+
list-style-type: decimal;
|
|
152
158
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
ol {
|
|
156
|
-
list-style-type: decimal;
|
|
157
|
-
}
|
|
158
|
-
ul {
|
|
159
|
-
list-style-type: disc;
|
|
160
|
-
}
|
|
161
|
-
li {
|
|
162
|
-
// @include core-typography-mixins-v3.p();
|
|
163
|
-
}
|
|
164
|
-
ol,
|
|
165
|
-
ul {
|
|
166
|
-
padding: 0; //reset default padding
|
|
167
|
-
margin: 0; //reset default margin
|
|
168
|
-
// font-family: var(--secondary-font-family);
|
|
169
|
-
margin-bottom: var(--paragraph-block-spacing);
|
|
170
|
-
list-style-position: inside;
|
|
171
|
-
&:last-child {
|
|
172
|
-
margin-bottom: 0;
|
|
159
|
+
ul {
|
|
160
|
+
list-style-type: disc;
|
|
173
161
|
}
|
|
174
162
|
li {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
163
|
+
// @include core-typography-mixins-v3.p();
|
|
164
|
+
}
|
|
165
|
+
ol,
|
|
166
|
+
ul {
|
|
167
|
+
padding: 0; //reset default padding
|
|
168
|
+
margin: 0; //reset default margin
|
|
169
|
+
// font-family: var(--secondary-font-family);
|
|
170
|
+
margin-bottom: var(--paragraph-block-spacing);
|
|
171
|
+
list-style-position: inside;
|
|
178
172
|
&:last-child {
|
|
179
173
|
margin-bottom: 0;
|
|
180
174
|
}
|
|
175
|
+
li {
|
|
176
|
+
margin-bottom: var(--list-item-block-spacing);
|
|
177
|
+
line-height: var(--list-item-line-height);
|
|
178
|
+
letter-spacing: var(--list-item-letter-spacing);
|
|
179
|
+
&:last-child {
|
|
180
|
+
margin-bottom: 0;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
181
183
|
}
|
|
182
|
-
}
|
|
183
184
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
185
|
+
html {
|
|
186
|
+
min-height: 100%;
|
|
187
|
+
// container-type: inline-size;
|
|
188
|
+
&.lock-position {
|
|
189
|
+
@include core-mixins-v3.lockPosition();
|
|
190
|
+
}
|
|
189
191
|
}
|
|
190
|
-
}
|
|
191
192
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
.js-enabled-hide {
|
|
200
|
-
display: none;
|
|
201
|
-
}
|
|
193
|
+
.lazy-fade {
|
|
194
|
+
opacity: 0;
|
|
195
|
+
}
|
|
196
|
+
.loaded:not(.cmpl-block-animations) {
|
|
197
|
+
opacity: 1;
|
|
198
|
+
}
|
|
202
199
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
flex-direction: column;
|
|
206
|
-
scroll-behavior: smooth;
|
|
207
|
-
text-rendering: optimizeSpeed;
|
|
208
|
-
margin: 0; //reset default margin
|
|
209
|
-
padding: 0; //reset default padding
|
|
210
|
-
height: auto;
|
|
211
|
-
min-height: 100vh;
|
|
212
|
-
position: relative;
|
|
213
|
-
background: var(--body-background-colour);
|
|
214
|
-
--default-text-colour-mobile: var(--theme-primary-text-colour);
|
|
215
|
-
color: var(--default-text-colour-mobile);
|
|
216
|
-
|
|
217
|
-
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
218
|
-
--default-text-colour-desktop: var(--theme-primary-text-colour);
|
|
219
|
-
color: var(--default-text-colour-desktop);
|
|
200
|
+
.js-enabled-hide {
|
|
201
|
+
display: none;
|
|
220
202
|
}
|
|
221
203
|
|
|
222
|
-
|
|
223
|
-
|
|
204
|
+
body {
|
|
205
|
+
display: flex;
|
|
206
|
+
flex-direction: column;
|
|
207
|
+
scroll-behavior: smooth;
|
|
208
|
+
text-rendering: optimizeSpeed;
|
|
209
|
+
margin: 0; //reset default margin
|
|
210
|
+
padding: 0; //reset default padding
|
|
211
|
+
height: auto;
|
|
212
|
+
min-height: 100vh;
|
|
213
|
+
position: relative;
|
|
214
|
+
background: var(--body-background-colour);
|
|
215
|
+
--default-text-colour-mobile: var(--theme-primary-text-colour);
|
|
216
|
+
color: var(--default-text-colour-mobile);
|
|
217
|
+
|
|
218
|
+
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
219
|
+
--default-text-colour-desktop: var(--theme-primary-text-colour);
|
|
220
|
+
color: var(--default-text-colour-desktop);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
&.lock-position {
|
|
224
|
+
@include core-mixins-v3.lockPosition();
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
&.hide-nav {
|
|
228
|
+
.site-header {
|
|
229
|
+
display: none;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
224
232
|
}
|
|
225
233
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
234
|
+
.body-container-background-image,
|
|
235
|
+
.page-container-background-image {
|
|
236
|
+
&__picture {
|
|
237
|
+
height: 100%;
|
|
238
|
+
position: var(--body-background-image-position-type);
|
|
239
|
+
inset: 0;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
&__image {
|
|
243
|
+
height: 100%;
|
|
244
|
+
object-fit: var(--body-background-image-fit);
|
|
245
|
+
object-position: var(--body-background-image-position);
|
|
229
246
|
}
|
|
230
247
|
}
|
|
231
|
-
}
|
|
232
248
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
height: 100%;
|
|
237
|
-
position: var(--body-background-image-position-type);
|
|
249
|
+
.body-container-background-video {
|
|
250
|
+
position: fixed;
|
|
251
|
+
object-fit: cover;
|
|
238
252
|
inset: 0;
|
|
253
|
+
width: 100%;
|
|
239
254
|
}
|
|
240
255
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
256
|
+
img {
|
|
257
|
+
width: 100%;
|
|
258
|
+
height: auto;
|
|
259
|
+
display: block;
|
|
245
260
|
}
|
|
246
|
-
}
|
|
247
261
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
width: 100%;
|
|
257
|
-
height: auto;
|
|
258
|
-
display: block;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
main {
|
|
262
|
-
height: auto;
|
|
263
|
-
width: 100%;
|
|
264
|
-
max-width: var(--global-content-max-width-main);
|
|
265
|
-
margin-inline: auto;
|
|
266
|
-
background-image: var(--main-container-background-image);
|
|
267
|
-
background-repeat: repeat;
|
|
268
|
-
}
|
|
262
|
+
main {
|
|
263
|
+
height: auto;
|
|
264
|
+
width: 100%;
|
|
265
|
+
max-width: var(--global-content-max-width-main);
|
|
266
|
+
margin-inline: auto;
|
|
267
|
+
background-image: var(--main-container-background-image);
|
|
268
|
+
background-repeat: repeat;
|
|
269
|
+
}
|
|
269
270
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
271
|
+
header,
|
|
272
|
+
footer,
|
|
273
|
+
section {
|
|
274
|
+
width: 100%;
|
|
275
|
+
max-width: 100%;
|
|
276
|
+
}
|
|
277
|
+
section[data-assetkey] {
|
|
278
|
+
// container-type: inline-size;
|
|
279
|
+
}
|
|
280
|
+
.site-footer-block {
|
|
281
|
+
margin-top: auto;
|
|
282
|
+
}
|
|
283
|
+
.grecaptcha-badge {
|
|
284
|
+
z-index: 50;
|
|
285
|
+
bottom: 0 !important;
|
|
286
|
+
}
|
|
286
287
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
288
|
+
/* Remove all animations and transitions for people that prefer not to see them */
|
|
289
|
+
@media (prefers-reduced-motion: reduce) {
|
|
290
|
+
* {
|
|
291
|
+
animation-duration: 0.01ms !important;
|
|
292
|
+
animation-iteration-count: 1 !important;
|
|
293
|
+
transition-duration: 0.01ms !important;
|
|
294
|
+
scroll-behavior: auto !important;
|
|
295
|
+
transition: 0.01ms !important;
|
|
296
|
+
}
|
|
295
297
|
}
|
|
296
298
|
}
|
|
297
299
|
}
|