@qld-gov-au/qgds-bootstrap5 2.0.6 → 2.0.7

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.
Files changed (127) hide show
  1. package/.esbuild/plugins/qgds-plugin-build-log.js +2 -2
  2. package/.esbuild/plugins/qgds-plugin-copy-assets.js +0 -3
  3. package/.storybook/README.md +10 -0
  4. package/.storybook/{main.js → main.mjs} +4 -5
  5. package/.storybook/modes.js +3 -12
  6. package/.storybook/preview.js +13 -10
  7. package/dist/assets/components/bs5/head/head.hbs +1 -1
  8. package/dist/assets/css/qld.bootstrap.css +1 -1
  9. package/dist/assets/css/qld.bootstrap.css.map +2 -2
  10. package/dist/assets/css/qld.bootstrap.legacy.css +1 -1
  11. package/dist/assets/css/qld.bootstrap.legacy.css.map +2 -2
  12. package/dist/assets/js/handlebars.init.min.js +1 -1
  13. package/dist/assets/js/handlebars.partials.js +2398 -136
  14. package/dist/assets/js/handlebars.partials.js.map +7 -0
  15. package/dist/assets/node/handlebars.init.min.js +1 -1
  16. package/dist/components/bs5/head/head.hbs +1 -1
  17. package/dist/package.json +25 -27
  18. package/dist/sample-data/correctincorrect/correctincorrect.data.json +1 -0
  19. package/dist/sample-data/tabs/tabs.data.json +1 -2
  20. package/dist/sample-data/typography/typography.data.json +1 -0
  21. package/esbuild.js +16 -4
  22. package/package.json +25 -27
  23. package/pom.xml +3 -3
  24. package/src/components/bs5/accordion/Accordion.mdx +1 -1
  25. package/src/components/bs5/accordion/accordion.stories.js +17 -22
  26. package/src/components/bs5/backToTop/backToTop.mdx +1 -1
  27. package/src/components/bs5/banner/Banner.mdx +1 -1
  28. package/src/components/bs5/blockquote/Blockquote.mdx +1 -1
  29. package/src/components/bs5/blockquote/manifest.json +1 -0
  30. package/src/components/bs5/breadcrumbs/Breadcrumbs.mdx +1 -1
  31. package/src/components/bs5/breadcrumbs/breadcrumbs.stories.js +19 -10
  32. package/src/components/bs5/breadcrumbs/manifest.json +1 -0
  33. package/src/components/bs5/breadcumbsWrapper/manifest.json +1 -0
  34. package/src/components/bs5/button/Button.mdx +1 -1
  35. package/src/components/bs5/button/manifest.json +1 -0
  36. package/src/components/bs5/callToAction/callToAction.mdx +1 -1
  37. package/src/components/bs5/callToAction/callToAction.stories.js +15 -50
  38. package/src/components/bs5/callout/Callout.mdx +1 -1
  39. package/src/components/bs5/callout/callout.stories.js +7 -26
  40. package/src/components/bs5/callout/manifest.json +1 -0
  41. package/src/components/bs5/card/Card.mdx +1 -1
  42. package/src/components/bs5/card/manifest.json +1 -0
  43. package/src/components/bs5/contentFooter/manifest.json +1 -0
  44. package/src/components/bs5/contentFooterWrapper/manifest.json +1 -0
  45. package/src/components/bs5/contentWrapper/manifest.json +1 -0
  46. package/src/components/bs5/correctincorrect/correctincorrect.data.json +1 -0
  47. package/src/components/bs5/correctincorrect/manifest.json +1 -0
  48. package/src/components/bs5/dateinput/Dateinput.stories.js +23 -31
  49. package/src/components/bs5/dateinput/manifest.json +1 -0
  50. package/src/components/bs5/directionLinks/DirectionLinks.mdx +1 -1
  51. package/src/components/bs5/directionLinks/directionLinks.stories.js +14 -12
  52. package/src/components/bs5/footer/Footer.mdx +1 -1
  53. package/src/components/bs5/formcheck/manifest.json +1 -0
  54. package/src/components/bs5/formcheck/stories/checkbox/Checkbox.mdx +1 -1
  55. package/src/components/bs5/formcheck/stories/checkbox/checkbox.stories.js +44 -87
  56. package/src/components/bs5/formcheck/stories/radio/Radio.mdx +1 -1
  57. package/src/components/bs5/formcheck/stories/radio/radio.stories.js +9 -36
  58. package/src/components/bs5/fullPageWrapper/manifest.json +1 -0
  59. package/src/components/bs5/globalAlert/GlobalAlert.mdx +1 -1
  60. package/src/components/bs5/globalAlert/globalAlert.test.js +3 -3
  61. package/src/components/bs5/globalAlert/manifest.json +1 -0
  62. package/src/components/bs5/head/manifest.json +1 -0
  63. package/src/components/bs5/header/Header.mdx +1 -1
  64. package/src/components/bs5/header/header.stories.js +1 -30
  65. package/src/components/bs5/header/manifest.json +1 -0
  66. package/src/components/bs5/icons/Icons.mdx +1 -1
  67. package/src/components/bs5/icons/manifest.json +1 -0
  68. package/src/components/bs5/icons/mdx/_IconsSizes.mdx +1 -1
  69. package/src/components/bs5/image/Image.mdx +1 -1
  70. package/src/components/bs5/inpageAlert/InpageAlert.mdx +1 -1
  71. package/src/components/bs5/inpageAlert/inpageAlert.stories.js +7 -23
  72. package/src/components/bs5/inpageAlert/manifest.json +1 -0
  73. package/src/components/bs5/inpagenav/Inpagenav.mdx +1 -1
  74. package/src/components/bs5/inpagenav/inpagenav.stories.js +4 -6
  75. package/src/components/bs5/inpagenav/manifest.json +1 -0
  76. package/src/components/bs5/link/link.mdx +1 -1
  77. package/src/components/bs5/link/link.stories.js +4 -6
  78. package/src/components/bs5/linkColumns/linkColumns.mdx +1 -1
  79. package/src/components/bs5/logo/Logo.mdx +1 -1
  80. package/src/components/bs5/mainContainerWrapper/manifest.json +1 -0
  81. package/src/components/bs5/metaDcTerms/manifest.json +1 -0
  82. package/src/components/bs5/metaOpenGraph/manifest.json +1 -0
  83. package/src/components/bs5/modal/Modal.mdx +1 -1
  84. package/src/components/bs5/modal/manifest.json +1 -0
  85. package/src/components/bs5/pagination/Pagination.mdx +1 -1
  86. package/src/components/bs5/pagination/manifest.json +1 -0
  87. package/src/components/bs5/pagination/pagination.stories.js +12 -21
  88. package/src/components/bs5/promotionalPanel/PromotionalPanel.mdx +1 -1
  89. package/src/components/bs5/quickexit/manifest.json +1 -0
  90. package/src/components/bs5/searchInput/SearchInput.mdx +1 -1
  91. package/src/components/bs5/searchInput/manifest.json +1 -0
  92. package/src/components/bs5/searchInput/searchInput.stories.js +10 -12
  93. package/src/components/bs5/select/manifest.json +1 -0
  94. package/src/components/bs5/sidenav/Sidenav.mdx +1 -1
  95. package/src/components/bs5/sidenav/manifest.json +1 -0
  96. package/src/components/bs5/sidenav/sidenav.stories.js +4 -7
  97. package/src/components/bs5/sidenavWrapper/manifest.json +1 -0
  98. package/src/components/bs5/skiplinks/SkipLinks.mdx +1 -1
  99. package/src/components/bs5/spinner/manifest.json +1 -0
  100. package/src/components/bs5/table/Table.mdx +1 -1
  101. package/src/components/bs5/table/manifest.json +1 -0
  102. package/src/components/bs5/tabs/Tabs.mdx +1 -1
  103. package/src/components/bs5/tabs/tabs.data.json +1 -2
  104. package/src/components/bs5/tabs/tabs.stories.js +38 -215
  105. package/src/components/bs5/tag/Tag.mdx +1 -1
  106. package/src/components/bs5/tag/manifest.json +1 -0
  107. package/src/components/bs5/textarea/manifest.json +1 -0
  108. package/src/components/bs5/textbox/manifest.json +1 -0
  109. package/src/components/bs5/typography/Typography.mdx +1 -1
  110. package/src/components/bs5/typography/manifest.json +1 -0
  111. package/src/components/bs5/typography/typography.data.json +1 -0
  112. package/src/components/bs5/typography/typography.stories.js +6 -24
  113. package/src/components/bs5/video/Video.mdx +1 -1
  114. package/src/components/bs5/video/manifest.json +1 -0
  115. package/src/components/bs5/video/video.stories.js +6 -24
  116. package/src/css/qld-print.scss +426 -304
  117. package/src/stories/Introduction.mdx +1 -1
  118. package/vite.config.js +17 -0
  119. package/.eslintrc.cjs +0 -52
  120. package/dist/assets/js/bootstrap.js +0 -6312
  121. package/dist/assets/js/handlebars.helpers.js +0 -292
  122. package/dist/assets/js/handlebars.init.cjs +0 -6
  123. package/dist/assets/js/handlebars.init.js +0 -34
  124. package/dist/components/handlebars.helpers.js +0 -292
  125. package/dist/components/handlebars.init.cjs +0 -6
  126. package/dist/components/handlebars.init.js +0 -34
  127. package/dist/components/handlebars.partials.js +0 -136
