@qhealth-design-system/core 1.16.5 → 1.17.1
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/storybook.css +1 -1
- package/.storybook/globals.js +10 -0
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/src/components/_global/css/cta_links/component.scss +107 -14
- package/src/components/_global/css/forms/control_inputs/component.scss +65 -77
- package/src/components/_global/css/link_columns/component.scss +2 -2
- package/src/components/_global/html/head.html +4 -57
- package/src/components/_global/html/scripts.html +0 -2
- package/src/components/_global/js/cta_links/global.js +33 -0
- package/src/components/_global/js/global.js +175 -138
- package/src/components/_global/js/tabs/global.js +6 -2
- package/src/components/banner_advanced/html/component.hbs +1 -1
- package/src/components/breadcrumbs/js/global.js +17 -4
- package/src/components/card_feature/html/component.hbs +1 -1
- package/src/components/card_multi_action/html/component.hbs +1 -1
- package/src/components/card_single_action/css/component.scss +38 -47
- package/src/components/card_single_action/html/component.hbs +1 -1
- package/src/components/code/css/component.scss +72 -73
- package/src/components/code/html/component.hbs +62 -19
- package/src/components/code/js/global.js +102 -86
- package/src/components/footer/css/component.scss +2 -4
- package/src/components/footer/html/component.hbs +11 -8
- package/src/components/header/css/component.scss +12 -12
- package/src/components/header/html/component.hbs +3 -3
- package/src/components/header/js/global.js +58 -65
- package/src/components/in_page_navigation/js/global.js +34 -31
- package/src/components/internal_navigation/js/global.js +13 -3
- package/src/components/main_navigation/css/component.scss +79 -13
- package/src/components/main_navigation/html/component.hbs +5 -5
- package/src/components/main_navigation/js/global.js +94 -115
- package/src/components/mega_main_navigation/css/component.scss +27 -14
- package/src/components/mega_main_navigation/html/component.hbs +5 -5
- package/src/components/mega_main_navigation/js/global.js +50 -55
- package/src/components/page_alert/css/component.scss +141 -179
- package/src/data/site.json +3 -3
- package/src/html/component-card_feature.html +74 -487
- package/src/html/component-card_single_action.html +219 -1175
- package/src/html/component-forms.html +202 -67
- package/src/stories/Checkboxes/Checkboxes.js +41 -0
- package/src/stories/Checkboxes/Checkboxes.mdx +45 -0
- package/src/stories/Checkboxes/Checkboxes.stories.js +209 -0
- package/src/stories/RadioButtons/RadioButtons.js +41 -0
- package/src/stories/RadioButtons/RadioButtons.mdx +45 -0
- package/src/stories/RadioButtons/RadioButtons.stories.js +209 -0
- package/src/styles/imports/mixins.scss +5 -43
- package/src/styles/imports/variables.scss +3 -2
|
@@ -10,27 +10,26 @@
|
|
|
10
10
|
outline: 3px solid var(--QLD-color-light__focus);
|
|
11
11
|
outline-offset: 2px;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
&:hover{
|
|
13
|
+
|
|
14
|
+
&:hover {
|
|
15
15
|
box-shadow: none;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
@include QLD-media(lg) {
|
|
19
19
|
box-shadow: none;
|
|
20
20
|
|
|
21
|
-
&:hover{
|
|
21
|
+
&:hover {
|
|
22
22
|
@include QLD-box-shadow(4);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
//Card image
|
|
27
|
-
&.qld__card--image{
|
|
28
25
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
//Card image
|
|
27
|
+
&.qld__card--image {
|
|
28
|
+
&:hover {
|
|
29
|
+
.qld__responsive-media-img--bg::before {
|
|
30
|
+
content: "";
|
|
32
31
|
background-color: var(--QLD-color-dark__background);
|
|
33
|
-
opacity: .1;
|
|
32
|
+
opacity: 0.1;
|
|
34
33
|
position: absolute;
|
|
35
34
|
left: 0;
|
|
36
35
|
right: 0;
|
|
@@ -41,87 +40,79 @@
|
|
|
41
40
|
border-bottom-right-radius: 6.0882800608828% 10.81081081081081%;
|
|
42
41
|
border-bottom-left-radius: 0px;
|
|
43
42
|
}
|
|
44
|
-
}
|
|
43
|
+
}
|
|
45
44
|
}
|
|
46
45
|
|
|
47
46
|
//Card Icon
|
|
48
47
|
&.qld__card--icon {
|
|
49
|
-
.qld__card__icon{
|
|
48
|
+
.qld__card__icon {
|
|
50
49
|
i,
|
|
51
|
-
svg{
|
|
50
|
+
svg {
|
|
52
51
|
color: var(--QLD-color-light__action--secondary);
|
|
53
52
|
}
|
|
54
|
-
}
|
|
55
|
-
&:hover{
|
|
56
|
-
.qld__card__icon{
|
|
53
|
+
}
|
|
54
|
+
&:hover {
|
|
55
|
+
.qld__card__icon {
|
|
57
56
|
i,
|
|
58
|
-
svg{
|
|
57
|
+
svg {
|
|
59
58
|
color: var(--QLD-color-light__action--secondary-hover);
|
|
60
59
|
}
|
|
61
|
-
}
|
|
60
|
+
}
|
|
62
61
|
}
|
|
63
62
|
}
|
|
64
63
|
|
|
65
64
|
&.qld__card--dark,
|
|
66
|
-
&.qld__card--dark-alt{
|
|
67
|
-
|
|
65
|
+
&.qld__card--dark-alt {
|
|
68
66
|
&.qld__card--icon {
|
|
69
|
-
.qld__card__icon{
|
|
67
|
+
.qld__card__icon {
|
|
70
68
|
i,
|
|
71
|
-
svg{
|
|
69
|
+
svg {
|
|
72
70
|
color: var(--QLD-color-dark__action--secondary);
|
|
73
71
|
}
|
|
74
|
-
}
|
|
75
|
-
&:hover{
|
|
76
|
-
.qld__card__icon{
|
|
72
|
+
}
|
|
73
|
+
&:hover {
|
|
74
|
+
.qld__card__icon {
|
|
77
75
|
i,
|
|
78
|
-
svg{
|
|
76
|
+
svg {
|
|
79
77
|
color: var(--QLD-color-dark__action--secondary-hover);
|
|
80
78
|
}
|
|
81
|
-
}
|
|
79
|
+
}
|
|
82
80
|
}
|
|
83
81
|
}
|
|
84
82
|
}
|
|
85
|
-
|
|
86
83
|
}
|
|
87
84
|
|
|
88
85
|
.qld__card.qld__card--arrow {
|
|
89
|
-
.qld__card__content{
|
|
86
|
+
.qld__card__content {
|
|
90
87
|
display: flex;
|
|
91
88
|
justify-content: space-between;
|
|
92
89
|
|
|
93
|
-
.
|
|
94
|
-
@include QLD-space(width, 1.375unit);
|
|
95
|
-
@include QLD-space(height, 1.5unit);
|
|
90
|
+
.qld__card--arrow-icon {
|
|
96
91
|
flex: 0 0 auto;
|
|
97
92
|
transition: margin 0.2s ease;
|
|
98
93
|
color: var(--QLD-color-light__action--secondary);
|
|
99
94
|
display: inline-block;
|
|
100
|
-
mask-image: QLD-svguri($QLD-icon-arrow-right);
|
|
101
|
-
mask-repeat: no-repeat;
|
|
102
|
-
mask-position: center;
|
|
103
|
-
background-color: var(--QLD-color-light__action--secondary);
|
|
104
95
|
@include QLD-space(margin, auto 0 auto 1unit);
|
|
105
96
|
}
|
|
106
97
|
|
|
107
|
-
&:hover{
|
|
108
|
-
.
|
|
109
|
-
|
|
110
|
-
@include QLD-space(margin-right,
|
|
98
|
+
&:hover {
|
|
99
|
+
.qld__card--arrow-icon {
|
|
100
|
+
color: var(--QLD-color-light__action--secondary-hover);
|
|
101
|
+
@include QLD-space(margin-right, -0.25unit);
|
|
111
102
|
@include QLD-space(margin-left, 1.25unit);
|
|
112
103
|
}
|
|
113
104
|
}
|
|
114
105
|
}
|
|
115
106
|
|
|
116
107
|
&.qld__card--dark,
|
|
117
|
-
&.qld__card--dark-alt{
|
|
118
|
-
.
|
|
119
|
-
|
|
108
|
+
&.qld__card--dark-alt {
|
|
109
|
+
.qld__card--arrow-icon {
|
|
110
|
+
color: var(--QLD-color-dark__action--secondary);
|
|
120
111
|
}
|
|
121
|
-
&:hover{
|
|
122
|
-
.
|
|
123
|
-
|
|
112
|
+
&:hover {
|
|
113
|
+
.qld__card--arrow-icon {
|
|
114
|
+
color: var(--QLD-color-dark__action--secondary-hover);
|
|
124
115
|
}
|
|
125
116
|
}
|
|
126
117
|
}
|
|
127
|
-
}
|
|
118
|
+
}
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
{{/if}}
|
|
126
126
|
</div>
|
|
127
127
|
{{#ifCond ../component.data.metadata.show_arrow.value '==' 'true'}}
|
|
128
|
-
|
|
128
|
+
<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" class="qld__card--arrow-icon qld__icon qld__icon--md"><use href="{{@root.site.metadata.coreSiteIcons.value}}#arrow-right"></use></svg>
|
|
129
129
|
{{/ifCond}}
|
|
130
130
|
</div>
|
|
131
131
|
{{#ifCond metadata.cardDisplayFooter.value '==' 'true'}}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
2
|
-
//
|
|
2
|
+
// Code component
|
|
3
3
|
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
4
|
+
|
|
4
5
|
.qld__body .qld__code {
|
|
5
6
|
display: block;
|
|
6
7
|
|
|
@@ -9,12 +10,10 @@
|
|
|
9
10
|
min-width: initial;
|
|
10
11
|
position: relative;
|
|
11
12
|
text-decoration: none;
|
|
12
|
-
|
|
13
13
|
|
|
14
14
|
&-text {
|
|
15
|
-
@include QLD-space(
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
@include QLD-space("margin-left", 0.5unit);
|
|
16
|
+
|
|
18
17
|
@include QLD-media(sm, down) {
|
|
19
18
|
display: none;
|
|
20
19
|
}
|
|
@@ -22,19 +21,10 @@
|
|
|
22
21
|
|
|
23
22
|
.clean {
|
|
24
23
|
display: flex;
|
|
25
|
-
|
|
26
|
-
i {
|
|
27
|
-
@include QLD-space('font-size', 1.25unit);
|
|
28
|
-
@include QLD-space('margin', 0.125unit);
|
|
29
|
-
}
|
|
30
24
|
}
|
|
31
25
|
|
|
32
26
|
.dirty {
|
|
33
27
|
display: none;
|
|
34
|
-
|
|
35
|
-
i {
|
|
36
|
-
@include QLD-space('font-size', 1.5unit);
|
|
37
|
-
}
|
|
38
28
|
}
|
|
39
29
|
|
|
40
30
|
&.copied {
|
|
@@ -42,10 +32,6 @@
|
|
|
42
32
|
border-color: $QLD-color-neutral--lightest;
|
|
43
33
|
color: var(--QLD-color-light__text);
|
|
44
34
|
|
|
45
|
-
i {
|
|
46
|
-
color: $QLD-color-status__success;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
35
|
.clean {
|
|
50
36
|
display: none;
|
|
51
37
|
}
|
|
@@ -61,10 +47,9 @@
|
|
|
61
47
|
text-decoration: none;
|
|
62
48
|
|
|
63
49
|
.qld__code-copy--button-text {
|
|
64
|
-
@include QLD-underline(
|
|
50
|
+
@include QLD-underline("dark", "noUnderline", "buttonText");
|
|
65
51
|
}
|
|
66
52
|
|
|
67
|
-
|
|
68
53
|
@include QLD-media(sm, down) {
|
|
69
54
|
text-decoration: underline;
|
|
70
55
|
.qld__code-tooltip {
|
|
@@ -81,22 +66,26 @@
|
|
|
81
66
|
display: flex;
|
|
82
67
|
width: 100%;
|
|
83
68
|
justify-content: space-between;
|
|
84
|
-
@include QLD-space(
|
|
85
|
-
@include QLD-space(
|
|
69
|
+
@include QLD-space("padding", 0.75unit 1unit);
|
|
70
|
+
@include QLD-space("border-bottom", solid var(--QLD-color-dark__border--alt) 0.0625unit);
|
|
86
71
|
|
|
87
72
|
&-left {
|
|
88
73
|
display: flex;
|
|
89
74
|
align-items: center;
|
|
90
75
|
|
|
91
76
|
a {
|
|
92
|
-
display: inline-
|
|
77
|
+
display: inline-flex;
|
|
93
78
|
border-radius: $QLD-border-radius-xs;
|
|
94
|
-
@include QLD-space(
|
|
79
|
+
@include QLD-space("margin-left", 1.25unit);
|
|
80
|
+
text-decoration: none;
|
|
95
81
|
|
|
96
|
-
|
|
82
|
+
span {
|
|
83
|
+
text-decoration: underline;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.qld__icon {
|
|
97
87
|
color: var(--QLD-color-dark__action--secondary);
|
|
98
|
-
@include QLD-space(
|
|
99
|
-
@include QLD-space('margin-left', .5unit);
|
|
88
|
+
@include QLD-space("margin-left", 0.5unit);
|
|
100
89
|
}
|
|
101
90
|
|
|
102
91
|
text-underline-offset: var(--QLD-underline__offset);
|
|
@@ -106,9 +95,21 @@
|
|
|
106
95
|
text-decoration-thickness: var(--QLD-underline__thickness-thin);
|
|
107
96
|
|
|
108
97
|
&:hover {
|
|
98
|
+
span {
|
|
99
|
+
text-underline-offset: var(--QLD-underline__offset);
|
|
100
|
+
-webkit-text-decoration-color: var(--QLD-color-dark__underline--hover);
|
|
101
|
+
text-decoration-color: var(--QLD-color-dark__underline--hover);
|
|
102
|
+
text-decoration-thickness: var(--QLD-underline__thickness-thick);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&-right {
|
|
109
|
+
button.qld__code-copy--button:hover {
|
|
110
|
+
span {
|
|
111
|
+
text-decoration: underline;
|
|
109
112
|
text-underline-offset: var(--QLD-underline__offset);
|
|
110
|
-
-webkit-text-decoration-color: var(--QLD-color-dark__underline--hover);
|
|
111
|
-
text-decoration-color: var(--QLD-color-dark__underline--hover);
|
|
112
113
|
text-decoration-thickness: var(--QLD-underline__thickness-thick);
|
|
113
114
|
}
|
|
114
115
|
}
|
|
@@ -133,23 +134,24 @@
|
|
|
133
134
|
&.qld__body--dark {
|
|
134
135
|
background-color: var(--QLD-color-dark__background);
|
|
135
136
|
}
|
|
136
|
-
|
|
137
|
+
|
|
137
138
|
&.qld__body--dark-alt {
|
|
138
139
|
background-color: var(--QLD-color-dark__background--alt);
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
&-button {
|
|
143
|
+
display: flex;
|
|
144
|
+
flex-direction: row;
|
|
142
145
|
background-color: var(--QLD-color-dark__background--alt-shade);
|
|
143
146
|
border: 0;
|
|
144
147
|
border-radius: $QLD-border-radius-xs $QLD-border-radius-xs 0 0;
|
|
145
148
|
color: var(--QLD-color-dark__text);
|
|
146
149
|
cursor: pointer;
|
|
147
|
-
@include QLD-space(
|
|
150
|
+
@include QLD-space("padding", 0.75unit 1unit);
|
|
148
151
|
|
|
149
|
-
|
|
152
|
+
.qld__icon {
|
|
150
153
|
color: var(--QLD-color-dark__action--secondary);
|
|
151
|
-
@include QLD-space(
|
|
152
|
-
@include QLD-space('margin-left', .5unit);
|
|
154
|
+
@include QLD-space("margin-left", 0.5unit);
|
|
153
155
|
transition: transform 0.25s ease-in;
|
|
154
156
|
}
|
|
155
157
|
|
|
@@ -183,7 +185,7 @@
|
|
|
183
185
|
margin: 0;
|
|
184
186
|
|
|
185
187
|
@include QLD-media(md) {
|
|
186
|
-
@include QLD-container-padding($QLD-grid__gutter--media-lg, horizontal);
|
|
188
|
+
@include QLD-container-padding($QLD-grid__gutter--media-lg, horizontal);
|
|
187
189
|
}
|
|
188
190
|
}
|
|
189
191
|
|
|
@@ -193,16 +195,16 @@
|
|
|
193
195
|
border-radius: 0 $QLD-border-radius-xs 0 0;
|
|
194
196
|
color: var(--QLD-color-light__text);
|
|
195
197
|
width: 100%;
|
|
196
|
-
@include QLD-space(
|
|
198
|
+
@include QLD-space("padding", 1.0625unit 0.875unit);
|
|
197
199
|
|
|
198
200
|
@include QLD-media(md) {
|
|
199
201
|
display: flex;
|
|
200
|
-
@include QLD-space(
|
|
202
|
+
@include QLD-space("padding", 1.0625unit 1unit);
|
|
201
203
|
}
|
|
202
204
|
|
|
203
205
|
&-label {
|
|
204
206
|
font-weight: 600;
|
|
205
|
-
@include QLD-space(
|
|
207
|
+
@include QLD-space("padding-right", 0.75unit);
|
|
206
208
|
}
|
|
207
209
|
|
|
208
210
|
ul {
|
|
@@ -210,22 +212,22 @@
|
|
|
210
212
|
flex-wrap: wrap;
|
|
211
213
|
list-style: none;
|
|
212
214
|
padding-left: 0;
|
|
213
|
-
@include QLD-space(
|
|
215
|
+
@include QLD-space("margin-top", 0.625unit);
|
|
214
216
|
|
|
215
217
|
@include QLD-media(md) {
|
|
216
|
-
@include QLD-space(
|
|
218
|
+
@include QLD-space("margin-top", 0);
|
|
217
219
|
}
|
|
218
220
|
|
|
219
221
|
li {
|
|
220
222
|
display: flex;
|
|
221
223
|
align-items: center;
|
|
222
|
-
@include QLD-space(
|
|
224
|
+
@include QLD-space("margin", 0.1875unit 1unit 0.1875unit 0);
|
|
223
225
|
|
|
224
226
|
label {
|
|
225
227
|
color: var(--QLD-color-light__text);
|
|
226
228
|
font-weight: 400;
|
|
227
|
-
@include QLD-space(
|
|
228
|
-
@include QLD-space(
|
|
229
|
+
@include QLD-space("margin", 0);
|
|
230
|
+
@include QLD-space("padding-left", 2.5unit);
|
|
229
231
|
}
|
|
230
232
|
}
|
|
231
233
|
}
|
|
@@ -239,12 +241,10 @@
|
|
|
239
241
|
font-weight: 600;
|
|
240
242
|
display: inline-block;
|
|
241
243
|
position: absolute;
|
|
242
|
-
@include QLD-space(
|
|
243
|
-
@include QLD-space(
|
|
244
|
-
@include QLD-space(
|
|
244
|
+
@include QLD-space("font-size", 0.875unit);
|
|
245
|
+
@include QLD-space("line-height", 1unit);
|
|
246
|
+
@include QLD-space("padding", 0.25unit 1unit);
|
|
245
247
|
}
|
|
246
|
-
|
|
247
|
-
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
// Single line type
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
white-space: nowrap;
|
|
261
261
|
overflow: hidden;
|
|
262
262
|
text-overflow: ellipsis;
|
|
263
|
-
@include QLD-space(
|
|
263
|
+
@include QLD-space("padding", 0.625unit 1unit);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
.qld__code-copy--button {
|
|
@@ -273,20 +273,21 @@
|
|
|
273
273
|
display: flex;
|
|
274
274
|
flex-direction: column;
|
|
275
275
|
width: 100%;
|
|
276
|
-
|
|
277
|
-
@include QLD-space(
|
|
276
|
+
|
|
277
|
+
@include QLD-space("max-width", 65unit);
|
|
278
278
|
|
|
279
279
|
&.with-preview {
|
|
280
280
|
display: inline-grid;
|
|
281
281
|
background-color: $QLD-color-neutral--white;
|
|
282
282
|
border-radius: $QLD-border-radius-xs;
|
|
283
283
|
@include QLD-box-shadow(2);
|
|
284
|
-
@include QLD-space(
|
|
284
|
+
@include QLD-space("margin-top", 1.5unit);
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
&:not(.with-preview) {
|
|
288
288
|
.qld__code-toggle-button,
|
|
289
|
-
.qld__code-header,
|
|
289
|
+
.qld__code-header,
|
|
290
|
+
code {
|
|
290
291
|
@include QLD-box-shadow(2);
|
|
291
292
|
}
|
|
292
293
|
}
|
|
@@ -296,8 +297,7 @@
|
|
|
296
297
|
overflow: hidden;
|
|
297
298
|
position: relative;
|
|
298
299
|
transition: max-height 0.5s ease-in-out;
|
|
299
|
-
@include QLD-space(
|
|
300
|
-
|
|
300
|
+
@include QLD-space("padding", 1.25unit 1unit);
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
&:not(.show_less) {
|
|
@@ -309,7 +309,6 @@
|
|
|
309
309
|
|
|
310
310
|
&.show_less {
|
|
311
311
|
code {
|
|
312
|
-
|
|
313
312
|
&:before {
|
|
314
313
|
background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(2, 42, 80, 0.2) 86.21%);
|
|
315
314
|
bottom: 0;
|
|
@@ -317,11 +316,11 @@
|
|
|
317
316
|
left: 0;
|
|
318
317
|
position: absolute;
|
|
319
318
|
width: 100%;
|
|
320
|
-
@include QLD-space(
|
|
319
|
+
@include QLD-space("height", 3.75unit);
|
|
321
320
|
}
|
|
322
321
|
}
|
|
323
322
|
|
|
324
|
-
.qld__code-toggle-button
|
|
323
|
+
.qld__code-toggle-button .qld__icon {
|
|
325
324
|
transform: rotate(-180deg);
|
|
326
325
|
}
|
|
327
326
|
}
|
|
@@ -340,22 +339,22 @@
|
|
|
340
339
|
text-align: left;
|
|
341
340
|
background-color: $QLD-color-neutral--lightest;
|
|
342
341
|
color: var(--QLD-color-light__text);
|
|
343
|
-
@include QLD-space(
|
|
342
|
+
@include QLD-space("padding", 0.125unit 0.5unit);
|
|
344
343
|
|
|
345
344
|
.token.attr-value {
|
|
346
|
-
color: #
|
|
345
|
+
color: #052c53;
|
|
347
346
|
}
|
|
348
|
-
|
|
347
|
+
|
|
349
348
|
.token.punctuation {
|
|
350
349
|
color: var(--QLD-color-light__text--lighter);
|
|
351
350
|
}
|
|
352
|
-
|
|
351
|
+
|
|
353
352
|
.token.attr-name {
|
|
354
353
|
color: #006400;
|
|
355
354
|
}
|
|
356
|
-
|
|
355
|
+
|
|
357
356
|
.token.tag {
|
|
358
|
-
color: #
|
|
357
|
+
color: #09549f;
|
|
359
358
|
}
|
|
360
359
|
|
|
361
360
|
&:focus,
|
|
@@ -369,22 +368,22 @@
|
|
|
369
368
|
.token.attr-value {
|
|
370
369
|
color: var(--QLD-color-light__link--on-action);
|
|
371
370
|
}
|
|
372
|
-
|
|
371
|
+
|
|
373
372
|
.token.punctuation {
|
|
374
373
|
color: var(--QLD-color-light__link--on-action);
|
|
375
374
|
}
|
|
376
|
-
|
|
375
|
+
|
|
377
376
|
.token.attr-name {
|
|
378
377
|
color: var(--QLD-color-light__link--on-action);
|
|
379
378
|
}
|
|
380
|
-
|
|
379
|
+
|
|
381
380
|
.token.tag {
|
|
382
381
|
color: var(--QLD-color-light__link--on-action);
|
|
383
382
|
}
|
|
384
383
|
}
|
|
385
384
|
|
|
386
385
|
&:focus {
|
|
387
|
-
@include QLD-space(
|
|
386
|
+
@include QLD-space("border", solid var(--QLD-color-light__focus) 0.125unit);
|
|
388
387
|
}
|
|
389
388
|
}
|
|
390
389
|
}
|
|
@@ -398,7 +397,7 @@
|
|
|
398
397
|
left: 50%;
|
|
399
398
|
transform: translateX(-50%);
|
|
400
399
|
z-index: 2;
|
|
401
|
-
@include QLD-space(
|
|
400
|
+
@include QLD-space("padding", 0.25unit 1.5unit);
|
|
402
401
|
@include QLD-box-shadow(3);
|
|
403
402
|
|
|
404
403
|
&:before {
|
|
@@ -416,13 +415,13 @@
|
|
|
416
415
|
}
|
|
417
416
|
|
|
418
417
|
main .qld__body #content .qld__code .qld__code-preview-body.qld__body {
|
|
419
|
-
@include QLD-space(
|
|
420
|
-
@include QLD-space(
|
|
418
|
+
@include QLD-space("margin", 0);
|
|
419
|
+
@include QLD-space("padding-bottom", 1.5unit);
|
|
421
420
|
|
|
422
421
|
&.qld__body--light,
|
|
423
422
|
&.qld__body--alt,
|
|
424
423
|
&.qld__body--dark,
|
|
425
424
|
&.qld__body--dark-alt {
|
|
426
|
-
@include QLD-space(
|
|
425
|
+
@include QLD-space("padding-bottom", 1.5unit);
|
|
427
426
|
}
|
|
428
|
-
}
|
|
427
|
+
}
|