@qld-gov-au/qgds-bootstrap5 1.0.13 → 1.0.15
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/main.js +1 -1
- package/.storybook/preview.js +8 -0
- package/README.md +96 -46
- package/dist/assets/css/qld.bootstrap.css +1 -1
- package/dist/assets/css/qld.bootstrap.css.map +3 -3
- package/dist/assets/js/handlebars.helpers.bundle.js +1 -1
- package/dist/assets/js/handlebars.helpers.bundle.js.map +3 -3
- package/dist/assets/js/handlebars.helpers.js +4 -8
- package/dist/assets/js/qld.bootstrap.min.js +9 -9
- package/dist/assets/js/qld.bootstrap.min.js.map +4 -4
- package/dist/components/bs5/breadcrumbs/breadcrumbs.hbs +1 -1
- package/dist/components/bs5/button/button.hbs +30 -9
- package/dist/components/bs5/footer/footer.hbs +98 -112
- package/dist/components/bs5/footer/footerForgov.hbs +86 -59
- package/dist/components/bs5/header/header.hbs +15 -17
- package/dist/components/bs5/navbar/navbar.hbs +1 -1
- package/dist/components/bs5/quickexit/quickexit.hbs +28 -20
- package/dist/components/bs5/searchInput/searchInput.hbs +9 -3
- package/dist/components/handlebars.helpers.js +4 -8
- package/dist/components/handlebars.init.bundle.js +1 -1
- package/dist/components/handlebars.init.bundle.js.map +3 -3
- package/dist/index.html +2 -1
- package/dist/sample-data/button/button.data.json +2 -1
- package/dist/sample-data/footer/footer.data.json +93 -45
- package/dist/sample-data/header/header.data.json +134 -75
- package/dist/sample-data/navbar/navbar.data.json +8 -8
- package/dist/sample-data/quickexit/quickexit.data.json +8 -1
- package/dist/sample-data/searchInput/searchInput.data.json +10 -1
- package/package.json +20 -19
- package/src/components/bs5/breadcrumbs/breadcrumb.functions.js +71 -32
- package/src/components/bs5/breadcrumbs/breadcrumbs.hbs +1 -1
- package/src/components/bs5/button/button.data.json +2 -1
- package/src/components/bs5/button/button.hbs +30 -9
- package/src/components/bs5/button/button.scss +87 -44
- package/src/components/bs5/button/button.stories.js +121 -27
- package/src/components/bs5/callout/callout.scss +1 -1
- package/src/components/bs5/footer/_colours.scss +74 -0
- package/src/components/bs5/footer/_measurements.scss +30 -0
- package/src/components/bs5/footer/footer.data.json +93 -45
- package/src/components/bs5/footer/footer.functions.js +36 -0
- package/src/components/bs5/footer/footer.hbs +98 -112
- package/src/components/bs5/footer/footer.scss +445 -199
- package/src/components/bs5/footer/footer.stories.js +17 -6
- package/src/components/bs5/footer/footerForgov.hbs +86 -59
- package/src/components/bs5/header/_colours.scss +0 -52
- package/src/components/bs5/header/header.data.json +134 -75
- package/src/components/bs5/header/header.functions.js +1 -180
- package/src/components/bs5/header/header.hbs +15 -17
- package/src/components/bs5/header/header.scss +7 -156
- package/src/components/bs5/header/header.stories.js +10 -50
- package/src/components/bs5/modal/modal.scss +54 -35
- package/src/components/bs5/modal/modal.stories.js +2 -2
- package/src/components/bs5/navbar/_colours.scss +46 -82
- package/src/components/bs5/navbar/navbar.data.json +8 -8
- package/src/components/bs5/navbar/navbar.hbs +1 -1
- package/src/components/bs5/navbar/navbar.scss +15 -6
- package/src/components/bs5/quickexit/_colours.scss +28 -0
- package/src/components/bs5/quickexit/quickexit.data.json +8 -1
- package/src/components/bs5/quickexit/quickexit.hbs +28 -20
- package/src/components/bs5/quickexit/quickexit.scss +236 -156
- package/src/components/bs5/quickexit/quickexit.stories.js +35 -13
- package/src/components/bs5/searchInput/_colours.scss +63 -0
- package/src/components/bs5/searchInput/search.functions.js +170 -0
- package/src/components/bs5/searchInput/searchInput.data.json +10 -1
- package/src/components/bs5/searchInput/searchInput.hbs +9 -3
- package/src/components/bs5/searchInput/searchInput.scss +122 -21
- package/src/components/bs5/searchInput/searchInput.stories.js +1 -1
- package/src/components/bs5/tag/tag.scss +4 -2
- package/src/js/handlebars.helpers.js +4 -8
- package/src/main.js +63 -39
- package/src/main.scss +6 -3
- package/src/scss/qld-print.scss +365 -0
- package/src/scss/qld-type.scss +94 -85
- package/src/scss/qld-variables.scss +87 -101
- package/src/templates/compiled/index.html +2 -1
- package/src/templates/index.html +31 -46
- package/src/components/common/header/Header.js +0 -11
- package/src/components/common/header/header.html +0 -259
- package/src/components/common/header/header.scss +0 -118
- /package/src/components/bs5/{header/_search.json → searchInput/search.json} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// footer.stories.js
|
|
2
|
-
import { Footer, FooterForgov } from
|
|
2
|
+
import { Footer, FooterForgov } from "./Footer.js";
|
|
3
3
|
|
|
4
|
-
import defaultdata from
|
|
4
|
+
import defaultdata from "./footer.data.json";
|
|
5
5
|
|
|
6
6
|
export default {
|
|
7
|
-
tags: [
|
|
8
|
-
title:
|
|
7
|
+
tags: ["autodocs"],
|
|
8
|
+
title: "Components/Footer",
|
|
9
9
|
render: (args) => new Footer(args).html,
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -19,7 +19,6 @@ export const Default = {
|
|
|
19
19
|
},
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
|
|
23
22
|
/**
|
|
24
23
|
* Footer: White
|
|
25
24
|
*/
|
|
@@ -46,7 +45,6 @@ export const DarkAlt = {
|
|
|
46
45
|
},
|
|
47
46
|
};
|
|
48
47
|
|
|
49
|
-
|
|
50
48
|
/**
|
|
51
49
|
* Forgov footer
|
|
52
50
|
*/
|
|
@@ -56,6 +54,19 @@ export const Forgov = {
|
|
|
56
54
|
...defaultdata,
|
|
57
55
|
variantClass: "dark",
|
|
58
56
|
sitename: "For Government",
|
|
57
|
+
footerHasCrest: false,
|
|
58
|
+
feedbackFormEnabled: true,
|
|
59
|
+
followlinksEnabled: false,
|
|
60
|
+
contactHasContactList: false,
|
|
61
|
+
copyrightHasYearFrom: true,
|
|
62
|
+
footerHasStateOfQld: false,
|
|
63
|
+
acknowledgements: [
|
|
64
|
+
{
|
|
65
|
+
title: "Cultural acknowledgement",
|
|
66
|
+
content:
|
|
67
|
+
"<p>Queensland Government acknowledges the Traditional Owners of the land and pays respect to Elders past, present and future.</p>",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
59
70
|
},
|
|
60
71
|
render: (args) => new FooterForgov(args).html,
|
|
61
72
|
};
|
|
@@ -1,69 +1,98 @@
|
|
|
1
|
-
<footer class="qld-footer {{variantClass}}" role="contentinfo">
|
|
1
|
+
<footer class="qld-footer {{ variantClass }}" role="contentinfo">
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<!-- Footer content container -->
|
|
4
4
|
<div class="container">
|
|
5
5
|
|
|
6
6
|
<div class="row">
|
|
7
|
-
<div class="col">
|
|
7
|
+
<div class="col title">
|
|
8
8
|
<h2 class="footer-site-name">{{ sitename }}</h2>
|
|
9
9
|
</div>
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
12
|
<div class="row">
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
<div class="col-
|
|
14
|
+
{{!-- Section 1: Contact us and Site wide CTAs --}}
|
|
15
|
+
<div class="col-xs-12 col-md-12 col-lg-3">
|
|
16
|
+
<div class="footer-column footer-contact {{#if contact.hasBorderColumn}}border-column{{/if}}">
|
|
17
|
+
<div class="row">
|
|
18
|
+
<div class="col-xs-12 col-md-6 col-lg-12">
|
|
19
|
+
<h3 class="footer-heading">{{ contact.title }}</h3>
|
|
16
20
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
<div class="footer-content">
|
|
22
|
+
{{{ contact.content }}}
|
|
23
|
+
{{#if contactHasContactList}}
|
|
24
|
+
{{#each contact.list}}
|
|
25
|
+
<div class="footer-contact-item">
|
|
26
|
+
<span class="qld-icon {{icon}}" aria-hidden="true"></span> {{{ label }}}
|
|
27
|
+
</div>
|
|
28
|
+
{{/each}}
|
|
29
|
+
{{/if}}
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="col-xs-12 col-md-6 col-lg-12">
|
|
33
|
+
<a href="{{ contact.buttonLink }}" class="btn btn-outline-secondary">{{ contact.buttonLabel }}</a>
|
|
29
34
|
</div>
|
|
30
|
-
{{/each}}
|
|
31
|
-
|
|
32
|
-
<a href="{{ contact.buttonLink }}" class="btn btn-outline-secondary">{{ contact.buttonLabel }}</a>
|
|
33
|
-
|
|
34
35
|
</div>
|
|
35
|
-
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
<div class="col-xs-12 col-md-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
<a href="{{ feedback.buttonLink }}" class="btn btn-outline-secondary">{{ feedback.buttonLabel }}</a>
|
|
39
|
+
{{!-- Section 2: Section links (Custom secondary nav items) --}}
|
|
40
|
+
<div class="col-xs-12 col-md-12 col-lg-3" aria-label="footer-navigation">
|
|
41
|
+
<div class="footer-column {{#if footerlinks.hasBorderColumn}}border-column{{/if}}">
|
|
42
|
+
<nav class="nav footer-link-list flex-column">
|
|
43
|
+
{{#each footerlinks.list}}
|
|
44
|
+
<a class="nav-link" href="{{ link }}" target="{{ target }}">{{{ title }}}</a>
|
|
45
|
+
{{/each }}
|
|
46
|
+
</nav>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
51
49
|
|
|
50
|
+
{{!-- Section 3: Feedback form area --}}
|
|
51
|
+
{{#if feedbackFormEnabled}}
|
|
52
|
+
<div class="col-xs-12 col-md-12 col-lg-3">
|
|
53
|
+
<div class="footer-column {{#if feedbackForm.hasBorderColumn}}border-column{{/if}}">
|
|
54
|
+
<div class="row">
|
|
55
|
+
<div class="col-xs-12 col-md-6 col-lg-12">
|
|
56
|
+
<h3 class="footer-heading">{{ feedbackForm.title }}</h3>
|
|
57
|
+
{{#if feedbackForm45}}
|
|
58
|
+
<h2>dsdfsdf</h2>
|
|
59
|
+
{{/if}}
|
|
60
|
+
<p>{{ feedbackForm.content }}</p>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="col-xs-12 col-md-6 col-lg-12">
|
|
63
|
+
<div id="qg-feedback-toggle" class="qg-footer-feedback-wrap">
|
|
64
|
+
<a id="btn-footer-feedback" class="btn btn-global-secondary qg-feedback-toggle collapsed" data-bs-toggle="collapse" href="#qg-footer-feedback" role="button" aria-expanded="false" aria-controls="qg-footer-feedback" data-analytics-link-group="qg-feedback">
|
|
65
|
+
{{ feedbackForm.btnTitle }}
|
|
66
|
+
</a>
|
|
67
|
+
<div id="qg-footer-feedback" class="qg-footer-feedback__v2 collapse">
|
|
68
|
+
<script>
|
|
69
|
+
window.formioQldCdnVersion = "v2/v2.x.x-latest";
|
|
70
|
+
</script>
|
|
71
|
+
{{!-- If formioResource has the wrong URL or the future URL changes --}}
|
|
72
|
+
{{!-- Make sure that this is also changed within footer.function.js --}}
|
|
73
|
+
{{!-- It is there to make sure that Form IO is alway got to --}}
|
|
74
|
+
<script src="{{{feedbackForm.formioResource}}}"></script>
|
|
75
|
+
<div id="feedbackFormIO" {{#each feedbackForm.formAttr}}{{#if @first}}{{ key }}{{/if}} {{#unless @first}}{{ key }}="{{ value }}"{{/unless}}{{/each}}>
|
|
76
|
+
<div class="qg-spinner" role="status">
|
|
77
|
+
<div class="spinner-border"></div>
|
|
78
|
+
<div class="qg-spinner-label">Loading...</div>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="qg-footer-feedback-footer">
|
|
82
|
+
<a class="qg-footer-feedback__close" data-bs-toggle="collapse" href="#qg-footer-feedback" role="button" aria-expanded="true" aria-controls="qg-footer-feedback">Close</a>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
52
87
|
</div>
|
|
53
88
|
</div>
|
|
54
|
-
|
|
55
89
|
</div>
|
|
90
|
+
{{/if}}
|
|
56
91
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
<!-- Section 6: Aknowlegement, Qld Government Coat of Arms and Copyright information -->
|
|
62
|
-
<div class="col-12 col-md-12 col-lg-4 col-xl-5 offset-xl-1 border-column">
|
|
63
|
-
|
|
64
|
-
<div class="footer-column">
|
|
65
|
-
|
|
66
|
-
<!-- SVG crest -->
|
|
92
|
+
{{!-- Section 4: Aknowlegement, Qld Government Coat of Arms and Copyright information --}}
|
|
93
|
+
<div class="col-xs-12 col-md-12 col-lg-3 crest">
|
|
94
|
+
<div class="footer-column {{#if copyright.hasBorderColumn}}border-column{{/if}}">
|
|
95
|
+
{{#if footerHasCrest}}
|
|
67
96
|
<div class="footer-crest">
|
|
68
97
|
<svg width="252" height="44" viewBox="0 0 252 44" fill="none"
|
|
69
98
|
xmlns="http://www.w3.org/2000/svg">
|
|
@@ -231,22 +260,21 @@
|
|
|
231
260
|
fill="white" />
|
|
232
261
|
</svg>
|
|
233
262
|
</div>
|
|
234
|
-
|
|
263
|
+
{{/if}}
|
|
235
264
|
<div class="footer-content">
|
|
265
|
+
{{#each acknowledgements}}
|
|
266
|
+
|
|
267
|
+
{{#if title}}
|
|
268
|
+
<h3 class="footer-heading">{{title}}</h3>
|
|
269
|
+
{{/if}}
|
|
236
270
|
|
|
237
|
-
<div class="footer-acknowledgements">
|
|
238
|
-
{{#each acknowledgements}}
|
|
239
271
|
{{{ content }}}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
<p>
|
|
247
|
-
<a class="fw-semibold" href="{{ lockup.link.URL }}" rel="external">{{ lockup.link.text }}</a>
|
|
248
|
-
</p>
|
|
249
|
-
|
|
272
|
+
|
|
273
|
+
{{/each}}
|
|
274
|
+
<p class="copyright">{{{ copyright.content }}} {{#if copyrightHasYearFrom }}{{ copyright.yearFrom }} - {{/if}} {{copyright.currentYear}}</p>
|
|
275
|
+
{{#if footerHasStateOfQld }}
|
|
276
|
+
<p><a class="fw-semibold" href="{{ lookup.link.URL }}" rel="external">{{ lookup.link.text }}</a></p>
|
|
277
|
+
{{/if}}
|
|
250
278
|
</div>
|
|
251
279
|
|
|
252
280
|
</div>
|
|
@@ -254,5 +282,4 @@
|
|
|
254
282
|
|
|
255
283
|
</div>
|
|
256
284
|
</div>
|
|
257
|
-
|
|
258
285
|
</footer>
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// ------------------------------------------------------------------------------------------------------------------
|
|
3
3
|
// 1. Common vars
|
|
4
4
|
// ------------------------------------------------------------------------------------------------------------------
|
|
5
|
-
|
|
6
5
|
// Shared thickness, offset etc.
|
|
7
6
|
--#{$prefix}header-underline__thickness-thin: 0.5px;
|
|
8
7
|
--#{$prefix}header-underline__thickness-thick: 2px;
|
|
@@ -11,22 +10,6 @@
|
|
|
11
10
|
// ------------------------------------------------------------------------------------------------------------------
|
|
12
11
|
// 2. Second hand variables (each variant, default, light, dark, dark-alt) using QGDS-Tokens (npm)
|
|
13
12
|
// ------------------------------------------------------------------------------------------------------------------
|
|
14
|
-
// Search inputs
|
|
15
|
-
--#{$prefix}header-site-search-bg: var(--#{$prefix}color-default-color-light-background-default-shade);
|
|
16
|
-
--#{$prefix}header-site-search-btn-color: var(--#{$prefix}color-default-color-dark-text-default);
|
|
17
|
-
--#{$prefix}header-site-search-btn-bg: var(--#{$prefix}color-default-color-light-link-default);
|
|
18
|
-
--#{$prefix}header-site-search-border-color: var(--#{$prefix}color-default-color-light-action-primary-hover);
|
|
19
|
-
--#{$prefix}header-site-search-icon-color:var(--#{$prefix}color-default-color-light-text-lighter);
|
|
20
|
-
--#{$prefix}header-site-search-text-color:var(--#{$prefix}color-default-color-light-text-default);
|
|
21
|
-
|
|
22
|
-
// Search input dark
|
|
23
|
-
--#{$prefix}header-dark-site-search-bg: var(--#{$prefix}color-default-color-dark-background-default-shade);
|
|
24
|
-
--#{$prefix}header-dark-site-search-btn-color: var(--#{$prefix}color-default-color-light-text-default);
|
|
25
|
-
--#{$prefix}header-dark-site-search-btn-bg: var(--#{$prefix}color-default-color-light-accent-design-accent);
|
|
26
|
-
--#{$prefix}header-dark-site-search-border-color: var(--#{$prefix}color-default-color-dark-border-default);
|
|
27
|
-
--#{$prefix}header-dark-site-search-icon-color:var(--#{$prefix}color-default-color-dark-text-lighter);
|
|
28
|
-
--#{$prefix}header-dark-site-search-text-color:var(--#{$prefix}color-default-color-dark-text-default);
|
|
29
|
-
|
|
30
13
|
// Header
|
|
31
14
|
--#{$prefix}header_color: var(--#{$prefix}color-default-color-light-text-default);
|
|
32
15
|
--#{$prefix}header_bg: var(--#{$prefix}color-default-color-light-background-default);
|
|
@@ -80,24 +63,6 @@
|
|
|
80
63
|
--#{$prefix}header__site-name__heading__text_color: var(--#{$prefix}color-default-color-light-site-title);
|
|
81
64
|
--#{$prefix}header__site-name__subline__text_color: var(--#{$prefix}color-default-color-light-text-lighter);
|
|
82
65
|
|
|
83
|
-
// Search
|
|
84
|
-
--site-search-bg: var(--#{$prefix}header-site-search-bg);
|
|
85
|
-
--site-search-btn-color: var(--#{$prefix}header-site-search-btn-color);
|
|
86
|
-
--site-search-btn-bg: var(--#{$prefix}header-site-search-btn-bg);
|
|
87
|
-
--site-search-border-color: var(--#{$prefix}header-site-search-border-color);
|
|
88
|
-
--site-search-icon-color: var(--#{$prefix}header-site-search-icon-color);
|
|
89
|
-
--site-search-input-color: var(--#{$prefix}header-site-search-text-color);
|
|
90
|
-
--site-search-input-focus-color: var(--#{$prefix}color-default-color-light-focus-default);
|
|
91
|
-
--site-search-text-color: var(--#{$prefix}header-site-search-text-color);
|
|
92
|
-
|
|
93
|
-
// Suggestions colours
|
|
94
|
-
--#{$prefix}header_site-search-suggestions-bg: var(--#{$prefix}color-default-color-light-background-default-shade);
|
|
95
|
-
--#{$prefix}header_site-search-suggestions-hover: var(--#{$prefix}color-default-color-light-border-default);
|
|
96
|
-
--#{$prefix}header_site-search-suggestions-hover__border_color: var(--#{$prefix}color-default-color-light-accent-design-accent);
|
|
97
|
-
--#{$prefix}header_site-search-suggestions-feature_bg: var(--#{$prefix}color-default-color-dark-background-default);
|
|
98
|
-
--#{$prefix}header_site-search-suggestions-feature_hover: var(--#{$prefix}color-default-color-dark-background-default-shade);
|
|
99
|
-
--#{$prefix}header_site-search-suggestions-feature_text-color: var(--#{$prefix}color-default-color-dark-text-default);
|
|
100
|
-
|
|
101
66
|
// ------------------------------------------------------------------------------------------------------------------
|
|
102
67
|
// 3. Dark/dark-alt modes
|
|
103
68
|
// ------------------------------------------------------------------------------------------------------------------
|
|
@@ -147,23 +112,6 @@
|
|
|
147
112
|
|
|
148
113
|
// COA
|
|
149
114
|
--#{$prefix}header__brand-image__crest_fill: var(--#{$prefix}color-default-color-dark-crest-fill);
|
|
150
|
-
|
|
151
|
-
// Search (dark/dark/alt)
|
|
152
|
-
--site-search-bg: var(--#{$prefix}header-dark-site-search-bg);
|
|
153
|
-
--site-search-btn-color: var(--#{$prefix}header-dark-site-search-btn-color);
|
|
154
|
-
--site-search-btn-bg: var(--#{$prefix}header-dark-site-search-btn-bg);
|
|
155
|
-
--site-search-border-color: var(--#{$prefix}header-dark-site-search-border-color);
|
|
156
|
-
--site-search-icon-color: var(--#{$prefix}header-dark-site-search-icon-color);
|
|
157
|
-
--site-search-input-color: var(--#{$prefix}header-dark-site-search-text-color);
|
|
158
|
-
--site-search-text-color: var(--#{$prefix}header-site-search-text-color);
|
|
159
|
-
|
|
160
|
-
// Suggestions colours
|
|
161
|
-
--#{$prefix}header_site-search-suggestions-bg: var(--#{$prefix}color-default-color-dark-background-default-shade);
|
|
162
|
-
--#{$prefix}header_site-search-suggestions-hover: var(--#{$prefix}color-default-color-dark-background-default);
|
|
163
|
-
--#{$prefix}header_site-search-suggestions-hover__border_color: var(--#{$prefix}color-default-color-dark-accent-design-accent);
|
|
164
|
-
--#{$prefix}header_site-search-suggestions-feature_bg: var(--#{$prefix}color-default-color-dark-background-alt);
|
|
165
|
-
--#{$prefix}header_site-search-suggestions-feature_hover: var(--#{$prefix}color-default-color-dark-background-alt-shade);
|
|
166
|
-
--#{$prefix}header_site-search-suggestions-feature_text-color: var(--#{$prefix}color-default-color-dark-text-default);
|
|
167
115
|
}
|
|
168
116
|
|
|
169
117
|
.dark-alt & {
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
"icons": {
|
|
5
5
|
"menu-icon": "qld__icon__mobile-menu",
|
|
6
6
|
"search-icon": "qld__icon__search",
|
|
7
|
-
"close-icon": "qld__icon__close"
|
|
7
|
+
"close-icon": "qld__icon__close",
|
|
8
|
+
"chevron_down": "qld__icon__chevron-down"
|
|
8
9
|
},
|
|
9
10
|
"sitePreHeader": {
|
|
10
11
|
"url": {
|
|
@@ -19,9 +20,6 @@
|
|
|
19
20
|
"url": {
|
|
20
21
|
"value": "#"
|
|
21
22
|
},
|
|
22
|
-
"icon": {
|
|
23
|
-
"value": "ctaIcon"
|
|
24
|
-
},
|
|
25
23
|
"text": {
|
|
26
24
|
"value": "For Queenslanders"
|
|
27
25
|
},
|
|
@@ -77,9 +75,6 @@
|
|
|
77
75
|
"url": {
|
|
78
76
|
"value": "#"
|
|
79
77
|
},
|
|
80
|
-
"icon": {
|
|
81
|
-
"value": "ctaIcon"
|
|
82
|
-
},
|
|
83
78
|
"text": {
|
|
84
79
|
"value": "Business and Industry"
|
|
85
80
|
},
|
|
@@ -135,9 +130,6 @@
|
|
|
135
130
|
"url": {
|
|
136
131
|
"value": "#"
|
|
137
132
|
},
|
|
138
|
-
"icon": {
|
|
139
|
-
"value": "ctaIcon"
|
|
140
|
-
},
|
|
141
133
|
"text": {
|
|
142
134
|
"value": "Login"
|
|
143
135
|
},
|
|
@@ -194,7 +186,8 @@
|
|
|
194
186
|
"icons": {
|
|
195
187
|
"menu-icon": "qld__icon__mobile-menu",
|
|
196
188
|
"search-icon": "qld__icon__search",
|
|
197
|
-
"close-icon": "qld__icon__close"
|
|
189
|
+
"close-icon": "qld__icon__close",
|
|
190
|
+
"chevron_down": "qld__icon__chevron-down"
|
|
198
191
|
},
|
|
199
192
|
"sitePreHeader": {
|
|
200
193
|
"url": {
|
|
@@ -203,48 +196,134 @@
|
|
|
203
196
|
"text": {
|
|
204
197
|
"value": "Queensland Government websites"
|
|
205
198
|
},
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
"
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
"
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
"
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
199
|
+
"CTA": [
|
|
200
|
+
{
|
|
201
|
+
"id": "CTAone",
|
|
202
|
+
"url": {
|
|
203
|
+
"value": "#"
|
|
204
|
+
},
|
|
205
|
+
"text": {
|
|
206
|
+
"value": "For Queenslanders"
|
|
207
|
+
},
|
|
208
|
+
"dropdown_enabled": true,
|
|
209
|
+
"dropdown_options": {
|
|
210
|
+
"dropdown_type": "list",
|
|
211
|
+
"view_more_label": "Browse all information and services",
|
|
212
|
+
"view_more_url": "https://www.qld.gov.au/queenslanders",
|
|
213
|
+
"dropdown_config": {
|
|
214
|
+
"groups": [
|
|
215
|
+
{
|
|
216
|
+
"action": "_blank",
|
|
217
|
+
"url": "#",
|
|
218
|
+
"label": "Transport and motoring"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"action": "_blank",
|
|
222
|
+
"url": "#",
|
|
223
|
+
"label": "Employment and jobs"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"action": "_blank",
|
|
227
|
+
"url": "#",
|
|
228
|
+
"label": "Education and training"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"action": "_blank",
|
|
232
|
+
"url": "#",
|
|
233
|
+
"label": "Queensland and its government"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"action": "_blank",
|
|
237
|
+
"url": "#",
|
|
238
|
+
"label": "Health and wellbeing"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"action": "_blank",
|
|
242
|
+
"url": "#",
|
|
243
|
+
"label": "Community support"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"view_more": true,
|
|
247
|
+
"view_more_options": {
|
|
248
|
+
"url": "#",
|
|
249
|
+
"label": "View more",
|
|
250
|
+
"target": "_blank"
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
236
254
|
},
|
|
237
|
-
|
|
238
|
-
"
|
|
255
|
+
{
|
|
256
|
+
"id": "CTAtwo",
|
|
257
|
+
"url": {
|
|
258
|
+
"value": "#"
|
|
259
|
+
},
|
|
260
|
+
"text": {
|
|
261
|
+
"value": "Business and Industry"
|
|
262
|
+
},
|
|
263
|
+
"dropdown_enabled": true,
|
|
264
|
+
"dropdown_options": {
|
|
265
|
+
"dropdown_type": "list",
|
|
266
|
+
"view_more_label": "All categories",
|
|
267
|
+
"view_more_url": "https://www.business.qld.gov.au/",
|
|
268
|
+
"dropdown_config": {
|
|
269
|
+
"groups": [
|
|
270
|
+
{
|
|
271
|
+
"action": "_blank",
|
|
272
|
+
"url": "#",
|
|
273
|
+
"label": "Starting a business"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"action": "_blank",
|
|
277
|
+
"url": "#",
|
|
278
|
+
"label": "Running a business"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"action": "_blank",
|
|
282
|
+
"url": "#",
|
|
283
|
+
"label": "Employing people"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"action": "_blank",
|
|
287
|
+
"url": "#",
|
|
288
|
+
"label": "Payroll tax"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"action": "_blank",
|
|
292
|
+
"url": "#",
|
|
293
|
+
"label": "Industries"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"action": "_blank",
|
|
297
|
+
"url": "#",
|
|
298
|
+
"label": "Investing in Queensland"
|
|
299
|
+
}
|
|
300
|
+
],
|
|
301
|
+
"view_more": true,
|
|
302
|
+
"view_more_options": {
|
|
303
|
+
"url": "#",
|
|
304
|
+
"label": "View more",
|
|
305
|
+
"target": "_blank"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
239
309
|
},
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
"
|
|
243
|
-
|
|
244
|
-
|
|
310
|
+
{
|
|
311
|
+
"id": "CTAthree",
|
|
312
|
+
"url": {
|
|
313
|
+
"value": "#"
|
|
314
|
+
},
|
|
315
|
+
"text": {
|
|
316
|
+
"value": "Login"
|
|
317
|
+
},
|
|
318
|
+
"dropdown_enabled": true,
|
|
319
|
+
"dropdown_options": {
|
|
320
|
+
"dropdown_type": "form",
|
|
321
|
+
"dropdown_config": {
|
|
322
|
+
"content": "<div></div>"
|
|
323
|
+
}
|
|
245
324
|
}
|
|
246
325
|
}
|
|
247
|
-
|
|
326
|
+
]
|
|
248
327
|
},
|
|
249
328
|
"siteHeader": {
|
|
250
329
|
"config": {
|
|
@@ -274,9 +353,7 @@
|
|
|
274
353
|
"placeholder": "Placeholder",
|
|
275
354
|
"label": "Label",
|
|
276
355
|
"formAction": {
|
|
277
|
-
"url": "https://www.forgov.qld.gov.au/search"
|
|
278
|
-
"suggestions": "https://discover.search.qld.gov.au/s/suggest.json",
|
|
279
|
-
"results": "https://discover.search.qld.gov.au/s/search.json"
|
|
356
|
+
"url": "https://www.forgov.qld.gov.au/search"
|
|
280
357
|
},
|
|
281
358
|
"options": {
|
|
282
359
|
"borderStyle": {
|
|
@@ -290,7 +367,8 @@
|
|
|
290
367
|
"icons": {
|
|
291
368
|
"menu-icon": "qld__icon__mobile-menu",
|
|
292
369
|
"search-icon": "qld__icon__search",
|
|
293
|
-
"close-icon": "qld__icon__close"
|
|
370
|
+
"close-icon": "qld__icon__close",
|
|
371
|
+
"chevron_down": "qld__icon__chevron-down"
|
|
294
372
|
},
|
|
295
373
|
"sitePreHeader": {
|
|
296
374
|
"url": {
|
|
@@ -305,9 +383,6 @@
|
|
|
305
383
|
"url": {
|
|
306
384
|
"value": "#"
|
|
307
385
|
},
|
|
308
|
-
"icon": {
|
|
309
|
-
"value": "ctaIcon"
|
|
310
|
-
},
|
|
311
386
|
"text": {
|
|
312
387
|
"value": "For Queenslanders"
|
|
313
388
|
},
|
|
@@ -363,9 +438,6 @@
|
|
|
363
438
|
"url": {
|
|
364
439
|
"value": "#"
|
|
365
440
|
},
|
|
366
|
-
"icon": {
|
|
367
|
-
"value": "ctaIcon"
|
|
368
|
-
},
|
|
369
441
|
"text": {
|
|
370
442
|
"value": "Business and Industry"
|
|
371
443
|
},
|
|
@@ -421,9 +493,6 @@
|
|
|
421
493
|
"url": {
|
|
422
494
|
"value": "#"
|
|
423
495
|
},
|
|
424
|
-
"icon": {
|
|
425
|
-
"value": "ctaIcon"
|
|
426
|
-
},
|
|
427
496
|
"text": {
|
|
428
497
|
"value": "Login"
|
|
429
498
|
},
|
|
@@ -464,9 +533,7 @@
|
|
|
464
533
|
"placeholder": "",
|
|
465
534
|
"label": "",
|
|
466
535
|
"formAction": {
|
|
467
|
-
"url": "https://www.forgov.qld.gov.au/search"
|
|
468
|
-
"suggestions": "https://discover.search.qld.gov.au/s/suggest.json",
|
|
469
|
-
"results": "https://discover.search.qld.gov.au/s/search.json"
|
|
536
|
+
"url": "https://www.forgov.qld.gov.au/search"
|
|
470
537
|
},
|
|
471
538
|
"options": {
|
|
472
539
|
"borderStyle": {
|
|
@@ -480,7 +547,8 @@
|
|
|
480
547
|
"icons": {
|
|
481
548
|
"menu-icon": "qld__icon__mobile-menu",
|
|
482
549
|
"search-icon": "qld__icon__search",
|
|
483
|
-
"close-icon": "qld__icon__close"
|
|
550
|
+
"close-icon": "qld__icon__close",
|
|
551
|
+
"chevron_down": "qld__icon__chevron-down"
|
|
484
552
|
},
|
|
485
553
|
"sitePreHeader": {
|
|
486
554
|
"url": {
|
|
@@ -495,9 +563,6 @@
|
|
|
495
563
|
"url": {
|
|
496
564
|
"value": "#"
|
|
497
565
|
},
|
|
498
|
-
"icon": {
|
|
499
|
-
"value": "ctaIcon"
|
|
500
|
-
},
|
|
501
566
|
"text": {
|
|
502
567
|
"value": "For Queenslanders"
|
|
503
568
|
},
|
|
@@ -553,9 +618,6 @@
|
|
|
553
618
|
"url": {
|
|
554
619
|
"value": "#"
|
|
555
620
|
},
|
|
556
|
-
"icon": {
|
|
557
|
-
"value": "ctaIcon"
|
|
558
|
-
},
|
|
559
621
|
"text": {
|
|
560
622
|
"value": "Business and Industry"
|
|
561
623
|
},
|
|
@@ -611,9 +673,6 @@
|
|
|
611
673
|
"url": {
|
|
612
674
|
"value": "#"
|
|
613
675
|
},
|
|
614
|
-
"icon": {
|
|
615
|
-
"value": "ctaIcon"
|
|
616
|
-
},
|
|
617
676
|
"text": {
|
|
618
677
|
"value": "Login"
|
|
619
678
|
},
|