@@ -1,225 +1,245 @@
1
1
  @media print {
2
+ .h1,
3
+ h1 {
4
+ font-size: 1.5em; // Size of h2
5
+ margin-top: -5rem;
6
+ }
2
7
 
3
- .h1, h1 {
4
- font-size: 1.5em; // Size of h2
5
- margin-top: -5rem;
8
+ .h2,
9
+ h2 {
10
+ font-size: 1.17em; // Size of h3
11
+ &:not(:first-child) {
12
+ margin-top: 1rem;
13
+ margin-bottom: 1rem;
6
14
  }
15
+ }
7
16
 
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
- }
17
+ .h3,
18
+ h3 {
19
+ font-size: 1em; // Size of h4
20
+ }
15
21
 
16
- .h3, h3 {
17
- font-size: 1em; // Size of h4
18
- }
22
+ .h4,
23
+ h4 {
24
+ font-size: 0.83em; // Size of h5
25
+ }
19
26
 
20
- .h4, h4 {
21
- font-size: 0.83em; // Size of h5
22
- }
27
+ .h5,
28
+ h5 {
29
+ font-size: 0.67em; // Size of h6
30
+ }
23
31
 
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
- }
32
+ * {
33
+ width: 100%;
34
+ margin: 0;
35
+ float: none;
36
+ position: static;
37
+ transition: none !important;
38
+ }
39
+
40
+ *:before,
41
+ *:after {
42
+ color: #000 !important;
43
+ text-shadow: none !important;
44
+ // background: transparent !important; // originally for icons
45
+ box-shadow: none !important;
46
+ }
47
+ a,
48
+ a:visited {
49
+ text-decoration-line: underline;
50
+ color: #000 !important;
51
+ }
46
52
  // Don't show links that are fragment identifiers,
