@digigov/css 0.39.0-b5106f43 → 1.0.0-6b93ebf2
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/defaultTheme/footer.json +5 -5
- package/defaultTheme/misc.json +1 -1
- package/defaultTheme/typography.json +7 -7
- package/dist/base/index.css +1 -1
- package/dist/base.js +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +3 -3
- package/dist/utilities/index.css +1 -1
- package/dist/utilities.js +1 -1
- package/package.json +4 -4
- package/src/components/accessibility-menu.css +3 -6
- package/src/components/accordion.css +8 -10
- package/src/components/admin-header.css +0 -6
- package/src/components/admin-layout.css +1 -61
- package/src/components/autocomplete.css +26 -43
- package/src/components/bottom-info.css +2 -4
- package/src/components/breadcrumbs.css +12 -12
- package/src/components/button.css +12 -10
- package/src/components/card.css +41 -43
- package/src/components/checkboxes.css +7 -9
- package/src/components/chip.css +6 -9
- package/src/components/copy-to-clipboard.css +37 -32
- package/src/components/details.css +5 -6
- package/src/components/drawer.css +4 -4
- package/src/components/dropdown.css +26 -34
- package/src/components/filter.css +7 -7
- package/src/components/footer.css +3 -6
- package/src/components/form.css +50 -45
- package/src/components/full-page-background.css +0 -3
- package/src/components/header.css +35 -34
- package/src/components/index.css +1 -3
- package/src/components/kitchensink.css +2 -2
- package/src/components/layout.css +13 -11
- package/src/components/loader.css +13 -14
- package/src/components/misc.css +9 -12
- package/src/components/modal.css +7 -6
- package/src/components/nav.css +6 -44
- package/src/components/notification-banner.css +28 -17
- package/src/components/pagination.css +0 -4
- package/src/components/panel.css +4 -4
- package/src/components/phase-banner.css +13 -10
- package/src/components/radios.css +13 -9
- package/src/components/skiplink.css +6 -7
- package/src/components/stepnav.css +56 -62
- package/src/components/summary-list.css +25 -32
- package/src/components/svg-icons.css +90 -49
- package/src/components/table.css +112 -58
- package/src/components/tabs.css +7 -12
- package/src/components/task-list.css +11 -10
- package/src/components/timeline.css +9 -7
- package/src/components/typography.css +61 -47
- package/src/pages/admin-filtering-data.js +21 -21
- package/src/pages/admin.js +9 -9
- package/src/pages/dropdown.js +29 -29
- package/src/pages/form.js +27 -27
- package/src/pages/headings/service-heading.js +7 -7
- package/src/pages/index.js +34 -32
- package/src/pages/pagination.js +6 -6
- package/src/pages/table.js +15 -15
- package/src/utilities/index.css +0 -33
- package/src/utilities/utilities.css +0 -33
- package/src/components/admin-footer.css +0 -3
- package/src/components/admin-form.css +0 -5
- package/src/components/cookie.css +0 -3
|
@@ -2,63 +2,64 @@
|
|
|
2
2
|
@apply bg-primary border-b-8 print:border-b-2 border-tertiary;
|
|
3
3
|
@apply print:bg-white;
|
|
4
4
|
border-bottom-style: solid;
|
|
5
|
+
.govgr-svg-icon--burger {
|
|
6
|
+
fill: var(--color-base-content);
|
|
7
|
+
@apply float-right cursor-pointer;
|
|
8
|
+
}
|
|
5
9
|
}
|
|
6
10
|
.govgr-header__container {
|
|
7
11
|
@apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center
|
|
8
12
|
print:px-0 gap-3;
|
|
9
13
|
}
|
|
10
|
-
.govgr-header__container-full {
|
|
11
|
-
@apply max-w-full;
|
|
12
|
-
}
|
|
13
14
|
.govgr-header__content {
|
|
14
15
|
@apply flex justify-start flex-wrap items-center gap-x-4 gap-y-2
|
|
15
16
|
print:gap-1;
|
|
16
17
|
}
|
|
17
|
-
.govgr-
|
|
18
|
-
@apply flex justify-start items-center gap-x-4 gap-y-2 print:gap-1;
|
|
19
|
-
}
|
|
20
|
-
.govgr-header-title {
|
|
21
|
-
@apply text-white font-bold text-2xl leading-10 tracking-wide no-underline
|
|
22
|
-
w-auto align-middle hover:no-underline
|
|
23
|
-
print:text-base-content;
|
|
24
|
-
&:hover {
|
|
25
|
-
@apply text-white
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
.govgr-header-title:focus {
|
|
29
|
-
text-decoration:none;
|
|
30
|
-
outline: 4px solid var(--color-focus) !important;
|
|
31
|
-
outline-offset: 4px;
|
|
32
|
-
}
|
|
33
|
-
.govgr-header-logo {
|
|
18
|
+
.govgr-header__logo {
|
|
34
19
|
-webkit-print-color-adjust: exact !important;
|
|
35
20
|
@apply h-12 print:hidden;
|
|
36
21
|
}
|
|
37
|
-
.govgr-
|
|
22
|
+
.govgr-header__logo-inverted {
|
|
38
23
|
@apply h-12 hidden print:block;
|
|
39
24
|
}
|
|
40
|
-
.govgr-
|
|
25
|
+
.govgr-header__secondary-logo {
|
|
41
26
|
@apply h-10 print:hidden;
|
|
42
27
|
}
|
|
43
|
-
.govgr-
|
|
28
|
+
.govgr-header__link:focus {
|
|
44
29
|
box-shadow: 0px 0px 0px 4px var(--color-focus);
|
|
45
30
|
-webkit-box-shadow: 0px 0px 0px 4px var(--color-focus);
|
|
46
31
|
-moz-box-shadow: 0px 0px 0px 4px var(--color-focus);
|
|
47
|
-
outline: none;
|
|
32
|
+
outline: none;
|
|
48
33
|
text-decoration: none;
|
|
49
34
|
}
|
|
35
|
+
.govgr-header__title {
|
|
36
|
+
@apply text-white font-bold text-2xl leading-10 tracking-wide no-underline
|
|
37
|
+
w-auto align-middle hover:no-underline
|
|
38
|
+
print:text-base-content;
|
|
39
|
+
&:hover {
|
|
40
|
+
@apply text-white;
|
|
41
|
+
}
|
|
42
|
+
&:focus {
|
|
43
|
+
text-decoration: none;
|
|
44
|
+
outline: 4px solid var(--color-focus) !important;
|
|
45
|
+
outline-offset: 4px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.govgr-header-nav-menu__content {
|
|
49
|
+
@apply flex justify-start items-center gap-x-4 gap-y-2 print:gap-1;
|
|
50
|
+
}
|
|
50
51
|
.govgr-masthead {
|
|
51
52
|
@apply print:border-2 print:bg-white print:border-tertiary-300 print:text-base-content;
|
|
52
|
-
.govgr-grid-column-two-thirds
|
|
53
|
+
.govgr-grid-column-two-thirds > *:last-child {
|
|
53
54
|
@apply mb-0;
|
|
54
55
|
}
|
|
55
|
-
.govgr-header__container{
|
|
56
|
+
.govgr-header__container {
|
|
56
57
|
@apply flex-wrap;
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
|
-
.govgr-masthead--primary{
|
|
60
|
+
.govgr-masthead--primary {
|
|
60
61
|
@apply bg-tertiary text-white;
|
|
61
|
-
.govgr-
|
|
62
|
+
.govgr-masthead__body {
|
|
62
63
|
@apply text-white;
|
|
63
64
|
}
|
|
64
65
|
.govgr-body {
|
|
@@ -68,13 +69,13 @@
|
|
|
68
69
|
.govgr-masthead--secondary {
|
|
69
70
|
@apply border-b border-base-400 !important;
|
|
70
71
|
@apply bg-base-200;
|
|
71
|
-
.govgr-
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
.govgr-masthead__body {
|
|
73
|
+
@apply text-base-content;
|
|
74
|
+
}
|
|
74
75
|
}
|
|
75
|
-
.govgr-
|
|
76
|
+
.govgr-masthead__body {
|
|
76
77
|
@apply md:mb-10 mb-6 md:text-lg text-base leading-7 print:text-base-content;
|
|
77
78
|
}
|
|
78
|
-
.govgr-
|
|
79
|
+
.govgr-masthead__logo {
|
|
79
80
|
@apply md:mb-6 mb-4 h-10;
|
|
80
|
-
}
|
|
81
|
+
}
|
package/src/components/index.css
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@import "./chip.css";
|
|
7
7
|
@import "./form.css";
|
|
8
8
|
@import "./checkboxes.css";
|
|
9
|
+
@import "./chip.css";
|
|
9
10
|
@import "./dropdown.css";
|
|
10
11
|
@import "./radios.css";
|
|
11
12
|
@import "./header.css";
|
|
@@ -16,12 +17,9 @@
|
|
|
16
17
|
@import "./table.css";
|
|
17
18
|
@import "./filter.css";
|
|
18
19
|
@import "./admin-layout.css";
|
|
19
|
-
@import "./admin-form.css";
|
|
20
20
|
@import "./admin-header.css";
|
|
21
|
-
@import "./admin-footer.css";
|
|
22
21
|
@import "./breadcrumbs.css";
|
|
23
22
|
@import "./card.css";
|
|
24
|
-
@import "./cookie.css";
|
|
25
23
|
@import "./details.css";
|
|
26
24
|
@import "./notification-banner.css";
|
|
27
25
|
@import "./panel.css";
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
.govgr-kitchensink-content {
|
|
14
14
|
@apply max-w-2xl w-2xl;
|
|
15
15
|
}
|
|
16
|
-
.govgr-kitchensink-content
|
|
16
|
+
.govgr-kitchensink-content--wide {
|
|
17
17
|
@apply max-w-4xl w-4xl;
|
|
18
18
|
}
|
|
19
19
|
.govgr-kitchensink-content__info {
|
|
20
20
|
@apply max-w-2xl;
|
|
21
21
|
}
|
|
22
|
-
.govgr-
|
|
22
|
+
.govgr-kitchensink-content__tags {
|
|
23
23
|
@apply flex flex-nowrap gap-2 h-16;
|
|
24
24
|
}
|
|
25
25
|
.govgr-kitchensink-card {
|
|
@@ -6,13 +6,12 @@
|
|
|
6
6
|
.govgr-layout-wrapper__full-height {
|
|
7
7
|
min-height: 100vh;
|
|
8
8
|
}
|
|
9
|
-
.govgr-
|
|
10
|
-
@apply
|
|
9
|
+
.govgr-container {
|
|
10
|
+
@apply max-w-5xl box-border mx-auto px-3 md:px-6 w-full;
|
|
11
11
|
flex: 1 1 0%;
|
|
12
12
|
}
|
|
13
|
-
.govgr-full-width
|
|
14
|
-
@apply max-w-full
|
|
15
|
-
flex: 1 1 0%;
|
|
13
|
+
.govgr-container--full-width {
|
|
14
|
+
@apply max-w-full;
|
|
16
15
|
}
|
|
17
16
|
.govgr-main-wrapper {
|
|
18
17
|
@apply grid py-4 md:grid-cols-3 md:gap-12 grid-cols-1 gap-y-16
|
|
@@ -22,23 +21,26 @@
|
|
|
22
21
|
@apply col-span-2;
|
|
23
22
|
}
|
|
24
23
|
.govgr-grid-column-one-third {
|
|
25
|
-
@apply col-span-1
|
|
24
|
+
@apply col-span-1;
|
|
26
25
|
}
|
|
27
26
|
.govgr-top {
|
|
28
27
|
@apply mb-4;
|
|
29
28
|
}
|
|
29
|
+
.govgr-aside {
|
|
30
|
+
@apply flex flex-wrap flex-col md:sticky md:top-8 h-fit print:order-1;
|
|
31
|
+
}
|
|
30
32
|
.govgr-bottom {
|
|
31
33
|
@apply w-full flex flex-wrap box-border;
|
|
32
34
|
}
|
|
33
|
-
.govgr-
|
|
35
|
+
.govgr-btn-group {
|
|
34
36
|
@apply flex flex-wrap items-center gap-4 mb-6 print:items-baseline;
|
|
35
37
|
.govgr-btn, .govgr-link {
|
|
36
38
|
@apply mb-0;
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
@media print {
|
|
40
|
-
/* When govgr-
|
|
41
|
-
.govgr-
|
|
42
|
+
/* When govgr-btn-group is empty at print, content at :after limits its height. */
|
|
43
|
+
.govgr-btn-group:after {
|
|
42
44
|
content: "";
|
|
43
45
|
}
|
|
44
46
|
}
|
|
@@ -48,10 +50,10 @@
|
|
|
48
50
|
.govgr-section-break--visible {
|
|
49
51
|
@apply border-t border-base-300 border-solid ;
|
|
50
52
|
}
|
|
51
|
-
.govgr-section-break--
|
|
53
|
+
.govgr-section-break--md {
|
|
52
54
|
@apply mb-5;
|
|
53
55
|
}
|
|
54
|
-
.govgr-section-break--
|
|
56
|
+
.govgr-section-break--lg {
|
|
55
57
|
@apply mb-7;
|
|
56
58
|
}
|
|
57
59
|
.govgr-section-break--xl {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
--full-length: 470;
|
|
3
|
-
}
|
|
4
|
-
.govgr-loader__container {
|
|
1
|
+
.govgr-loader {
|
|
5
2
|
@apply h-fit w-fit m-auto overflow-hidden print:hidden;
|
|
6
3
|
}
|
|
7
|
-
.govgr-
|
|
4
|
+
.govgr-circular-progress {
|
|
8
5
|
animation: rotate 10s linear infinite;
|
|
9
6
|
@apply w-fit h-10;
|
|
10
7
|
}
|
|
@@ -17,12 +14,13 @@
|
|
|
17
14
|
stroke: var(--color-secondary);
|
|
18
15
|
}
|
|
19
16
|
.govgr-loader__circle--2 {
|
|
17
|
+
--full-length: 470;
|
|
20
18
|
stroke: var(--color-primary);
|
|
21
19
|
stroke-dasharray: var(--full-length);
|
|
22
20
|
stroke-dashoffset: 0;
|
|
23
21
|
animation: dash 4s ease-in-out 0s forwards infinite;
|
|
24
22
|
}
|
|
25
|
-
.govgr-
|
|
23
|
+
.govgr-circular-progress--secondary {
|
|
26
24
|
.govgr-loader__circle--1 {
|
|
27
25
|
@apply opacity-40;
|
|
28
26
|
stroke: var(--color-white);
|
|
@@ -34,21 +32,22 @@
|
|
|
34
32
|
}
|
|
35
33
|
@media print {
|
|
36
34
|
.govgr-btn {
|
|
37
|
-
.govgr-
|
|
38
|
-
.govgr-loader__circle--1,
|
|
35
|
+
.govgr-circular-progress--secondary {
|
|
36
|
+
.govgr-loader__circle--1,
|
|
37
|
+
.govgr-loader__circle--2 {
|
|
39
38
|
stroke: var(--color-base-content);
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
41
|
}
|
|
43
42
|
}
|
|
44
43
|
|
|
45
|
-
.govgr-
|
|
44
|
+
.govgr-circular-progress--sm {
|
|
46
45
|
@apply h-5 w-5;
|
|
47
46
|
}
|
|
48
|
-
.govgr-
|
|
47
|
+
.govgr-circular-progress--md {
|
|
49
48
|
@apply h-10 w-10;
|
|
50
49
|
}
|
|
51
|
-
.govgr-
|
|
50
|
+
.govgr-circular-progress--lg {
|
|
52
51
|
@apply h-12 w-12;
|
|
53
52
|
}
|
|
54
53
|
@keyframes dash {
|
|
@@ -69,7 +68,7 @@
|
|
|
69
68
|
}
|
|
70
69
|
}
|
|
71
70
|
@keyframes rotate {
|
|
72
|
-
to {
|
|
73
|
-
transform: rotate(360deg);
|
|
74
|
-
}
|
|
71
|
+
to {
|
|
72
|
+
transform: rotate(360deg);
|
|
73
|
+
}
|
|
75
74
|
}
|
package/src/components/misc.css
CHANGED
|
@@ -1,26 +1,19 @@
|
|
|
1
|
-
.govgr-warning-text,
|
|
2
|
-
.govgr-border-message {
|
|
3
|
-
@apply p-4;
|
|
4
|
-
}
|
|
5
|
-
.govgr-border-message {
|
|
6
|
-
@apply border-8;
|
|
7
|
-
}
|
|
8
1
|
.govgr-blockquote {
|
|
9
2
|
@apply lg:mb-8 mb-4 mt-8 md:mb-8 p-4 border-l-8 border-base-500;
|
|
10
3
|
}
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
|
|
5
|
+
.govgr-warning-text {
|
|
6
|
+
@apply p-4;
|
|
13
7
|
}
|
|
14
8
|
.govgr-warning-text {
|
|
15
9
|
font-size: var(--warning-text-font-size);
|
|
16
|
-
@apply flex pl-0 pr-0;
|
|
10
|
+
@apply flex pt-4 pb-4 pl-0 pr-0;
|
|
17
11
|
.govgr-warning-text__icon {
|
|
18
12
|
@apply text-base-content-invert font-bold bg-base-content text-3xl leading-10 text-center
|
|
19
13
|
rounded-3xl md:min-h-10 min-w-10 h-fit mr-6 mt-1
|
|
20
14
|
print:bg-white print:border-2 print:border-base-content print:text-base-content;
|
|
21
15
|
}
|
|
22
16
|
.govgr-warning-text__text {
|
|
23
|
-
|
|
24
17
|
@apply flex items-center;
|
|
25
18
|
}
|
|
26
19
|
.govgr-warning-text__assistive {
|
|
@@ -66,4 +59,8 @@
|
|
|
66
59
|
clip: rect(0 0 0 0) !important;
|
|
67
60
|
-webkit-clip-path: inset(50%) !important;
|
|
68
61
|
clip-path: inset(50%) !important;
|
|
69
|
-
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.govgr-cookie-banner {
|
|
65
|
+
@apply bg-base-200;
|
|
66
|
+
}
|
package/src/components/modal.css
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
.govgr-modal {
|
|
2
2
|
@apply hidden justify-center items-center content-center text-left
|
|
3
3
|
mb-7 text-base-content bg-opacity-50 bg-base-700
|
|
4
|
-
fixed z-50 left-0 top-0 w-full h-full overflow-auto;
|
|
4
|
+
fixed z-50 left-0 top-0 w-full h-full overflow-auto;
|
|
5
|
+
}
|
|
6
|
+
.govgr-modal--open {
|
|
7
|
+
@apply flex;
|
|
5
8
|
}
|
|
6
9
|
.govgr-modal__body {
|
|
7
10
|
@apply w-full max-w-md md:max-w-lg lg:max-w-4xl
|
|
8
11
|
h-fit md:h-auto overflow-y-auto
|
|
9
12
|
bg-base-100
|
|
10
13
|
border border-solid border-base-500;
|
|
11
|
-
max-height:95vh;
|
|
14
|
+
max-height: 95vh;
|
|
12
15
|
}
|
|
13
16
|
.govgr-modal__container {
|
|
14
17
|
@apply grid p-10 gap-6 px-6 py-2;
|
|
15
18
|
}
|
|
16
|
-
.govgr-modal__open {
|
|
17
|
-
@apply flex;
|
|
18
|
-
}
|
|
19
19
|
.govgr-modal__heading {
|
|
20
20
|
@apply md:text-2xl text-xl font-bold;
|
|
21
21
|
}
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
}
|
|
25
25
|
.govgr-modal__action {
|
|
26
26
|
@apply flex flex-wrap items-center gap-4;
|
|
27
|
-
.govgr-link,
|
|
27
|
+
.govgr-link,
|
|
28
|
+
.govgr-btn {
|
|
28
29
|
@apply mb-0;
|
|
29
30
|
}
|
|
30
31
|
}
|
package/src/components/nav.css
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
.govgr-header {
|
|
2
2
|
@apply relative;
|
|
3
|
-
.govgr-
|
|
3
|
+
.govgr-svg-icon--burger {
|
|
4
4
|
fill: var(--color-white);
|
|
5
|
+
@apply float-right focus:bg-focus;
|
|
5
6
|
}
|
|
6
7
|
.govgr-drawer__close-icon {
|
|
7
8
|
@apply sm:hidden;
|
|
8
|
-
.govgr-
|
|
9
|
+
.govgr-svg-icon--close {
|
|
9
10
|
fill: var(--color-link) !important;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
@@ -38,45 +39,6 @@
|
|
|
38
39
|
@apply sm:bg-tertiary !important;
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
|
-
.govgr-burger-icon {
|
|
42
|
-
@apply cursor-pointer;
|
|
43
|
-
}
|
|
44
|
-
.govgr-burger-icon {
|
|
45
|
-
fill: var(--color-base-content);
|
|
46
|
-
@apply w-8 h-8 float-right cursor-pointer transition-all
|
|
47
|
-
focus:bg-focus;
|
|
48
|
-
#govgr-burger-icon__line-1,
|
|
49
|
-
#govgr-burger-icon__line-2,
|
|
50
|
-
#govgr-burger-icon__line-3 {
|
|
51
|
-
@apply transition-all;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
#govgr-burger-icon__line-1 {
|
|
55
|
-
x: 2px;
|
|
56
|
-
y: 3px;
|
|
57
|
-
}
|
|
58
|
-
#govgr-burger-icon__line-2 {
|
|
59
|
-
x: 2px;
|
|
60
|
-
y: 10.3px;
|
|
61
|
-
}
|
|
62
|
-
#govgr-burger-icon__line-3 {
|
|
63
|
-
@apply origin-top-left;
|
|
64
|
-
x: 2px;
|
|
65
|
-
y: 17.7px;
|
|
66
|
-
}
|
|
67
|
-
.govgr-burger-icon--active {
|
|
68
|
-
#govgr-burger-icon__line-1 {
|
|
69
|
-
transform: rotate(45deg);
|
|
70
|
-
transform-origin: 3px 8px;
|
|
71
|
-
}
|
|
72
|
-
#govgr-burger-icon__line-2 {
|
|
73
|
-
@apply w-0 origin-center;
|
|
74
|
-
}
|
|
75
|
-
#govgr-burger-icon__line-3 {
|
|
76
|
-
transform: rotate(-45deg);
|
|
77
|
-
transform-origin: 3px 16px;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
42
|
|
|
81
43
|
/* --- NAV --- */
|
|
82
44
|
.govgr-nav {
|
|
@@ -125,7 +87,7 @@
|
|
|
125
87
|
.govgr-drawer__close-icon {
|
|
126
88
|
@apply sm:hidden mt-3;
|
|
127
89
|
}
|
|
128
|
-
.govgr-heading-
|
|
90
|
+
.govgr-heading-md {
|
|
129
91
|
@apply mb-0;
|
|
130
92
|
}
|
|
131
93
|
}
|
|
@@ -141,7 +103,7 @@
|
|
|
141
103
|
.govgr-drawer__close-icon {
|
|
142
104
|
@apply sm:hidden mt-3;
|
|
143
105
|
}
|
|
144
|
-
.govgr-heading-
|
|
106
|
+
.govgr-heading-md {
|
|
145
107
|
@apply mb-0;
|
|
146
108
|
}
|
|
147
109
|
}
|
|
@@ -211,7 +173,7 @@
|
|
|
211
173
|
@apply flex flex-wrap;
|
|
212
174
|
}
|
|
213
175
|
.govgr-vertical-nav__item {
|
|
214
|
-
@apply w-full
|
|
176
|
+
@apply w-full p-2 !important;
|
|
215
177
|
}
|
|
216
178
|
.govgr-vertical-nav__item--active {
|
|
217
179
|
@apply font-semibold !important;
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
.govgr-notification-banner {
|
|
2
|
-
@apply
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
@apply border-5 mb-6 md:mb-8 font-normal print:bg-white;
|
|
3
|
+
}
|
|
4
|
+
.govgr-notification-banner--info {
|
|
5
|
+
@apply bg-info border-info;
|
|
6
|
+
}
|
|
7
|
+
.govgr-notification-banner--success {
|
|
8
|
+
@apply bg-success border-success;
|
|
9
|
+
.govgr-notification-banner__link {
|
|
10
|
+
&:link:not(:focus) {
|
|
10
11
|
@apply text-success;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
.govgr-notification-banner--error {
|
|
16
|
+
@apply bg-error border-error;
|
|
17
|
+
.govgr-notification-banner__link {
|
|
18
|
+
&:link:not(:focus) {
|
|
19
|
+
@apply text-error;
|
|
11
20
|
}
|
|
12
21
|
}
|
|
13
22
|
}
|
|
@@ -20,18 +29,15 @@
|
|
|
20
29
|
}
|
|
21
30
|
.govgr-notification-banner__content {
|
|
22
31
|
@apply bg-base-100 text-base-content p-4 md:p-5;
|
|
23
|
-
|
|
32
|
+
& > * {
|
|
24
33
|
@apply box-border max-w-xl;
|
|
25
34
|
}
|
|
26
|
-
|
|
35
|
+
& > :last-child {
|
|
27
36
|
@apply mb-0;
|
|
28
37
|
}
|
|
29
38
|
}
|
|
30
|
-
.govgr-notification-
|
|
31
|
-
@apply
|
|
32
|
-
}
|
|
33
|
-
.govgr-notification-banner__link{
|
|
34
|
-
@apply underline;
|
|
39
|
+
.govgr-notification-banner__link {
|
|
40
|
+
@apply underline text-base md:text-lg;
|
|
35
41
|
&:link {
|
|
36
42
|
@apply text-link;
|
|
37
43
|
}
|
|
@@ -41,7 +47,12 @@
|
|
|
41
47
|
&:focus {
|
|
42
48
|
background-color: var(--color-focus);
|
|
43
49
|
box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
|
|
44
|
-
text-decoration:none;
|
|
45
|
-
outline: none;
|
|
50
|
+
text-decoration: none;
|
|
51
|
+
outline: none;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
.govgr-notification-banner__heading {
|
|
55
|
+
.govgr-notification-banner__link {
|
|
56
|
+
font-size: inherit;
|
|
46
57
|
}
|
|
47
58
|
}
|
package/src/components/panel.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.govgr-panel {
|
|
2
2
|
@apply box-border mb-4 p-8 border-5 border-transparent text-center
|
|
3
|
-
print:p-4
|
|
3
|
+
print:p-4 text-white
|
|
4
|
+
print:border-4 print:text-base-content print:bg-white;
|
|
4
5
|
}
|
|
5
|
-
.govgr-panel--
|
|
6
|
-
@apply bg-success
|
|
7
|
-
print:border-4 print:border-success print:text-base-content print:bg-white;
|
|
6
|
+
.govgr-panel--success {
|
|
7
|
+
@apply bg-success print:border-success;
|
|
8
8
|
}
|
|
9
9
|
.govgr-panel__title {
|
|
10
10
|
@apply mx-auto mt-0;
|
|
@@ -1,27 +1,30 @@
|
|
|
1
|
+
.govgr-phase-banner_header {
|
|
2
|
+
@apply bg-focus top-0 z-30
|
|
3
|
+
print:bg-white print:border-focus print:border-2 print:px-4;
|
|
4
|
+
.govgr-phase-banner {
|
|
5
|
+
@apply mb-0;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
1
8
|
.govgr-phase-banner {
|
|
2
9
|
@apply py-2 mb-4;
|
|
3
10
|
}
|
|
4
|
-
.govgr-phase-
|
|
11
|
+
.govgr-phase-banner--underline {
|
|
5
12
|
@apply border-base-500 border-b;
|
|
6
13
|
}
|
|
7
14
|
.govgr-phase-banner__content {
|
|
8
15
|
font-size: var(--phase-banner__content-font-size);
|
|
9
16
|
@apply table;
|
|
10
17
|
}
|
|
11
|
-
.govgr-phase-
|
|
18
|
+
.govgr-phase-banner__tag {
|
|
12
19
|
@apply px-2 py-1 mr-2 inline-block bg-info font-sans text-white text-sm uppercase tracking-widest
|
|
13
20
|
print:bg-white print:border-2 print:border-info print:text-info print:mr-4;
|
|
14
21
|
}
|
|
15
22
|
.govgr-phase-banner__text {
|
|
16
23
|
@apply table-cell text-base-content;
|
|
17
24
|
}
|
|
18
|
-
.govgr-header
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
@apply bg-focus top-0 z-30
|
|
23
|
-
print:bg-white print:border-focus print:border-2 print:px-4;
|
|
24
|
-
.govgr-phase-banner {
|
|
25
|
-
@apply mb-0;
|
|
25
|
+
.govgr-header,
|
|
26
|
+
.govgr-masthead--primary {
|
|
27
|
+
.govgr-phase-banner__text {
|
|
28
|
+
@apply text-white print:text-base-content;
|
|
26
29
|
}
|
|
27
30
|
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
+
.govgr-radios {}
|
|
1
2
|
.govgr-radios__item {
|
|
2
3
|
@apply block relative mb-4 pl-12;
|
|
3
4
|
min-height: 40px;
|
|
4
5
|
}
|
|
5
|
-
.govgr-radios--
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
&::after {
|
|
10
|
-
content: "";
|
|
11
|
-
display: block;
|
|
12
|
-
clear: both;
|
|
6
|
+
.govgr-radios--horizontal {
|
|
7
|
+
@apply inline-flex flex-wrap items-baseline gap-4 md:gap-6;
|
|
8
|
+
.govgr-choice-divider-text {
|
|
9
|
+
@apply min-w-max mx-2;
|
|
13
10
|
}
|
|
14
11
|
}
|
|
12
|
+
.govgr-radios__item {
|
|
13
|
+
@apply block relative mb-4 pl-12;
|
|
14
|
+
min-height: 40px;
|
|
15
|
+
}
|
|
15
16
|
.govgr-radios__label {
|
|
16
17
|
font-size: var(--radios__label-font-size);
|
|
17
18
|
@apply inline-block py-1 px-2 cursor-pointer;
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
.govgr-radios__input {
|
|
20
21
|
@apply absolute z-1 left-0.5 -top-1 m-0 rounded-3xl
|
|
21
22
|
w-10 h-10 opacity-100 cursor-pointer
|
|
22
|
-
bg-base-100
|
|
23
|
+
bg-base-100;
|
|
23
24
|
appearance: none;
|
|
24
25
|
width: 40px;
|
|
25
26
|
height: 40px;
|
|
@@ -49,3 +50,6 @@
|
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
}
|
|
53
|
+
.govgr-radios__conditional {
|
|
54
|
+
@apply border-l-4 border-base-500 ml-4 pl-6;
|
|
55
|
+
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
.govgr
|
|
1
|
+
.govgr-skip-link {
|
|
2
2
|
@apply absolute w-px h-px underline overflow-hidden top-auto;
|
|
3
|
-
|
|
3
|
+
&:focus {
|
|
4
|
+
@apply z-0 overflow-auto bg-focus static py-2 px-4 top-auto left-auto w-auto h-auto;
|
|
5
|
+
outline-offset: 0px;
|
|
6
|
+
outline: 0px solid var(--color-focus);
|
|
7
|
+
}
|
|
4
8
|
}
|
|
5
|
-
.govgr--skip-link:focus {
|
|
6
|
-
@apply z-0 overflow-auto bg-focus static py-2 px-4 top-auto left-auto w-auto h-auto;
|
|
7
|
-
outline-offset: 0px;
|
|
8
|
-
outline: 0px solid var(--color-focus);
|
|
9
|
-
}
|