@qld-gov-au/qgds-bootstrap5 2.0.7 → 2.0.8
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/.esbuild/plugins/qgds-plugin-handlebar-partial-builder.js +76 -66
- package/.storybook/preview.js +1 -1
- package/dist/assets/components/bs5/footer/footer.hbs +20 -18
- package/dist/assets/components/bs5/head/head.hbs +1 -1
- package/dist/assets/components/bs5/header/header.hbs +40 -52
- package/dist/assets/components/bs5/header/headerBrand.hbs +9 -10
- package/dist/assets/components/bs5/logo/logo.hbs +2 -0
- package/dist/assets/components/bs5/logo/logoCOADeliveringForQLD.hbs +49 -0
- package/dist/assets/components/bs5/logo/logoCOALandscape.hbs +55 -109
- package/dist/assets/components/bs5/logo/logoCOALandscape2Lines.hbs +55 -55
- package/dist/assets/components/bs5/searchInput/searchInput.hbs +5 -5
- package/dist/assets/css/qld.bootstrap.css +1 -1
- package/dist/assets/css/qld.bootstrap.css.map +3 -3
- package/dist/assets/css/qld.bootstrap.legacy.css +1 -1
- package/dist/assets/css/qld.bootstrap.legacy.css.map +3 -3
- package/dist/assets/img/coa-delivering-for-qld.svg +47 -0
- package/dist/assets/img/coa-delivering-for-qld.svg.old +58 -0
- package/dist/assets/img/coa-landscape-2lines.svg +63 -0
- package/dist/assets/img/coa-landscape-web.svg +56 -0
- 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.init.min.js +1329 -1344
- package/dist/assets/js/handlebars.init.min.js.map +4 -4
- package/dist/assets/js/handlebars.partials.js +1329 -1344
- package/dist/assets/js/handlebars.partials.js.map +4 -4
- package/dist/assets/js/qld.bootstrap.min.js +3 -3
- package/dist/assets/js/qld.bootstrap.min.js.map +3 -3
- package/dist/assets/node/handlebars.init.min.js +219 -198
- package/dist/assets/node/handlebars.init.min.js.map +3 -3
- package/dist/components/bs5/footer/footer.hbs +20 -18
- package/dist/components/bs5/head/head.hbs +1 -1
- package/dist/components/bs5/header/header.hbs +40 -52
- package/dist/components/bs5/header/headerBrand.hbs +9 -10
- package/dist/components/bs5/logo/logo.hbs +2 -0
- package/dist/components/bs5/logo/logoCOADeliveringForQLD.hbs +49 -0
- package/dist/components/bs5/logo/logoCOALandscape.hbs +55 -109
- package/dist/components/bs5/logo/logoCOALandscape2Lines.hbs +55 -55
- package/dist/components/bs5/searchInput/searchInput.hbs +5 -5
- package/dist/package.json +12 -12
- package/dist/sample-data/header/header.variant.coBrand.data.json +5 -8
- package/dist/sample-data/header/header.variant.endorsed.data.json +3 -6
- package/dist/sample-data/header/header.variant.masterBrand.data.json +1 -6
- package/dist/sample-data/header/header.variant.standAlone.data.json +3 -6
- package/dist/sample-data/header/header.variant.subBrand.data.json +5 -8
- package/esbuild.js +1 -1
- package/package.json +12 -12
- package/src/components/bs5/banner/banner.scss +2 -2
- package/src/components/bs5/breadcrumbs/breadcrumbs.scss +7 -2
- package/src/components/bs5/card/card.scss +1 -1
- package/src/components/bs5/footer/footer.hbs +20 -18
- package/src/components/bs5/footer/footer.scss +7 -5
- package/src/components/bs5/header/Header.js +25 -0
- package/src/components/bs5/header/_header-variables.scss +61 -247
- package/src/components/bs5/header/header.functions.js +10 -15
- package/src/components/bs5/header/header.hbs +40 -52
- package/src/components/bs5/header/header.scss +166 -158
- package/src/components/bs5/header/header.stories.js +37 -206
- package/src/components/bs5/header/header.variant.coBrand.data.json +5 -8
- package/src/components/bs5/header/header.variant.endorsed.data.json +3 -6
- package/src/components/bs5/header/header.variant.masterBrand.data.json +1 -6
- package/src/components/bs5/header/header.variant.standAlone.data.json +3 -6
- package/src/components/bs5/header/header.variant.subBrand.data.json +5 -8
- package/src/components/bs5/header/headerBrand.hbs +9 -10
- package/src/components/bs5/inpageAlert/inpageAlert.scss +107 -120
- package/src/components/bs5/linkColumns/linkColumns.scss +18 -25
- package/src/components/bs5/logo/logo.hbs +2 -0
- package/src/components/bs5/logo/logoCOADeliveringForQLD.hbs +49 -0
- package/src/components/bs5/logo/logoCOALandscape.hbs +55 -109
- package/src/components/bs5/logo/logoCOALandscape2Lines.hbs +55 -55
- package/src/components/bs5/navbar/navbar.scss +36 -14
- package/src/components/bs5/searchInput/SearchInput.js +3 -5
- package/src/components/bs5/searchInput/__snapshots__/searchInput.test.js.snap +5 -5
- package/src/components/bs5/searchInput/searchInput.hbs +5 -5
- package/src/components/bs5/searchInput/searchInput.scss +13 -0
- package/src/components/bs5/tag/tag--large.stories.js +53 -0
- package/src/components/bs5/tag/tag--standard.stories.js +39 -0
- package/src/components/bs5/tag/tag--status.stories.js +97 -0
- package/src/components/bs5/tag/tag.scss +67 -36
- package/src/components/bs5/tag/tag.stories.js +69 -106
- package/src/css/main.scss +2 -2
- package/src/css/mixins/_index.scss +1 -0
- package/src/css/mixins/focusable.scss +6 -5
- package/src/css/mixins/make-link.scss +40 -0
- package/src/css/qld-theme.scss +16 -8
- package/src/css/qld-type.scss +3 -73
- package/src/css/variables/animation.scss +5 -0
- package/src/img/coa-delivering-for-qld.svg +47 -0
- package/src/img/coa-delivering-for-qld.svg.old +58 -0
- package/src/img/coa-landscape-2lines.svg +63 -0
- package/src/img/coa-landscape-web.svg +56 -0
- package/src/js/handlebars.helpers.js +51 -38
- package/src/js/handlebars.partials.js +12 -10
- package/dist/assets/img/_coa_header-logo-qgov--stacked.svg +0 -171
- package/dist/assets/img/_coa_header-logo-qgov-masterbrand.svg +0 -56
- package/dist/assets/img/_coa_preheader-logo-qgov.svg +0 -56
- package/src/img/_coa_header-logo-qgov--stacked.svg +0 -171
- package/src/img/_coa_header-logo-qgov-masterbrand.svg +0 -56
- package/src/img/_coa_preheader-logo-qgov.svg +0 -56
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
@use "../../../css/mixins";
|
|
2
|
+
@use "../../../css/variables/animation";
|
|
3
|
+
@import "./header-variables";
|
|
4
4
|
|
|
5
5
|
// Play nice with navbar header.
|
|
6
6
|
:root {
|
|
@@ -16,8 +16,6 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.qld-header {
|
|
19
|
-
@extend %header-variables;
|
|
20
|
-
|
|
21
19
|
font-size: 1rem;
|
|
22
20
|
|
|
23
21
|
@include media-breakpoint-up(sm) {
|
|
@@ -25,21 +23,20 @@
|
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
&-pre-header {
|
|
26
|
+
@extend %preheader-variables;
|
|
28
27
|
//
|
|
29
28
|
display: flex;
|
|
30
29
|
align-items: center;
|
|
31
30
|
font-size: 0.875rem; // set here so whitespace doesn't add extra height.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
box-shadow:
|
|
32
|
+
0 1px 2px rgba(0, 0, 0, 0.2),
|
|
33
|
+
0 1px 3px 1px rgba(0, 0, 0, 0.1);
|
|
35
34
|
position: relative;
|
|
36
35
|
z-index: 2;
|
|
37
36
|
height: var(--qld-header-preheader-height);
|
|
38
37
|
|
|
39
|
-
.qld-header-
|
|
38
|
+
.qld-header-mobile-controls {
|
|
40
39
|
display: flex;
|
|
41
|
-
flex-direction: row;
|
|
42
|
-
justify-content: end;
|
|
43
40
|
position: absolute;
|
|
44
41
|
right: 0;
|
|
45
42
|
top: 0;
|
|
@@ -49,100 +46,86 @@
|
|
|
49
46
|
}
|
|
50
47
|
}
|
|
51
48
|
|
|
52
|
-
.qld-header-
|
|
49
|
+
.qld-header-mobile-button {
|
|
53
50
|
align-items: center;
|
|
54
51
|
appearance: none;
|
|
55
|
-
background-color:
|
|
52
|
+
background-color: var(--#{$prefix}header-mobile-button-bg);
|
|
56
53
|
border: 0;
|
|
57
|
-
border-left: 1px solid
|
|
58
|
-
|
|
59
|
-
color: var(--#{$prefix}header__toggle-main-nav_text_color);
|
|
54
|
+
border-left: 1px solid var(--qld-border-color);
|
|
55
|
+
color: var(--qld-link-color);
|
|
60
56
|
cursor: pointer;
|
|
61
57
|
display: flex;
|
|
62
58
|
flex-direction: column;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
59
|
+
justify-content: center;
|
|
60
|
+
height: var(--qld-header-preheader-height);
|
|
61
|
+
width: var(--qld-header-preheader-height);
|
|
62
|
+
font-size: 0.625rem;
|
|
63
|
+
line-height: 1.25;
|
|
64
|
+
padding: 0;
|
|
65
|
+
text-decoration: underline solid transparent 0px;
|
|
66
|
+
text-underline-offset: 0.3em;
|
|
69
67
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
transition: {
|
|
69
|
+
property:
|
|
70
|
+
color, background-color, outline, outline-offset, text-decoration;
|
|
71
|
+
duration: animation.$duration-fast;
|
|
72
|
+
timing-function: animation.$timing-function;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
&:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
&:hover {
|
|
76
|
+
background-color: var(--#{$prefix}header-mobile-button-bg-hover);
|
|
77
|
+
text-decoration: underline solid currentColor 0.5px;
|
|
78
|
+
--qld-icon-color: var(--qld-action-icon-hover-color);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
@include
|
|
82
|
-
padding: 0.75rem 1rem 0.625rem 1rem;
|
|
83
|
-
}
|
|
81
|
+
@include mixins.focusable($offsetOutline: false);
|
|
84
82
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
margin-
|
|
83
|
+
&:before {
|
|
84
|
+
content: "";
|
|
85
|
+
margin-bottom: 0.25rem;
|
|
86
|
+
@include mixins.make-icon();
|
|
87
|
+
}
|
|
88
88
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
&.is-search-toggle {
|
|
90
|
+
&,
|
|
91
|
+
&.is-closed {
|
|
92
|
+
&::before {
|
|
93
|
+
@include mixins.make-icon($name: "search", $include-base: false);
|
|
94
|
+
}
|
|
92
95
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
font-size: 1rem;
|
|
96
|
-
line-height: 1.5;
|
|
96
|
+
&.is-open::before {
|
|
97
|
+
@include mixins.make-icon($name: "close", $include-base: false);
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
100
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
font-size: 1rem;
|
|
103
|
-
line-height: 1;
|
|
104
|
-
margin-bottom: 0.25rem;
|
|
105
|
-
text-align: center;
|
|
101
|
+
&.is-menu-toggle::before {
|
|
102
|
+
@include mixins.make-icon($name: "menu", $include-base: false);
|
|
106
103
|
}
|
|
107
104
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
105
|
+
@include media-breakpoint-up(md) {
|
|
106
|
+
font-size: 0.875rem;
|
|
107
|
+
line-height: 1.14;
|
|
108
|
+
--icon-size: 2rem;
|
|
109
|
+
}
|
|
113
110
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
margin: 0 auto;
|
|
117
|
-
width: 2rem;
|
|
118
|
-
}
|
|
111
|
+
@include media-breakpoint-up(lg) {
|
|
112
|
+
display: none;
|
|
119
113
|
}
|
|
120
114
|
}
|
|
121
115
|
}
|
|
122
116
|
|
|
123
117
|
&-link {
|
|
118
|
+
@include mixins.make-link();
|
|
124
119
|
font-size: 0.875rem;
|
|
125
120
|
line-height: 1;
|
|
126
121
|
|
|
127
122
|
&,
|
|
128
123
|
&:visited {
|
|
129
|
-
|
|
130
|
-
text-decoration: none;
|
|
131
|
-
text-decoration-color: var(
|
|
132
|
-
--#{$prefix}header-pre-header-color-link-decoration
|
|
133
|
-
) !important;
|
|
134
|
-
text-decoration-thickness: 0.5px;
|
|
135
|
-
text-underline-offset: 0.3em;
|
|
136
|
-
text-decoration-skip-ink: auto;
|
|
137
|
-
}
|
|
124
|
+
text-decoration: underline solid transparent 0px;
|
|
138
125
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
text-decoration-color: var(
|
|
143
|
-
--#{$prefix}header-pre-header-color-link-decoration-focus
|
|
144
|
-
) !important;
|
|
145
|
-
text-decoration-thickness: 2px;
|
|
126
|
+
&:hover {
|
|
127
|
+
text-decoration-color: currentColor;
|
|
128
|
+
}
|
|
146
129
|
}
|
|
147
130
|
|
|
148
131
|
&:disabled,
|
|
@@ -159,19 +142,21 @@
|
|
|
159
142
|
}
|
|
160
143
|
|
|
161
144
|
&-link-icon {
|
|
162
|
-
height: 1.25rem;
|
|
163
|
-
width: 1.25rem;
|
|
164
145
|
margin-right: 0.5rem;
|
|
165
|
-
color: var(--#{$prefix}header__cta-wrapper__cta-link-icon_color);
|
|
166
146
|
}
|
|
167
147
|
|
|
168
148
|
&-logo {
|
|
169
149
|
display: block;
|
|
170
150
|
width: auto;
|
|
151
|
+
transition: {
|
|
152
|
+
property: filter, color, outline, outline-offset;
|
|
153
|
+
duration: animation.$duration-fast;
|
|
154
|
+
timing-function: animation.$timing-function;
|
|
155
|
+
}
|
|
156
|
+
color: var(--#{$prefix}header-logo-color);
|
|
171
157
|
|
|
172
158
|
a:hover & {
|
|
173
|
-
|
|
174
|
-
drop-shadow(0 13px 20px rgba(0, 0, 0, 0.08));
|
|
159
|
+
color: var(--#{$prefix}header-logo-color-hover);
|
|
175
160
|
}
|
|
176
161
|
|
|
177
162
|
.qld-header-pre-header & {
|
|
@@ -185,11 +170,44 @@
|
|
|
185
170
|
display: none;
|
|
186
171
|
}
|
|
187
172
|
}
|
|
173
|
+
|
|
174
|
+
// delivering for qld custom colors.
|
|
175
|
+
&.is-delivering-for-qld {
|
|
176
|
+
--#{$prefix}header-logo-color: var(--qld-site-title-color);
|
|
177
|
+
--#{$prefix}header-logo-color-hover: var(--qld-site-title-color);
|
|
178
|
+
}
|
|
188
179
|
}
|
|
189
180
|
|
|
190
|
-
// Preheader CTA dropdown - custom functionality:
|
|
191
181
|
.dropdown {
|
|
192
182
|
line-height: 1.5;
|
|
183
|
+
display: flex;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.dropdown-toggle {
|
|
187
|
+
padding-inline: 0.5rem;
|
|
188
|
+
display: flex;
|
|
189
|
+
align-items: center;
|
|
190
|
+
height: var(--qld-header-preheader-height);
|
|
191
|
+
background-color: var(--dropdown-bg);
|
|
192
|
+
|
|
193
|
+
&:focus {
|
|
194
|
+
outline-offset: -2px;
|
|
195
|
+
z-index: 1;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&::after {
|
|
199
|
+
content: "";
|
|
200
|
+
@include mixins.make-icon($name: "chevron-down", $size: "xs");
|
|
201
|
+
margin-left: 0.5rem;
|
|
202
|
+
transition: transform 0.2s;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&.show {
|
|
206
|
+
background-color: var(--dropdown-bg-active);
|
|
207
|
+
&::after {
|
|
208
|
+
transform: rotate(-180deg);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
193
211
|
}
|
|
194
212
|
|
|
195
213
|
.dropdown-menu {
|
|
@@ -199,32 +217,19 @@
|
|
|
199
217
|
//
|
|
200
218
|
width: 20.25rem;
|
|
201
219
|
min-height: 1rem;
|
|
202
|
-
padding:
|
|
220
|
+
padding: 1rem 1.75rem 1rem;
|
|
203
221
|
border-radius: 0 0 0.75rem 0.75rem;
|
|
204
222
|
border: 0;
|
|
205
|
-
background-color: var(
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
&::before {
|
|
212
|
-
position: absolute;
|
|
213
|
-
content: " ";
|
|
214
|
-
height: 6px;
|
|
215
|
-
top: -6px;
|
|
216
|
-
left: 0;
|
|
217
|
-
right: 0px;
|
|
218
|
-
background-color: var(
|
|
219
|
-
--#{$prefix}header__cta-wrapper__cta-link_dropdown_bg_color
|
|
220
|
-
);
|
|
221
|
-
pointer-events: none; // so that pseudo-element isn't clickable
|
|
222
|
-
}
|
|
223
|
+
background-color: var(--dropdown-menu-bg);
|
|
224
|
+
box-shadow:
|
|
225
|
+
0 1px 2px rgba(0, 0, 0, 0.2),
|
|
226
|
+
0 1px 3px 1px rgba(0, 0, 0, 0.1);
|
|
227
|
+
transform: translate(0px, var(--qld-header-preheader-height)) !important;
|
|
223
228
|
|
|
224
229
|
hr {
|
|
225
230
|
margin: 1.5rem 0;
|
|
226
|
-
color: var(
|
|
227
|
-
border-color: var(
|
|
231
|
+
color: var(--qld-border-color);
|
|
232
|
+
border-color: var(--qld-border-color);
|
|
228
233
|
opacity: 1;
|
|
229
234
|
}
|
|
230
235
|
|
|
@@ -238,18 +243,6 @@
|
|
|
238
243
|
text-decoration-color: inherit;
|
|
239
244
|
text-decoration-thickness: inherit;
|
|
240
245
|
}
|
|
241
|
-
|
|
242
|
-
.group {
|
|
243
|
-
a {
|
|
244
|
-
font-weight: 600;
|
|
245
|
-
color: var(--#{$prefix}header__CTA_text_color);
|
|
246
|
-
text-decoration: underline var(--#{$prefix}header__CTA_text_color);
|
|
247
|
-
|
|
248
|
-
&:visited {
|
|
249
|
-
color: var(--#{$prefix}header__CTA_text_color);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
246
|
}
|
|
254
247
|
|
|
255
248
|
ul.dropdown-menu.show:has(> li) {
|
|
@@ -258,13 +251,31 @@
|
|
|
258
251
|
|
|
259
252
|
.dropdown-item {
|
|
260
253
|
position: relative;
|
|
261
|
-
border-bottom: solid 1px var(
|
|
254
|
+
border-bottom: solid 1px var(--qld-border-color);
|
|
262
255
|
padding: 1rem 1.75rem 1rem 0;
|
|
263
256
|
line-height: 1.5;
|
|
264
257
|
white-space: normal; // allow text to wrap
|
|
258
|
+
--_icon-translateX: 0rem;
|
|
265
259
|
|
|
266
|
-
&:
|
|
267
|
-
|
|
260
|
+
&:hover {
|
|
261
|
+
--_icon-translateX: 0.25rem;
|
|
262
|
+
color: var(--qld-link-visited-color);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
@include mixins.make-icon(
|
|
266
|
+
$name: "arrow-right",
|
|
267
|
+
$pseudo: "after",
|
|
268
|
+
$size: "sm"
|
|
269
|
+
) {
|
|
270
|
+
position: absolute;
|
|
271
|
+
right: 0;
|
|
272
|
+
top: 50%;
|
|
273
|
+
transform: translate(var(--_icon-translateX), -50%);
|
|
274
|
+
transition: {
|
|
275
|
+
property: color, background-color, transform;
|
|
276
|
+
duration: animation.$duration-fast;
|
|
277
|
+
timing-function: animation.$timing-function;
|
|
278
|
+
}
|
|
268
279
|
}
|
|
269
280
|
|
|
270
281
|
span,
|
|
@@ -276,64 +287,40 @@
|
|
|
276
287
|
&-dropdown-icon {
|
|
277
288
|
vertical-align: middle;
|
|
278
289
|
margin-left: 0.5rem;
|
|
279
|
-
color: var(--#{$prefix}header__cta-wrapper__cta-link-icon_color);
|
|
280
290
|
height: 1rem;
|
|
281
291
|
width: 1rem;
|
|
282
292
|
}
|
|
283
293
|
|
|
284
|
-
&-dropdown-item-icon {
|
|
285
|
-
color: var(--#{$prefix}header__cta-wrapper__cta-link-icon_color);
|
|
286
|
-
position: absolute;
|
|
287
|
-
right: 0;
|
|
288
|
-
top: 50%;
|
|
289
|
-
transform: translateY(-50%);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
294
|
&-main {
|
|
295
|
+
@extend %header-main-variables;
|
|
293
296
|
position: relative;
|
|
294
|
-
|
|
295
|
-
background: var(--#{$prefix}header-color-bg);
|
|
296
|
-
|
|
297
|
-
// Patch for v2.0.5. Redundant after header QGDS-266 is merged
|
|
298
|
-
border-bottom: 0.25rem solid var(--qld-light-accent);
|
|
297
|
+
border-bottom: 0.25rem solid var(--#{$prefix}header-border-color);
|
|
299
298
|
|
|
300
|
-
@include media-breakpoint-up(lg) {
|
|
299
|
+
@include media-breakpoint-up("lg") {
|
|
301
300
|
border-bottom: none;
|
|
302
301
|
}
|
|
303
|
-
// End patch for v2.0.5
|
|
304
302
|
}
|
|
305
303
|
|
|
306
304
|
&-brand {
|
|
307
305
|
font-variant-numeric: lining-nums;
|
|
308
306
|
text-decoration: none;
|
|
309
307
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
.qld-header-brand-image {
|
|
314
|
-
color: var(
|
|
315
|
-
--#{$prefix}header__brand__anchor__hover_brand-image__text_color
|
|
316
|
-
);
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.qld-header-heading,
|
|
320
|
-
.qld-header-subline {
|
|
321
|
-
color: var(
|
|
322
|
-
--#{$prefix}header__brand__anchor__hover_headingsubline__text_color
|
|
323
|
-
);
|
|
324
|
-
text-decoration: underline;
|
|
325
|
-
text-decoration-color: currentColor !important;
|
|
326
|
-
}
|
|
308
|
+
@include media-breakpoint-up(lg) {
|
|
309
|
+
padding-block: 2rem;
|
|
327
310
|
}
|
|
328
311
|
|
|
329
|
-
|
|
330
|
-
|
|
312
|
+
&:not(:has(.qld-header-secondary-content)) {
|
|
313
|
+
@include media-breakpoint-down(lg) {
|
|
314
|
+
// prevent tabbing into empty link on smaller screens.
|
|
315
|
+
display: none;
|
|
316
|
+
}
|
|
331
317
|
}
|
|
332
318
|
}
|
|
333
319
|
|
|
320
|
+
// qld-header-brand-image controls sizing and layout specific to the Brand lock up image.
|
|
321
|
+
// See qld-header-logo for color and behaviour of the logo itself.
|
|
334
322
|
&-brand-image {
|
|
335
323
|
display: none;
|
|
336
|
-
color: var(--#{$prefix}header__brand-image__crest_fill);
|
|
337
324
|
|
|
338
325
|
@include media-breakpoint-up(lg) {
|
|
339
326
|
display: block;
|
|
@@ -346,11 +333,12 @@
|
|
|
346
333
|
|
|
347
334
|
svg {
|
|
348
335
|
vertical-align: text-bottom;
|
|
336
|
+
pointer-events: none;
|
|
349
337
|
}
|
|
350
338
|
}
|
|
351
339
|
|
|
352
340
|
&-secondary-content {
|
|
353
|
-
display:
|
|
341
|
+
display: inline-block;
|
|
354
342
|
flex-wrap: wrap;
|
|
355
343
|
align-items: baseline;
|
|
356
344
|
text-wrap: balance;
|
|
@@ -361,12 +349,12 @@
|
|
|
361
349
|
}
|
|
362
350
|
|
|
363
351
|
@include media-breakpoint-up(lg) {
|
|
352
|
+
display: flex;
|
|
364
353
|
padding-block: 0;
|
|
365
354
|
flex-direction: column;
|
|
366
355
|
flex-wrap: nowrap;
|
|
367
356
|
justify-content: center;
|
|
368
|
-
border-left: 2px solid
|
|
369
|
-
var(--#{$prefix}header__brand-image__subtype__border_color);
|
|
357
|
+
border-left: 2px solid var(--#{$prefix}header-brand-divider-color);
|
|
370
358
|
margin-left: 1.5rem;
|
|
371
359
|
padding-left: 1.5rem;
|
|
372
360
|
}
|
|
@@ -384,10 +372,20 @@
|
|
|
384
372
|
font-size: 1rem;
|
|
385
373
|
font-weight: 700;
|
|
386
374
|
line-height: 1.25;
|
|
387
|
-
margin: 0 1ch 0 0;
|
|
375
|
+
// margin: 0 1ch 0 0;
|
|
388
376
|
padding: 0;
|
|
389
377
|
font-family: $font-family-sitename;
|
|
390
|
-
color: var(--#{$prefix}
|
|
378
|
+
color: var(--#{$prefix}site-title-color);
|
|
379
|
+
text-decoration: underline solid 0px transparent;
|
|
380
|
+
transition-property: text-decoration, color;
|
|
381
|
+
transition-duration: animation.$duration-fast;
|
|
382
|
+
transition-timing-function: animation.$timing-function;
|
|
383
|
+
|
|
384
|
+
a:hover & {
|
|
385
|
+
color: var(--#{$prefix}site-title-color);
|
|
386
|
+
text-decoration-thickness: var(--qld-link-underline-thickness-hover);
|
|
387
|
+
text-decoration-color: currentColor !important;
|
|
388
|
+
}
|
|
391
389
|
|
|
392
390
|
@include media-breakpoint-up(md) {
|
|
393
391
|
font-size: 1.25rem;
|
|
@@ -396,10 +394,20 @@
|
|
|
396
394
|
}
|
|
397
395
|
|
|
398
396
|
&-subline {
|
|
399
|
-
color: var(--#{$prefix}
|
|
397
|
+
color: var(--#{$prefix}header-subline-color);
|
|
400
398
|
font-size: 0.875rem;
|
|
401
399
|
line-height: 1.14;
|
|
402
400
|
max-width: 80ch;
|
|
401
|
+
text-decoration: underline solid 0px transparent;
|
|
402
|
+
transition-property: text-decoration, color;
|
|
403
|
+
transition-duration: animation.$duration-fast;
|
|
404
|
+
transition-timing-function: animation.$timing-function;
|
|
405
|
+
|
|
406
|
+
a:hover & {
|
|
407
|
+
color: var(--#{$prefix}header-subline-color);
|
|
408
|
+
text-decoration-thickness: var(--qld-link-underline-thickness-hover);
|
|
409
|
+
text-decoration-color: currentColor !important;
|
|
410
|
+
}
|
|
403
411
|
|
|
404
412
|
@include media-breakpoint-up(md) {
|
|
405
413
|
font-size: 1rem;
|