47
53
  // 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
- }
54
+ a[href^="#"]:after,
55
+ a[href^="javascript:"]:after {
56
+ content: "";
57
+ }
60
58
 
61
- tr,
62
- img {
63
- page-break-inside: avoid;
64
- page-break-after: avoid;
65
- page-break-before: avoid;
66
- }
59
+ blockquote {
60
+ border: 1px solid #999;
61
+ page-break-inside: avoid;
62
+ }
63
+ thead {
64
+ display: table-header-group;
65
+ }
67
66
 
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
- }
67
+ tr,
68
+ img {
69
+ page-break-inside: avoid;
70
+ page-break-after: avoid;
71
+ page-break-before: avoid;
72
+ }
93
73
 
94
- table, pre {
95
- page-break-inside: avoid;
96
- }
74
+ .qld__header__pre-header-brand-image {
75
+ display: block !important;
76
+ }
77
+ img {
78
+ max-width: 100% !important;
79
+ width: auto;
80
+ }
81
+ /** Setting margins */
82
+ @page {
83
+ margin: 2cm;
84
+ }
97
85
 
98
- ul, ol, dl {
99
- page-break-before: avoid;
100
- }
101
- blockquote {
102
- page-break-inside: avoid;
103
- }
86
+ /* Addding page breaks for best practice */
87
+ p,
88
+ h2,
89
+ h3 {
90
+ orphans: 3;
91
+ widows: 3;
92
+ }
104
93
 
