@qhealth-design-system/core 1.18.4 → 1.19.0
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/.storybook/assets/accordion-js.js +344 -0
- package/.storybook/assets/animate-js.js +247 -0
- package/.storybook/assets/index.js +15 -0
- package/.storybook/globals.js +39 -41
- package/.storybook/main.js +4 -3
- package/.storybook/preview.js +11 -13
- package/CHANGELOG.md +2 -0
- package/README.md +1 -1
- package/package.json +10 -15
- package/src/component-loader.js +23 -0
- package/src/components/_global/css/body/component.scss +3 -3
- package/src/components/_global/css/btn/component.scss +1 -1
- package/src/components/_global/css/cta_links/component.scss +2 -2
- package/src/components/_global/css/example/component.scss +11 -19
- package/src/components/_global/css/forms/control_inputs/component.scss +2 -2
- package/src/components/_global/css/forms/general/component.scss +5 -5
- package/src/components/_global/css/headings/component.scss +42 -44
- package/src/components/_global/css/img/images.scss +20 -36
- package/src/components/_global/css/link_columns/component.scss +2 -2
- package/src/components/_global/css/modal/component.scss +20 -26
- package/src/components/_global/css/table/component.scss +14 -21
- package/src/components/_global/css/tabs/component.scss +2 -2
- package/src/components/_global/css/tags/component.scss +1 -1
- package/src/components/_global/css/toggle_and_tool_tip/component.scss +3 -3
- package/src/components/_global/js/global.js +1 -1
- package/src/components/_global/js/select_boxes/global.js +26 -35
- package/src/components/accordion/css/component.scss +289 -326
- package/src/components/banner/css/component.scss +77 -173
- package/src/components/banner/html/component.hbs +2 -4
- package/src/components/banner_advanced/html/component.hbs +2 -2
- package/src/components/banner_advanced/js/manifest.json +1422 -1386
- package/src/components/basic_search/css/component.scss +13 -14
- package/src/components/basic_search/html/component.hbs +11 -20
- package/src/components/breadcrumbs/js/global.js +6 -1
- package/src/components/callout/css/component.scss +37 -40
- package/src/components/card_feature/css/component.scss +28 -167
- package/src/components/card_multi_action/css/component.scss +46 -58
- package/src/components/code/css/component.scss +3 -3
- package/src/components/code/html/component.hbs +12 -12
- package/src/components/code/js/global.js +6 -1
- package/src/components/file_upload/css/component.scss +5 -5
- package/src/components/file_upload/js/global.js +46 -43
- package/src/components/footer/css/component.scss +3 -3
- package/src/components/global_alert/css/component.scss +8 -14
- package/src/components/global_alert/html/component.hbs +3 -3
- package/src/components/header/css/component.scss +16 -4
- package/src/components/header/html/component.hbs +3 -2
- package/src/components/in_page_navigation/css/component.scss +14 -16
- package/src/components/in_page_navigation/js/global.js +48 -58
- package/src/components/internal_navigation/css/component.scss +3 -3
- package/src/components/internal_navigation/js/global.js +27 -35
- package/src/components/left_hand_navigation/css/component.scss +8 -2
- package/src/components/main_navigation/css/component.scss +16 -7
- package/src/components/main_navigation/html/component.hbs +1 -0
- package/src/components/mega_main_navigation/css/component.scss +5 -5
- package/src/components/mega_main_navigation/html/component.hbs +1 -0
- package/src/components/pagination/css/component.scss +32 -28
- package/src/components/pagination/html/component.hbs +37 -40
- package/src/components/promo_panel/css/component.scss +1 -4
- package/src/components/promo_panel/html/component.hbs +11 -5
- package/src/components/promo_panel/js/global.js +24 -39
- package/src/components/promo_panel/js/manifest.json +8 -0
- package/src/components/tab/css/component.scss +3 -3
- package/src/components/toggle_tip/css/component.scss +1 -1
- package/src/components/tool_tip/css/component.scss +1 -1
- package/src/components/video_player/js/global.js +16 -13
- package/src/data/current.json +33 -1
- package/src/helpers/global-helpers.js +56 -0
- package/src/html/component-in_page_navigation.html +2 -2
- package/src/index.js +4 -8
- package/src/stories/BackToTop/BackToTop.mdx +3 -21
- package/src/stories/CTALink/CTALink.mdx +1 -4
- package/src/stories/Checkboxes/Checkboxes.mdx +1 -4
- package/src/stories/DirectionLinks/DirectionLinks.mdx +1 -4
- package/src/stories/InPageAlert/InPageAlert.mdx +1 -4
- package/src/stories/Introduction.mdx +9 -5
- package/src/stories/LinkColumns/LinkColumns.mdx +1 -4
- package/src/stories/Pagination/Pagination.mdx +26 -0
- package/src/stories/Pagination/Pagination.stories.js +257 -0
- package/src/stories/PromoPanel/PromoPanel.mdx +26 -0
- package/src/stories/PromoPanel/PromoPanel.stories.js +219 -0
- package/src/stories/RadioButtons/RadioButtons.mdx +1 -4
- package/src/stories/SelectBox/SelectBox.mdx +1 -4
- package/src/stories/Tags/Tags.js +3 -3
- package/src/stories/Tags/Tags.mdx +1 -4
- package/src/stories/VideoPlayer/VideoPlayer.mdx +3 -28
- package/src/stories/VideoPlayer/VideoPlayer.stories.js +19 -46
- package/src/styles/imports/utilities.scss +3 -3
- package/src/styles/imports/variables.scss +5 -0
- package/src/stories/VideoPlayer/VideoPlayer.js +0 -0
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
& &__content {
|
|
16
16
|
color: var(--QLD-color-light__text);
|
|
17
17
|
position: relative;
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
@include QLD-space(padding-top, 2unit);
|
|
20
20
|
@include QLD-space(padding-bottom, 2unit);
|
|
21
|
-
|
|
21
|
+
|
|
22
22
|
@include QLD-media(lg) {
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-direction: column;
|
|
@@ -34,9 +34,6 @@
|
|
|
34
34
|
|
|
35
35
|
h1 {
|
|
36
36
|
color: var(--QLD-color-light__heading);
|
|
37
|
-
// line-height: 40px;
|
|
38
|
-
// font-weight: bold;
|
|
39
|
-
// @include QLD-space(font-size, 2unit);
|
|
40
37
|
@include QLD-space(margin, 0);
|
|
41
38
|
|
|
42
39
|
@include QLD-media(md) {
|
|
@@ -55,64 +52,63 @@
|
|
|
55
52
|
.qld__banner__heading {
|
|
56
53
|
@include QLD-space(font-size, 1.75unit);
|
|
57
54
|
@include QLD-space(line-height, 2.25unit);
|
|
58
|
-
// @include QLD-space(padding, 0.5unit 1unit);
|
|
59
|
-
// border-left: 4px solid var(--QLD-color-light__design-accent);
|
|
60
55
|
display: inline-block;
|
|
61
56
|
margin: 0;
|
|
62
57
|
border-left: 0px;
|
|
63
58
|
padding: 0px;
|
|
64
|
-
|
|
59
|
+
|
|
65
60
|
@include QLD-media(lg) {
|
|
66
61
|
@include QLD-space(font-size, 2.5unit);
|
|
67
62
|
line-height: 52px;
|
|
68
63
|
}
|
|
69
|
-
|
|
70
|
-
&__wrapper {
|
|
71
|
-
// display: flex;
|
|
72
|
-
// flex-direction: column;
|
|
73
|
-
// align-items: flex-start;
|
|
74
64
|
|
|
65
|
+
&__wrapper {
|
|
75
66
|
display: block;
|
|
76
|
-
@include QLD-space(padding, .5unit 1.25unit);
|
|
67
|
+
@include QLD-space(padding, 0.5unit 1.25unit);
|
|
77
68
|
}
|
|
78
|
-
|
|
69
|
+
|
|
79
70
|
&--dark {
|
|
80
71
|
display: inline;
|
|
81
72
|
background-color: var(--QLD-color-dark__background);
|
|
82
73
|
color: var(--QLD-color-dark__heading);
|
|
83
|
-
|
|
84
|
-
box-shadow: 8px 0px 0 6px var(--QLD-color-dark__background), -8px 0px 0 6px var(--QLD-color-dark__background), -12px 0px 0 6px var(--QLD-color-light__design-accent), 0px 4px 16px rgba(0, 0, 0, .3);
|
|
74
|
+
box-shadow: 8px 0px 0 6px var(--QLD-color-dark__background), -8px 0px 0 6px var(--QLD-color-dark__background), -12px 0px 0 6px var(--QLD-color-light__design-accent), 0px 4px 16px rgba(0, 0, 0, 0.3);
|
|
85
75
|
-webkit-box-decoration-break: clone;
|
|
86
76
|
-ms-box-decoration-break: clone;
|
|
87
77
|
-o-box-decoration-break: clone;
|
|
88
78
|
box-decoration-break: clone;
|
|
89
79
|
}
|
|
90
|
-
|
|
80
|
+
|
|
91
81
|
&--light {
|
|
92
82
|
display: table;
|
|
93
83
|
background-color: $QLD-color-neutral--white;
|
|
94
84
|
color: var(--QLD-color-light__text);
|
|
95
|
-
font-weight:
|
|
96
|
-
|
|
97
|
-
box-shadow: 8px 0px 0 6px $QLD-color-neutral--white, -8px 0px 0 6px $QLD-color-neutral--white, -12px 0px 0 6px var(--QLD-color-light__design-accent), 0px 4px 16px rgba(0, 0, 0, .3);
|
|
85
|
+
font-weight: $QLD-font-weight-regular;
|
|
86
|
+
box-shadow: 8px 0px 0 6px $QLD-color-neutral--white, -8px 0px 0 6px $QLD-color-neutral--white, -12px 0px 0 6px var(--QLD-color-light__design-accent), 0px 4px 16px rgba(0, 0, 0, 0.3);
|
|
98
87
|
-webkit-box-decoration-break: clone;
|
|
99
88
|
-ms-box-decoration-break: clone;
|
|
100
89
|
-o-box-decoration-break: clone;
|
|
101
90
|
box-decoration-break: clone;
|
|
102
|
-
|
|
91
|
+
|
|
92
|
+
// Adjust margin for the subheading to align with main heading
|
|
93
|
+
@include QLD-space(margin-top, 0.6unit);
|
|
94
|
+
@include QLD-media(md) {
|
|
95
|
+
@include QLD-space(margin-top, 0.47unit);
|
|
96
|
+
}
|
|
97
|
+
@include QLD-media(lg) {
|
|
98
|
+
@include QLD-space(margin-top, 0.76unit);
|
|
99
|
+
}
|
|
103
100
|
}
|
|
104
101
|
}
|
|
105
102
|
|
|
106
103
|
.qld__banner__content--body.qld__abstract {
|
|
107
|
-
@include QLD-space(margin-top,
|
|
104
|
+
@include QLD-space(margin-top, 1.25unit);
|
|
108
105
|
@include QLD-space(margin-bottom, 0unit);
|
|
109
|
-
|
|
106
|
+
|
|
110
107
|
@include QLD-media(lg) {
|
|
111
108
|
@include QLD-space(margin-top, 1.5unit);
|
|
112
109
|
@include QLD-space(font-size, 1.5unit);
|
|
113
110
|
@include QLD-space(line-height, 2unit);
|
|
114
111
|
}
|
|
115
|
-
|
|
116
112
|
}
|
|
117
113
|
.qld__banner__content--cta {
|
|
118
114
|
display: flex;
|
|
@@ -122,32 +118,29 @@
|
|
|
122
118
|
@include QLD-media(sm) {
|
|
123
119
|
flex-direction: row;
|
|
124
120
|
}
|
|
125
|
-
li{
|
|
121
|
+
li {
|
|
126
122
|
@include QLD-space(margin, 0unit);
|
|
127
123
|
@include QLD-media(sm) {
|
|
128
|
-
&:first-of-type{
|
|
124
|
+
&:first-of-type {
|
|
129
125
|
@include QLD-space(margin-right, 2unit);
|
|
130
126
|
}
|
|
131
127
|
}
|
|
132
|
-
|
|
133
128
|
}
|
|
134
|
-
a{
|
|
129
|
+
a {
|
|
135
130
|
@include QLD-space(margin, 1unit 0unit 0unit 0unit);
|
|
136
131
|
}
|
|
137
|
-
.qld__btn{
|
|
132
|
+
.qld__btn {
|
|
138
133
|
width: 100%;
|
|
139
134
|
|
|
140
135
|
@include QLD-media(sm) {
|
|
141
136
|
width: auto;
|
|
142
137
|
}
|
|
143
138
|
}
|
|
144
|
-
|
|
139
|
+
|
|
145
140
|
@include QLD-media(lg) {
|
|
146
141
|
flex-direction: row;
|
|
147
142
|
}
|
|
148
143
|
}
|
|
149
|
-
|
|
150
|
-
|
|
151
144
|
}
|
|
152
145
|
|
|
153
146
|
&__main {
|
|
@@ -159,12 +152,11 @@
|
|
|
159
152
|
}
|
|
160
153
|
|
|
161
154
|
&__sub-heading {
|
|
162
|
-
font-weight:
|
|
163
|
-
// display: inline-block;
|
|
155
|
+
font-weight: $QLD-font-weight-regular;
|
|
164
156
|
display: block;
|
|
165
157
|
}
|
|
166
158
|
|
|
167
|
-
//Base hero image
|
|
159
|
+
//Base hero image
|
|
168
160
|
.qld__banner__hero {
|
|
169
161
|
background-color: var(--QLD-color-light__background--shade);
|
|
170
162
|
padding: 0;
|
|
@@ -175,31 +167,22 @@
|
|
|
175
167
|
position: absolute;
|
|
176
168
|
left: 50%;
|
|
177
169
|
height: 100%;
|
|
178
|
-
|
|
179
170
|
}
|
|
180
171
|
@include QLD-media(lg) {
|
|
181
172
|
left: 58.33%;
|
|
182
173
|
@include QLD-space(padding-left, 1.25unit);
|
|
183
174
|
}
|
|
184
|
-
|
|
185
|
-
&.qld__banner__hero--scale{
|
|
186
175
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
@include QLD-space(padding-right, 1unit);
|
|
190
|
-
@include QLD-space(padding-top, 1unit);
|
|
191
|
-
@include QLD-space(padding-bottom, 1unit);
|
|
192
|
-
}
|
|
193
|
-
.qld__banner__image{
|
|
176
|
+
&.qld__banner__hero--scale {
|
|
177
|
+
.qld__banner__image {
|
|
194
178
|
background-size: contain;
|
|
195
|
-
&.qld__banner__image--background{
|
|
179
|
+
&.qld__banner__image--background {
|
|
196
180
|
background-size: cover;
|
|
197
181
|
}
|
|
198
182
|
@include QLD-media(md) {
|
|
199
|
-
background-position:
|
|
183
|
+
background-position: center;
|
|
200
184
|
}
|
|
201
185
|
}
|
|
202
|
-
|
|
203
186
|
}
|
|
204
187
|
|
|
205
188
|
&.qld__banner__hero--fix-right {
|
|
@@ -242,7 +225,7 @@
|
|
|
242
225
|
background-repeat: no-repeat;
|
|
243
226
|
padding-bottom: 56.25%; // 16:9 ratio
|
|
244
227
|
|
|
245
|
-
&--background{
|
|
228
|
+
&--background {
|
|
246
229
|
@include QLD-space(padding, 0unit);
|
|
247
230
|
@include QLD-space(height, 10unit);
|
|
248
231
|
}
|
|
@@ -250,7 +233,6 @@
|
|
|
250
233
|
@include QLD-media(md) {
|
|
251
234
|
padding-bottom: 0;
|
|
252
235
|
height: 100%;
|
|
253
|
-
|
|
254
236
|
}
|
|
255
237
|
|
|
256
238
|
@include QLD-media(md) {
|
|
@@ -258,20 +240,18 @@
|
|
|
258
240
|
@include QLD-space(left, 0);
|
|
259
241
|
}
|
|
260
242
|
|
|
261
|
-
|
|
262
|
-
&.qld__banner__image--mobile-hide{
|
|
243
|
+
&.qld__banner__image--mobile-hide {
|
|
263
244
|
display: none;
|
|
264
245
|
@include QLD-media(md) {
|
|
265
246
|
display: block;
|
|
266
247
|
}
|
|
267
248
|
}
|
|
268
249
|
|
|
269
|
-
&.qld__banner__image--desktop-hide{
|
|
250
|
+
&.qld__banner__image--desktop-hide {
|
|
270
251
|
@include QLD-media(md) {
|
|
271
252
|
display: none;
|
|
272
253
|
}
|
|
273
254
|
}
|
|
274
|
-
|
|
275
255
|
|
|
276
256
|
&.qld__banner__image--sm {
|
|
277
257
|
@include QLD-media(md) {
|
|
@@ -287,7 +267,7 @@
|
|
|
287
267
|
}
|
|
288
268
|
}
|
|
289
269
|
|
|
290
|
-
|
|
270
|
+
+ .qld__banner__content .qld__banner__heading__wrapper {
|
|
291
271
|
@include QLD-space(margin-top, -3unit);
|
|
292
272
|
|
|
293
273
|
@include QLD-media(md) {
|
|
@@ -297,11 +277,11 @@
|
|
|
297
277
|
}
|
|
298
278
|
|
|
299
279
|
//with breadcrumbs
|
|
300
|
-
&.qld__banner--breadcrumbs{
|
|
301
|
-
.qld__banner__content{
|
|
280
|
+
&.qld__banner--breadcrumbs {
|
|
281
|
+
.qld__banner__content {
|
|
302
282
|
@include QLD-space(padding-top, 0unit);
|
|
303
283
|
@include QLD-space(padding-bottom, 2unit);
|
|
304
|
-
|
|
284
|
+
|
|
305
285
|
@include QLD-media(md) {
|
|
306
286
|
@include QLD-space(padding-top, 1.5unit);
|
|
307
287
|
@include QLD-space(padding-bottom, 2unit);
|
|
@@ -314,8 +294,8 @@
|
|
|
314
294
|
}
|
|
315
295
|
|
|
316
296
|
//With Hero image
|
|
317
|
-
&.qld__banner--has-hero{
|
|
318
|
-
.qld__banner__content{
|
|
297
|
+
&.qld__banner--has-hero {
|
|
298
|
+
.qld__banner__content {
|
|
319
299
|
@include QLD-space(padding-top, 1unit);
|
|
320
300
|
@include QLD-media(md) {
|
|
321
301
|
@include QLD-space(padding-top, 2unit);
|
|
@@ -326,27 +306,33 @@
|
|
|
326
306
|
}
|
|
327
307
|
}
|
|
328
308
|
|
|
329
|
-
.qld__banner__content .qld__banner__heading__wrapper{
|
|
309
|
+
.qld__banner__content .qld__banner__heading__wrapper {
|
|
330
310
|
@include QLD-space(margin-top, -4unit);
|
|
331
|
-
|
|
311
|
+
|
|
312
|
+
// Adjust line heights for headings so letters are not cut
|
|
313
|
+
line-height: 44px;
|
|
332
314
|
@include QLD-media(md) {
|
|
333
315
|
@include QLD-space(margin-top, 0);
|
|
316
|
+
line-height: 48px;
|
|
317
|
+
}
|
|
318
|
+
@include QLD-media(lg) {
|
|
319
|
+
line-height: 60px;
|
|
334
320
|
}
|
|
335
321
|
}
|
|
336
322
|
}
|
|
337
323
|
|
|
338
324
|
//Hero image right aligned to page
|
|
339
325
|
&.qld__banner--hero-right {
|
|
340
|
-
.qld__banner__wrapper{
|
|
326
|
+
.qld__banner__wrapper {
|
|
341
327
|
position: initial;
|
|
342
328
|
}
|
|
343
|
-
.qld__banner__hero{
|
|
329
|
+
.qld__banner__hero {
|
|
344
330
|
@include QLD-space(padding, 0unit);
|
|
345
331
|
@include QLD-media(xl) {
|
|
346
332
|
left: 56.7%;
|
|
347
333
|
}
|
|
348
334
|
}
|
|
349
|
-
.qld__banner__image{
|
|
335
|
+
.qld__banner__image {
|
|
350
336
|
@include QLD-media(md) {
|
|
351
337
|
width: 50vw;
|
|
352
338
|
max-width: 50vw;
|
|
@@ -363,7 +349,7 @@
|
|
|
363
349
|
left: 11vw;
|
|
364
350
|
}
|
|
365
351
|
|
|
366
|
-
@media (min-width: 1600px){
|
|
352
|
+
@media (min-width: 1600px) {
|
|
367
353
|
max-width: 34vw;
|
|
368
354
|
width: 34vw;
|
|
369
355
|
left: 10vw;
|
|
@@ -372,10 +358,10 @@
|
|
|
372
358
|
}
|
|
373
359
|
|
|
374
360
|
//Base search
|
|
375
|
-
&.qld__banner--search{
|
|
361
|
+
&.qld__banner--search {
|
|
376
362
|
overflow: visible;
|
|
377
363
|
|
|
378
|
-
.qld__banner__content{
|
|
364
|
+
.qld__banner__content {
|
|
379
365
|
@include QLD-space(padding-bottom, 1unit);
|
|
380
366
|
|
|
381
367
|
@include QLD-media(md) {
|
|
@@ -387,7 +373,7 @@
|
|
|
387
373
|
}
|
|
388
374
|
}
|
|
389
375
|
|
|
390
|
-
.qld__banner__search{
|
|
376
|
+
.qld__banner__search {
|
|
391
377
|
display: flex;
|
|
392
378
|
flex-direction: column;
|
|
393
379
|
justify-content: flex-end;
|
|
@@ -402,9 +388,9 @@
|
|
|
402
388
|
}
|
|
403
389
|
}
|
|
404
390
|
}
|
|
405
|
-
|
|
406
|
-
&.qld__banner--search.qld__banner--breadcrumbs{
|
|
407
|
-
.qld__banner__content{
|
|
391
|
+
|
|
392
|
+
&.qld__banner--search.qld__banner--breadcrumbs {
|
|
393
|
+
.qld__banner__content {
|
|
408
394
|
@include QLD-media(md) {
|
|
409
395
|
padding-bottom: 1.5rem;
|
|
410
396
|
}
|
|
@@ -417,13 +403,13 @@
|
|
|
417
403
|
.qld__banner__breadcrumbs--desktop {
|
|
418
404
|
@include QLD-media(md) {
|
|
419
405
|
@include QLD-space(margin-bottom, 1.5unit);
|
|
420
|
-
|
|
406
|
+
~ *:last-child {
|
|
421
407
|
@include QLD-space(margin-bottom, auto);
|
|
422
408
|
}
|
|
423
409
|
}
|
|
424
410
|
}
|
|
425
411
|
|
|
426
|
-
&--light{
|
|
412
|
+
&--light {
|
|
427
413
|
background-color: var(--QLD-color-light__background);
|
|
428
414
|
|
|
429
415
|
.qld__banner__content {
|
|
@@ -432,24 +418,18 @@
|
|
|
432
418
|
h1 {
|
|
433
419
|
color: var(--QLD-color-light__heading);
|
|
434
420
|
}
|
|
435
|
-
|
|
436
|
-
.qld__banner__heading{
|
|
437
|
-
&--light{
|
|
438
|
-
background-color: var(--QLD-color-light__background);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
421
|
}
|
|
442
422
|
|
|
443
423
|
.qld__banner__hero {
|
|
444
424
|
background-color: var(--QLD-color-light__background);
|
|
445
|
-
|
|
425
|
+
|
|
446
426
|
@include QLD-media(md) {
|
|
447
427
|
background-color: transparent;
|
|
448
428
|
}
|
|
449
429
|
}
|
|
450
430
|
}
|
|
451
431
|
|
|
452
|
-
&--alt{
|
|
432
|
+
&--alt {
|
|
453
433
|
background-color: var(--QLD-color-light__background--alt);
|
|
454
434
|
|
|
455
435
|
.qld__banner__content {
|
|
@@ -459,8 +439,8 @@
|
|
|
459
439
|
color: var(--QLD-color-light__heading);
|
|
460
440
|
}
|
|
461
441
|
|
|
462
|
-
.qld__banner__heading{
|
|
463
|
-
&--light{
|
|
442
|
+
.qld__banner__heading {
|
|
443
|
+
&--light {
|
|
464
444
|
background-color: $QLD-color-neutral--white;
|
|
465
445
|
}
|
|
466
446
|
}
|
|
@@ -468,14 +448,14 @@
|
|
|
468
448
|
|
|
469
449
|
.qld__banner__hero {
|
|
470
450
|
background-color: var(--QLD-color-light__background--alt-shade);
|
|
471
|
-
|
|
451
|
+
|
|
472
452
|
@include QLD-media(md) {
|
|
473
453
|
background-color: transparent;
|
|
474
454
|
}
|
|
475
455
|
}
|
|
476
456
|
}
|
|
477
457
|
|
|
478
|
-
&--dark{
|
|
458
|
+
&--dark {
|
|
479
459
|
background-color: var(--QLD-color-dark__background);
|
|
480
460
|
|
|
481
461
|
.qld__banner__content {
|
|
@@ -484,31 +464,29 @@
|
|
|
484
464
|
h1 {
|
|
485
465
|
color: var(--QLD-color-dark__heading);
|
|
486
466
|
}
|
|
487
|
-
.qld__banner__heading{
|
|
488
|
-
// border-left: 4px solid var(--QLD-color-dark__design-accent);
|
|
489
|
-
|
|
467
|
+
.qld__banner__heading {
|
|
490
468
|
&--dark {
|
|
491
469
|
background-color: var(--QLD-color-dark__background--shade);
|
|
492
|
-
box-shadow: 8px 0px 0 6px var(--QLD-color-dark__background--shade), -8px 0px 0 6px var(--QLD-color-dark__background--shade), -12px 0px 0 6px var(--QLD-color-dark__design-accent), 0px 4px 16px rgba(0, 0, 0, .3);
|
|
470
|
+
box-shadow: 8px 0px 0 6px var(--QLD-color-dark__background--shade), -8px 0px 0 6px var(--QLD-color-dark__background--shade), -12px 0px 0 6px var(--QLD-color-dark__design-accent), 0px 4px 16px rgba(0, 0, 0, 0.3);
|
|
493
471
|
}
|
|
494
|
-
|
|
472
|
+
|
|
495
473
|
&--light {
|
|
496
474
|
background-color: $QLD-color-neutral--white;
|
|
497
|
-
box-shadow: 8px 0px 0 6px $QLD-color-neutral--white, -8px 0px 0 6px $QLD-color-neutral--white, -12px 0px 0 6px var(--QLD-color-dark__design-accent), 0px 4px 16px rgba(0, 0, 0, .3);
|
|
475
|
+
box-shadow: 8px 0px 0 6px $QLD-color-neutral--white, -8px 0px 0 6px $QLD-color-neutral--white, -12px 0px 0 6px var(--QLD-color-dark__design-accent), 0px 4px 16px rgba(0, 0, 0, 0.3);
|
|
498
476
|
}
|
|
499
477
|
}
|
|
500
478
|
}
|
|
501
479
|
|
|
502
480
|
.qld__banner__hero {
|
|
503
481
|
background-color: var(--QLD-color-dark__background--shade);
|
|
504
|
-
|
|
482
|
+
|
|
505
483
|
@include QLD-media(md) {
|
|
506
484
|
background-color: transparent;
|
|
507
485
|
}
|
|
508
486
|
}
|
|
509
487
|
}
|
|
510
488
|
|
|
511
|
-
&--dark-alt{
|
|
489
|
+
&--dark-alt {
|
|
512
490
|
background-color: var(--QLD-color-dark__background--alt);
|
|
513
491
|
|
|
514
492
|
.qld__banner__content {
|
|
@@ -517,12 +495,11 @@
|
|
|
517
495
|
h1 {
|
|
518
496
|
color: var(--QLD-color-dark__heading);
|
|
519
497
|
}
|
|
520
|
-
.qld__banner__heading{
|
|
521
|
-
|
|
498
|
+
.qld__banner__heading {
|
|
522
499
|
&--dark {
|
|
523
500
|
background-color: var(--QLD-color-dark__background);
|
|
524
501
|
}
|
|
525
|
-
&--light{
|
|
502
|
+
&--light {
|
|
526
503
|
background-color: $QLD-color-neutral--white;
|
|
527
504
|
}
|
|
528
505
|
}
|
|
@@ -530,14 +507,12 @@
|
|
|
530
507
|
|
|
531
508
|
.qld__banner__hero {
|
|
532
509
|
background-color: var(--QLD-color-dark__background--alt-shade);
|
|
533
|
-
|
|
510
|
+
|
|
534
511
|
@include QLD-media(md) {
|
|
535
512
|
background-color: transparent;
|
|
536
513
|
}
|
|
537
514
|
}
|
|
538
515
|
}
|
|
539
|
-
|
|
540
|
-
|
|
541
516
|
}
|
|
542
517
|
|
|
543
518
|
.qld__banner__wrapper {
|
|
@@ -547,11 +522,8 @@
|
|
|
547
522
|
position: relative;
|
|
548
523
|
}
|
|
549
524
|
|
|
550
|
-
|
|
551
|
-
|
|
552
525
|
//Not sure if needed
|
|
553
526
|
.qld__banner {
|
|
554
|
-
|
|
555
527
|
&--padded {
|
|
556
528
|
@include QLD-space(padding-bottom, 2.5unit);
|
|
557
529
|
@include QLD-media(md) {
|
|
@@ -559,72 +531,4 @@
|
|
|
559
531
|
@include QLD-space(padding-bottom, 3unit);
|
|
560
532
|
}
|
|
561
533
|
}
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
// &.qld__banner--search {
|
|
567
|
-
// @include QLD-space(padding-bottom, 0);
|
|
568
|
-
// position: relative;
|
|
569
|
-
// overflow: visible;
|
|
570
|
-
|
|
571
|
-
// +.qld__body {
|
|
572
|
-
// @include QLD-space(padding-top, 2unit);
|
|
573
|
-
|
|
574
|
-
// @include QLD-media(lg) {
|
|
575
|
-
// @include QLD-space(padding-top, 4unit);
|
|
576
|
-
// }
|
|
577
|
-
// }
|
|
578
|
-
|
|
579
|
-
// &:before {
|
|
580
|
-
// content: '';
|
|
581
|
-
// background-color: var(--QLD-color-light__background);
|
|
582
|
-
// width: 100vw;
|
|
583
|
-
// height: 1.5rem;
|
|
584
|
-
// position: absolute;
|
|
585
|
-
// bottom: 0;
|
|
586
|
-
// left: 0;
|
|
587
|
-
|
|
588
|
-
// @include QLD-media(lg) {
|
|
589
|
-
// left: calc(50% - 50vw);
|
|
590
|
-
// height: 2.25rem;
|
|
591
|
-
// }
|
|
592
|
-
// }
|
|
593
|
-
|
|
594
|
-
// .qld__search {
|
|
595
|
-
// @include QLD-space(margin, 1.5unit auto 0 auto);
|
|
596
|
-
// border-radius: 4px;
|
|
597
|
-
// box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
|
|
598
|
-
// position: relative;
|
|
599
|
-
// width: 100%;
|
|
600
|
-
|
|
601
|
-
// @include QLD-media(lg) {
|
|
602
|
-
// @include QLD-space(margin-top, 2unit);
|
|
603
|
-
// max-width: 83.3333%;
|
|
604
|
-
// }
|
|
605
|
-
|
|
606
|
-
// .qld__text-input {
|
|
607
|
-
// border-color: var(--QLD-color-light__action--primary);
|
|
608
|
-
|
|
609
|
-
// @include QLD-media(lg) {
|
|
610
|
-
// @include QLD-space(height, 4.5unit);
|
|
611
|
-
// }
|
|
612
|
-
// }
|
|
613
|
-
|
|
614
|
-
// .qld__search__btn {
|
|
615
|
-
// @include QLD-media(lg) {
|
|
616
|
-
// width: 124px;
|
|
617
|
-
// }
|
|
618
|
-
// }
|
|
619
|
-
|
|
620
|
-
// .qld__btn {
|
|
621
|
-
// @include QLD-media(lg) {
|
|
622
|
-
// @include QLD-space(height, 4.5unit);
|
|
623
|
-
// font-size: 1.5rem;
|
|
624
|
-
// }
|
|
625
|
-
// }
|
|
626
|
-
// }
|
|
627
|
-
|
|
628
|
-
// }
|
|
629
|
-
|
|
630
|
-
}
|
|
534
|
+
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
<section class="qld__banner
|
|
2
|
-
|
|
2
|
+
{{#ifCond site.metadata.defaultBannerColour.value '==' 'light'}}qld__banner--light{{/ifCond}}
|
|
3
3
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'alternate'}}qld__banner--alt{{/ifCond}}
|
|
4
|
-
|
|
5
4
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'dark'}}qld__banner--dark{{/ifCond}}
|
|
6
|
-
|
|
7
5
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'dark-alternate'}}qld__banner--dark-alt{{/ifCond}}
|
|
6
|
+
|
|
8
7
|
{{#ifCond current.data.metadata.displayBreadcrumbs.value '==' 'true'}}qld__banner--breadcrumbs{{/ifCond}}
|
|
9
8
|
"
|
|
10
|
-
|
|
11
9
|
{{#ifCond site.metadata.defaultBannerType.value '==' 'texture'}}
|
|
12
10
|
style="background-image: url(./?a={{site.metadata.defaultBannerTexture.value}});"
|
|
13
11
|
{{/ifCond}}
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
{{#ifAny metadata.hero_image.value metadata.background_image_sm.value}}
|
|
77
77
|
<!--@@ Hero image @@-->
|
|
78
78
|
<div class="qld__banner__hero col-xs-12
|
|
79
|
-
{{#ifCond metadata.hero_image_responsive_treatment.value '==' 'scale'}}qld__banner__hero--scale col-md-6 col-lg-5 col-xl-
|
|
79
|
+
{{#ifCond metadata.hero_image_responsive_treatment.value '==' 'scale'}}qld__banner__hero--scale col-md-6 col-lg-5 col-xl-5{{/ifCond}}
|
|
80
80
|
{{#ifCond metadata.hero_image_responsive_treatment.value '==' 'crop'}}
|
|
81
81
|
{{#ifCond metadata.hero_image_alignment.value '==' 'grid'}}col-md-6 col-lg-5{{else}}col-md-7 col-lg-5 col-xl-4{{/ifCond}}
|
|
82
82
|
{{/ifCond}}">
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
<!--@@ CTA Buttons @@-->
|
|
179
179
|
{{#ifCond metadata.cta_type.value '==' 'buttons'}}
|
|
180
180
|
{{#ifAny metadata.cta_button_primary_text.value metadata.cta_button_secondary_text.value}}
|
|
181
|
-
<ul class="qld__banner__content--cta qld__link-list">
|
|
181
|
+
<ul class="qld__banner__content--cta qld__link-list qld__display-flex qld__flex-wrap">
|
|
182
182
|
|
|
183
183
|
{{#if metadata.cta_button_primary_text.value}}
|
|
184
184
|
<li>
|