@qhealth-design-system/core 1.18.3 → 1.19.0
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/assets/accordion-js.js +344 -0
- package/.storybook/assets/animate-js.js +247 -0
- package/.storybook/assets/index.js +15 -0
- package/.storybook/globals.js +39 -41
- package/.storybook/main.js +4 -3
- package/.storybook/preview.js +11 -13
- package/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/package.json +10 -15
- package/src/component-loader.js +23 -0
- package/src/components/_global/css/body/component.scss +3 -3
- package/src/components/_global/css/btn/component.scss +1 -1
- package/src/components/_global/css/cta_links/component.scss +2 -2
- package/src/components/_global/css/example/component.scss +11 -19
- package/src/components/_global/css/forms/control_inputs/component.scss +2 -2
- package/src/components/_global/css/forms/general/component.scss +5 -5
- package/src/components/_global/css/headings/component.scss +42 -44
- package/src/components/_global/css/img/images.scss +20 -36
- package/src/components/_global/css/link_columns/component.scss +2 -2
- package/src/components/_global/css/modal/component.scss +20 -26
- package/src/components/_global/css/table/component.scss +14 -21
- package/src/components/_global/css/tabs/component.scss +2 -2
- package/src/components/_global/css/tags/component.scss +1 -1
- package/src/components/_global/css/toggle_and_tool_tip/component.scss +3 -3
- package/src/components/_global/js/global.js +1 -1
- package/src/components/_global/js/select_boxes/global.js +26 -35
- package/src/components/accordion/css/component.scss +289 -326
- package/src/components/banner/css/component.scss +77 -173
- package/src/components/banner/html/component.hbs +2 -4
- package/src/components/banner_advanced/html/component.hbs +2 -2
- package/src/components/banner_advanced/js/manifest.json +1422 -1386
- package/src/components/basic_search/css/component.scss +13 -14
- package/src/components/basic_search/html/component.hbs +11 -20
- package/src/components/breadcrumbs/js/global.js +6 -1
- package/src/components/callout/css/component.scss +37 -40
- package/src/components/card_feature/css/component.scss +28 -167
- package/src/components/card_multi_action/css/component.scss +46 -58
- package/src/components/code/css/component.scss +3 -3
- package/src/components/code/html/component.hbs +12 -12
- package/src/components/code/js/global.js +6 -1
- package/src/components/file_upload/css/component.scss +5 -5
- package/src/components/file_upload/js/global.js +46 -43
- package/src/components/footer/css/component.scss +3 -3
- package/src/components/global_alert/css/component.scss +8 -14
- package/src/components/global_alert/html/component.hbs +3 -3
- package/src/components/header/css/component.scss +16 -4
- package/src/components/header/html/component.hbs +3 -2
- package/src/components/header/js/global.js +8 -1
- package/src/components/in_page_navigation/css/component.scss +14 -16
- package/src/components/in_page_navigation/js/global.js +48 -58
- package/src/components/internal_navigation/css/component.scss +3 -3
- package/src/components/internal_navigation/js/global.js +27 -35
- package/src/components/left_hand_navigation/css/component.scss +8 -2
- package/src/components/main_navigation/css/component.scss +16 -7
- package/src/components/main_navigation/html/component.hbs +1 -0
- package/src/components/mega_main_navigation/css/component.scss +5 -5
- package/src/components/mega_main_navigation/html/component.hbs +1 -0
- package/src/components/pagination/css/component.scss +32 -28
- package/src/components/pagination/html/component.hbs +37 -40
- package/src/components/promo_panel/css/component.scss +1 -4
- package/src/components/promo_panel/html/component.hbs +11 -5
- package/src/components/promo_panel/js/global.js +24 -39
- package/src/components/promo_panel/js/manifest.json +8 -0
- package/src/components/tab/css/component.scss +3 -3
- package/src/components/toggle_tip/css/component.scss +1 -1
- package/src/components/tool_tip/css/component.scss +1 -1
- package/src/components/video_player/js/global.js +16 -13
- package/src/data/current.json +33 -1
- package/src/helpers/global-helpers.js +56 -0
- package/src/html/component-in_page_navigation.html +2 -2
- package/src/index.js +4 -8
- package/src/stories/BackToTop/BackToTop.mdx +3 -21
- package/src/stories/CTALink/CTALink.mdx +1 -4
- package/src/stories/Checkboxes/Checkboxes.mdx +1 -4
- package/src/stories/DirectionLinks/DirectionLinks.mdx +1 -4
- package/src/stories/InPageAlert/InPageAlert.mdx +1 -4
- package/src/stories/Introduction.mdx +9 -5
- package/src/stories/LinkColumns/LinkColumns.mdx +1 -4
- package/src/stories/Pagination/Pagination.mdx +26 -0
- package/src/stories/Pagination/Pagination.stories.js +257 -0
- package/src/stories/PromoPanel/PromoPanel.mdx +26 -0
- package/src/stories/PromoPanel/PromoPanel.stories.js +219 -0
- package/src/stories/RadioButtons/RadioButtons.mdx +1 -4
- package/src/stories/SelectBox/SelectBox.mdx +1 -4
- package/src/stories/Tags/Tags.js +3 -3
- package/src/stories/Tags/Tags.mdx +1 -4
- package/src/stories/VideoPlayer/VideoPlayer.mdx +3 -28
- package/src/stories/VideoPlayer/VideoPlayer.stories.js +19 -46
- package/src/styles/imports/utilities.scss +3 -3
- package/src/styles/imports/variables.scss +5 -0
- package/src/stories/VideoPlayer/VideoPlayer.js +0 -0
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
&-summary-text {
|
|
42
|
-
font-weight:
|
|
42
|
+
font-weight: $QLD-font-weight-semibold;
|
|
43
43
|
color: var(--QLD-color-light__heading);
|
|
44
44
|
}
|
|
45
45
|
&-summary-matching {
|
|
46
|
-
font-weight:
|
|
46
|
+
font-weight: $QLD-font-weight-semibold;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&-text {
|
|
63
|
-
font-weight:
|
|
63
|
+
font-weight: $QLD-font-weight-semibold;
|
|
64
64
|
color: var(--QLD-color-light__heading);
|
|
65
65
|
@include QLD-space(padding-right, 0.75unit);
|
|
66
66
|
white-space: nowrap;
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
&-title {
|
|
89
|
-
font-weight:
|
|
89
|
+
font-weight: $QLD-font-weight-semibold;
|
|
90
90
|
display: block;
|
|
91
91
|
white-space: nowrap;
|
|
92
92
|
@include QLD-space(padding-right, 1unit);
|
|
@@ -147,6 +147,11 @@
|
|
|
147
147
|
@include QLD-media(lg) {
|
|
148
148
|
flex-direction: row-reverse;
|
|
149
149
|
}
|
|
150
|
+
|
|
151
|
+
svg.qld__icon {
|
|
152
|
+
width: 24px;
|
|
153
|
+
height: 24px;
|
|
154
|
+
}
|
|
150
155
|
}
|
|
151
156
|
.qld__tag {
|
|
152
157
|
margin: 0;
|
|
@@ -208,10 +213,7 @@
|
|
|
208
213
|
@include QLD-space(padding-bottom, 1.5unit);
|
|
209
214
|
@include QLD-space(padding-left, 2unit);
|
|
210
215
|
@include QLD-space(padding-right, 2unit);
|
|
211
|
-
@include QLD-space(
|
|
212
|
-
border-top,
|
|
213
|
-
solid 0.25unit var(--QLD-color-light__design-accent)
|
|
214
|
-
);
|
|
216
|
+
@include QLD-space(border-top, solid 0.25unit var(--QLD-color-light__design-accent));
|
|
215
217
|
|
|
216
218
|
&-title {
|
|
217
219
|
@include QLD-space(font-size, 1.25unit);
|
|
@@ -221,7 +223,7 @@
|
|
|
221
223
|
text-transform: capitalize;
|
|
222
224
|
}
|
|
223
225
|
&-query {
|
|
224
|
-
font-weight:
|
|
226
|
+
font-weight: $QLD-font-weight-semibold;
|
|
225
227
|
}
|
|
226
228
|
}
|
|
227
229
|
}
|
|
@@ -233,12 +235,9 @@
|
|
|
233
235
|
@include QLD-space(padding-bottom, 1.5unit);
|
|
234
236
|
@include QLD-space(padding-left, 2unit);
|
|
235
237
|
@include QLD-space(padding-right, 2unit);
|
|
236
|
-
@include QLD-space(
|
|
237
|
-
border-top,
|
|
238
|
-
solid 0.25unit var(--QLD-color-light__design-accent)
|
|
239
|
-
);
|
|
238
|
+
@include QLD-space(border-top, solid 0.25unit var(--QLD-color-light__design-accent));
|
|
240
239
|
&-text {
|
|
241
|
-
font-weight:
|
|
240
|
+
font-weight: $QLD-font-weight-semibold;
|
|
242
241
|
}
|
|
243
242
|
}
|
|
244
243
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'alternate'}}qld__banner--alt{{/ifCond}}
|
|
5
5
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'dark'}}qld__banner--dark{{/ifCond}}
|
|
6
6
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'dark-alternate'}}qld__banner--dark-alt{{/ifCond}}
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
{{#ifCond current.data.metadata.displayBreadcrumbs.value '==' 'true'}}qld__banner--breadcrumbs{{/ifCond}}"
|
|
9
9
|
|
|
10
10
|
{{#ifCond site.metadata.defaultBannerType.value '==' 'texture'}}
|
|
@@ -15,11 +15,8 @@
|
|
|
15
15
|
{{#ifCond current.data.metadata.displayBreadcrumbs.value '==' 'true'}}
|
|
16
16
|
<nav class="qld__breadcrumbs
|
|
17
17
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'light'}}qld__breadcrumbs--light{{/ifCond}}
|
|
18
|
-
|
|
19
18
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'alternate'}}qld__breadcrumbs--alt{{/ifCond}}
|
|
20
|
-
|
|
21
19
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'dark'}}qld__breadcrumbs--dark{{/ifCond}}
|
|
22
|
-
|
|
23
20
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'dark-alternate'}}qld__breadcrumbs--dark-alt{{/ifCond}}
|
|
24
21
|
|
|
25
22
|
qld__banner__breadcrumbs qld__banner__breadcrumbs--mobile" aria-label="breadcrumb">
|
|
@@ -45,11 +42,8 @@
|
|
|
45
42
|
{{#ifCond current.data.metadata.displayBreadcrumbs.value '==' 'true'}}
|
|
46
43
|
<nav class="qld__breadcrumbs
|
|
47
44
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'light'}}qld__breadcrumbs--light{{/ifCond}}
|
|
48
|
-
|
|
49
45
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'alternate'}}qld__breadcrumbs--alt{{/ifCond}}
|
|
50
|
-
|
|
51
46
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'dark'}}qld__breadcrumbs--dark{{/ifCond}}
|
|
52
|
-
|
|
53
47
|
{{#ifCond site.metadata.defaultBannerColour.value '==' 'dark-alternate'}}qld__breadcrumbs--dark-alt{{/ifCond}}
|
|
54
48
|
|
|
55
49
|
qld__banner__breadcrumbs qld__banner__breadcrumbs--tablet" aria-label="breadcrumb" data-path="{{@root.site.metadata.coreSiteIcons.value}}">
|
|
@@ -227,42 +221,41 @@
|
|
|
227
221
|
{{#if metaData.articleType}}
|
|
228
222
|
{{#ifCond metaData.articleType '==' 'news'}}
|
|
229
223
|
<span class="qld__search__result-type-name">
|
|
230
|
-
<svg
|
|
224
|
+
<svg class="qld__icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" ><use href="{{@root.site.metadata.coreSiteIcons.value}}#article"></use></svg>
|
|
231
225
|
News
|
|
232
226
|
</span>
|
|
233
227
|
{{/ifCond}}
|
|
234
228
|
{{#ifCond metaData.articleType '==' 'feature-article'}}
|
|
235
229
|
<span class="qld__search__result-type-name">
|
|
236
|
-
<svg
|
|
230
|
+
<svg class="qld__icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" ><use href="{{@root.site.metadata.coreSiteIcons.value}}#announcement"></use></svg>
|
|
237
231
|
Feature Article
|
|
238
232
|
</span>
|
|
239
233
|
{{/ifCond}}
|
|
240
234
|
{{#ifCond metaData.articleType '==' 'podcast-series'}}
|
|
241
235
|
<span class="qld__search__result-type-name">
|
|
242
|
-
<svg
|
|
236
|
+
<svg class="qld__icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" ><use href="{{@root.site.metadata.coreSiteIcons.value}}#podcast"></use></svg>
|
|
243
237
|
Podcast
|
|
244
238
|
</span>
|
|
245
239
|
{{/ifCond}}
|
|
246
|
-
{{!-- <span class="qld__tag qld__tag--info">Read Time Here</span> --}}
|
|
247
240
|
{{/if}}
|
|
248
241
|
{{#if fileType}}
|
|
249
242
|
{{#ifCond fileType '==' 'pdf'}}
|
|
250
243
|
<span class="qld__search__result-type-name">
|
|
251
|
-
<svg
|
|
244
|
+
<svg class="qld__icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" ><use href="{{@root.site.metadata.coreSiteIcons.value}}#document-pdf"></use></svg>
|
|
252
245
|
Document
|
|
253
246
|
</span>
|
|
254
247
|
<span class="qld__tag qld__tag--info">{{toUpperCase fileType}} {{sizeFormat fileSize}}</span>
|
|
255
248
|
{{/ifCond}}
|
|
256
249
|
{{#ifCond fileType '==' 'docx'}}
|
|
257
250
|
<span class="qld__search__result-type-name">
|
|
258
|
-
<svg
|
|
251
|
+
<svg class="qld__icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" ><use href="{{@root.site.metadata.coreSiteIcons.value}}#document-word"></use></svg>
|
|
259
252
|
Document
|
|
260
253
|
</span>
|
|
261
254
|
<span class="qld__tag qld__tag--info">{{toUpperCase fileType}} {{sizeFormat fileSize}}</span>
|
|
262
255
|
{{/ifCond}}
|
|
263
256
|
{{#ifCond fileType '==' 'xls'}}
|
|
264
257
|
<span class="qld__search__result-type-name">
|
|
265
|
-
<svg
|
|
258
|
+
<svg class="qld__icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" ><use href="{{@root.site.metadata.coreSiteIcons.value}}#document-spreadsheet"></use></svg>
|
|
266
259
|
Document
|
|
267
260
|
</span>
|
|
268
261
|
<span class="qld__tag qld__tag--info">{{toUpperCase fileType}} {{sizeFormat fileSize}}</span>
|
|
@@ -271,12 +264,12 @@
|
|
|
271
264
|
{{#ifCond collection 'contains' 'service-finder'}}
|
|
272
265
|
{{#ifCond collection 'contains' '__facilities'}}
|
|
273
266
|
<span class="qld__search__result-type-name">
|
|
274
|
-
<svg
|
|
267
|
+
<svg class="qld__icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" ><use href="{{@root.site.metadata.extendedSiteIcons.value}}#hospital"></use></svg>
|
|
275
268
|
Hospital
|
|
276
269
|
</span>
|
|
277
270
|
{{else}}
|
|
278
271
|
<span class="qld__search__result-type-name">
|
|
279
|
-
<svg
|
|
272
|
+
<svg class="qld__icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" ><use href="{{@root.site.metadata.extendedSiteIcons.value}}#health_services"></use></svg>
|
|
280
273
|
Health Service
|
|
281
274
|
</span>
|
|
282
275
|
{{/ifCond}}
|
|
@@ -284,16 +277,14 @@
|
|
|
284
277
|
{{#if metaData.format}}
|
|
285
278
|
{{#ifCond metaData.format 'contains' 'video'}}
|
|
286
279
|
<span class="qld__search__result-type-name">
|
|
287
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
|
280
|
+
<svg class="qld__icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" ><use href="{{@root.site.metadata.coreSiteIcons.value}}#video"></use></svg>
|
|
288
281
|
Video
|
|
289
282
|
</span>
|
|
290
|
-
{{!-- <span class="qld__tag qld__tag--info">Video Length Here</span> --}}
|
|
291
283
|
{{else ifCond metaData.format 'contains' 'audio'}}
|
|
292
284
|
<span class="qld__search__result-type-name">
|
|
293
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
|
285
|
+
<svg class="qld__icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" ><use href="{{@root.site.metadata.coreSiteIcons.value}}#audio"></use></svg>
|
|
294
286
|
Audio
|
|
295
287
|
</span>
|
|
296
|
-
{{!-- <span class="qld__tag qld__tag--info">Audio Length Here</span> --}}
|
|
297
288
|
{{/ifCond}}
|
|
298
289
|
{{/if}}
|
|
299
290
|
</div>
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { validateInternalSvgPath, buildIconPath } from "../../../helpers/global-helpers.js";
|
|
2
|
+
|
|
1
3
|
(function () {
|
|
2
4
|
"use strict";
|
|
3
5
|
|
|
@@ -74,7 +76,10 @@
|
|
|
74
76
|
|
|
75
77
|
// Create <use>
|
|
76
78
|
const use = document.createElementNS("http://www.w3.org/2000/svg", "use");
|
|
77
|
-
|
|
79
|
+
// Attempt to validate SVG path before using it
|
|
80
|
+
if (validateInternalSvgPath(svgPath)) {
|
|
81
|
+
use.setAttributeNS(null, "href", buildIconPath(svgPath, "more-horizontal").toString());
|
|
82
|
+
}
|
|
78
83
|
|
|
79
84
|
// Append <use> to <svg>
|
|
80
85
|
svg.appendChild(use);
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
word-wrap: break-word;
|
|
11
11
|
@include QLD-space(max-width, $QLD-font-maxwidth);
|
|
12
12
|
|
|
13
|
-
& &__heading{
|
|
13
|
+
& &__heading {
|
|
14
14
|
margin: 0;
|
|
15
15
|
color: var(--QLD-color-light__heading);
|
|
16
16
|
|
|
17
17
|
&.qld__callout__heading--sronly {
|
|
18
18
|
@include QLD-sronly();
|
|
19
|
-
|
|
19
|
+
|
|
20
20
|
& + * {
|
|
21
21
|
margin-top: 0;
|
|
22
22
|
}
|
|
@@ -24,47 +24,47 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
p {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
29
29
|
|
|
30
|
-
a{
|
|
30
|
+
a {
|
|
31
31
|
color: var(--QLD-color-light__link);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
* + p {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
@include QLD-space(margin-top, 1unit);
|
|
36
|
+
}
|
|
37
37
|
|
|
38
|
-
#content > &{
|
|
39
|
-
@include QLD-space(
|
|
38
|
+
#content > & {
|
|
39
|
+
@include QLD-space(margin-top, 0unit);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
* + & {
|
|
43
|
-
|
|
43
|
+
@include QLD-space(margin-top, 1.5unit);
|
|
44
44
|
@include QLD-media(lg) {
|
|
45
|
-
@include QLD-space(
|
|
45
|
+
@include QLD-space(margin-top, 2unit);
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
}
|
|
48
48
|
|
|
49
49
|
// Visual treatment for paragraphs following callout
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
& + p {
|
|
51
|
+
@include QLD-space(margin-top, 2unit);
|
|
52
|
+
}
|
|
53
53
|
|
|
54
54
|
//Event callout
|
|
55
|
-
&--calendar-event{
|
|
55
|
+
&--calendar-event {
|
|
56
56
|
.qld__callout--calendar-event__lede {
|
|
57
|
-
@include QLD-fontgrid(
|
|
57
|
+
@include QLD-fontgrid(sm, nospace);
|
|
58
58
|
margin: 0;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.qld__callout--calendar-event__time,
|
|
62
62
|
.qld__callout--calendar-event__name {
|
|
63
|
-
@include QLD-fontgrid(
|
|
63
|
+
@include QLD-fontgrid(xl, heading);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.qld__callout--calendar-event__time {
|
|
67
|
-
font-weight:
|
|
67
|
+
font-weight: $QLD-font-weight-semibold;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.qld__callout--calendar-event__lede,
|
|
@@ -76,21 +76,20 @@
|
|
|
76
76
|
* + .qld__callout--calendar-event__time,
|
|
77
77
|
* + .qld__callout--calendar-event__name,
|
|
78
78
|
* + .qld__callout--calendar-event__lede {
|
|
79
|
-
@include QLD-space(
|
|
79
|
+
@include QLD-space(margin-top, 0.5unit); // overrides body, to allow for var. text markup.
|
|
80
80
|
}
|
|
81
|
-
|
|
82
81
|
}
|
|
83
82
|
|
|
84
83
|
&--light,
|
|
85
84
|
.qld__body--light & {
|
|
86
85
|
border-left-color: var(--QLD-color-light__design-accent);
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
background-color: var(--QLD-color-light__background--shade);
|
|
87
|
+
}
|
|
89
88
|
&--alt,
|
|
90
89
|
.qld__body--alt & {
|
|
91
90
|
border-left-color: var(--QLD-color-light__design-accent);
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
background-color: var(--QLD-color-light__background--alt-shade);
|
|
92
|
+
}
|
|
94
93
|
|
|
95
94
|
&--dark,
|
|
96
95
|
.qld__body--dark & {
|
|
@@ -98,19 +97,19 @@
|
|
|
98
97
|
background-color: var(--QLD-color-dark__background--shade);
|
|
99
98
|
border-left-color: var(--QLD-color-dark__design-accent);
|
|
100
99
|
|
|
101
|
-
.qld__callout__heading{
|
|
100
|
+
.qld__callout__heading {
|
|
102
101
|
color: var(--QLD-color-dark__heading);
|
|
103
102
|
}
|
|
104
103
|
|
|
105
|
-
a{
|
|
104
|
+
a {
|
|
106
105
|
color: var(--QLD-color-dark__link);
|
|
107
106
|
|
|
108
|
-
&:hover{
|
|
107
|
+
&:hover {
|
|
109
108
|
color: var(--QLD-color-dark__text);
|
|
110
109
|
}
|
|
111
110
|
}
|
|
112
111
|
|
|
113
|
-
&.qld__callout--calendar-event{
|
|
112
|
+
&.qld__callout--calendar-event {
|
|
114
113
|
.qld__callout--calendar-event__lede {
|
|
115
114
|
color: var(--QLD-color-dark__text);
|
|
116
115
|
}
|
|
@@ -120,37 +119,35 @@
|
|
|
120
119
|
&--dark-alt,
|
|
121
120
|
.qld__body--dark-alt & {
|
|
122
121
|
color: var(--QLD-color-dark__text);
|
|
123
|
-
|
|
122
|
+
background-color: var(--QLD-color-dark__background--alt-shade);
|
|
124
123
|
border-left-color: var(--QLD-color-dark__design-accent);
|
|
125
124
|
|
|
126
|
-
.qld__callout__heading{
|
|
125
|
+
.qld__callout__heading {
|
|
127
126
|
color: var(--QLD-color-dark__heading);
|
|
128
127
|
}
|
|
129
128
|
|
|
130
|
-
a{
|
|
129
|
+
a {
|
|
131
130
|
color: var(--QLD-color-dark__link);
|
|
132
131
|
|
|
133
|
-
&:hover{
|
|
132
|
+
&:hover {
|
|
134
133
|
color: var(--QLD-color-dark__text);
|
|
135
134
|
}
|
|
136
135
|
}
|
|
137
136
|
|
|
138
|
-
&.qld__callout--calendar-event{
|
|
137
|
+
&.qld__callout--calendar-event {
|
|
139
138
|
.qld__callout--calendar-event__lede {
|
|
140
139
|
color: var(--QLD-color-dark__text);
|
|
141
140
|
}
|
|
142
141
|
}
|
|
143
142
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
143
|
}
|
|
147
144
|
|
|
148
145
|
// Print styles
|
|
149
146
|
@media print {
|
|
150
|
-
|
|
151
|
-
@include QLD-space(
|
|
147
|
+
.qld__callout {
|
|
148
|
+
@include QLD-space(border-left-width, 1unit !important);
|
|
152
149
|
border: 1px solid #000 !important;
|
|
153
150
|
color: #000 !important;
|
|
154
151
|
background-color: transparent !important;
|
|
155
|
-
|
|
156
|
-
}
|
|
152
|
+
}
|
|
153
|
+
}
|