@qld-gov-au/qgds-bootstrap5 1.0.12 → 1.0.13
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/dist/assets/css/qld.bootstrap.css +1 -1
- package/dist/assets/css/qld.bootstrap.css.map +2 -2
- package/package.json +1 -1
- package/src/components/bs5/card/card.scss +13 -2
- package/src/components/bs5/correctincorrect/correctincorrect.scss +45 -51
- package/src/components/bs5/correctincorrect/correctincorrect.stories.js +29 -28
- package/src/components/bs5/tag/tag.scss +129 -55
- package/src/components/bs5/tag/tag.stories.js +12 -12
package/package.json
CHANGED
|
@@ -226,11 +226,12 @@ $view-all-icon-dark: url("data:image/svg+xml,<svg width='21' height='21' viewBox
|
|
|
226
226
|
|
|
227
227
|
a {
|
|
228
228
|
color: var(--#{$prefix}card-link-color);
|
|
229
|
-
|
|
229
|
+
font-weight: 600;
|
|
230
|
+
text-underline-offset: 3px;
|
|
230
231
|
|
|
231
232
|
&:hover, &:focus {
|
|
232
233
|
text-decoration: underline;
|
|
233
|
-
text-
|
|
234
|
+
text-decoration-thickness: 3px;
|
|
234
235
|
}
|
|
235
236
|
}
|
|
236
237
|
}
|
|
@@ -429,6 +430,16 @@ $view-all-icon-dark: url("data:image/svg+xml,<svg width='21' height='21' viewBox
|
|
|
429
430
|
}
|
|
430
431
|
}
|
|
431
432
|
|
|
433
|
+
.card-feature {
|
|
434
|
+
.card-title {
|
|
435
|
+
a {
|
|
436
|
+
&:hover, &:focus {
|
|
437
|
+
text-decoration-thickness: 4px;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
432
443
|
@include media-breakpoint-up(md) {
|
|
433
444
|
.card {
|
|
434
445
|
&-feature {
|
|
@@ -68,55 +68,45 @@
|
|
|
68
68
|
|
|
69
69
|
.qg-correct, .qg-incorrect {
|
|
70
70
|
position: relative;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
//border-style: solid;
|
|
75
|
-
border-width: 1px;
|
|
76
|
-
border-radius: 5px;
|
|
77
|
-
border-left-width: 7px;
|
|
78
|
-
|
|
79
|
-
vertical-align: top;
|
|
80
|
-
|
|
81
|
-
> :first-child { // only one first child
|
|
82
|
-
margin-top: -0.5em;
|
|
83
|
-
margin-bottom: 1em;
|
|
84
|
-
padding-top: 0.7em;
|
|
85
|
-
|
|
86
|
-
&:before {
|
|
87
|
-
position: absolute;
|
|
88
|
-
|
|
89
|
-
width: 20px;
|
|
90
|
-
height: 20px;
|
|
91
|
-
text-align: center;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
> :not(first-child) {
|
|
95
|
-
flex: none;
|
|
96
|
-
}
|
|
97
|
-
> * {
|
|
98
|
-
overflow-wrap: break-word;
|
|
99
|
-
word-wrap: break-word;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
border-width: 1px;
|
|
103
|
-
border-left-width: 7px;
|
|
104
|
-
|
|
71
|
+
margin: 0.4rem 0;
|
|
72
|
+
padding: 1rem 1rem 1rem 3rem !important;
|
|
73
|
+
border-radius: 4px;
|
|
105
74
|
vertical-align: top;
|
|
75
|
+
|
|
76
|
+
> :only-child {
|
|
77
|
+
margin-bottom: 0;
|
|
78
|
+
}
|
|
106
79
|
|
|
107
|
-
|
|
80
|
+
> :first-child {
|
|
108
81
|
&:before {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
82
|
+
position: absolute;
|
|
83
|
+
width: 20px;
|
|
84
|
+
height: 20px;
|
|
85
|
+
text-align: center;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
> :last-child {
|
|
90
|
+
margin-bottom: 0;
|
|
91
|
+
}
|
|
112
92
|
|
|
93
|
+
> :not(first-child) {
|
|
94
|
+
flex: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
> * {
|
|
98
|
+
overflow-wrap: break-word;
|
|
99
|
+
word-wrap: break-word;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&:before {
|
|
103
|
+
position: absolute;
|
|
104
|
+
top: 1.2rem;
|
|
105
|
+
left: 1rem;
|
|
113
106
|
width: 20px;
|
|
114
107
|
height: 20px;
|
|
115
108
|
text-align: center;
|
|
116
|
-
|
|
117
|
-
// }
|
|
118
|
-
|
|
119
|
-
|
|
109
|
+
}
|
|
120
110
|
|
|
121
111
|
}
|
|
122
112
|
|
|
@@ -150,40 +140,44 @@
|
|
|
150
140
|
}
|
|
151
141
|
|
|
152
142
|
span.qg-correct, span.qg-incorrect {
|
|
153
|
-
display:
|
|
154
|
-
max-width: 48%;
|
|
143
|
+
display: block;
|
|
155
144
|
}
|
|
156
145
|
|
|
157
146
|
.table > tbody > tr, table {
|
|
158
147
|
td.qg-correct {
|
|
159
148
|
@extend .qg-correct;
|
|
149
|
+
padding: 0.75rem 0.75rem 0.75rem 3rem !important;
|
|
150
|
+
&:before {
|
|
151
|
+
top: 0.9rem;
|
|
152
|
+
}
|
|
160
153
|
}
|
|
161
154
|
td.qg-incorrect {
|
|
162
155
|
@extend .qg-incorrect;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
156
|
+
padding: 0.75rem 0.75rem 0.75rem 3rem !important;
|
|
157
|
+
&:before {
|
|
158
|
+
top: 0.9rem;
|
|
159
|
+
}
|
|
166
160
|
}
|
|
167
161
|
}
|
|
168
162
|
|
|
169
163
|
.table.qg-correct-incorrect > tbody > tr, table.qg-correct-incorrect {
|
|
170
164
|
td:nth-child(odd) {
|
|
171
165
|
@extend .qg-correct;
|
|
172
|
-
border-left-width: 3px;
|
|
166
|
+
//border-left-width: 3px;
|
|
173
167
|
}
|
|
174
168
|
td:nth-child(even) {
|
|
175
169
|
@extend .qg-incorrect;
|
|
176
|
-
border-left-width: 3px;
|
|
170
|
+
//border-left-width: 3px;
|
|
177
171
|
}
|
|
178
172
|
}
|
|
179
173
|
|
|
180
174
|
.table.qg-incorrect-correct > tbody > tr, table.qg-incorrect-correct {
|
|
181
175
|
td:nth-child(even) {
|
|
182
176
|
@extend .qg-correct;
|
|
183
|
-
border-left-width: 3px;
|
|
177
|
+
//border-left-width: 3px;
|
|
184
178
|
}
|
|
185
179
|
td:nth-child(odd) {
|
|
186
180
|
@extend .qg-incorrect;
|
|
187
|
-
border-left-width: 3px;
|
|
181
|
+
//border-left-width: 3px;
|
|
188
182
|
}
|
|
189
183
|
}
|
|
@@ -16,12 +16,13 @@ export default {
|
|
|
16
16
|
|
|
17
17
|
export const ShortForm = {
|
|
18
18
|
render: () => {
|
|
19
|
-
return
|
|
20
|
-
|
|
21
|
-
</
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
</
|
|
19
|
+
return `
|
|
20
|
+
<span class="qg-correct">
|
|
21
|
+
<p>Lorem ipsum dolor sit amet, consectetur <a href='#'>adipiscing elit</a>.</p>
|
|
22
|
+
</span>
|
|
23
|
+
<span class="qg-incorrect">
|
|
24
|
+
<p>Lorem ipsum dolor sit amet, consectetur <a href='#'>adipiscing elit</a>.</p>
|
|
25
|
+
</span>`
|
|
25
26
|
},
|
|
26
27
|
}
|
|
27
28
|
|
|
@@ -29,14 +30,16 @@ export const LongForm = {
|
|
|
29
30
|
render: () => {
|
|
30
31
|
return `
|
|
31
32
|
<div class="qg-correct">
|
|
32
|
-
<p
|
|
33
|
-
<p
|
|
33
|
+
<p>Lorem ipsum dolor sit amet, consectetur <a href='#'>adipiscing elit</a>.</p>
|
|
34
|
+
<p>Lorem ipsum dolor sit amet, consectetur <a href='#'>adipiscing elit</a>. Fusce dictum efficitur egestas. </p>
|
|
35
|
+
<p>Lorem ipsum dolor sit amet, consectetur <a href='#'>adipiscing elit</a>. Fusce dictum efficitur egestas. Aenean sed pretium mauris. </p>
|
|
36
|
+
<p>Lorem ipsum dolor sit amet, consectetur <a href='#'>adipiscing elit</a>. Fusce dictum efficitur egestas. Aenean sed pretium mauris. Quisque euismod in nisl et consequat.</p>
|
|
34
37
|
</div>
|
|
35
38
|
<div class="qg-incorrect">
|
|
36
|
-
<p
|
|
37
|
-
<p
|
|
38
|
-
<p
|
|
39
|
-
<p
|
|
39
|
+
<p>Lorem ipsum dolor sit amet, consectetur <a href='#'>adipiscing elit</a>.</p>
|
|
40
|
+
<p>Lorem ipsum dolor sit amet, consectetur <a href='#'>adipiscing elit</a>. Fusce dictum efficitur egestas. </p>
|
|
41
|
+
<p>Lorem ipsum dolor sit amet, consectetur <a href='#'>adipiscing elit</a>. Fusce dictum efficitur egestas. Aenean sed pretium mauris. </p>
|
|
42
|
+
<p>Lorem ipsum dolor sit amet, consectetur <a href='#'>adipiscing elit</a>. Fusce dictum efficitur egestas. Aenean sed pretium mauris. Quisque euismod in nisl et consequat.</p>
|
|
40
43
|
</div>`
|
|
41
44
|
},
|
|
42
45
|
}
|
|
@@ -46,14 +49,13 @@ export const TableByColumnsForCorrectAndIncorrect = {
|
|
|
46
49
|
args: {
|
|
47
50
|
"customClass": "",
|
|
48
51
|
"variantClass": "qg-correct-incorrect",
|
|
49
|
-
"headers": ["
|
|
52
|
+
"headers": ["This", "Not this"],
|
|
50
53
|
"rows": [
|
|
51
|
-
{ "cells": ["Cell", "
|
|
52
|
-
{ "cells": ["
|
|
53
|
-
{ "cells": ["
|
|
54
|
-
{ "cells": ["
|
|
55
|
-
{ "cells": ["
|
|
56
|
-
{ "cells": ["Cell", "Cell"] },
|
|
54
|
+
{ "cells": ["Cell", "Sell"] },
|
|
55
|
+
{ "cells": ["Lorem ipsum dolor", "Lorem ipsum jolor"] },
|
|
56
|
+
{ "cells": ["Lorem ipsum dolor sit", "Lorem ipsum dolor cit"] },
|
|
57
|
+
{ "cells": ["Lorem ipsum dolor sit amet", "Lorem ipsum dolor sit amat"] },
|
|
58
|
+
{ "cells": ["Lorem ipsum dolor sit amet consectetur", "Lorem ipsum dolor sit amet nonsectetur"] },
|
|
57
59
|
],
|
|
58
60
|
}
|
|
59
61
|
,
|
|
@@ -65,14 +67,13 @@ export const TableByColumnsForIncorrectAndCorrect = {
|
|
|
65
67
|
args: {
|
|
66
68
|
"customClass": "",
|
|
67
69
|
"variantClass": "qg-incorrect-correct",
|
|
68
|
-
"headers": ["
|
|
70
|
+
"headers": ["Not this", "This"],
|
|
69
71
|
"rows": [
|
|
70
|
-
{ "cells": ["
|
|
71
|
-
{ "cells": ["
|
|
72
|
-
{ "cells": ["
|
|
73
|
-
{ "cells": ["
|
|
74
|
-
{ "cells": ["
|
|
75
|
-
{ "cells": ["Cell", "Cell"] },
|
|
72
|
+
{ "cells": ["Sell","Cell"] },
|
|
73
|
+
{ "cells": ["Lorem ipsum jolor", "Lorem ipsum dolor"] },
|
|
74
|
+
{ "cells": ["Lorem ipsum dolor cit", "Lorem ipsum dolor sit"] },
|
|
75
|
+
{ "cells": ["Lorem ipsum dolor sit amat", "Lorem ipsum dolor sit amet"] },
|
|
76
|
+
{ "cells": ["Lorem ipsum dolor sit amet nonsectetur", "Lorem ipsum dolor sit amet consectetur"] },
|
|
76
77
|
],
|
|
77
78
|
}
|
|
78
79
|
,
|
|
@@ -103,10 +104,10 @@ export const TableByCell = {
|
|
|
103
104
|
</tr>
|
|
104
105
|
<tr class="">
|
|
105
106
|
<td>Cell</td>
|
|
106
|
-
<td class="qg-
|
|
107
|
+
<td class="qg-correct">Cell</td>
|
|
107
108
|
</tr>
|
|
108
109
|
<tr class="">
|
|
109
|
-
<td class="qg-
|
|
110
|
+
<td class="qg-incorrect">Cell</td>
|
|
110
111
|
<td>Cell</td>
|
|
111
112
|
</tr>
|
|
112
113
|
</tbody>
|
|
@@ -6,92 +6,165 @@
|
|
|
6
6
|
flex-wrap: wrap;
|
|
7
7
|
margin: 0.5rem 0;
|
|
8
8
|
padding: 30px;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
|
|
10
|
+
.tag-item {
|
|
11
|
+
border-color: $qld-light-grey;
|
|
12
|
+
color: $qld-dark-grey-muted;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.tag-item {
|
|
16
|
+
margin: 0 0.5rem 0.5rem 0;
|
|
17
|
+
list-style-type: none;
|
|
18
|
+
display: inline-block;
|
|
19
|
+
border-radius: 16px;
|
|
20
|
+
padding: 0 0.5rem;
|
|
21
|
+
border-width: 1px;
|
|
22
|
+
border-style: solid;
|
|
23
|
+
font-size: 0.875rem;
|
|
24
|
+
line-height: 1.5rem;
|
|
25
|
+
text-align: center;
|
|
26
|
+
|
|
27
|
+
&:focus-within {
|
|
28
|
+
outline: 2px solid var(--qld-focus-color);
|
|
29
|
+
outline-offset: 2px;
|
|
30
|
+
border-radius: 16px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.tag-large {
|
|
34
|
+
margin: 0 1rem 1rem 0;
|
|
35
|
+
line-height: 1.5;
|
|
36
|
+
font-size: 1rem;
|
|
37
|
+
padding: 0.5rem 1rem;
|
|
38
|
+
border-radius: 32px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.tag-link {
|
|
42
|
+
color: $qld-sapphire-blue;
|
|
43
|
+
border-color: $qld-sapphire-blue;
|
|
44
|
+
|
|
45
|
+
a {
|
|
46
|
+
text-decoration: none;
|
|
47
|
+
|
|
48
|
+
&:focus {
|
|
49
|
+
outline: none;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:hover,
|
|
54
|
+
&:active,
|
|
55
|
+
&:focus {
|
|
56
|
+
background-color: $qld-textbox-border-color;
|
|
57
|
+
|
|
58
|
+
a {
|
|
59
|
+
color: white;
|
|
60
|
+
text-decoration: underline;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.tag-link:not(.tag-large) {
|
|
66
|
+
|
|
67
|
+
&:hover,
|
|
68
|
+
&:active,
|
|
69
|
+
&:focus {
|
|
70
|
+
text-underline-offset: 0.1rem;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.tag-info {
|
|
12
75
|
color: $qld-dark-grey-muted;
|
|
76
|
+
border: 0;
|
|
77
|
+
background-color: $qld-extra-light-grey;
|
|
13
78
|
}
|
|
14
79
|
}
|
|
80
|
+
|
|
15
81
|
&.tag-dark {
|
|
16
82
|
background-color: $qld-sapphire-blue;
|
|
83
|
+
|
|
17
84
|
.tag-item {
|
|
18
85
|
color: $qld-dark-text;
|
|
19
86
|
}
|
|
87
|
+
|
|
88
|
+
.tag-link {
|
|
89
|
+
color: $qld-white;
|
|
90
|
+
border-color: $qld-white;
|
|
91
|
+
|
|
92
|
+
a {
|
|
93
|
+
color: white;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&:hover,
|
|
97
|
+
&:active,
|
|
98
|
+
&:focus {
|
|
99
|
+
background-color: $qld-light-green-dark;
|
|
100
|
+
border-color: $qld-light-green-dark;
|
|
101
|
+
|
|
102
|
+
a {
|
|
103
|
+
color: $qld-text-darkest;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.tag-info {
|
|
109
|
+
background-color: $qld-color-dark-background--shade;
|
|
110
|
+
}
|
|
20
111
|
}
|
|
112
|
+
|
|
21
113
|
&.tag-alt {
|
|
22
114
|
background-color: $qld-light-grey-alt;
|
|
115
|
+
|
|
23
116
|
.tag-item {
|
|
24
117
|
color: $qld-dark-grey-muted;
|
|
25
118
|
border-color: $qld-soft-grey;
|
|
26
119
|
}
|
|
120
|
+
|
|
121
|
+
.tag-link:hover,
|
|
122
|
+
.tag-link:active,
|
|
123
|
+
.tag-link:focus {
|
|
124
|
+
color: $qld-white !important;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.tag-link {
|
|
128
|
+
color: $qld-sapphire-blue;
|
|
129
|
+
border-color: $qld-sapphire-blue;
|
|
130
|
+
}
|
|
27
131
|
}
|
|
132
|
+
|
|
28
133
|
&.tag-dark-alt {
|
|
29
134
|
background-color: $qld-dark-blue;
|
|
135
|
+
|
|
30
136
|
.tag-item {
|
|
137
|
+
a {
|
|
138
|
+
color: $qld-dark-text;
|
|
139
|
+
}
|
|
140
|
+
|
|
31
141
|
color: $qld-dark-text;
|
|
32
142
|
border-color: $qld-dark-border;
|
|
33
143
|
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
144
|
|
|
37
|
-
.tag-
|
|
38
|
-
|
|
39
|
-
list-style-type: none;
|
|
40
|
-
display: inline-block;
|
|
41
|
-
border-radius: 16px;
|
|
42
|
-
padding: 0 0.5rem;
|
|
43
|
-
border-width: 1px;
|
|
44
|
-
border-style: solid;
|
|
45
|
-
font-size: 0.875rem;
|
|
46
|
-
line-height: 1.5rem;
|
|
47
|
-
text-align: center;
|
|
48
|
-
&:focus-within {
|
|
49
|
-
outline: 2px solid var(--qld-focus-color);
|
|
50
|
-
outline-offset: 2px;
|
|
51
|
-
border-radius: 16px;
|
|
52
|
-
}
|
|
53
|
-
&.tag-large {
|
|
54
|
-
margin: 0 1rem 1rem 0;
|
|
55
|
-
line-height: 1.5;
|
|
56
|
-
font-size: 1rem;
|
|
57
|
-
padding: 0.5rem 1rem;
|
|
58
|
-
border-radius: 32px;
|
|
59
|
-
}
|
|
60
|
-
&.tag-link {
|
|
61
|
-
color: $qld-sapphire-blue;
|
|
62
|
-
border-color: $qld-sapphire-blue;
|
|
63
|
-
a {
|
|
64
|
-
text-decoration: none;
|
|
65
|
-
&:focus {
|
|
66
|
-
outline: none;
|
|
67
|
-
}
|
|
145
|
+
.tag-info {
|
|
146
|
+
background-color: $qld-dark-blue-shade;
|
|
68
147
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
148
|
+
|
|
149
|
+
.tag-link {
|
|
150
|
+
|
|
151
|
+
&:hover,
|
|
152
|
+
&:active,
|
|
153
|
+
&:focus {
|
|
154
|
+
background-color: $qld-light-green-dark;
|
|
155
|
+
border-color: $qld-light-green-dark;
|
|
156
|
+
|
|
157
|
+
a {
|
|
158
|
+
color: $qld-text-darkest;
|
|
159
|
+
}
|
|
76
160
|
}
|
|
77
161
|
}
|
|
78
162
|
}
|
|
79
|
-
&.tag-link:not(.tag-large) {
|
|
80
|
-
&:hover,
|
|
81
|
-
&:active,
|
|
82
|
-
&:focus {
|
|
83
|
-
text-underline-offset: 0.1rem;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
&.tag-info {
|
|
87
|
-
color: $qld-dark-grey-muted;
|
|
88
|
-
border-color: $qld-extra-light-grey;
|
|
89
|
-
background-color: $qld-extra-light-grey;
|
|
90
|
-
}
|
|
91
163
|
}
|
|
92
164
|
|
|
93
165
|
$close-icon: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M180.7 180.7C186.9 174.4 197.1 174.4 203.3 180.7L256 233.4L308.7 180.7C314.9 174.4 325.1 174.4 331.3 180.7C337.6 186.9 337.6 197.1 331.3 203.3L278.6 256L331.3 308.7C337.6 314.9 337.6 325.1 331.3 331.3C325.1 337.6 314.9 337.6 308.7 331.3L256 278.6L203.3 331.3C197.1 337.6 186.9 337.6 180.7 331.3C174.4 325.1 174.4 314.9 180.7 308.7L233.4 256L180.7 203.3C174.4 197.1 174.4 186.9 180.7 180.7zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 32C132.3 32 32 132.3 32 256C32 379.7 132.3 480 256 480C379.7 480 480 379.7 480 256C480 132.3 379.7 32 256 32z'/%3E%3C/svg%3E";
|
|
94
166
|
$close-icon-hover: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM175 208.1L222.1 255.1L175 303C165.7 312.4 165.7 327.6 175 336.1C184.4 346.3 199.6 346.3 208.1 336.1L255.1 289.9L303 336.1C312.4 346.3 327.6 346.3 336.1 336.1C346.3 327.6 346.3 312.4 336.1 303L289.9 255.1L336.1 208.1C346.3 199.6 346.3 184.4 336.1 175C327.6 165.7 312.4 165.7 303 175L255.1 222.1L208.1 175C199.6 165.7 184.4 165.7 175 175C165.7 184.4 165.7 199.6 175 208.1V208.1z'/%3E%3C/svg%3E";
|
|
167
|
+
|
|
95
168
|
.close-icon {
|
|
96
169
|
mask-image: url($close-icon);
|
|
97
170
|
background-color: $qld-dark-green;
|
|
@@ -101,6 +174,7 @@ $close-icon-hover: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'
|
|
|
101
174
|
border: none;
|
|
102
175
|
margin-left: 0.5rem;
|
|
103
176
|
cursor: pointer;
|
|
177
|
+
|
|
104
178
|
&:hover {
|
|
105
179
|
background-color: $qld-alt-button-hover;
|
|
106
180
|
mask-image: url($close-icon-hover);
|
|
@@ -28,9 +28,9 @@ export const Default = {
|
|
|
28
28
|
args: defaultdata.default,
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
//
|
|
32
|
-
export const
|
|
33
|
-
args: defaultdata.
|
|
31
|
+
// Info Tag story
|
|
32
|
+
export const Information = {
|
|
33
|
+
args: defaultdata.info,
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
// Action Tag story
|
|
@@ -38,17 +38,17 @@ export const Action = {
|
|
|
38
38
|
args: defaultdata.action,
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
-
//
|
|
42
|
-
export const
|
|
43
|
-
args: defaultdata.
|
|
41
|
+
// Filter Tag story
|
|
42
|
+
export const Filter = {
|
|
43
|
+
args: defaultdata.filter,
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
//
|
|
47
|
-
export const
|
|
48
|
-
args: defaultdata.
|
|
46
|
+
// Large Tag story
|
|
47
|
+
export const Large = {
|
|
48
|
+
args: defaultdata.large,
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
//
|
|
52
|
-
export const
|
|
53
|
-
args: defaultdata.
|
|
51
|
+
// Dark Tag story
|
|
52
|
+
export const Dark = {
|
|
53
|
+
args: defaultdata.dark,
|
|
54
54
|
};
|