@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
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
@media print {
|
|
2
|
+
|
|
3
|
+
.h1, h1 {
|
|
4
|
+
font-size: 1.5em; // Size of h2
|
|
5
|
+
margin-top: -5rem;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.h2, h2 {
|
|
9
|
+
font-size: 1.17em; // Size of h3
|
|
10
|
+
&:not(:first-child) {
|
|
11
|
+
margin-top: 1rem;
|
|
12
|
+
margin-bottom: 1rem;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.h3, h3 {
|
|
17
|
+
font-size: 1em; // Size of h4
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.h4, h4 {
|
|
21
|
+
font-size: 0.83em; // Size of h5
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.h5, h5 {
|
|
25
|
+
font-size: 0.67em; // Size of h6
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
* {
|
|
29
|
+
width: 100%;
|
|
30
|
+
margin: 0;
|
|
31
|
+
float: none;
|
|
32
|
+
position: static;
|
|
33
|
+
}
|
|
34
|
+
*:before,
|
|
35
|
+
*:after {
|
|
36
|
+
color: #000 !important;
|
|
37
|
+
text-shadow: none !important;
|
|
38
|
+
// background: transparent !important; // originally for icons
|
|
39
|
+
box-shadow: none !important;
|
|
40
|
+
}
|
|
41
|
+
a,
|
|
42
|
+
a:visited {
|
|
43
|
+
text-decoration-line: underline;
|
|
44
|
+
color: #000 !important;
|
|
45
|
+
}
|
|
46
|
+
// Don't show links that are fragment identifiers,
|
|
47
|
+
// or use the `javascript:` pseudo protocol
|
|
48
|
+
a[href^="#"]:after,
|
|
49
|
+
a[href^="javascript:"]:after {
|
|
50
|
+
content: "";
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
blockquote {
|
|
54
|
+
border: 1px solid #999;
|
|
55
|
+
page-break-inside: avoid;
|
|
56
|
+
}
|
|
57
|
+
thead {
|
|
58
|
+
display: table-header-group;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
tr,
|
|
62
|
+
img {
|
|
63
|
+
page-break-inside: avoid;
|
|
64
|
+
page-break-after: avoid;
|
|
65
|
+
page-break-before: avoid;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.qld__header__pre-header-brand-image {
|
|
69
|
+
display: block !important;
|
|
70
|
+
}
|
|
71
|
+
img {
|
|
72
|
+
max-width: 100% !important;
|
|
73
|
+
width: auto;
|
|
74
|
+
}
|
|
75
|
+
/** Setting margins */
|
|
76
|
+
// @page { margin: 2cm }
|
|
77
|
+
|
|
78
|
+
/* Addding page breaks for best practice */
|
|
79
|
+
p,
|
|
80
|
+
h2,
|
|
81
|
+
h3 {
|
|
82
|
+
orphans: 3;
|
|
83
|
+
widows: 3;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
a {
|
|
87
|
+
page-break-inside: avoid;
|
|
88
|
+
}
|
|
89
|
+
h1, h2, h3, h4, h5, h6 {
|
|
90
|
+
page-break-after: avoid;
|
|
91
|
+
page-break-inside: avoid;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
table, pre {
|
|
95
|
+
page-break-inside: avoid;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
ul, ol, dl {
|
|
99
|
+
page-break-before: avoid;
|
|
100
|
+
}
|
|
101
|
+
blockquote {
|
|
102
|
+
page-break-inside: avoid;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
.btn,
|
|
107
|
+
.dropup > .btn {
|
|
108
|
+
> .caret {
|
|
109
|
+
border-top-color: #000 !important;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
.label {
|
|
113
|
+
border: 1px solid #000;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.table-bordered {
|
|
117
|
+
th,
|
|
118
|
+
td {
|
|
119
|
+
border: 1px solid #ddd !important;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
.row {
|
|
123
|
+
display: block;
|
|
124
|
+
}
|
|
125
|
+
.btn {
|
|
126
|
+
border: none;
|
|
127
|
+
.btn-icon {
|
|
128
|
+
width: auto;
|
|
129
|
+
}
|
|
130
|
+
&:disabled,
|
|
131
|
+
&.disabled {
|
|
132
|
+
color: #d3d3d3!important;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.qg-site-map {
|
|
137
|
+
display:none !important;
|
|
138
|
+
}
|
|
139
|
+
#qg-primary-content {
|
|
140
|
+
max-width: 100%;
|
|
141
|
+
width:100%;
|
|
142
|
+
left:0;
|
|
143
|
+
table{
|
|
144
|
+
font-size: 15px;
|
|
145
|
+
}
|
|
146
|
+
margin-top: 0;
|
|
147
|
+
h1 {
|
|
148
|
+
font-size: 25px;
|
|
149
|
+
}
|
|
150
|
+
h2 {
|
|
151
|
+
font-size: 20px;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* Hide sections that are not to print */
|
|
156
|
+
#qg-access,
|
|
157
|
+
#browser,
|
|
158
|
+
#qg-banner,
|
|
159
|
+
#tools,
|
|
160
|
+
#qg-site-nav,
|
|
161
|
+
#qg-section-nav,
|
|
162
|
+
.qg-section-nav,
|
|
163
|
+
#qg-site-map,
|
|
164
|
+
.qg-options,
|
|
165
|
+
#qg-page-feedback,
|
|
166
|
+
#header-bg,
|
|
167
|
+
.print-content-link,
|
|
168
|
+
#qg-site-header form,
|
|
169
|
+
.qg-utilities,
|
|
170
|
+
#qg-location-dropdown,
|
|
171
|
+
.qg-legal li {
|
|
172
|
+
display: none;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* Some landmark headings should be visible */
|
|
176
|
+
.breadcrumb h2 {
|
|
177
|
+
position: static;
|
|
178
|
+
}
|
|
179
|
+
/* Style breadcrumbs */
|
|
180
|
+
.breadcrumb {
|
|
181
|
+
display: inline;
|
|
182
|
+
list-style: none;
|
|
183
|
+
}
|
|
184
|
+
.breadcrumb h2 {
|
|
185
|
+
font-size: 100%;
|
|
186
|
+
display: block;
|
|
187
|
+
margin: .5em 0;
|
|
188
|
+
font-weight: normal;
|
|
189
|
+
}
|
|
190
|
+
.breadcrumb ol,
|
|
191
|
+
.breadcrumb li,
|
|
192
|
+
.breadcrumb li.last-child,
|
|
193
|
+
.breadcrumb a {
|
|
194
|
+
text-decoration-line: none !important;
|
|
195
|
+
color: black !important;
|
|
196
|
+
display: inline !important;
|
|
197
|
+
margin: 0 !important;
|
|
198
|
+
padding: 0 !important;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.breadcrumb a {
|
|
202
|
+
padding-right: .5em;
|
|
203
|
+
}
|
|
204
|
+
.breadcrumb a:after, .breadcrumb .breadcrumb-item a:after {
|
|
205
|
+
content: " >";
|
|
206
|
+
|
|
207
|
+
}
|
|
208
|
+
.breadcrumb li:before, .breadcrumb a:before {
|
|
209
|
+
display: none !important;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* A few simple lines */
|
|
213
|
+
#qg-site-header {
|
|
214
|
+
border-bottom: 1px solid #000000 !important;
|
|
215
|
+
margin-bottom: 1em;
|
|
216
|
+
display: block;
|
|
217
|
+
min-height: 32mm;
|
|
218
|
+
}
|
|
219
|
+
#qg-site-map {
|
|
220
|
+
border-top: 1px solid #000000;
|
|
221
|
+
padding-top: 1em;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/* hide the tagline when printing */
|
|
225
|
+
#qg-branding {
|
|
226
|
+
display: none;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
#page-container,
|
|
230
|
+
#content-container,
|
|
231
|
+
.article,
|
|
232
|
+
#document-properties,
|
|
233
|
+
#post-page-options,
|
|
234
|
+
#page-feedback,
|
|
235
|
+
#content .section,
|
|
236
|
+
#content,
|
|
237
|
+
.section,
|
|
238
|
+
.max-width {
|
|
239
|
+
width: 100% !important;
|
|
240
|
+
max-width: 100% !important;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.print-link-url,
|
|
244
|
+
#site-name img.qg-print-version,
|
|
245
|
+
#qg-logo img.qg-print-version,
|
|
246
|
+
#qg-coa img.qg-print-version {
|
|
247
|
+
margin: 0;
|
|
248
|
+
padding: 0;
|
|
249
|
+
text-decoration-line: none;
|
|
250
|
+
display: inline;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
#ia .d1 img {
|
|
254
|
+
float: left;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
body {
|
|
258
|
+
/* Set some defaults */
|
|
259
|
+
background: white;
|
|
260
|
+
|
|
261
|
+
/* Reset variables as needed for printing */
|
|
262
|
+
--qld-body-color: black;
|
|
263
|
+
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/* Hide elements not needed for printing */
|
|
267
|
+
.navbar, footer, .sidebar {
|
|
268
|
+
display: none;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.row {
|
|
272
|
+
margin-left: 0px;
|
|
273
|
+
margin-right: 0px;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
/* Other print styles... */
|
|
278
|
+
blockquote {
|
|
279
|
+
border: none;
|
|
280
|
+
}
|
|
281
|
+
.pagination, .qld-quick-exit {
|
|
282
|
+
display: none;
|
|
283
|
+
}
|
|
284
|
+
.accordion {
|
|
285
|
+
--#{$prefix}accordion-btn-bg: transparent !important;
|
|
286
|
+
--#{$prefix}accordion-border-color: transparent !important;
|
|
287
|
+
--#{$prefix}accordion-btn-color: var(--qld-body-color);
|
|
288
|
+
.accordion-button {
|
|
289
|
+
text-decoration: none;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
.accordion-toggle-btn {
|
|
293
|
+
display: none;
|
|
294
|
+
}
|
|
295
|
+
header:after {
|
|
296
|
+
content:"(" attr(data-page-url) ")";
|
|
297
|
+
display: block;
|
|
298
|
+
font-size: 0.9rem;
|
|
299
|
+
font-weight: bold;
|
|
300
|
+
margin-bottom: 1em;
|
|
301
|
+
margin-left: 2em;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.nav-item.active a {
|
|
305
|
+
display: block;
|
|
306
|
+
}
|
|
307
|
+
.accordion-collapse {
|
|
308
|
+
display: block!important;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
a[href^=http]:after {
|
|
312
|
+
content:" (" attr(href) ")";
|
|
313
|
+
color: var(--qld-primary) !important;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
a.btn {
|
|
317
|
+
box-shadow: none;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
button.btn {
|
|
321
|
+
display: none;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.global-alert {
|
|
325
|
+
display: none;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
a.btn:after {
|
|
329
|
+
display: block;
|
|
330
|
+
content:" (" attr(href) ")";
|
|
331
|
+
}
|
|
332
|
+
/* Custom qld- styles */
|
|
333
|
+
.qld-side-navigation, .qld-inpage-nav, .qld__header__site-search.qld__header__site-search--closed {
|
|
334
|
+
display: none;
|
|
335
|
+
}
|
|
336
|
+
.qld__header__brand-image.qld__header__brand-image_subtype, .qld__header__brand-image {
|
|
337
|
+
display: block !important;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.qld__header__brand a:after {
|
|
341
|
+
display: none;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/* adding class to print data-href from breadcrumb link */
|
|
345
|
+
.print-current-url {
|
|
346
|
+
display: block;
|
|
347
|
+
font-size: bold;
|
|
348
|
+
color: var(--qld-primary) !important;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/*print styles for forms*/
|
|
354
|
+
@media only print {
|
|
355
|
+
form abbr[title*=required]:after {
|
|
356
|
+
content: ''
|
|
357
|
+
}
|
|
358
|
+
form .label {
|
|
359
|
+
border: none;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.no-print {
|
|
364
|
+
@extend .d-print-none;
|
|
365
|
+
}
|
package/src/scss/qld-type.scss
CHANGED
|
@@ -1,134 +1,143 @@
|
|
|
1
1
|
//Typography
|
|
2
|
-
$font-family-sans-serif:
|
|
2
|
+
$font-family-sans-serif:
|
|
3
|
+
"Noto Sans",
|
|
4
|
+
system-ui,
|
|
5
|
+
-apple-system,
|
|
6
|
+
"Segoe UI",
|
|
7
|
+
Roboto,
|
|
8
|
+
"Helvetica Neue",
|
|
9
|
+
"Noto Sans",
|
|
10
|
+
"Liberation Sans",
|
|
11
|
+
Arial,
|
|
12
|
+
sans-serif,
|
|
13
|
+
"Apple Color Emoji",
|
|
14
|
+
"Segoe UI Emoji",
|
|
15
|
+
"Segoe UI Symbol",
|
|
16
|
+
"Noto Color Emoji" !default;
|
|
3
17
|
|
|
4
18
|
$body-color: $qld-text-grey;
|
|
5
19
|
$body-font-weight: 400;
|
|
6
20
|
|
|
7
|
-
$font-size-base:
|
|
8
|
-
$h1-font-size:
|
|
9
|
-
$h2-font-size:
|
|
10
|
-
$h3-font-size:
|
|
11
|
-
$h4-font-size:
|
|
12
|
-
$h5-font-size:
|
|
13
|
-
$h6-font-size:
|
|
21
|
+
$font-size-base: 1rem;
|
|
22
|
+
$h1-font-size: $font-size-base * 2.5;
|
|
23
|
+
$h2-font-size: $font-size-base * 2;
|
|
24
|
+
$h3-font-size: $font-size-base * 1.5;
|
|
25
|
+
$h4-font-size: $font-size-base * 1.25;
|
|
26
|
+
$h5-font-size: $font-size-base * 1;
|
|
27
|
+
$h6-font-size: $font-size-base * 0.875;
|
|
14
28
|
|
|
15
|
-
$headings-font-weight:
|
|
16
|
-
$headings-line-height:
|
|
17
|
-
$headings-color:
|
|
18
|
-
|
|
19
|
-
$link-color: $qld-brand-primary;
|
|
20
|
-
$link-hover-color: $qld-brand-primary;
|
|
21
|
-
$link-visited-color: $qld-link-visited;
|
|
29
|
+
$headings-font-weight: 600;
|
|
30
|
+
$headings-line-height: 2;
|
|
31
|
+
$headings-color: $qld-text-headings;
|
|
22
32
|
|
|
33
|
+
$link-color: $qld-brand-primary;
|
|
34
|
+
$link-hover-color: $qld-brand-primary;
|
|
35
|
+
$link-visited-color: $qld-link-visited;
|
|
23
36
|
|
|
24
37
|
//Links
|
|
25
38
|
.default,
|
|
26
39
|
.light,
|
|
27
40
|
.alt,
|
|
28
41
|
:root {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
--qld-link-underline-offset: 0.3rem;
|
|
43
|
+
--qld-link-underline-thickness: 0.5px;
|
|
44
|
+
--qld-link-underline-thickness-hover: 2px;
|
|
45
|
+
--qld-headings-color: #{$headings-color};
|
|
46
|
+
--qld-body-color: #{$body-color};
|
|
47
|
+
--qld-body-font-weight: #{$body-font-weight};
|
|
48
|
+
--qld-link-font-weight: 400;
|
|
49
|
+
--qld-link-color: #{$link-color};
|
|
50
|
+
--qld-link-color-rgb: #{to-rgb($link-color)};
|
|
51
|
+
--qld-link-hover-color: var(--qld-link-color);
|
|
52
|
+
--qld-link-hover-color-rgb: var(--qld-link-color-rgb);
|
|
53
|
+
--qld-selection-color: var(--qld-white);
|
|
54
|
+
--qld-selection-bg: var(--qld-brand-primary);
|
|
55
|
+
--qld-focus-color: var(--qld-light-blue);
|
|
43
56
|
}
|
|
44
57
|
|
|
45
58
|
.dark,
|
|
46
59
|
.dark-alt,
|
|
47
|
-
:root[data-bs-theme=dark] {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
60
|
+
:root[data-bs-theme="dark"] {
|
|
61
|
+
--qld-headings-color: #fff;
|
|
62
|
+
--qld-body-color: #fff;
|
|
63
|
+
--qld-body-bg: var(--qld-brand-primary);
|
|
51
64
|
|
|
52
|
-
|
|
53
|
-
|
|
65
|
+
--qld-link-color: #fff;
|
|
66
|
+
--qld-link-color-rgb: 255, 255, 255;
|
|
54
67
|
|
|
55
|
-
|
|
56
|
-
|
|
68
|
+
--qld-link-hover-color: #fff;
|
|
69
|
+
--qld-link-hover-color-rgb: 255, 255, 255;
|
|
57
70
|
|
|
58
|
-
|
|
71
|
+
--qld-link-visited: var(--qld-link-visited-dark);
|
|
59
72
|
|
|
60
|
-
|
|
61
|
-
|
|
73
|
+
--qld-selection-color: var(--qld-brand-primary);
|
|
74
|
+
--qld-selection-bg: var(--qld-white);
|
|
62
75
|
|
|
63
|
-
|
|
76
|
+
--qld-focus-color: var(--qld-dark-focus);
|
|
64
77
|
}
|
|
65
78
|
|
|
66
|
-
|
|
67
|
-
|
|
68
79
|
//Content and links
|
|
69
80
|
body {
|
|
70
|
-
|
|
81
|
+
-webkit-font-smoothing: antialiased;
|
|
71
82
|
}
|
|
72
83
|
|
|
73
84
|
.dark,
|
|
74
85
|
.dark-alt {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
86
|
+
body & {
|
|
87
|
+
color: var(--qld-body-color);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
h1,
|
|
91
|
+
h2,
|
|
92
|
+
h3,
|
|
93
|
+
h4,
|
|
94
|
+
h5,
|
|
95
|
+
h6 {
|
|
96
|
+
color: var(--qld-headings-color);
|
|
97
|
+
}
|
|
87
98
|
}
|
|
88
99
|
|
|
89
100
|
a {
|
|
90
|
-
|
|
101
|
+
font-weight: var(--qld-link-font-weight);
|
|
91
102
|
}
|
|
92
103
|
|
|
93
104
|
a,
|
|
94
105
|
a.nav-link {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
106
|
+
text-decoration: underline;
|
|
107
|
+
text-underline-offset: var(--qld-link-underline-offset);
|
|
108
|
+
text-decoration-thickness: var(--qld-link-underline-thickness);
|
|
109
|
+
|
|
110
|
+
&:hover {
|
|
111
|
+
text-decoration-thickness: var(--qld-link-underline-thickness-hover);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&:visited {
|
|
115
|
+
color: var(--qld-link-visited);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:focus {
|
|
119
|
+
outline: 2px solid var(--qld-focus-color);
|
|
120
|
+
outline-offset: 2px;
|
|
121
|
+
}
|
|
111
122
|
}
|
|
112
123
|
|
|
113
|
-
|
|
114
124
|
a.nostyle {
|
|
125
|
+
text-decoration: unset;
|
|
126
|
+
text-underline-offset: unset;
|
|
127
|
+
text-decoration-thickness: unset;
|
|
115
128
|
|
|
116
|
-
|
|
117
|
-
text-underline-offset: unset;
|
|
129
|
+
&:hover {
|
|
118
130
|
text-decoration-thickness: unset;
|
|
119
|
-
|
|
120
|
-
&:hover {
|
|
121
|
-
text-decoration-thickness: unset;
|
|
122
|
-
}
|
|
131
|
+
}
|
|
123
132
|
}
|
|
124
133
|
|
|
125
134
|
::-moz-selection {
|
|
126
|
-
|
|
127
|
-
|
|
135
|
+
background: var(--qld-selection-bg);
|
|
136
|
+
text-shadow: none;
|
|
128
137
|
}
|
|
129
138
|
|
|
130
139
|
::selection {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
140
|
+
color: var(--qld-selection-color);
|
|
141
|
+
background: var(--qld-selection-bg);
|
|
142
|
+
text-shadow: none;
|
|
134
143
|
}
|