@digigov/css 1.0.0-079f34f3d → 1.0.0-290a96e2
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 +45 -44
- 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 +57 -37
- 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 +8 -6
- package/src/components/pagination.css +37 -23
- package/src/components/phase-banner.css +0 -11
- package/src/components/radios.css +12 -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 -37
- 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
|
@@ -1,30 +1,42 @@
|
|
|
1
|
-
.govgr-drawer{
|
|
1
|
+
.govgr-drawer {
|
|
2
2
|
@apply border border-base-300 bg-base-100 p-4
|
|
3
3
|
h-full max-h-screen min-h-screen overflow-y-scroll w-4/5 max-w-md
|
|
4
4
|
fixed top-0 bottom-0 z-40;
|
|
5
5
|
@apply shadow-thick !important;
|
|
6
6
|
}
|
|
7
|
-
.govgr-drawer--relative-sm{
|
|
7
|
+
.govgr-drawer--relative-sm {
|
|
8
8
|
@apply sm:block sm:relative sm:w-full max-h-full shadow-thick sm:shadow-none !important;
|
|
9
9
|
}
|
|
10
|
-
.govgr-drawer--relative-md{
|
|
10
|
+
.govgr-drawer--relative-md {
|
|
11
11
|
@apply md:block md:relative md:w-full max-h-full shadow-thick md:shadow-none !important;
|
|
12
12
|
}
|
|
13
|
-
.govgr-drawer--relative-lg{
|
|
13
|
+
.govgr-drawer--relative-lg {
|
|
14
14
|
@apply lg:block lg:relative lg:w-full max-h-full shadow-thick lg:shadow-none !important;
|
|
15
15
|
}
|
|
16
16
|
.govgr-drawer--right {
|
|
17
17
|
@apply right-0;
|
|
18
18
|
}
|
|
19
19
|
.govgr-drawer--left {
|
|
20
|
-
@apply left-0
|
|
20
|
+
@apply left-0;
|
|
21
21
|
}
|
|
22
22
|
.govgr-drawer--closed {
|
|
23
23
|
@apply hidden;
|
|
24
24
|
}
|
|
25
25
|
.govgr-drawer__heading {
|
|
26
26
|
@apply p-0 mb-4 flex justify-between align-baseline;
|
|
27
|
-
.govgr--drawer__close-icon
|
|
27
|
+
.govgr--drawer__close-icon {
|
|
28
|
+
@apply m-0;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* overrides */
|
|
33
|
+
|
|
34
|
+
.govgr-drawer__heading {
|
|
35
|
+
.govgr-heading-xs,
|
|
36
|
+
.govgr-heading-sm,
|
|
37
|
+
.govgr-heading-md,
|
|
38
|
+
.govgr-heading-lg,
|
|
39
|
+
.govgr-heading-xl {
|
|
28
40
|
@apply m-0;
|
|
29
41
|
}
|
|
30
42
|
}
|
|
@@ -1,31 +1,5 @@
|
|
|
1
1
|
.govgr-dropdown {
|
|
2
2
|
@apply w-fit relative;
|
|
3
|
-
&[open] {
|
|
4
|
-
.govgr-dropdown__button--arrow {
|
|
5
|
-
.govgr-svg-icon--arrow {
|
|
6
|
-
@apply transform -rotate-180;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.govgr-dropdown__button {
|
|
10
|
-
&.govgr-btn-primary {
|
|
11
|
-
background-color: var(--btn-primary-background-color-hover);
|
|
12
|
-
color: var(--btn-primary-color-hover);
|
|
13
|
-
}
|
|
14
|
-
&.govgr-btn-secondary {
|
|
15
|
-
background-color: var(--btn-secondary-background-color-hover);
|
|
16
|
-
color: var(--btn-secondary-color-hover);
|
|
17
|
-
}
|
|
18
|
-
&.govgr-btn-warning {
|
|
19
|
-
background-color: var(--btn-warning-background-color-hover);
|
|
20
|
-
color: var(--btn-warning-color-hover);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
.govgr-dropdown__button--arrow {
|
|
25
|
-
.govgr-svg-icon--arrow {
|
|
26
|
-
@apply transition duration-300;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
3
|
}
|
|
30
4
|
.govgr-dropdown--up {
|
|
31
5
|
.govgr-dropdown__content {
|
|
@@ -52,13 +26,6 @@
|
|
|
52
26
|
&::marker {
|
|
53
27
|
font-size: 0px;
|
|
54
28
|
}
|
|
55
|
-
.govgr-svg-icon {
|
|
56
|
-
@apply w-5 h-6 md:h-8;
|
|
57
|
-
@apply print:hidden;
|
|
58
|
-
}
|
|
59
|
-
&.govgr-link {
|
|
60
|
-
@apply inline-flex gap-1 items-center;
|
|
61
|
-
}
|
|
62
29
|
}
|
|
63
30
|
.govgr-dropdown__button.govgr-link + .govgr-dropdown__content {
|
|
64
31
|
@apply mt-4 print:text-base-content;
|
|
@@ -74,6 +41,51 @@
|
|
|
74
41
|
*:last-child {
|
|
75
42
|
@apply mb-0;
|
|
76
43
|
}
|
|
44
|
+
}
|
|
45
|
+
.govgr-dropdown__content--full-width {
|
|
46
|
+
@apply min-w-full;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* overrides */
|
|
50
|
+
|
|
51
|
+
.govgr-dropdown {
|
|
52
|
+
&[open] {
|
|
53
|
+
.govgr-dropdown__button--arrow {
|
|
54
|
+
.govgr-svg-icon--arrow {
|
|
55
|
+
@apply transform -rotate-180;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
.govgr-dropdown__button {
|
|
59
|
+
&.govgr-btn-primary {
|
|
60
|
+
background-color: var(--btn-primary-background-color-hover);
|
|
61
|
+
color: var(--btn-primary-color-hover);
|
|
62
|
+
}
|
|
63
|
+
&.govgr-btn-secondary {
|
|
64
|
+
background-color: var(--btn-secondary-background-color-hover);
|
|
65
|
+
color: var(--btn-secondary-color-hover);
|
|
66
|
+
}
|
|
67
|
+
&.govgr-btn-warning {
|
|
68
|
+
background-color: var(--btn-warning-background-color-hover);
|
|
69
|
+
color: var(--btn-warning-color-hover);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
.govgr-dropdown__button--arrow {
|
|
74
|
+
.govgr-svg-icon--arrow {
|
|
75
|
+
@apply transition duration-300;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
.govgr-dropdown__button {
|
|
80
|
+
.govgr-svg-icon {
|
|
81
|
+
@apply w-5 h-6 md:h-8;
|
|
82
|
+
@apply print:hidden;
|
|
83
|
+
}
|
|
84
|
+
&.govgr-link {
|
|
85
|
+
@apply inline-flex gap-1 items-center;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
.govgr-dropdown__content {
|
|
77
89
|
.govgr-field {
|
|
78
90
|
@apply mb-4;
|
|
79
91
|
}
|
|
@@ -93,14 +105,3 @@
|
|
|
93
105
|
}
|
|
94
106
|
}
|
|
95
107
|
}
|
|
96
|
-
.govgr-dropdown__content--full-width {
|
|
97
|
-
@apply min-w-full;
|
|
98
|
-
}
|
|
99
|
-
.govgr-header, .govgr-admin-header {
|
|
100
|
-
.govgr-dropdown__button.govgr-link {
|
|
101
|
-
@apply text-lg text-white focus:text-base-content print:text-base-800;
|
|
102
|
-
}
|
|
103
|
-
.govgr-dropdown {
|
|
104
|
-
@apply print:hidden;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
@@ -1,32 +1,29 @@
|
|
|
1
1
|
.govgr-filter {
|
|
2
2
|
@apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll z-40 w-4/5;
|
|
3
3
|
box-shadow: 0 0 30px rgba(var(--color-base-900-rgb), 0.9);
|
|
4
|
-
.govgr-select {
|
|
5
|
-
@apply w-full;
|
|
6
|
-
}
|
|
7
4
|
}
|
|
8
5
|
.govgr-filter {
|
|
9
6
|
&.govgr-filter--position-relative-always {
|
|
10
7
|
@apply block relative overflow-visible w-full shadow-none z-2 !important;
|
|
11
|
-
&.govgr-filter--closed
|
|
8
|
+
&.govgr-filter--closed {
|
|
12
9
|
@apply block !important;
|
|
13
10
|
}
|
|
14
11
|
}
|
|
15
12
|
&.govgr-filter--position-relative-sm {
|
|
16
|
-
@apply sm:block sm:relative sm:overflow-visible sm:w-full sm:shadow-none sm:z-2
|
|
17
|
-
&.govgr-filter--closed
|
|
13
|
+
@apply sm:block sm:relative sm:overflow-visible sm:w-full sm:shadow-none sm:z-2;
|
|
14
|
+
&.govgr-filter--closed {
|
|
18
15
|
@apply sm:block;
|
|
19
16
|
}
|
|
20
17
|
}
|
|
21
18
|
&.govgr-filter--position-relative-md {
|
|
22
|
-
@apply md:block md:relative md:overflow-visible md:w-full md:shadow-none md:z-2
|
|
23
|
-
&.govgr-filter--closed
|
|
19
|
+
@apply md:block md:relative md:overflow-visible md:w-full md:shadow-none md:z-2;
|
|
20
|
+
&.govgr-filter--closed {
|
|
24
21
|
@apply md:block;
|
|
25
22
|
}
|
|
26
23
|
}
|
|
27
24
|
&.govgr-filter--position-relative-lg {
|
|
28
|
-
@apply lg:block lg:relative lg:overflow-visible lg:w-full lg:shadow-none lg:z-2
|
|
29
|
-
&.govgr-filter--closed
|
|
25
|
+
@apply lg:block lg:relative lg:overflow-visible lg:w-full lg:shadow-none lg:z-2;
|
|
26
|
+
&.govgr-filter--closed {
|
|
30
27
|
@apply lg:block;
|
|
31
28
|
}
|
|
32
29
|
}
|
|
@@ -44,59 +41,41 @@
|
|
|
44
41
|
@apply flex gap-4 flex-col;
|
|
45
42
|
align-items: stretch;
|
|
46
43
|
@apply md:flex-row md:flex-wrap;
|
|
47
|
-
.govgr-field {
|
|
48
|
-
@apply mb-0;
|
|
49
|
-
}
|
|
50
|
-
.govgr-label, .govgr-btn {
|
|
51
|
-
@apply mb-0;
|
|
52
|
-
}
|
|
53
44
|
}
|
|
54
45
|
@media (min-width: 768px) {
|
|
55
46
|
.govgr-filter__options--horizontal {
|
|
56
47
|
align-items: flex-end;
|
|
57
48
|
}
|
|
58
49
|
}
|
|
59
|
-
.govgr-filter__heading,
|
|
50
|
+
.govgr-filter__heading,
|
|
51
|
+
.govgr-filter__selected,
|
|
52
|
+
.govgr-filter__options {
|
|
60
53
|
@apply p-0;
|
|
61
54
|
}
|
|
62
55
|
.govgr-filter__heading {
|
|
63
56
|
@apply mb-4;
|
|
64
|
-
.govgr-close-btn, .govgr-heading-sm, .govgr-heading-md, .govgr-heading-lg, .govgr-heading-xl {
|
|
65
|
-
@apply m-0;
|
|
66
|
-
}
|
|
67
57
|
}
|
|
68
58
|
.govgr-filter__selected {
|
|
69
59
|
@apply bg-base-200 p-4 m-0 rounded;
|
|
70
60
|
}
|
|
71
61
|
.govgr-filter__selected-heading {
|
|
72
62
|
@apply flex flex-wrap sm:flex-nowrap mb-4 md:mb-6 justify-between gap-x-2;
|
|
73
|
-
.govgr-link, .govgr-heading-sm, .govgr-heading-md, .govgr-heading-lg, .govgr-heading-xl {
|
|
74
|
-
@apply m-0 h-full;
|
|
75
|
-
}
|
|
76
63
|
}
|
|
77
64
|
.govgr-input__search-btn {
|
|
78
65
|
@apply shadow-none !important;
|
|
79
|
-
@apply
|
|
80
|
-
border-b-2 border-base-content rounded-none
|
|
66
|
+
@apply border-b-2 border-base-content rounded-none
|
|
81
67
|
px-4 py-2 w-min m-0 ml-3
|
|
82
68
|
flex gap-2
|
|
83
69
|
hover:bg-success-hover active:bg-success-hover hover:no-underline;
|
|
84
|
-
.govgr-svg-icon--search {
|
|
85
|
-
fill: var(--color-white);
|
|
86
|
-
@apply w-7 h-7;
|
|
87
|
-
}
|
|
88
70
|
}
|
|
89
71
|
.govgr-search {
|
|
90
72
|
@apply flex w-full max-w-3xl;
|
|
91
73
|
}
|
|
92
74
|
.govgr-results__action-bar {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
.govgr-field {
|
|
98
|
-
@apply flex items-baseline gap-2;
|
|
99
|
-
}
|
|
75
|
+
@apply py-2 mb-8 flex flex-wrap justify-start gap-4 items-baseline;
|
|
76
|
+
> * {
|
|
77
|
+
@apply mb-0;
|
|
78
|
+
}
|
|
100
79
|
}
|
|
101
80
|
.govgr-results__heading {
|
|
102
81
|
@apply flex flex-wrap justify-between items-baseline gap-x-2;
|
|
@@ -106,4 +85,54 @@
|
|
|
106
85
|
}
|
|
107
86
|
.govgr-link-filters {
|
|
108
87
|
@apply block md:hidden;
|
|
109
|
-
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* overrides */
|
|
91
|
+
|
|
92
|
+
.govgr-filter {
|
|
93
|
+
@apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll z-40 w-4/5;
|
|
94
|
+
box-shadow: 0 0 30px rgba(var(--color-base-900-rgb), 0.9);
|
|
95
|
+
.govgr-select {
|
|
96
|
+
@apply w-full;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
.govgr-filter__options--horizontal {
|
|
100
|
+
.govgr-field {
|
|
101
|
+
@apply mb-0;
|
|
102
|
+
}
|
|
103
|
+
.govgr-label,
|
|
104
|
+
.govgr-btn {
|
|
105
|
+
@apply mb-0;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
.govgr-filter__heading {
|
|
109
|
+
.govgr-close-btn,
|
|
110
|
+
.govgr-heading-xs,
|
|
111
|
+
.govgr-heading-sm,
|
|
112
|
+
.govgr-heading-md,
|
|
113
|
+
.govgr-heading-lg,
|
|
114
|
+
.govgr-heading-xl {
|
|
115
|
+
@apply m-0;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
.govgr-filter__selected-heading {
|
|
119
|
+
.govgr-link,
|
|
120
|
+
.govgr-heading-xs,
|
|
121
|
+
.govgr-heading-sm,
|
|
122
|
+
.govgr-heading-md,
|
|
123
|
+
.govgr-heading-lg,
|
|
124
|
+
.govgr-heading-xl {
|
|
125
|
+
@apply m-0 h-full;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
.govgr-input__search-btn {
|
|
129
|
+
.govgr-svg-icon--search {
|
|
130
|
+
fill: var(--color-white);
|
|
131
|
+
@apply w-7 h-7;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
.govgr-results__action-bar {
|
|
135
|
+
.govgr-field {
|
|
136
|
+
@apply flex items-baseline gap-2;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
@apply border-0 border-solid font-normal text-base py-4 md:py-8
|
|
3
3
|
border-t-4 border-tertiary text-base-800 bg-base-200 w-full
|
|
4
4
|
print:py-2 print:bg-white print:border-t-2;
|
|
5
|
-
.govgr-section-break {
|
|
6
|
-
@apply print:hidden;
|
|
7
|
-
}
|
|
8
|
-
.govgr-link {
|
|
9
|
-
@apply print:text-base-content;
|
|
10
|
-
}
|
|
11
5
|
}
|
|
12
6
|
.govgr-footer__info {
|
|
13
7
|
@apply w-full flex flex-1 flex-wrap md:flex-nowrap items-end justify-between box-border;
|
|
@@ -87,4 +81,15 @@
|
|
|
87
81
|
.govgr-footer__list-item {}
|
|
88
82
|
.govgr-footer__heading {
|
|
89
83
|
@apply mb-4 pb-4 border-b border-base-300;
|
|
90
|
-
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* overrides */
|
|
87
|
+
|
|
88
|
+
.govgr-footer {
|
|
89
|
+
.govgr-section-break {
|
|
90
|
+
@apply print:hidden;
|
|
91
|
+
}
|
|
92
|
+
.govgr-link {
|
|
93
|
+
@apply print:text-base-content;
|
|
94
|
+
}
|
|
95
|
+
}
|
package/src/components/form.css
CHANGED
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
.govgr-form {
|
|
2
|
-
.govgr-body {
|
|
3
|
-
@apply mb-4;
|
|
4
|
-
}
|
|
5
|
-
&.govgr-grid {
|
|
6
|
-
@apply grid gap-4;
|
|
7
|
-
.govgr-fieldset {
|
|
8
|
-
@apply grid gap-4;
|
|
9
|
-
:not(.govgr-field) {
|
|
10
|
-
@apply col-span-12;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
:not(.govgr-field) {
|
|
14
|
-
@apply col-span-12;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
.govgr-form {}
|
|
18
2
|
.govgr-field {
|
|
19
3
|
@apply mb-8 md:mb-10;
|
|
20
4
|
.govgr-fieldset {
|
|
@@ -40,14 +24,6 @@
|
|
|
40
24
|
font-size: var(--label-font-size);
|
|
41
25
|
line-height: var(--label-line-height);
|
|
42
26
|
letter-spacing: var(--label-letter-spacing);
|
|
43
|
-
.govgr-heading-sm,
|
|
44
|
-
.govgr-heading-md,
|
|
45
|
-
.govgr-heading-lg,
|
|
46
|
-
.govgr-heading-xl,
|
|
47
|
-
.govgr-hint,
|
|
48
|
-
.govgr-error-message {
|
|
49
|
-
@apply mb-0;
|
|
50
|
-
}
|
|
51
27
|
}
|
|
52
28
|
.govgr-input,
|
|
53
29
|
.govgr-select,
|
|
@@ -69,9 +45,6 @@
|
|
|
69
45
|
}
|
|
70
46
|
.govgr-uploaded-file {
|
|
71
47
|
@apply flex flex-wrap gap-x-4 mb-0;
|
|
72
|
-
.govgr-link {
|
|
73
|
-
@apply h-fit text-lg;
|
|
74
|
-
}
|
|
75
48
|
}
|
|
76
49
|
.govgr-date-input,
|
|
77
50
|
.govgr-single-character-input {
|
|
@@ -80,6 +53,7 @@
|
|
|
80
53
|
.govgr-select {
|
|
81
54
|
@apply w-auto max-w-full;
|
|
82
55
|
}
|
|
56
|
+
.govgr-select__option {}
|
|
83
57
|
.govgr-input--width-20-char {
|
|
84
58
|
max-width: 41ex;
|
|
85
59
|
}
|
|
@@ -175,7 +149,6 @@
|
|
|
175
149
|
.govgr-radios__input:disabled:checked:after {
|
|
176
150
|
@apply opacity-40;
|
|
177
151
|
}
|
|
178
|
-
|
|
179
152
|
.govgr-radios__label--disabled,
|
|
180
153
|
.govgr-checkboxes__label--disabled {
|
|
181
154
|
@apply opacity-40;
|
|
@@ -183,3 +156,39 @@
|
|
|
183
156
|
.govgr-choice-divider-text {
|
|
184
157
|
@apply text-lg text-center min-w-10 w-max mb-4;
|
|
185
158
|
}
|
|
159
|
+
|
|
160
|
+
/* overrides */
|
|
161
|
+
|
|
162
|
+
.govgr-form {
|
|
163
|
+
.govgr-body {
|
|
164
|
+
@apply mb-4;
|
|
165
|
+
}
|
|
166
|
+
&.govgr-grid {
|
|
167
|
+
@apply grid gap-4;
|
|
168
|
+
.govgr-fieldset {
|
|
169
|
+
@apply grid gap-4;
|
|
170
|
+
:not(.govgr-field) {
|
|
171
|
+
@apply col-span-12;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
:not(.govgr-field) {
|
|
175
|
+
@apply col-span-12;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
.govgr-label {
|
|
180
|
+
.govgr-heading-xs,
|
|
181
|
+
.govgr-heading-sm,
|
|
182
|
+
.govgr-heading-md,
|
|
183
|
+
.govgr-heading-lg,
|
|
184
|
+
.govgr-heading-xl,
|
|
185
|
+
.govgr-hint,
|
|
186
|
+
.govgr-error-message {
|
|
187
|
+
@apply mb-0;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
.govgr-uploaded-file {
|
|
191
|
+
.govgr-link {
|
|
192
|
+
@apply h-fit text-lg;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.govgr-header {
|
|
2
|
-
@apply bg-primary border-b-8 print:border-b-2 border-tertiary;
|
|
3
|
-
@apply print:bg-white;
|
|
2
|
+
@apply relative bg-primary border-b-8 print:border-b-2 border-tertiary print:bg-white;
|
|
4
3
|
border-bottom-style: solid;
|
|
5
4
|
}
|
|
6
5
|
.govgr-header__content {
|
|
@@ -12,6 +11,7 @@
|
|
|
12
11
|
print:gap-1;
|
|
13
12
|
}
|
|
14
13
|
.govgr-header__logo {
|
|
14
|
+
print-color-adjust: exact !important;
|
|
15
15
|
-webkit-print-color-adjust: exact !important;
|
|
16
16
|
@apply h-12 print:hidden;
|
|
17
17
|
}
|
|
@@ -44,52 +44,72 @@
|
|
|
44
44
|
.govgr-header-nav-menu__content {
|
|
45
45
|
@apply flex justify-start items-center gap-x-4 gap-y-2 print:gap-1;
|
|
46
46
|
}
|
|
47
|
-
.govgr-masthead {
|
|
48
|
-
@apply print:border-2 print:bg-white print:border-tertiary-300 print:text-base-content;
|
|
49
|
-
.govgr-grid-column-two-thirds > *:last-child {
|
|
50
|
-
@apply mb-0;
|
|
51
|
-
}
|
|
52
|
-
.govgr-header__content {
|
|
53
|
-
@apply flex-wrap;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
.govgr-masthead--primary {
|
|
57
|
-
@apply bg-tertiary text-white;
|
|
58
|
-
.govgr-masthead__body {
|
|
59
|
-
@apply text-white;
|
|
60
|
-
}
|
|
61
|
-
.govgr-body {
|
|
62
|
-
@apply text-white;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
.govgr-masthead--secondary {
|
|
66
|
-
@apply border-b border-base-400 !important;
|
|
67
|
-
@apply bg-base-200;
|
|
68
|
-
.govgr-masthead__body {
|
|
69
|
-
@apply text-base-content;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
.govgr-masthead__body {
|
|
73
|
-
@apply md:mb-10 mb-6 md:text-lg text-base leading-7 print:text-base-content;
|
|
74
|
-
}
|
|
75
|
-
.govgr-masthead__logo {
|
|
76
|
-
@apply md:mb-6 mb-4 h-10;
|
|
77
|
-
}
|
|
78
47
|
|
|
79
48
|
/* overrides */
|
|
80
49
|
|
|
81
50
|
.govgr-header {
|
|
82
|
-
|
|
51
|
+
.govgr-header__content,
|
|
52
|
+
.govgr-header__section {
|
|
53
|
+
> .govgr-link {
|
|
54
|
+
@apply text-white focus:text-link-active print:text-base-content;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.govgr-dropdown {
|
|
58
|
+
@apply print:hidden;
|
|
59
|
+
}
|
|
83
60
|
.govgr-dropdown__button {
|
|
84
61
|
@apply sm:w-max;
|
|
85
62
|
}
|
|
63
|
+
.govgr-dropdown__button.govgr-link {
|
|
64
|
+
@apply text-lg text-white focus:text-base-content print:text-base-800;
|
|
65
|
+
}
|
|
66
|
+
.govgr-link {
|
|
67
|
+
.govgr-svg-icon {
|
|
68
|
+
fill: var(--color-white);
|
|
69
|
+
}
|
|
70
|
+
&:hover {
|
|
71
|
+
.govgr-svg-icon {
|
|
72
|
+
fill: var(--color-white);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
&:focus {
|
|
76
|
+
.govgr-svg-icon {
|
|
77
|
+
fill: var(--color-link-active);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
.govgr-phase-banner__text {
|
|
82
|
+
@apply text-white print:text-base-content;
|
|
83
|
+
}
|
|
84
|
+
.govgr-link {
|
|
85
|
+
.govgr-svg-icon {
|
|
86
|
+
fill: var(--color-white);
|
|
87
|
+
}
|
|
88
|
+
&:hover {
|
|
89
|
+
.govgr-svg-icon {
|
|
90
|
+
fill: var(--color-white);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
&:focus {
|
|
94
|
+
.govgr-svg-icon {
|
|
95
|
+
fill: var(--color-link-active);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
.govgr-header__section {
|
|
101
|
+
.govgr-phase-banner {
|
|
102
|
+
@apply mb-0;
|
|
103
|
+
}
|
|
86
104
|
}
|
|
87
|
-
.govgr-header-nav-menu__content,
|
|
88
|
-
|
|
105
|
+
.govgr-header-nav-menu__content,
|
|
106
|
+
.govgr-header__content,
|
|
107
|
+
.govgr-header__section {
|
|
108
|
+
> .govgr-svg-icon--burger {
|
|
89
109
|
fill: var(--color-white);
|
|
90
110
|
@apply float-right focus:bg-focus;
|
|
91
111
|
}
|
|
92
|
-
|
|
112
|
+
> .govgr-close-btn {
|
|
93
113
|
@apply sm:hidden;
|
|
94
114
|
.govgr-svg-icon--close {
|
|
95
115
|
fill: var(--color-link) !important;
|
package/src/components/index.css
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
@import "./card.css";
|
|
23
23
|
@import "./details.css";
|
|
24
24
|
@import "./notification-banner.css";
|
|
25
|
+
@import "./masthead.css";
|
|
25
26
|
@import "./panel.css";
|
|
26
27
|
@import "./phase-banner.css";
|
|
27
28
|
@import "./summary-list.css";
|
|
@@ -43,3 +44,4 @@
|
|
|
43
44
|
@import "./dev-theme.css";
|
|
44
45
|
@import "./kitchensink.css";
|
|
45
46
|
@import "./hidden.css";
|
|
47
|
+
@import "./warning-text.css";
|
|
@@ -13,16 +13,6 @@
|
|
|
13
13
|
.govgr-container--full-width {
|
|
14
14
|
@apply max-w-full;
|
|
15
15
|
}
|
|
16
|
-
.govgr-main-wrapper {
|
|
17
|
-
@apply grid py-4 md:grid-cols-3 md:gap-12 grid-cols-1 gap-y-16
|
|
18
|
-
print:gap-4 print:grid-cols-1;
|
|
19
|
-
}
|
|
20
|
-
.govgr-grid-column-two-thirds {
|
|
21
|
-
@apply col-span-2;
|
|
22
|
-
}
|
|
23
|
-
.govgr-grid-column-one-third {
|
|
24
|
-
@apply col-span-1;
|
|
25
|
-
}
|
|
26
16
|
.govgr-top {
|
|
27
17
|
@apply mb-4;
|
|
28
18
|
}
|
|
@@ -34,9 +24,6 @@
|
|
|
34
24
|
}
|
|
35
25
|
.govgr-btn-group {
|
|
36
26
|
@apply flex flex-wrap items-center gap-4 mb-6 print:items-baseline;
|
|
37
|
-
.govgr-btn, .govgr-link {
|
|
38
|
-
@apply mb-0;
|
|
39
|
-
}
|
|
40
27
|
}
|
|
41
28
|
@media print {
|
|
42
29
|
/* When govgr-btn-group is empty at print, content at :after limits its height. */
|
|
@@ -58,4 +45,17 @@
|
|
|
58
45
|
}
|
|
59
46
|
.govgr-section-break--xl {
|
|
60
47
|
@apply mb-9;
|
|
61
|
-
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* overrides */
|
|
51
|
+
|
|
52
|
+
.govgr-container {
|
|
53
|
+
&.govgr-grid {
|
|
54
|
+
@apply py-4 print:gap-4 print:grid-cols-1;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.govgr-btn-group {
|
|
58
|
+
.govgr-btn, .govgr-link {
|
|
59
|
+
@apply mb-0;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
animation: rotate 10s linear infinite;
|
|
6
6
|
@apply w-fit h-10;
|
|
7
7
|
}
|
|
8
|
-
.govgr-
|
|
8
|
+
.govgr-circular-progress__circle {
|
|
9
9
|
fill: none;
|
|
10
10
|
stroke-miterlimit: 10;
|
|
11
11
|
stroke-width: 42px;
|
|
12
12
|
}
|
|
13
|
-
.govgr-
|
|
13
|
+
.govgr-circular-progress__circle--1 {
|
|
14
14
|
stroke: var(--color-secondary);
|
|
15
15
|
}
|
|
16
|
-
.govgr-
|
|
16
|
+
.govgr-circular-progress__circle--2 {
|
|
17
17
|
--full-length: 470;
|
|
18
18
|
stroke: var(--color-primary);
|
|
19
19
|
stroke-dasharray: var(--full-length);
|
|
@@ -21,26 +21,15 @@
|
|
|
21
21
|
animation: dash 4s ease-in-out 0s forwards infinite;
|
|
22
22
|
}
|
|
23
23
|
.govgr-circular-progress--secondary {
|
|
24
|
-
.govgr-
|
|
24
|
+
.govgr-circular_progress__circle--1 {
|
|
25
25
|
@apply opacity-40;
|
|
26
26
|
stroke: var(--color-white);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.govgr-
|
|
29
|
+
.govgr-circular-progress__circle--2 {
|
|
30
30
|
stroke: var(--color-white);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
@media print {
|
|
34
|
-
.govgr-btn {
|
|
35
|
-
.govgr-circular-progress--secondary {
|
|
36
|
-
.govgr-loader__circle--1,
|
|
37
|
-
.govgr-loader__circle--2 {
|
|
38
|
-
stroke: var(--color-base-content);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
33
|
.govgr-circular-progress--sm {
|
|
45
34
|
@apply h-5 w-5;
|
|
46
35
|
}
|