@digigov/css 1.0.0-480e3d97 → 1.0.0-55e4210c
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/components.js +1 -1
- package/dist/digigov.css +2 -2
- package/dist/utilities/index.css +1 -1
- package/dist/utilities.js +1 -1
- package/package.json +4 -4
- package/src/components/accessibility-menu.css +8 -3
- package/src/components/accordion.css +19 -12
- package/src/components/admin-header.css +26 -0
- package/src/components/autocomplete.css +12 -9
- package/src/components/bottom-info.css +2 -1
- package/src/components/button.css +57 -31
- package/src/components/card.css +17 -14
- package/src/components/checkboxes.css +8 -3
- package/src/components/chip.css +24 -9
- package/src/components/copy-to-clipboard.css +16 -9
- package/src/components/drawer.css +18 -6
- package/src/components/dropdown.css +51 -54
- package/src/components/filter.css +66 -37
- package/src/components/footer.css +12 -7
- package/src/components/form.css +38 -29
- package/src/components/header.css +85 -29
- package/src/components/hidden.css +3 -0
- package/src/components/index.css +2 -0
- package/src/components/layout.css +14 -14
- package/src/components/loader.css +5 -16
- package/src/components/masthead.css +78 -0
- package/src/components/misc.css +9 -41
- package/src/components/modal.css +5 -0
- package/src/components/nav.css +67 -125
- package/src/components/pagination.css +37 -23
- package/src/components/phase-banner.css +0 -6
- package/src/components/radios.css +12 -18
- package/src/components/stack.css +18 -18
- package/src/components/stepnav.css +13 -6
- package/src/components/summary-list.css +22 -15
- package/src/components/svg-icons.css +0 -59
- package/src/components/table.css +34 -40
- package/src/components/task-list.css +20 -14
- package/src/components/timeline.css +8 -1
- package/src/components/typography.css +65 -70
- package/src/components/warning-text.css +19 -0
- package/src/utilities/index.css +120 -0
- package/src/utilities/utilities.css +126 -3
|
@@ -2,15 +2,6 @@
|
|
|
2
2
|
font-size: var(--summary-list-font-size);
|
|
3
3
|
@apply m-0 mb-6 sm:mb-8 w-full
|
|
4
4
|
sm:table sm:w-full sm:table-fixed;
|
|
5
|
-
.govgr-btn {
|
|
6
|
-
@apply m-0 inline-flex;
|
|
7
|
-
}
|
|
8
|
-
.govgr-dropdown__content {
|
|
9
|
-
@apply mt-2;
|
|
10
|
-
}
|
|
11
|
-
.govgr-btn-group {
|
|
12
|
-
@apply mb-0 text-right sm:justify-end gap-y-2;
|
|
13
|
-
}
|
|
14
5
|
}
|
|
15
6
|
.govgr-summary-list--no-border {
|
|
16
7
|
.govgr-summary-list__key,
|
|
@@ -41,12 +32,6 @@
|
|
|
41
32
|
}
|
|
42
33
|
.govgr-summary-list__value {
|
|
43
34
|
@apply sm:w-6/12;
|
|
44
|
-
.govgr-link {
|
|
45
|
-
@apply pl-4;
|
|
46
|
-
}
|
|
47
|
-
.govgr-btn {
|
|
48
|
-
@apply ml-4;
|
|
49
|
-
}
|
|
50
35
|
}
|
|
51
36
|
.govgr-summary-list__actions {
|
|
52
37
|
@apply sm:w-3/12 sm:pr-0 sm:text-right;
|
|
@@ -76,3 +61,25 @@
|
|
|
76
61
|
@apply m-0
|
|
77
62
|
sm:table-cell sm:py-2 sm:pr-4 sm:border-b sm:border-solid sm:border-base-300;
|
|
78
63
|
}
|
|
64
|
+
|
|
65
|
+
/* overrides */
|
|
66
|
+
|
|
67
|
+
.govgr-summary-list {
|
|
68
|
+
.govgr-dropdown__content {
|
|
69
|
+
@apply mt-2;
|
|
70
|
+
}
|
|
71
|
+
.govgr-btn {
|
|
72
|
+
@apply m-0 inline-flex;
|
|
73
|
+
}
|
|
74
|
+
.govgr-btn-group {
|
|
75
|
+
@apply mb-0 text-right sm:justify-end gap-y-2;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
.govgr-summary-list__value {
|
|
79
|
+
.govgr-btn {
|
|
80
|
+
@apply ml-4;
|
|
81
|
+
}
|
|
82
|
+
.govgr-link {
|
|
83
|
+
@apply pl-4;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -44,65 +44,6 @@
|
|
|
44
44
|
.govgr-svg-icon--xl {
|
|
45
45
|
@apply h-10 w-10 !important;
|
|
46
46
|
}
|
|
47
|
-
.govgr-btn-primary,
|
|
48
|
-
.govgr-btn-warning {
|
|
49
|
-
.govgr-svg-icon {
|
|
50
|
-
fill: var(--color-white);
|
|
51
|
-
}
|
|
52
|
-
.govgr-svg-icon--more-vert {
|
|
53
|
-
@apply h-6 w-6 md:h-8 md:w-8;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
.govgr-btn-secondary {
|
|
57
|
-
.govgr-svg-icon {
|
|
58
|
-
fill: var(--color-base-content);
|
|
59
|
-
}
|
|
60
|
-
.govgr-svg-icon--more-vert {
|
|
61
|
-
@apply h-6 w-6;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
@media print {
|
|
65
|
-
.govgr-btn-primary,
|
|
66
|
-
.govgr-btn-warning,
|
|
67
|
-
.govgr-btn-secondary {
|
|
68
|
-
.govgr-svg-icon {
|
|
69
|
-
fill: var(--color-base-content);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
.govgr-link {
|
|
74
|
-
.govgr-svg-icon {
|
|
75
|
-
fill: var(--color-link);
|
|
76
|
-
}
|
|
77
|
-
&:hover {
|
|
78
|
-
.govgr-svg-icon {
|
|
79
|
-
fill: var(--color-link-hover);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
&:focus {
|
|
83
|
-
.govgr-svg-icon {
|
|
84
|
-
fill: var(--color-link-active);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
.govgr-header,
|
|
89
|
-
.govgr-admin-header {
|
|
90
|
-
.govgr-link {
|
|
91
|
-
.govgr-svg-icon {
|
|
92
|
-
fill: var(--color-white);
|
|
93
|
-
}
|
|
94
|
-
&:hover {
|
|
95
|
-
.govgr-svg-icon {
|
|
96
|
-
fill: var(--color-white);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
&:focus {
|
|
100
|
-
.govgr-svg-icon {
|
|
101
|
-
fill: var(--color-link-active);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
47
|
.govgr-svg-icon--burger {
|
|
107
48
|
fill: var(--color-base-content);
|
|
108
49
|
/* @apply w-8 h-8 float-right cursor-pointer transition-all */
|
package/src/components/table.css
CHANGED
|
@@ -26,12 +26,6 @@
|
|
|
26
26
|
@apply w-full border-collapse table;
|
|
27
27
|
@apply md:mb-10 mb-6 text-base-content md:text-lg text-base font-normal antialiased;
|
|
28
28
|
border-spacing: 0;
|
|
29
|
-
.govgr-dropdown__content {
|
|
30
|
-
@apply mt-0;
|
|
31
|
-
}
|
|
32
|
-
.govgr-dropdown__button {
|
|
33
|
-
@apply mb-0;
|
|
34
|
-
}
|
|
35
29
|
}
|
|
36
30
|
.govgr-table-sort__icons-container {
|
|
37
31
|
@apply flex flex-col;
|
|
@@ -76,14 +70,6 @@
|
|
|
76
70
|
@apply pl-2;
|
|
77
71
|
}
|
|
78
72
|
}
|
|
79
|
-
.govgr-table__cell {
|
|
80
|
-
.govgr-btn {
|
|
81
|
-
@apply mb-0;
|
|
82
|
-
}
|
|
83
|
-
.govgr-btn-group {
|
|
84
|
-
@apply mb-0;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
73
|
.govgr-table--dark,
|
|
88
74
|
.govgr-table--zebra {
|
|
89
75
|
.govgr-table__header,
|
|
@@ -235,32 +221,6 @@
|
|
|
235
221
|
.govgr-table__row {
|
|
236
222
|
@apply bg-base-100;
|
|
237
223
|
}
|
|
238
|
-
.govgr-table__header {
|
|
239
|
-
.govgr-dropdown__button:not(:focus) {
|
|
240
|
-
@apply no-underline font-bold text-base-content !important;
|
|
241
|
-
}
|
|
242
|
-
.govgr-dropdown__button--underline:not(:focus) {
|
|
243
|
-
@apply underline !important;
|
|
244
|
-
text-decoration-thickness: 2px !important;
|
|
245
|
-
}
|
|
246
|
-
.govgr-dropdown__content {
|
|
247
|
-
@apply py-0;
|
|
248
|
-
}
|
|
249
|
-
.govgr-vertical-nav__item {
|
|
250
|
-
@apply flex font-normal no-underline;
|
|
251
|
-
}
|
|
252
|
-
.govgr-vertical-nav__item--active:not(:focus) {
|
|
253
|
-
@apply bg-base-200 font-normal !important;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
.govgr-table__cell {
|
|
257
|
-
.govgr-btn {
|
|
258
|
-
@apply mb-0;
|
|
259
|
-
}
|
|
260
|
-
.govgr-btn-group {
|
|
261
|
-
@apply mb-0;
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
224
|
.govgr-table__header,
|
|
265
225
|
.govgr-table__cell {
|
|
266
226
|
@apply pr-5 py-2.5 pl-0 border-b border-solid border-base-300 text-left align-middle;
|
|
@@ -300,3 +260,37 @@
|
|
|
300
260
|
backdrop-filter: blur(0.6px);
|
|
301
261
|
}
|
|
302
262
|
}
|
|
263
|
+
|
|
264
|
+
/* overrides */
|
|
265
|
+
|
|
266
|
+
.govgr-table {
|
|
267
|
+
.govgr-dropdown__content {
|
|
268
|
+
@apply mt-0;
|
|
269
|
+
}
|
|
270
|
+
.govgr-dropdown__button {
|
|
271
|
+
@apply mb-0;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
.govgr-table__cell {
|
|
275
|
+
.govgr-btn {
|
|
276
|
+
@apply mb-0;
|
|
277
|
+
}
|
|
278
|
+
.govgr-btn-group {
|
|
279
|
+
@apply mb-0;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
.govgr-table__header {
|
|
283
|
+
.govgr-dropdown__content {
|
|
284
|
+
@apply py-0;
|
|
285
|
+
}
|
|
286
|
+
.govgr-dropdown__button:not(:focus) {
|
|
287
|
+
@apply no-underline font-bold text-base-content !important;
|
|
288
|
+
}
|
|
289
|
+
.govgr-dropdown__button--underline:not(:focus) {
|
|
290
|
+
@apply underline !important;
|
|
291
|
+
text-decoration-thickness: 2px !important;
|
|
292
|
+
}
|
|
293
|
+
.govgr-nav__list-item-link, .govgr-nav__list-item-btn {
|
|
294
|
+
@apply flex no-underline;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
@@ -15,14 +15,32 @@
|
|
|
15
15
|
}
|
|
16
16
|
.govgr-task-list__content {
|
|
17
17
|
@apply mb-4;
|
|
18
|
+
}
|
|
19
|
+
.govgr-task-list__content__tag {
|
|
20
|
+
@apply px-2 py-1 mr-2 inline-block font-sans text-sm uppercase tracking-widest print:border-2 print:bg-white print:mr-4;
|
|
21
|
+
}
|
|
22
|
+
.govgr-task-list__content__tag--info {
|
|
23
|
+
@apply bg-info text-white print:border-info-hover print:text-info-hover;
|
|
24
|
+
}
|
|
25
|
+
.govgr-task-list__content__tag--primary {
|
|
26
|
+
@apply bg-secondary text-base-content print:border-info print:text-info;
|
|
27
|
+
}
|
|
28
|
+
.govgr-task-list__content__tag--secondary {
|
|
29
|
+
@apply bg-base-300 print:border-base-800 print:text-base-800;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* overrides */
|
|
33
|
+
|
|
34
|
+
.govgr-task-list__content {
|
|
18
35
|
.govgr-body {
|
|
19
36
|
@apply mb-2 md:mb-3;
|
|
20
37
|
}
|
|
21
38
|
.govgr-summary-list__row:first-child {
|
|
22
|
-
& >
|
|
39
|
+
& > .govgr-summary-list__key {
|
|
23
40
|
@apply border-t-2 border-base-400;
|
|
24
41
|
}
|
|
25
|
-
& >
|
|
42
|
+
& > .govgr-summary-list__value,
|
|
43
|
+
& > .govgr-summary-list__actions {
|
|
26
44
|
@apply sm:border-t-2 sm:border-base-400;
|
|
27
45
|
}
|
|
28
46
|
}
|
|
@@ -30,15 +48,3 @@
|
|
|
30
48
|
@apply font-normal sm:mb-0 mb-2 pt-2;
|
|
31
49
|
}
|
|
32
50
|
}
|
|
33
|
-
.govgr-task-list__content__tag {
|
|
34
|
-
@apply px-2 py-1 mr-2 inline-block font-sans text-sm uppercase tracking-widest;
|
|
35
|
-
}
|
|
36
|
-
.govgr-task-list__content__tag--info {
|
|
37
|
-
@apply bg-info text-white print:border-2 print:bg-white print:border-info-hover print:text-info-hover print:mr-4;
|
|
38
|
-
}
|
|
39
|
-
.govgr-task-list__content__tag--primary {
|
|
40
|
-
@apply bg-secondary text-base-content print:border-2 print:bg-white print:border-info print:text-info print:mr-4;
|
|
41
|
-
}
|
|
42
|
-
.govgr-task-list__content__tag--secondary {
|
|
43
|
-
@apply bg-base-300 print:border-2 print:bg-white print:border-base-800 print:text-base-800 print:mr-4;
|
|
44
|
-
}
|
|
@@ -31,13 +31,20 @@
|
|
|
31
31
|
}
|
|
32
32
|
.govgr-timeline__content {
|
|
33
33
|
@apply mb-4;
|
|
34
|
+
}
|
|
35
|
+
.govgr-timeline__actions {
|
|
36
|
+
@apply flex flex-wrap items-center gap-4 mb-6;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* overrides */
|
|
40
|
+
|
|
41
|
+
.govgr-timeline__content {
|
|
34
42
|
.govgr-hint,
|
|
35
43
|
.govgr-body {
|
|
36
44
|
@apply mb-2 md:mb-3;
|
|
37
45
|
}
|
|
38
46
|
}
|
|
39
47
|
.govgr-timeline__actions {
|
|
40
|
-
@apply flex flex-wrap items-center gap-4 mb-6;
|
|
41
48
|
.govgr-btn,
|
|
42
49
|
.govgr-link {
|
|
43
50
|
@apply mb-0;
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
.govgr-heading-xl {
|
|
2
2
|
@apply mx-0 max-w-2xl;
|
|
3
3
|
font-size: var(--heading-xl-font-size);
|
|
4
|
-
line-height:var(--heading-xl-line-height);
|
|
5
|
-
margin-bottom:var(--heading-xl-margin-bottom);
|
|
4
|
+
line-height: var(--heading-xl-line-height);
|
|
5
|
+
margin-bottom: var(--heading-xl-margin-bottom);
|
|
6
6
|
font-weight: var(--heading-xl-font-weight);
|
|
7
7
|
letter-spacing: var(--heading-xl-letter-spacing);
|
|
8
8
|
}
|
|
9
9
|
.govgr-heading-lg {
|
|
10
10
|
@apply mx-0;
|
|
11
11
|
font-size: var(--heading-lg-font-size);
|
|
12
|
-
line-height:var(--heading-lg-line-height);
|
|
13
|
-
margin-bottom:var(--heading-lg-margin-bottom);
|
|
12
|
+
line-height: var(--heading-lg-line-height);
|
|
13
|
+
margin-bottom: var(--heading-lg-margin-bottom);
|
|
14
14
|
font-weight: var(--heading-lg-font-weight);
|
|
15
15
|
letter-spacing: var(--heading-lg-letter-spacing);
|
|
16
16
|
}
|
|
17
17
|
.govgr-heading-md {
|
|
18
18
|
@apply mx-0;
|
|
19
19
|
font-size: var(--heading-md-font-size);
|
|
20
|
-
line-height:var(--heading-md-line-height);
|
|
21
|
-
margin-bottom:var(--heading-md-margin-bottom);
|
|
20
|
+
line-height: var(--heading-md-line-height);
|
|
21
|
+
margin-bottom: var(--heading-md-margin-bottom);
|
|
22
22
|
font-weight: var(--heading-md-font-weight);
|
|
23
23
|
letter-spacing: var(--heading-md-letter-spacing);
|
|
24
24
|
}
|
|
25
25
|
.govgr-heading-sm {
|
|
26
|
-
@apply mx-0
|
|
26
|
+
@apply mx-0;
|
|
27
27
|
font-size: var(--heading-sm-font-size);
|
|
28
|
-
line-height:var(--heading-sm-line-height);
|
|
29
|
-
margin-bottom:var(--heading-sm-margin-bottom);
|
|
28
|
+
line-height: var(--heading-sm-line-height);
|
|
29
|
+
margin-bottom: var(--heading-sm-margin-bottom);
|
|
30
30
|
font-weight: var(--heading-sm-font-weight);
|
|
31
31
|
letter-spacing: var(--heading-sm-letter-spacing);
|
|
32
|
-
}
|
|
32
|
+
}
|
|
33
33
|
.govgr-heading-xs {
|
|
34
|
-
@apply mx-0
|
|
34
|
+
@apply mx-0;
|
|
35
35
|
font-size: var(--heading-xs-font-size);
|
|
36
|
-
line-height:var(--heading-xs-line-height);
|
|
37
|
-
margin-bottom:var(--heading-xs-margin-bottom);
|
|
36
|
+
line-height: var(--heading-xs-line-height);
|
|
37
|
+
margin-bottom: var(--heading-xs-margin-bottom);
|
|
38
38
|
font-weight: var(--heading-xs-font-weight);
|
|
39
39
|
letter-spacing: var(--heading-xs-letter-spacing);
|
|
40
|
-
}
|
|
40
|
+
}
|
|
41
41
|
.govgr-caption-xl {
|
|
42
42
|
@apply block mx-0 font-normal;
|
|
43
43
|
color: var(--caption-xl-color);
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
margin-bottom: var(--caption-xl-margin-bottom);
|
|
47
47
|
font-weight: var(--caption-xl-font-weight);
|
|
48
48
|
letter-spacing: var(--heading-xl-letter-spacing);
|
|
49
|
-
|
|
50
49
|
}
|
|
51
50
|
.govgr-caption-lg {
|
|
52
51
|
@apply block mx-0 font-normal;
|
|
@@ -56,7 +55,6 @@
|
|
|
56
55
|
margin-bottom: var(--caption-lg-margin-bottom);
|
|
57
56
|
font-weight: var(--caption-lg-font-weight);
|
|
58
57
|
letter-spacing: var(--caption-lg-letter-spacing);
|
|
59
|
-
|
|
60
58
|
}
|
|
61
59
|
.govgr-caption-md {
|
|
62
60
|
@apply block mx-0 font-normal;
|
|
@@ -66,7 +64,6 @@
|
|
|
66
64
|
margin-bottom: var(--caption-md-margin-bottom);
|
|
67
65
|
font-weight: var(--caption-md-font-weight);
|
|
68
66
|
letter-spacing: var(--caption-md-letter-spacing);
|
|
69
|
-
|
|
70
67
|
}
|
|
71
68
|
.govgr-\!-font-size-14 {
|
|
72
69
|
@apply text-xs md:text-sm !important;
|
|
@@ -99,21 +96,26 @@
|
|
|
99
96
|
letter-spacing: var(--list-letter-spacing);
|
|
100
97
|
.govgr-list__item {
|
|
101
98
|
@apply mb-2;
|
|
102
|
-
&:last-child{
|
|
99
|
+
&:last-child {
|
|
103
100
|
@apply mb-0;
|
|
104
101
|
}
|
|
105
102
|
}
|
|
106
103
|
}
|
|
107
|
-
.govgr-list__item
|
|
104
|
+
.govgr-list__item > .govgr-list--bullet:nth-child(1) {
|
|
108
105
|
list-style: circle inside none;
|
|
109
106
|
}
|
|
110
|
-
.govgr-list__item
|
|
107
|
+
.govgr-list__item
|
|
108
|
+
> .govgr-list
|
|
109
|
+
> .govgr-list__item
|
|
110
|
+
> .govgr-list--bullet:nth-child(1) {
|
|
111
111
|
@apply list-disc;
|
|
112
112
|
}
|
|
113
|
-
.govgr-list__item
|
|
113
|
+
.govgr-list__item
|
|
114
|
+
> .govgr-list:not(.govgr-list--bullet):not(.govgr-list--number):nth-child(1)
|
|
115
|
+
> .govgr-list__item {
|
|
114
116
|
@apply pl-10;
|
|
115
117
|
}
|
|
116
|
-
.govgr-list__item
|
|
118
|
+
.govgr-list__item > .govgr-list {
|
|
117
119
|
@apply mb-0 mt-2;
|
|
118
120
|
}
|
|
119
121
|
.govgr-list--bullet {
|
|
@@ -122,9 +124,9 @@
|
|
|
122
124
|
.govgr-list--number {
|
|
123
125
|
@apply list-decimal list-outside pl-6;
|
|
124
126
|
}
|
|
125
|
-
.govgr-list--spaced:not(.govgr-list--horizontal)
|
|
127
|
+
.govgr-list--spaced:not(.govgr-list--horizontal) > .govgr-list__item {
|
|
126
128
|
@apply mb-4;
|
|
127
|
-
&:last-child{
|
|
129
|
+
&:last-child {
|
|
128
130
|
@apply mb-0;
|
|
129
131
|
}
|
|
130
132
|
}
|
|
@@ -132,7 +134,6 @@
|
|
|
132
134
|
@apply flex flex-wrap gap-x-6 gap-y-3;
|
|
133
135
|
.govgr-list__item {
|
|
134
136
|
@apply w-full sm:w-auto;
|
|
135
|
-
|
|
136
137
|
}
|
|
137
138
|
&.govgr-list--spaced {
|
|
138
139
|
@apply gap-x-10 gap-y-5;
|
|
@@ -146,10 +147,11 @@
|
|
|
146
147
|
column-count: 2;
|
|
147
148
|
}
|
|
148
149
|
}
|
|
149
|
-
.govgr-list
|
|
150
|
+
.govgr-list {
|
|
150
151
|
@apply md:mb-8 mb-4 text-base-content;
|
|
151
152
|
}
|
|
152
153
|
.govgr-blockquote {
|
|
154
|
+
@apply lg:mb-8 mb-4 mt-8 md:mb-8 p-4 border-l-8 border-base-500 text-base-content;
|
|
153
155
|
font-size: var(--blockquote-font-size);
|
|
154
156
|
line-height: var(--blockquote-line-height);
|
|
155
157
|
}
|
|
@@ -175,11 +177,6 @@
|
|
|
175
177
|
color: var(--hint-color);
|
|
176
178
|
letter-spacing: var(--hint-letter-spacing);
|
|
177
179
|
}
|
|
178
|
-
.govgr-background-dark, .govgr-masthead--primary {
|
|
179
|
-
.govgr-hint {
|
|
180
|
-
@apply opacity-70 text-white print:text-base-content;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
180
|
|
|
184
181
|
.govgr-\!-font-weight-regular {
|
|
185
182
|
@apply font-normal !important;
|
|
@@ -201,36 +198,16 @@
|
|
|
201
198
|
&:focus {
|
|
202
199
|
color: var(--link-color-active);
|
|
203
200
|
background-color: var(--color-focus);
|
|
204
|
-
box-shadow:
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
.govgr-header {
|
|
210
|
-
.govgr-header__content > .govgr-link {
|
|
211
|
-
@apply text-white focus:text-link-active print:text-base-content;
|
|
212
|
-
}
|
|
213
|
-
.govgr-header__section > .govgr-link {
|
|
214
|
-
@apply text-white focus:text-link-active print:text-base-content;
|
|
201
|
+
box-shadow:
|
|
202
|
+
0 -2px var(--color-focus),
|
|
203
|
+
0 4px var(--color-base-content);
|
|
204
|
+
text-decoration: none !important;
|
|
205
|
+
outline: none;
|
|
215
206
|
}
|
|
216
207
|
}
|
|
217
208
|
.govgr-link--no-underline {
|
|
218
209
|
@apply no-underline hover:underline;
|
|
219
210
|
}
|
|
220
|
-
.govgr-masthead--primary {
|
|
221
|
-
.govgr-link {
|
|
222
|
-
@apply text-white hover:text-white focus:text-base-content print:text-base-content;
|
|
223
|
-
&:hover {
|
|
224
|
-
text-decoration-thickness: 2px;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
.govgr-link--no-underline {
|
|
228
|
-
@apply no-underline hover:underline;
|
|
229
|
-
&:hover {
|
|
230
|
-
text-decoration-thickness: 2px;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
211
|
|
|
235
212
|
.govgr-back-link {
|
|
236
213
|
font-size: var(--back-link-font-size);
|
|
@@ -241,18 +218,11 @@
|
|
|
241
218
|
}
|
|
242
219
|
&:focus {
|
|
243
220
|
background-color: var(--color-focus);
|
|
244
|
-
box-shadow:
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
fill:var(--color-base-content);
|
|
250
|
-
@apply md:w-4 md:h-4 w-3 h-3 inline-block mr-2;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
.govgr-masthead--primary {
|
|
254
|
-
.govgr-back-link {
|
|
255
|
-
@apply text-white print:text-base-content;
|
|
221
|
+
box-shadow:
|
|
222
|
+
0 -2px var(--color-focus),
|
|
223
|
+
0 4px var(--color-base-content);
|
|
224
|
+
text-decoration: none;
|
|
225
|
+
outline: none;
|
|
256
226
|
}
|
|
257
227
|
}
|
|
258
228
|
|
|
@@ -278,7 +248,8 @@
|
|
|
278
248
|
.govgr-body .govgr-link[href^="#"]:after {
|
|
279
249
|
display: none;
|
|
280
250
|
}
|
|
281
|
-
.govgr-link[href^="http://"]:after, .govgr-link[href^="https://"]:after
|
|
251
|
+
.govgr-link[href^="http://"]:after, .govgr-link[href^="https://"]:after
|
|
252
|
+
{
|
|
282
253
|
content: " (" attr(href) ")";
|
|
283
254
|
font-size: 80%;
|
|
284
255
|
}
|
|
@@ -288,4 +259,28 @@
|
|
|
288
259
|
.govgr-link {
|
|
289
260
|
@apply text-base-content;
|
|
290
261
|
}
|
|
291
|
-
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/* overrides */
|
|
265
|
+
|
|
266
|
+
.govgr-link {
|
|
267
|
+
.govgr-svg-icon {
|
|
268
|
+
fill: var(--color-link);
|
|
269
|
+
}
|
|
270
|
+
&:hover {
|
|
271
|
+
.govgr-svg-icon {
|
|
272
|
+
fill: var(--color-link-hover);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
&:focus {
|
|
276
|
+
.govgr-svg-icon {
|
|
277
|
+
fill: var(--color-link-active);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
.govgr-back-link {
|
|
282
|
+
.govgr-svg-icon--caret {
|
|
283
|
+
fill: var(--color-base-content);
|
|
284
|
+
@apply md:w-4 md:h-4 w-3 h-3 inline-block mr-2;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.govgr-warning-text {
|
|
2
|
+
font-size: var(--warning-text-font-size);
|
|
3
|
+
@apply p-4;
|
|
4
|
+
@apply flex pt-4 pb-4 pl-0 pr-0;
|
|
5
|
+
.govgr-warning-text__icon {
|
|
6
|
+
@apply text-base-content-invert font-bold bg-base-content text-3xl leading-10 text-center
|
|
7
|
+
rounded-3xl md:min-h-10 min-w-10 h-fit mr-6 mt-1
|
|
8
|
+
print:bg-white print:border-2 print:border-base-content print:text-base-content;
|
|
9
|
+
}
|
|
10
|
+
.govgr-warning-text__text {
|
|
11
|
+
@apply flex items-center;
|
|
12
|
+
}
|
|
13
|
+
.govgr-warning-text__assistive {
|
|
14
|
+
@apply absolute w-px h-px m-0 p-0 border-0 overflow-hidden whitespace-nowrap !important;
|
|
15
|
+
clip: rect(0 0 0 0) !important;
|
|
16
|
+
-webkit-clip-path: inset(50%) !important;
|
|
17
|
+
clip-path: inset(50%) !important;
|
|
18
|
+
}
|
|
19
|
+
}
|
package/src/utilities/index.css
CHANGED
|
@@ -462,4 +462,124 @@
|
|
|
462
462
|
}
|
|
463
463
|
.govgr-gap-12 {
|
|
464
464
|
@apply gap-12;
|
|
465
|
+
}
|
|
466
|
+
.govgr-gap-xs-1 {
|
|
467
|
+
@apply gap-1;
|
|
468
|
+
}
|
|
469
|
+
.govgr-gap-xs-2 {
|
|
470
|
+
@apply gap-2;
|
|
471
|
+
}
|
|
472
|
+
.govgr-gap-xs-4 {
|
|
473
|
+
@apply gap-4;
|
|
474
|
+
}
|
|
475
|
+
.govgr-gap-xs-5 {
|
|
476
|
+
@apply gap-5;
|
|
477
|
+
}
|
|
478
|
+
.govgr-gap-xs-6 {
|
|
479
|
+
@apply gap-6;
|
|
480
|
+
}
|
|
481
|
+
.govgr-gap-xs-8 {
|
|
482
|
+
@apply gap-8;
|
|
483
|
+
}
|
|
484
|
+
.govgr-gap-xs-10 {
|
|
485
|
+
@apply gap-10;
|
|
486
|
+
}
|
|
487
|
+
.govgr-gap-xs-12 {
|
|
488
|
+
@apply gap-12;
|
|
489
|
+
}
|
|
490
|
+
.govgr-gap-sm-1 {
|
|
491
|
+
@apply sm:gap-1;
|
|
492
|
+
}
|
|
493
|
+
.govgr-gap-sm-2 {
|
|
494
|
+
@apply sm:gap-2;
|
|
495
|
+
}
|
|
496
|
+
.govgr-gap-sm-4 {
|
|
497
|
+
@apply sm:gap-4;
|
|
498
|
+
}
|
|
499
|
+
.govgr-gap-sm-5 {
|
|
500
|
+
@apply sm:gap-5;
|
|
501
|
+
}
|
|
502
|
+
.govgr-gap-sm-6 {
|
|
503
|
+
@apply sm:gap-6;
|
|
504
|
+
}
|
|
505
|
+
.govgr-gap-sm-8 {
|
|
506
|
+
@apply sm:gap-8;
|
|
507
|
+
}
|
|
508
|
+
.govgr-gap-sm-10 {
|
|
509
|
+
@apply sm:gap-10;
|
|
510
|
+
}
|
|
511
|
+
.govgr-gap-sm-12 {
|
|
512
|
+
@apply sm:gap-12;
|
|
513
|
+
}
|
|
514
|
+
.govgr-gap-md-1 {
|
|
515
|
+
@apply md:gap-1;
|
|
516
|
+
}
|
|
517
|
+
.govgr-gap-md-2 {
|
|
518
|
+
@apply md:gap-2;
|
|
519
|
+
}
|
|
520
|
+
.govgr-gap-md-4 {
|
|
521
|
+
@apply md:gap-4;
|
|
522
|
+
}
|
|
523
|
+
.govgr-gap-md-5 {
|
|
524
|
+
@apply md:gap-5;
|
|
525
|
+
}
|
|
526
|
+
.govgr-gap-md-6 {
|
|
527
|
+
@apply md:gap-6;
|
|
528
|
+
}
|
|
529
|
+
.govgr-gap-md-8 {
|
|
530
|
+
@apply md:gap-8;
|
|
531
|
+
}
|
|
532
|
+
.govgr-gap-md-10 {
|
|
533
|
+
@apply md:gap-10;
|
|
534
|
+
}
|
|
535
|
+
.govgr-gap-md-12 {
|
|
536
|
+
@apply md:gap-12;
|
|
537
|
+
}
|
|
538
|
+
.govgr-gap-lg-1 {
|
|
539
|
+
@apply lg:gap-1;
|
|
540
|
+
}
|
|
541
|
+
.govgr-gap-lg-2 {
|
|
542
|
+
@apply lg:gap-2;
|
|
543
|
+
}
|
|
544
|
+
.govgr-gap-lg-4 {
|
|
545
|
+
@apply lg:gap-4;
|
|
546
|
+
}
|
|
547
|
+
.govgr-gap-lg-5 {
|
|
548
|
+
@apply lg:gap-5;
|
|
549
|
+
}
|
|
550
|
+
.govgr-gap-lg-6 {
|
|
551
|
+
@apply lg:gap-6;
|
|
552
|
+
}
|
|
553
|
+
.govgr-gap-lg-8 {
|
|
554
|
+
@apply lg:gap-8;
|
|
555
|
+
}
|
|
556
|
+
.govgr-gap-lg-10 {
|
|
557
|
+
@apply lg:gap-10;
|
|
558
|
+
}
|
|
559
|
+
.govgr-gap-lg-12 {
|
|
560
|
+
@apply lg:gap-12;
|
|
561
|
+
}
|
|
562
|
+
.govgr-gap-xl-1 {
|
|
563
|
+
@apply xl:gap-1;
|
|
564
|
+
}
|
|
565
|
+
.govgr-gap-xl-2 {
|
|
566
|
+
@apply xl:gap-2;
|
|
567
|
+
}
|
|
568
|
+
.govgr-gap-xl-4 {
|
|
569
|
+
@apply xl:gap-4;
|
|
570
|
+
}
|
|
571
|
+
.govgr-gap-xl-5 {
|
|
572
|
+
@apply xl:gap-5;
|
|
573
|
+
}
|
|
574
|
+
.govgr-gap-xl-6 {
|
|
575
|
+
@apply xl:gap-6;
|
|
576
|
+
}
|
|
577
|
+
.govgr-gap-xl-8 {
|
|
578
|
+
@apply xl:gap-8;
|
|
579
|
+
}
|
|
580
|
+
.govgr-gap-xl-10 {
|
|
581
|
+
@apply xl:gap-10;
|
|
582
|
+
}
|
|
583
|
+
.govgr-gap-xl-12 {
|
|
584
|
+
@apply xl:gap-12;
|
|
465
585
|
}
|