94
+ a {
95
+ page-break-inside: avoid;
96
+ }
97
+ h1,
98
+ h2,
99
+ h3,
100
+ h4,
101
+ h5,
102
+ h6 {
103
+ page-break-after: avoid;
104
+ page-break-inside: avoid;
105
+ }
105
106
 
106
- .btn,
107
- .dropup > .btn {
108
- > .caret {
109
- border-top-color: #000 !important;
110
- }
111
- }
112
- .label {
113
- border: 1px solid #000;
114
- }
107
+ table,
108
+ pre {
109
+ page-break-inside: avoid;
110
+ }
115
111
 
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
- }
112
+ ul,
113
+ ol,
114
+ dl {
115
+ page-break-before: avoid;
116
+ }
117
+ blockquote {
118
+ page-break-inside: avoid;
119
+ }
154
120
 
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;
121
+ .btn,
122
+ .dropup > .btn {
123
+ > .caret {
124
+ border-top-color: #000 !important;
173
125
  }
126
+ }
127
+ .label {
128
+ border: 1px solid #000;
129
+ }
174
130
 
175
- /* Some landmark headings should be visible */
176
- .breadcrumb h2 {
177
- position: static;
131
+ .table-bordered {
132
+ th,
133
+ td {
134
+ border: 1px solid #ddd !important;
178
135
  }
179
- /* Style breadcrumbs */
180
- .breadcrumb {
181
- display: inline;
182
- list-style: none;
136
+ }
137
+ .row {
138
+ display: block;
139
+ }
140
+ .btn {
141
+ border: none;
142
+ .btn-icon {
143
+ width: auto;
183
144
  }
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;
145
+ &:disabled,
146
+ &.disabled {
147
+ color: #d3d3d3 !important;
199
148
  }
149
+ }
200
150
 
201
- .breadcrumb a {
202
- padding-right: .5em;
203
- }
204
- .breadcrumb a:after, .breadcrumb .breadcrumb-item a:after {
205
- content: " >";
206
-
151
+ .qg-site-map {
152
+ display: none !important;
153
+ }
154
+ #qg-primary-content {
155
+ max-width: 100%;
156
+ width: 100%;
157
+ left: 0;
158
+ table {
159
+ font-size: 15px;
207
160
  }
208
- .breadcrumb li:before, .breadcrumb a:before {
209
- display: none !important;
161
+ margin-top: 0;
162
+ h1 {
163
+ font-size: 25px;
210
164
  }
211
- // displaying full breadcrumbs
212
- .breadcrumb .breadcrumb-item.breadcrumb-toggle {
213
- display: none!important;
165
+ h2 {
166
+ font-size: 20px;
214
167
  }
168
+ }
169
+
170
+ /* Hide sections that are not to print */
171
+ #qg-access,
172
+ #browser,
173
+ #qg-banner,
174
+ #tools,
175
+ #qg-site-nav,
176
+ #qg-section-nav,
177
+ .qg-section-nav,
178
+ #qg-site-map,
179
+ .qg-options,
180
+ #qg-page-feedback,
181
+ #header-bg,
182
+ .print-content-link,
183
+ #qg-site-header form,
184
+ .qg-utilities,
185
+ #qg-location-dropdown,
186
+ .qg-legal li {
187
+ display: none;
188
+ }
189
+
190
+ /* Some landmark headings should be visible */
191
+ .breadcrumb h2 {
192
+ position: static;
193
+ }
194
+ /* Style breadcrumbs */
195
+ .breadcrumb {
196
+ display: inline;
197
+ list-style: none;
198
+ }
199
+ .breadcrumb h2 {
200
+ font-size: 100%;
201
+ display: block;
202
+ margin: 0.5em 0;
203
+ font-weight: normal;
204
+ }
205
+ .breadcrumb ol,
206
+ .breadcrumb li,
207
+ .breadcrumb li.last-child,
208
+ .breadcrumb a {
209
+ text-decoration-line: none !important;
210
+ color: black !important;
211
+ display: inline !important;
212
+ margin: 0 !important;
213
+ padding: 0 !important;
214
+ }
215
215
 
216
+ .breadcrumb a {
217
+ padding-right: 0.5em;
218
+ }
219
+ .breadcrumb a:after,
220
+ .breadcrumb .breadcrumb-item a:after {
221
+ content: " >";
222
+ }
223
+ .breadcrumb li:before,
224
+ .breadcrumb a:before {
225
+ display: none !important;
226
+ }
227
+ // displaying full breadcrumbs
228
+ .breadcrumb .breadcrumb-item.breadcrumb-toggle {
229
+ display: none !important;
230
+ }
216
231
 
217
- /* A few simple lines */
218
- #qg-site-header {
232
+ /* A few simple lines */
233
+ #qg-site-header,
234
+ .qld-header {
219
235
  border-bottom: 1px solid #000000 !important;
220
236
  margin-bottom: 1em;
221
237
  display: block;
222
238
  min-height: 32mm;
239
+
240
+ &:after {
241
+ margin: 1rem 0 !important;
242
+ }
223
243
  }
224
244
  #qg-site-map {
225
245
  border-top: 1px solid #000000;
@@ -240,9 +260,15 @@
240
260
  #content .section,
241
261
  #content,
242
262
  .section,
243
- .max-width {
263
+ .max-width,
264
+ .container,
265
+ .container-fluid,
266
+ .qld-banner,
267
+ main {
244
268
  width: 100% !important;
245
269
  max-width: 100% !important;
270
+ padding-left: 0 !important;
271
+ padding-right: 0 !important;
246
272
  }
247
273
 
248
274
  .print-link-url,
@@ -255,142 +281,238 @@
255
281
  display: inline;
256
282
  }
257
283
 
258
- #ia .d1 img {
284
+ #ia .d1 img {
259
285
  float: left;
260
286
  }
261
287
 
262
- body {
263
- /* Set some defaults */
264
- background: white;
265
-
266
- /* Reset variables as needed for printing */
267
- --qld-body-color: black;
268
-
269
- }
270
-
271
- /* Hide elements not needed for printing */
272
- .navbar, footer, .sidebar, footer.qld-footer.dark {
273
- display: none;
274
- }
288
+ body {
289
+ /* Set some defaults */
290
+ background: white;
275
291
 
276
- .row {
277
- margin-left: 0px;
278
- margin-right: 0px;
279
- }
292
+ /* Reset variables as needed for printing */
293
+ --qld-body-color: black;
294
+ }
280
295
 
281
-
282
- /* Other print styles... */
283
- blockquote {
284
- border: none;
285
- }
286
- .pagination, .qld-quick-exit {
287
- display: none;
288
- }
289
- .accordion {
290
- --#{$prefix}accordion-btn-bg: transparent !important;
291
- --#{$prefix}accordion-border-color: transparent !important;
292
- --#{$prefix}accordion-btn-color: var(--qld-body-color);
293
- .accordion-button {
294
- text-decoration: none;
295
- }
296
- }
297
- .accordion-toggle-btn {
298
- display: none;
299
- }
300
- header:after {
301
- content:"(" attr(data-page-url) ")";
302
- display: block;
303
- font-size: 0.9rem;
304
- font-weight: bold;
305
- margin-bottom: 1em;
306
- margin-left: 2em;
307
- }
296
+ /* Hide elements not needed for printing */
297
+ .navbar,
298
+ footer,
299
+ .sidebar,
300
+ footer.qld-footer.dark,
301
+ .qld-footer,
302
+ nav {
303
+ display: none;
304
+ }
308
305
 
309
- .nav-item.active a {
310
- display: block;
311
- }
312
- .accordion-collapse {
313
- display: block!important;
306
+ .navbar {
307
+ border-block-end-color: none !important;
308
+ }
309
+
310
+ .row {
311
+ margin-left: 0px;
312
+ margin-right: 0px;
313
+ }
314
+
315
+ /* Ensure columns display properly in print */
316
+ [class*="col-"] {
317
+ width: 100%;
318
+ padding-left: 0;
319
+ padding-right: 0;
320
+ }
321
+
322
+ /* Other print styles... */
323
+ blockquote {
324
+ border: none;
325
+ }
326
+ .pagination,
327
+ .qld-quick-exit {
328
+ display: none;
329
+ }
330
+ .accordion {
331
+ --#{$prefix}accordion-btn-bg: transparent !important;
332
+ --#{$prefix}accordion-border-color: transparent !important;
333
+ --#{$prefix}accordion-btn-color: var(--qld-body-color);
334
+
335
+ .accordion-body {
336
+ padding: 0 !important;
314
337
  }
315
338
 
316
- a[href^=http]:after {
317
- content:" (" attr(href) ")";
318
- color: var(--qld-primary) !important;
339
+ //Toggle chevron
340
+ .accordion-button {
341
+ text-decoration: none !important;
342
+ padding: 2rem 0 !important;
343
+
344
+ &:after {
345
+ background-image: none !important;
319
346
  }
320
-
321
- a.btn {
322
- box-shadow: none;
323
347
  }
348
+ }
324
349
 
325
- button.btn {
326
- display: none;
327
- }
350
+ .accordion-toggle {
351
+ display: none !important;
352
+ }
328
353
 
329
- .global-alert {
330
- display: none;
331
- }
354
+ /* Print URL after header */
355
+ .qld-header:after {
356
+ content: "(" attr(data-page-url) ")";
357
+ display: block;
358
+ font-size: 0.9rem;
359
+ font-weight: bold;
360
+ margin: 1rem;
361
+ }
332
362
 
333
-
334
- a.btn:after {
335
- display: block;
336
- content:" (" attr(href) ")";
337
- }
338
- a.stretched-link:after {
339
- content:" (" attr(href) ")";
340
- font-size: 13px;
341
- line-height: 1;
342
- position: relative;
343
- }
344
- /* Custom qld- styles */
345
- .qld-side-navigation, .qld-inpage-nav, .qld__header__site-search.qld__header__site-search--closed, .qld__header__pre-header {
346
- display: none !important;
347
- }
348
- .qld__header__brand-image.qld__header__brand-image_subtype, .qld__header__brand-image {
349
- display: block !important;
350
- }
363
+ .nav-item.active a {
364
+ display: block;
365
+ }
366
+ .accordion-collapse {
367
+ display: block !important;
368
+ }
351
369
 
352
- .qld__header__brand a:after {
353
- display: none;
354
- }
355
-
356
- /* adding class to print data-href from breadcrumb link */
357
- .print-current-url {
358
- display: block;
359
- font-size: bold;
360
- color: var(--qld-primary) !important;
370
+ a[href^="http"]:after {
371
+ content: " (" attr(href) ")";
372
+ color: var(--qld-primary) !important;
373
+ }
374
+
375
+ a.btn {
376
+ box-shadow: none;
377
+ }
378
+
379
+ button.btn {
380
+ display: none;
381
+ }
382
+
383
+ .global-alert {
384
+ display: none;
385
+ }
386
+
387
+ a.btn:after {
388
+ display: block;
389
+ content: " (" attr(href) ")";
390
+ }
391
+ a.stretched-link:after {
392
+ content: " (" attr(href) ")";
393
+ font-size: 13px;
394
+ line-height: 1;
395
+ position: relative;
396
+ }
397
+
398
+ a.qld-cta-link {
399
+ display: none !important;
400
+ }
401
+
402
+ /* Custom qld- styles */
403
+ .qld-side-navigation,
404
+ .qld-inpage-nav {
405
+ display: none !important;
406
+ }
407
+
408
+ /* v2.0.x Header styles */
409
+ .qld-header-pre-header {
410
+ display: none !important;
411
+ }
412
+
413
+ .qld-header-brand-image,
414
+ .qld-header-secondary-image {
415
+ display: block !important;
416
+ }
417
+
418
+ .qld-header-brand a:after {
419
+ display: none;
420
+ }
421
+
422
+ .qld-header-site-search {
423
+ display: none !important;
424
+ }
425
+
426
+ /* Show header main content */
427
+ .qld-header-main {
428
+ display: block !important;
429
+ border-bottom: none !important;
430
+
431
+ > .container .col {
432
+ padding: 0 !important;
361
433
  }
434
+ }
362
435
 
436
+ .qld-header-link {
437
+ display: inline-flex !important;
363
438
  }
364
439
 
365
- /* Print colors to show background elements */
366
-
367
- .alert, .card-img {
368
- print-color-adjust: exact;
440
+ /* Ensure header brand displays correctly */
441
+ .qld-header-brand {
442
+ padding-block: 1rem !important;
369
443
  }
370
-
371
- /*print styles for forms*/
372
- @media only print {
373
- form abbr[title*=required]:after {
374
- content: ''
444
+
445
+ /* Ensure header text is black */
446
+ .qld-header,
447
+ .qld-header-site-title,
448
+ .qld-header-subline {
449
+ color: #000 !important;
450
+ }
451
+
452
+ /* Adjust header logo sizing for print */
453
+ .qld-header-logo,
454
+ .qld-header-brand-image img,
455
+ .qld-header-secondary-image {
456
+ max-height: 3rem;
457
+ width: auto !important;
458
+ }
459
+
460
+ .qld-banner {
461
+ background: none !important;
462
+ margin-bottom: 1rem !important;
463
+
464
+ .banner-inner {
465
+ padding-top: 0 !important;
375
466
  }
376
- form .label {
377
- border: none;
467
+
468
+ .banner-abstract,
469
+ .banner-title {
470
+ color: black !important;
378
471
  }
379
472
  }
380
-
381
- .no-print {
382
- @extend .d-print-none;
383
- }
384
473
 
385
- @media only print {
386
- .qld-cta-link {
474
+ .banner-breadcrumbs nav {
475
+ display: block !important;
476
+ color: #000 !important;
477
+ .breadcrumb-item {
387
478
  color: #000 !important;
388
-
389
- .icon::after {
390
- background-image: none !important;
391
- content: " > " !important;
392
- border: none !important;
393
- transform: rotate(0deg) !important;
479
+ &:after {
480
+ content: none !important;
394
481
  }
395
482
  }
396
- }
483
+ }
484
+
485
+ /* adding class to print data-href from breadcrumb link */
486
+ .print-current-url {
487
+ display: block;
488
+ font-size: bold;
489
+ color: var(--qld-primary) !important;
490
+ }
491
+
492
+ .content-emphasis {
493
+ background: none !important;
494
+ margin: 4rem 0 !important;
495
+ padding: 0 !important;
496
+ }
497
+ }
498
+
499
+ /* Print colors to show background elements */
500
+ .alert,
501
+ .card-img,
502
+ video {
503
+ print-color-adjust: exact;
504
+ }
505
+
506
+ /*print styles for forms*/
507
+ @media only print {
508
+ form abbr[title*="required"]:after {
509
+ content: "";
510
+ }
511
+ form .label {
512
+ border: none;
513
+ }
514
+ }
515
+
516
+ .no-print {
517
+ @extend .d-print-none;
518
+ }