@qld-gov-au/qgds-bootstrap5 2.0.8 → 2.0.9
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/dist/assets/components/bs5/head/head.hbs +1 -1
- package/dist/assets/components/bs5/image/image.hbs +8 -5
- package/dist/assets/components/bs5/pageLayout/templates/contentPageWithForm.hbs +112 -93
- package/dist/assets/components/bs5/pageLayout/templates/contentPageWithSideNavigation.hbs +57 -53
- package/dist/assets/css/qld.bootstrap.css +1 -1
- package/dist/assets/css/qld.bootstrap.css.map +2 -2
- package/dist/assets/css/qld.bootstrap.legacy.css +1 -1
- package/dist/assets/css/qld.bootstrap.legacy.css.map +2 -2
- package/dist/assets/js/handlebars.init.min.js +185 -158
- package/dist/assets/js/handlebars.init.min.js.map +2 -2
- package/dist/assets/js/handlebars.partials.js +185 -158
- package/dist/assets/js/handlebars.partials.js.map +2 -2
- package/dist/assets/node/handlebars.init.min.js +109 -90
- package/dist/assets/node/handlebars.init.min.js.map +2 -2
- package/dist/components/bs5/head/head.hbs +1 -1
- package/dist/components/bs5/image/image.hbs +8 -5
- package/dist/components/bs5/pageLayout/templates/contentPageWithForm.hbs +112 -93
- package/dist/components/bs5/pageLayout/templates/contentPageWithSideNavigation.hbs +57 -53
- package/dist/package.json +1 -1
- package/dist/sample-data/breadcrumbs/breadcrumbs.data.json +1 -1
- package/dist/sample-data/image/image.data.json +4 -2
- package/package.json +1 -1
- package/src/components/bs5/banner/banner.scss +28 -19
- package/src/components/bs5/banner/banner.stories.js +25 -16
- package/src/components/bs5/breadcrumbs/breadcrumbs.data.json +1 -1
- package/src/components/bs5/header/header.scss +4 -0
- package/src/components/bs5/image/image.data.json +4 -2
- package/src/components/bs5/image/image.hbs +8 -5
- package/src/components/bs5/image/image.scss +29 -7
- package/src/components/bs5/image/image.stories.js +77 -57
- package/src/components/bs5/pageLayout/pageLayout.stories.js +11 -45
- package/src/components/bs5/pageLayout/templates/contentPageWithForm.hbs +112 -93
- package/src/components/bs5/pageLayout/templates/contentPageWithSideNavigation.hbs +57 -53
- package/src/components/bs5/searchInput/searchInput.scss +4 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
<!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"2.0.
|
|
2
|
+
<!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"2.0.9","branch":"HEAD","tag":"v2.0.9","commit":"0f12969e32431b89a0e3a8c31cb7d6eb86d06886","majorVersion":"v2"} -->
|
|
3
3
|
|
|
4
4
|
{{! Select environment, used verbatium if not using predefind key
|
|
5
5
|
cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
@@ -13,12 +13,15 @@
|
|
|
13
13
|
{{/inline}}
|
|
14
14
|
|
|
15
15
|
{{#if src}}
|
|
16
|
-
{{#
|
|
16
|
+
{{#ifAny caption credit }}
|
|
17
17
|
<figure class="{{ figureClass }}" {{#if width}}style="width:{{ width }}{{ widthUnit }}"{{/if}}>
|
|
18
18
|
{{> imageTag}}
|
|
19
|
-
<figcaption>
|
|
19
|
+
<figcaption>
|
|
20
|
+
{{caption}}
|
|
21
|
+
{{#if credit}}<span class="figure-credit">{{ credit }}</span>{{/if}}
|
|
22
|
+
</figcaption>
|
|
20
23
|
</figure>
|
|
21
24
|
{{else}}
|
|
22
|
-
{{>
|
|
23
|
-
{{/
|
|
24
|
-
{{/if}}
|
|
25
|
+
{{>imageTag}}
|
|
26
|
+
{{/ifAny}}
|
|
27
|
+
{{/if}}
|
|
@@ -2,108 +2,127 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
|
|
4
4
|
<head>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>{{title}}</title>
|
|
8
8
|
</head>
|
|
9
9
|
|
|
10
10
|
<body>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
{{> navbar navbar}}
|
|
11
|
+
<!-- Global ALert -->
|
|
12
|
+
{{> globalAlert globalAlert}}
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
<!-- Header -->
|
|
15
|
+
{{> header header }}
|
|
16
|
+
|
|
17
|
+
<!-- Navbar -->
|
|
18
|
+
{{> navbar navbar}}
|
|
19
|
+
|
|
20
|
+
{{#if banner}}
|
|
21
|
+
{{> banner banner}}
|
|
22
|
+
{{/if}}
|
|
23
|
+
|
|
24
|
+
<div class="container mt-40 mt-lg-64">
|
|
25
|
+
|
|
26
|
+
{{#if breadcrumbs}}
|
|
27
|
+
<!-- breadcrumbs -->
|
|
28
|
+
{{> breadcrumbs breadcrumbs}}
|
|
17
29
|
{{/if}}
|
|
18
30
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
31
|
+
<!-- Start Main Content Body -->
|
|
32
|
+
<div class="row">
|
|
33
|
+
|
|
34
|
+
<!-- Start Side navigation column (span 3) -->
|
|
35
|
+
<div class="col-12 col-lg-3">
|
|
36
|
+
<!-- QGDS Side Navigation Component -->
|
|
37
|
+
{{> sidenav sidenav}}
|
|
38
|
+
</div>
|
|
39
|
+
<!-- End Side navigation column -->
|
|
40
|
+
|
|
41
|
+
<!-- Start Main Column (span 8) -->
|
|
42
|
+
<div class="col-12 col-lg-8 mt-40 mt-lg-0">
|
|
43
|
+
|
|
44
|
+
<!-- Main Content div, includes a 2rem/32px horizontal padding on large screens and up -->
|
|
45
|
+
<main class="px-lg-32">
|
|
46
|
+
|
|
47
|
+
<h1 id="section-heading">Single page form (H1)</h1>
|
|
48
|
+
|
|
49
|
+
<p>Your feedback is important to us. It tells us how we can improve and what we’re doing well. Your feedback
|
|
50
|
+
is confidential.</p>
|
|
51
|
+
|
|
52
|
+
<h2 id="form-heading">Enquiry form (H2)</h2>
|
|
53
|
+
|
|
54
|
+
{{#if inpageAlert}}
|
|
55
|
+
<!-- Inpage Alert -->
|
|
56
|
+
<div class="mb-32">
|
|
57
|
+
{{> inpageAlert inpageAlert}}
|
|
58
|
+
</div>
|
|
59
|
+
{{/if}}
|
|
60
|
+
|
|
61
|
+
<!-- Example WYSIWYG content -->
|
|
62
|
+
<p>Any information submitted using this form will be used in line with our privacy statement.</p>
|
|
63
|
+
<p>Required fields are marked with an *</p>
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
{{#if form}}
|
|
67
|
+
<!-- Example Form, with 2rem vertical spacing -->
|
|
68
|
+
<form class="qld-form my-32">
|
|
69
|
+
{{#each form.fields1}}
|
|
70
|
+
<div class="form-group mb-32">
|
|
71
|
+
{{#ifCond type '==' 'textbox'}}
|
|
72
|
+
{{> textbox this}}
|
|
73
|
+
{{else ifCond type '==' 'textarea'}}
|
|
74
|
+
{{> textarea this}}
|
|
75
|
+
{{else ifCond type '==' 'radio'}}
|
|
76
|
+
{{> formcheck this}}
|
|
77
|
+
{{/ifCond}}
|
|
26
78
|
</div>
|
|
27
|
-
{{/
|
|
79
|
+
{{/each}}
|
|
80
|
+
|
|
81
|
+
<h3 id="contact-details">Contact details (H3)</h3>
|
|
82
|
+
|
|
83
|
+
{{#each form.fields2}}
|
|
84
|
+
<div class="form-group mb-32">
|
|
85
|
+
{{#ifCond type '==' 'textbox'}}
|
|
86
|
+
{{> textbox this}}
|
|
87
|
+
{{else ifCond type '==' 'select'}}
|
|
88
|
+
{{> select this}}
|
|
89
|
+
{{else ifCond type '==' 'checkbox'}}
|
|
90
|
+
{{> formcheck this}}
|
|
91
|
+
{{/ifCond}}
|
|
92
|
+
</div>
|
|
93
|
+
{{/each}}
|
|
28
94
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
</div>
|
|
35
|
-
{{/if}}
|
|
36
|
-
|
|
37
|
-
<!-- Content Col -->
|
|
38
|
-
<div class="col-lg-8 col-md-7 ps-1 ps-md-32">
|
|
39
|
-
|
|
40
|
-
<!-- Main Content Sections -->
|
|
41
|
-
<div class="content-section mb-5 px-1 px-md-32">
|
|
42
|
-
|
|
43
|
-
<h1 id="section-heading">Single page form (H1)</h1>
|
|
44
|
-
<p>
|
|
45
|
-
Your feedback is important to us. It tells us how we can improve and what we’re doing well. Your feedback is confidential.
|
|
46
|
-
</p>
|
|
47
|
-
|
|
48
|
-
<h2 id="form-heading">Enquiry form (H2)</h2>
|
|
49
|
-
|
|
50
|
-
{{#if inpageAlert}}
|
|
51
|
-
<!-- Inpage Alert -->
|
|
52
|
-
<div class="mb-32">
|
|
53
|
-
{{> inpageAlert inpageAlert}}
|
|
54
|
-
</div>
|
|
55
|
-
{{/if}}
|
|
56
|
-
|
|
57
|
-
<div class="mb-32">
|
|
58
|
-
<p>Any information submitted using this form will be used in line with our privacy statement.</p>
|
|
59
|
-
<p>Required fields are marked with an *</p>
|
|
60
|
-
</div>
|
|
61
|
-
|
|
62
|
-
{{#if form}}
|
|
63
|
-
<form class="qld-form mb-5">
|
|
64
|
-
{{#each form.fields1}}
|
|
65
|
-
<div class="form-group mb-32">
|
|
66
|
-
{{#ifCond type '==' 'textbox'}}
|
|
67
|
-
{{> textbox this}}
|
|
68
|
-
{{else ifCond type '==' 'textarea'}}
|
|
69
|
-
{{> textarea this}}
|
|
70
|
-
{{else ifCond type '==' 'radio'}}
|
|
71
|
-
{{> formcheck this}}
|
|
72
|
-
{{/ifCond}}
|
|
73
|
-
</div>
|
|
74
|
-
{{/each}}
|
|
75
|
-
|
|
76
|
-
<h3 id="form-heading">Contact details (H3)</h3>
|
|
77
|
-
|
|
78
|
-
{{#each form.fields2}}
|
|
79
|
-
<div class="form-group mb-32">
|
|
80
|
-
{{#ifCond type '==' 'textbox'}}
|
|
81
|
-
{{> textbox this}}
|
|
82
|
-
{{else ifCond type '==' 'select'}}
|
|
83
|
-
{{> select this}}
|
|
84
|
-
{{else ifCond type '==' 'checkbox'}}
|
|
85
|
-
{{> formcheck this}}
|
|
86
|
-
{{/ifCond}}
|
|
87
|
-
</div>
|
|
88
|
-
{{/each}}
|
|
89
|
-
|
|
90
|
-
{{#if form.buttons}}
|
|
91
|
-
<div class="form-actions d-flex mt-5 gap-4">
|
|
92
|
-
{{#each form.buttons}}
|
|
93
|
-
{{> button this}}
|
|
94
|
-
{{/each}}
|
|
95
|
-
</div>
|
|
96
|
-
{{/if}}
|
|
97
|
-
</form>
|
|
98
|
-
{{/if}}
|
|
99
|
-
|
|
100
|
-
</div>
|
|
101
|
-
</div>
|
|
102
|
-
{{> contentFooter contentFooter}}
|
|
95
|
+
{{#if form.buttons}}
|
|
96
|
+
<div class="form-actions d-flex mt-5 gap-4">
|
|
97
|
+
{{#each form.buttons}}
|
|
98
|
+
{{> button this}}
|
|
99
|
+
{{/each}}
|
|
103
100
|
</div>
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
101
|
+
{{/if}}
|
|
102
|
+
</form>
|
|
103
|
+
{{/if}}
|
|
104
|
+
|
|
105
|
+
</main>
|
|
106
|
+
|
|
107
|
+
</div>
|
|
108
|
+
<!-- End Column (span 8) -->
|
|
109
|
+
|
|
110
|
+
</div>
|
|
111
|
+
<!-- End Content Row -->
|
|
112
|
+
|
|
113
|
+
<!-- Start QGDS Content Footer -->
|
|
114
|
+
<div class="mt-64">
|
|
115
|
+
{{> contentFooter contentFooter}}
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
</div>
|
|
119
|
+
<!-- End Main .container -->
|
|
120
|
+
|
|
121
|
+
<!-- Start QGDS Footer -->
|
|
122
|
+
{{> footer footer}}
|
|
123
|
+
<!-- End QGDS Footer -->
|
|
124
|
+
|
|
107
125
|
</body>
|
|
108
126
|
|
|
127
|
+
|
|
109
128
|
</html>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
{{> globalAlert globalAlert}}
|
|
13
13
|
|
|
14
14
|
<!-- Header -->
|
|
15
|
-
{{> header header }}
|
|
15
|
+
{{> header header }}
|
|
16
16
|
|
|
17
17
|
<!-- Navbar -->
|
|
18
18
|
{{> navbar navbar}}
|
|
@@ -21,40 +21,37 @@
|
|
|
21
21
|
{{> banner banner}}
|
|
22
22
|
{{/if}}
|
|
23
23
|
|
|
24
|
-
<
|
|
24
|
+
<div class="container mt-40 mt-lg-64">
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</div>
|
|
34
|
-
{{/if}}
|
|
26
|
+
{{#if breadcrumbs}}
|
|
27
|
+
<!-- breadcrumbs -->
|
|
28
|
+
{{> breadcrumbs breadcrumbs}}
|
|
29
|
+
{{/if}}
|
|
30
|
+
|
|
31
|
+
<!-- Start Main Content Body -->
|
|
32
|
+
<div class="row">
|
|
35
33
|
|
|
36
|
-
<!--
|
|
37
|
-
<div class="
|
|
34
|
+
<!-- Start Side navigation column (span 3) -->
|
|
35
|
+
<div class="col-12 col-lg-3">
|
|
36
|
+
<!-- QGDS Side navigation Component -->
|
|
37
|
+
{{> sidenav sidenav}}
|
|
38
|
+
</div>
|
|
39
|
+
<!-- End Side navigation column -->
|
|
38
40
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
{{> sidenav sidenav}}
|
|
42
|
-
</div>
|
|
43
|
-
<!-- End Side navigation column -->
|
|
41
|
+
<!-- Start Main Column (span 8) -->
|
|
42
|
+
<div class="col-12 col-lg-8 mt-40 mt-lg-0">
|
|
44
43
|
|
|
45
|
-
<!-- Content
|
|
46
|
-
<
|
|
44
|
+
<!-- Main Content div, includes a 2rem/32px horizontal padding on large screens and up -->
|
|
45
|
+
<main class="px-lg-32">
|
|
47
46
|
|
|
48
47
|
{{#if inpagenav}}
|
|
49
|
-
<!-- Inpagenav Component
|
|
48
|
+
<!-- QGDS Inpagenav Component -->
|
|
50
49
|
{{> inpagenav inpagenav}}
|
|
51
50
|
{{/if}}
|
|
52
51
|
|
|
53
|
-
|
|
54
|
-
|
|
55
52
|
<!-- Content Section with top vertical spacer (2rem mobile, 4rem LG and above) -->
|
|
56
53
|
<div class="mt-32 mt-lg-64">
|
|
57
|
-
<h2 id="section-heading">Section heading (H2)</h2>
|
|
54
|
+
<h2 id="section-heading">Section heading (H2)</h2>
|
|
58
55
|
<p>
|
|
59
56
|
Lorem ipsum dolor sit amet consectetur. Sed facilisis purus eu convallis ut. Morbi condimentum volutpat
|
|
60
57
|
feugiat pellentesque. Auctor amet auctor dolor metus eget diam. Facilisis vitae venenatis vestibulum
|
|
@@ -67,20 +64,20 @@
|
|
|
67
64
|
</div>
|
|
68
65
|
|
|
69
66
|
|
|
70
|
-
|
|
71
67
|
<!-- Content Section with top vertical spacer (2rem mobile, 4rem LG and above) -->
|
|
72
68
|
<div class="mt-32 mt-lg-64">
|
|
73
69
|
|
|
74
70
|
<h2 id="content-heading">Content heading (H2)</h2>
|
|
75
|
-
|
|
76
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et
|
|
71
|
+
|
|
72
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et
|
|
73
|
+
dolore magna aliqua.</p>
|
|
77
74
|
|
|
78
75
|
{{#if calloutdata}}
|
|
79
|
-
<!-- Callout Component -->
|
|
76
|
+
<!-- QGDS Callout Component -->
|
|
80
77
|
{{> callout calloutdata}}
|
|
81
78
|
{{/if}}
|
|
82
79
|
</div>
|
|
83
|
-
|
|
80
|
+
|
|
84
81
|
|
|
85
82
|
|
|
86
83
|
<!-- Content Section with top vertical spacer (2rem mobile, 2.5rem LG and above) -->
|
|
@@ -90,12 +87,12 @@
|
|
|
90
87
|
|
|
91
88
|
<h4 id="fees-and-charges">Fees and charges (H4)</h4>
|
|
92
89
|
<p>Details about fees and charges for vehicle registration.</p>
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
|
|
91
|
+
|
|
95
92
|
{{#if accordionItems}}
|
|
96
|
-
<!-- QGDS Accordion Component with 1.5rem
|
|
93
|
+
<!-- QGDS Accordion Component with 24px/1.5rem margin-top -->
|
|
97
94
|
<div class="mt-24">
|
|
98
|
-
|
|
95
|
+
{{> accordion accordionItems}}
|
|
99
96
|
</div>
|
|
100
97
|
{{/if}}
|
|
101
98
|
</div>
|
|
@@ -110,46 +107,53 @@
|
|
|
110
107
|
|
|
111
108
|
<!-- Emphasis Container, with top vertical spacer: 2rem default (mobile), 4rem LG and above -->
|
|
112
109
|
<div class="mt-40 mt-lg-64 bg-light content-emphasis">
|
|
113
|
-
|
|
110
|
+
|
|
114
111
|
<h2 id="inspection">Section heading (H2) with emphasis</h2>
|
|
115
|
-
|
|
116
|
-
<p>Lorem ipsum dolor sit amet consectetur. Viverra eu pulvinar a eu mauris ac at ultricies est. Tincidunt
|
|
117
|
-
|
|
112
|
+
|
|
113
|
+
<p>Lorem ipsum dolor sit amet consectetur. Viverra eu pulvinar a eu mauris ac at ultricies est. Tincidunt
|
|
114
|
+
ultrices commodo vestibulum non netus. </p>
|
|
115
|
+
|
|
118
116
|
<!-- QGDS Call To Action button -->
|
|
119
117
|
{{> callToAction callToAction}}
|
|
120
|
-
|
|
121
|
-
</div>
|
|
122
|
-
|
|
123
118
|
|
|
119
|
+
</div>
|
|
124
120
|
|
|
125
121
|
<!-- Top vertical spacer: 2rem default (mobile), 4rem LG and above -->
|
|
126
122
|
<div class="mt-32 mt-lg-64">
|
|
127
123
|
<h2 id="inspection">Section heading (H2)</h2>
|
|
128
|
-
<p>Lorem ipsum dolor sit amet consectetur. Viverra eu pulvinar a eu mauris ac at ultricies est. Tincidunt
|
|
129
|
-
|
|
124
|
+
<p>Lorem ipsum dolor sit amet consectetur. Viverra eu pulvinar a eu mauris ac at ultricies est. Tincidunt
|
|
125
|
+
ultrices commodo vestibulum non netus. </p>
|
|
126
|
+
|
|
130
127
|
{{#if table}}
|
|
131
|
-
<!-- Table Component
|
|
128
|
+
<!-- QGDS Table Component -->
|
|
132
129
|
<div class="mt-24">
|
|
133
|
-
|
|
130
|
+
{{> table table}}
|
|
134
131
|
</div>
|
|
135
132
|
{{/if}}
|
|
136
133
|
</div>
|
|
137
134
|
|
|
138
|
-
</
|
|
139
|
-
<!-- End Main Content
|
|
135
|
+
</main>
|
|
136
|
+
<!-- End Main Content div -->
|
|
140
137
|
|
|
141
138
|
</div>
|
|
142
|
-
<!-- End
|
|
143
|
-
|
|
139
|
+
<!-- End Column (8) -->
|
|
140
|
+
|
|
141
|
+
</div>
|
|
142
|
+
<!-- End Row -->
|
|
144
143
|
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
|
|
145
|
+
<!-- Start QGDS Content Footer -->
|
|
146
|
+
<div class="mt-64">
|
|
147
147
|
{{> contentFooter contentFooter}}
|
|
148
|
-
|
|
148
|
+
</div>
|
|
149
|
+
|
|
150
|
+
</div>
|
|
149
151
|
|
|
150
|
-
|
|
151
|
-
<!-- Footer -->
|
|
152
|
+
<!-- Start QGDS Footer -->
|
|
152
153
|
{{> footer footer}}
|
|
154
|
+
<!-- End QGDS Footer -->
|
|
155
|
+
|
|
153
156
|
</body>
|
|
154
157
|
|
|
158
|
+
|
|
155
159
|
</html>
|
package/dist/package.json
CHANGED
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
"height": "",
|
|
10
10
|
"heightUnit": "",
|
|
11
11
|
"src": "assets/img/image-example-health-workers-md.jpg",
|
|
12
|
-
"alt": "Two
|
|
12
|
+
"alt": "Two healthcare workers sitting on a park bench reviewing information on a tablet device",
|
|
13
|
+
"caption": "Queensland Health staff using mobile technology to improve patient care and access medical records in the field",
|
|
14
|
+
"credit": "Photo by Queensland Government",
|
|
13
15
|
"tabindex": "",
|
|
14
16
|
"role": ""
|
|
15
|
-
}
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -407,52 +407,55 @@
|
|
|
407
407
|
.banner-title-wrap {
|
|
408
408
|
display: block;
|
|
409
409
|
margin: 1.5rem 0 0 0;
|
|
410
|
-
font-size:
|
|
411
|
-
line-height:
|
|
410
|
+
font-size: $h1-font-size-mobile;
|
|
411
|
+
line-height: $h1-line-height-mobile;
|
|
412
412
|
|
|
413
|
-
//
|
|
414
|
-
@include media-breakpoint-
|
|
415
|
-
font-size: $h1-font-size
|
|
416
|
-
line-height: $
|
|
413
|
+
// LG and above
|
|
414
|
+
@include media-breakpoint-up(lg) {
|
|
415
|
+
font-size: $h1-font-size;
|
|
416
|
+
line-height: $headings-line-height;
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
//
|
|
419
|
+
//SPANS inside H1.banner-title-wrap
|
|
420
420
|
.banner-title,
|
|
421
421
|
.banner-subtitle {
|
|
422
422
|
display: block;
|
|
423
423
|
color: var(--#{$prefix}banner-title-color);
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
+
//"Block-title" visual styles
|
|
426
427
|
&.as-block {
|
|
427
428
|
padding: 0.5rem 1.25rem;
|
|
429
|
+
line-height: 1.5;
|
|
428
430
|
|
|
429
|
-
//
|
|
431
|
+
//Allow line breaking on both spans
|
|
430
432
|
.banner-title,
|
|
431
433
|
.banner-subtitle {
|
|
432
|
-
display: unset;
|
|
433
434
|
box-decoration-break: clone;
|
|
435
|
+
-webkit-box-decoration-break: clone;
|
|
436
|
+
position: static; // required to allow breadcrumb dropdown to overlap
|
|
434
437
|
}
|
|
435
438
|
|
|
436
439
|
// First headline span
|
|
437
440
|
.banner-title {
|
|
438
441
|
display: inline;
|
|
439
|
-
|
|
440
|
-
color: var(--qld-
|
|
441
|
-
background-color: var(--qld-dark-background);
|
|
442
|
+
color: var(--qld-dark-text-heading);
|
|
443
|
+
background-color: var(--qld-dark-background-shade);
|
|
442
444
|
box-shadow:
|
|
443
|
-
8px 0px 0 6px var(--qld-dark-background),
|
|
444
|
-
-8px 0px 0 6px var(--qld-dark-background),
|
|
445
|
+
8px 0px 0 6px var(--qld-dark-background-shade),
|
|
446
|
+
-8px 0px 0 6px var(--qld-dark-background-shade),
|
|
445
447
|
-12px 0px 0 6px var(--qld-light-accent),
|
|
446
448
|
0px 4px 16px rgba(0, 0, 0, 0.3);
|
|
447
449
|
}
|
|
448
450
|
|
|
449
451
|
// Second headline span
|
|
450
452
|
.banner-subtitle {
|
|
451
|
-
display:
|
|
453
|
+
display: block;
|
|
454
|
+
width: fit-content;
|
|
452
455
|
font-weight: 400;
|
|
453
456
|
color: var(--qld-light-text-text);
|
|
454
|
-
background-color: var(--qld-
|
|
455
|
-
margin-top: 0.
|
|
457
|
+
background-color: var(--qld-neutral-white);
|
|
458
|
+
margin-top: 0.5rem;
|
|
456
459
|
box-shadow:
|
|
457
460
|
8px 0px 0 6px var(--qld-default-background),
|
|
458
461
|
-8px 0px 0 6px var(--qld-default-background),
|
|
@@ -464,14 +467,15 @@
|
|
|
464
467
|
|
|
465
468
|
// Handles block style dark (banner-title) on dark (banner) clash
|
|
466
469
|
// Changes banner-title to use a shade of the dark background
|
|
467
|
-
&.dark
|
|
470
|
+
&.dark,
|
|
471
|
+
&.dark-alt {
|
|
468
472
|
.banner-title-wrap.as-block {
|
|
469
473
|
.banner-title {
|
|
470
474
|
background-color: var(--qld-dark-background-shade);
|
|
471
475
|
box-shadow:
|
|
472
476
|
8px 0px 0 6px var(--qld-dark-background-shade),
|
|
473
477
|
-8px 0px 0 6px var(--qld-dark-background-shade),
|
|
474
|
-
-12px 0px 0 6px var(--qld-
|
|
478
|
+
-12px 0px 0 6px var(--qld-dark-accent),
|
|
475
479
|
0px 4px 16px rgba(0, 0, 0, 0.3);
|
|
476
480
|
}
|
|
477
481
|
}
|
|
@@ -522,6 +526,11 @@
|
|
|
522
526
|
--#{$prefix}breadcrumb-padding-y: 0;
|
|
523
527
|
color: var(--#{$prefix}banner-breadcrumb-color);
|
|
524
528
|
}
|
|
529
|
+
|
|
530
|
+
// Re-scope focus color for breadcrumb vertical variant inside banners
|
|
531
|
+
.breadcrumb .breadcrumb-vertical {
|
|
532
|
+
--qld-focus-color: var(--qld-light-focus);
|
|
533
|
+
}
|
|
525
534
|
}
|
|
526
535
|
|
|
527
536
|
.banner-extra {
|