@digigov/css 1.0.0-88820b1e → 1.0.0-8b33e4c8
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/back-to-top.json +27 -0
- package/defaultTheme/index.js +1 -0
- package/dist/base/index.css +1 -3
- package/dist/base.js +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +3 -5
- package/dist/utilities/index.css +1 -1
- package/dist/utilities.js +1 -1
- package/index.js +1 -1
- package/package.json +6 -7
- package/postcss.config.js +15 -14
- package/src/base/index.css +4 -0
- package/src/base/postcss.config.js +23 -22
- package/src/base/tailwind.config.js +19 -15
- 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/back-to-top.css +29 -0
- package/src/components/bottom-info.css +2 -1
- package/src/components/button.css +82 -33
- package/src/components/card.css +30 -15
- package/src/components/checkboxes.css +55 -12
- package/src/components/chip.css +31 -11
- package/src/components/copy-to-clipboard.css +28 -13
- package/src/components/drawer.css +62 -10
- package/src/components/dropdown.css +100 -75
- package/src/components/filter.css +67 -38
- package/src/components/footer.css +13 -7
- package/src/components/form.css +56 -29
- package/src/components/header.css +84 -30
- package/src/components/hidden.css +3 -0
- package/src/components/index.css +3 -1
- package/src/components/layout.css +51 -18
- package/src/components/loader.css +5 -16
- package/src/components/masthead.css +78 -0
- package/src/components/misc.css +17 -41
- package/src/components/modal.css +10 -0
- package/src/components/nav.css +93 -126
- package/src/components/notification-banner.css +14 -3
- package/src/components/pagination.css +40 -23
- package/src/components/panel.css +1 -0
- package/src/components/phase-banner.css +0 -6
- package/src/components/postcss.config.js +15 -16
- package/src/components/radios.css +32 -19
- package/src/components/stack.css +18 -18
- package/src/components/stepnav.css +24 -6
- package/src/components/summary-list.css +22 -15
- package/src/components/svg-icons.css +2 -62
- package/src/components/table.css +34 -40
- package/src/components/tabs.css +33 -1
- package/src/components/tailwind.config.js +12 -6
- package/src/components/task-list.css +28 -14
- package/src/components/timeline.css +21 -6
- package/src/components/typography.css +86 -68
- package/src/components/warning-text.css +23 -0
- package/src/fonts.css +1 -1
- package/src/index.css +0 -2
- package/src/pages/dropdown.js +2 -2
- package/src/utilities/index.css +121 -1
- package/src/utilities/postcss.config.js +15 -16
- package/src/utilities/tailwind.config.js +10 -1
- package/src/utilities/utilities.css +136 -13
- package/tailwind.config.js +19 -30
- package/themes.plugin.js +95 -100
- package/src/components/accessibility-menu.css +0 -71
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
.govgr-layout {
|
|
2
3
|
display: flex;
|
|
3
4
|
flex-direction: column;
|
|
@@ -13,30 +14,37 @@
|
|
|
13
14
|
.govgr-container--full-width {
|
|
14
15
|
@apply max-w-full;
|
|
15
16
|
}
|
|
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
17
|
.govgr-top {
|
|
27
18
|
@apply mb-4;
|
|
28
19
|
}
|
|
29
20
|
.govgr-aside {
|
|
30
|
-
@apply flex flex-wrap flex-col md:
|
|
21
|
+
@apply flex flex-wrap flex-col md:top-8 h-fit print:order-1;
|
|
22
|
+
.govgr-back-to-top {
|
|
23
|
+
@apply flex flex-1 content-end flex-wrap;
|
|
24
|
+
.govgr-back-to-top-link {
|
|
25
|
+
@apply md:mx-6 md:my-4;
|
|
26
|
+
}
|
|
27
|
+
&.govgr-back-to-top--persistent {
|
|
28
|
+
.govgr-back-to-top-content {
|
|
29
|
+
@apply sticky bottom-0 mb-4;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
.govgr-aside--sticky {
|
|
35
|
+
@apply md:sticky;
|
|
36
|
+
&.govgr-aside--full-height {
|
|
37
|
+
max-height: calc(100vh - 2rem);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.govgr-aside--full-height {
|
|
41
|
+
@apply h-full;
|
|
31
42
|
}
|
|
32
43
|
.govgr-bottom {
|
|
33
44
|
@apply w-full flex flex-wrap box-border;
|
|
34
45
|
}
|
|
35
46
|
.govgr-btn-group {
|
|
36
47
|
@apply flex flex-wrap items-center gap-4 mb-6 print:items-baseline;
|
|
37
|
-
.govgr-btn, .govgr-link {
|
|
38
|
-
@apply mb-0;
|
|
39
|
-
}
|
|
40
48
|
}
|
|
41
49
|
@media print {
|
|
42
50
|
/* When govgr-btn-group is empty at print, content at :after limits its height. */
|
|
@@ -51,11 +59,36 @@
|
|
|
51
59
|
@apply border-t border-base-300 border-solid;
|
|
52
60
|
}
|
|
53
61
|
.govgr-section-break--md {
|
|
54
|
-
|
|
62
|
+
@apply mb-5;
|
|
55
63
|
}
|
|
56
64
|
.govgr-section-break--lg {
|
|
57
|
-
|
|
65
|
+
@apply mb-7;
|
|
58
66
|
}
|
|
59
67
|
.govgr-section-break--xl {
|
|
60
|
-
|
|
61
|
-
}
|
|
68
|
+
@apply mb-9;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* overrides */
|
|
72
|
+
|
|
73
|
+
.govgr-main {
|
|
74
|
+
>.govgr-back-to-top--persistent {
|
|
75
|
+
@apply fixed bottom-0 right-0 bg-base-200 w-full z-5;
|
|
76
|
+
.govgr-back-to-top-link {
|
|
77
|
+
@apply mx-6 my-4;
|
|
78
|
+
}
|
|
79
|
+
.govgr-back-to-top-content {
|
|
80
|
+
@apply max-w-5xl mx-auto my-0;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
.govgr-container {
|
|
85
|
+
&.govgr-grid {
|
|
86
|
+
@apply py-4 print:gap-4 print:grid-cols-1;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
.govgr-btn-group {
|
|
90
|
+
.govgr-btn,
|
|
91
|
+
.govgr-link {
|
|
92
|
+
@apply mb-0;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
.govgr-masthead {
|
|
2
|
+
@apply print:border-2 print:bg-white print:border-tertiary-300 print:text-base-content;
|
|
3
|
+
}
|
|
4
|
+
.govgr-masthead--primary {
|
|
5
|
+
@apply bg-tertiary text-white;
|
|
6
|
+
.govgr-masthead__body {
|
|
7
|
+
@apply text-white;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
.govgr-masthead--secondary {
|
|
11
|
+
@apply border-b border-base-400 !important;
|
|
12
|
+
@apply bg-base-200;
|
|
13
|
+
.govgr-masthead__body {
|
|
14
|
+
@apply text-base-content;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
.govgr-masthead__body {
|
|
18
|
+
@apply md:mb-10 mb-6 md:text-lg text-base leading-7 print:text-base-content;
|
|
19
|
+
}
|
|
20
|
+
.govgr-masthead__logo {
|
|
21
|
+
@apply md:mb-6 mb-4 h-10;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* overrides */
|
|
25
|
+
|
|
26
|
+
.govgr-masthead {
|
|
27
|
+
.govgr-main > *:last-child {
|
|
28
|
+
@apply mb-0;
|
|
29
|
+
}
|
|
30
|
+
.govgr-header__content {
|
|
31
|
+
@apply flex-wrap;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
.govgr-masthead--primary {
|
|
35
|
+
.govgr-body {
|
|
36
|
+
@apply text-white;
|
|
37
|
+
}
|
|
38
|
+
.govgr-link {
|
|
39
|
+
@apply text-white hover:text-white focus:text-base-content print:text-base-content;
|
|
40
|
+
&:hover {
|
|
41
|
+
text-decoration-thickness: 2px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.govgr-link--no-underline {
|
|
45
|
+
@apply no-underline hover:underline;
|
|
46
|
+
&:hover {
|
|
47
|
+
text-decoration-thickness: 2px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
.govgr-back-link {
|
|
51
|
+
@apply text-white print:text-base-content;
|
|
52
|
+
}
|
|
53
|
+
.govgr-phase-banner__text {
|
|
54
|
+
@apply text-white print:text-base-content;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.govgr-masthead--primary,
|
|
58
|
+
.govgr-background-dark {
|
|
59
|
+
.govgr-btn {
|
|
60
|
+
@apply border-white hover:border-white border-2 shadow-none;
|
|
61
|
+
&:focus {
|
|
62
|
+
-webkit-box-shadow: 0 0 0 4px var(--color-base-content), 0 0 0 8px var(--color-focus);
|
|
63
|
+
box-shadow: 0 0 0 4px var(--color-base-content), 0 0 0 8px var(--color-focus);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.govgr-btn-primary {
|
|
67
|
+
@apply print:border-0 print:border-b-2 print:border-success print:text-base-content print:bg-white print:shadow-none;
|
|
68
|
+
}
|
|
69
|
+
.govgr-btn-secondary {
|
|
70
|
+
@apply print:border-0 print:border-b-2 print:border-base-500 print:text-base-content print:bg-white print:shadow-none;
|
|
71
|
+
}
|
|
72
|
+
.govgr-btn-warning {
|
|
73
|
+
@apply print:border-0 print:border-b-2 print:border-error print:text-base-content print:bg-white print:shadow-none;
|
|
74
|
+
}
|
|
75
|
+
.govgr-hint {
|
|
76
|
+
@apply opacity-70 text-white print:text-base-content;
|
|
77
|
+
}
|
|
78
|
+
}
|
package/src/components/misc.css
CHANGED
|
@@ -1,35 +1,3 @@
|
|
|
1
|
-
.govgr-blockquote {
|
|
2
|
-
@apply lg:mb-8 mb-4 mt-8 md:mb-8 p-4 border-l-8 border-base-500;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.govgr-warning-text {
|
|
6
|
-
@apply p-4;
|
|
7
|
-
}
|
|
8
|
-
.govgr-warning-text {
|
|
9
|
-
font-size: var(--warning-text-font-size);
|
|
10
|
-
@apply flex pt-4 pb-4 pl-0 pr-0;
|
|
11
|
-
.govgr-warning-text__icon {
|
|
12
|
-
@apply text-base-content-invert font-bold bg-base-content text-3xl leading-10 text-center
|
|
13
|
-
rounded-3xl md:min-h-10 min-w-10 h-fit mr-6 mt-1
|
|
14
|
-
print:bg-white print:border-2 print:border-base-content print:text-base-content;
|
|
15
|
-
}
|
|
16
|
-
.govgr-warning-text__text {
|
|
17
|
-
@apply flex items-center;
|
|
18
|
-
}
|
|
19
|
-
.govgr-warning-text__assistive {
|
|
20
|
-
position: absolute !important;
|
|
21
|
-
width: 1px !important;
|
|
22
|
-
height: 1px !important;
|
|
23
|
-
margin: 0 !important;
|
|
24
|
-
padding: 0 !important;
|
|
25
|
-
overflow: hidden !important;
|
|
26
|
-
clip: rect(0 0 0 0) !important;
|
|
27
|
-
-webkit-clip-path: inset(50%) !important;
|
|
28
|
-
clip-path: inset(50%) !important;
|
|
29
|
-
border: 0 !important;
|
|
30
|
-
white-space: nowrap !important;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
1
|
.tooltip {
|
|
34
2
|
@apply inline-block relative m-0 p-0 underline w-min cursor-pointer;
|
|
35
3
|
text-decoration-style: dotted;
|
|
@@ -52,15 +20,23 @@
|
|
|
52
20
|
}
|
|
53
21
|
}
|
|
54
22
|
}
|
|
55
|
-
.govgr-visually-hidden {
|
|
56
|
-
@apply absolute m-0 p-0 overflow-hidden border-0 whitespace-nowrap !important;
|
|
57
|
-
width: 1px !important;
|
|
58
|
-
height: 1px !important;
|
|
59
|
-
clip: rect(0 0 0 0) !important;
|
|
60
|
-
-webkit-clip-path: inset(50%) !important;
|
|
61
|
-
clip-path: inset(50%) !important;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
23
|
.govgr-cookie-banner {
|
|
65
24
|
@apply bg-base-200;
|
|
66
25
|
}
|
|
26
|
+
|
|
27
|
+
/* overrides */
|
|
28
|
+
|
|
29
|
+
div[class*="govgr-grid__col-span"] {
|
|
30
|
+
>.govgr-card {
|
|
31
|
+
@apply mb-0;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
.govgr-image-logo {
|
|
35
|
+
@apply h-10;
|
|
36
|
+
}
|
|
37
|
+
.govgr-image-logo--light {
|
|
38
|
+
@apply h-10;
|
|
39
|
+
}
|
|
40
|
+
.govgr-image-logo--dark {
|
|
41
|
+
@apply h-10 hidden;
|
|
42
|
+
}
|
package/src/components/modal.css
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
mb-7 text-base-content bg-opacity-50 bg-base-700
|
|
4
4
|
fixed z-50 left-0 top-0 w-full h-full overflow-auto;
|
|
5
5
|
}
|
|
6
|
+
|
|
6
7
|
.govgr-modal--open {
|
|
7
8
|
@apply flex;
|
|
8
9
|
}
|
|
@@ -21,8 +22,17 @@
|
|
|
21
22
|
}
|
|
22
23
|
.govgr-modal__action {
|
|
23
24
|
@apply flex flex-wrap items-center gap-4;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.govgr-modal__action {
|
|
24
28
|
.govgr-link,
|
|
25
29
|
.govgr-btn {
|
|
26
30
|
@apply mb-0;
|
|
27
31
|
}
|
|
28
32
|
}
|
|
33
|
+
|
|
34
|
+
.govgr-modal--dense, .govgr-dense & {
|
|
35
|
+
.govgr-modal__container {
|
|
36
|
+
@apply px-4 py-0 gap-4;
|
|
37
|
+
}
|
|
38
|
+
}
|
package/src/components/nav.css
CHANGED
|
@@ -1,123 +1,69 @@
|
|
|
1
|
-
.govgr-
|
|
2
|
-
@apply relative;
|
|
3
|
-
.govgr-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
.govgr-close-btn {
|
|
8
|
-
@apply sm:hidden;
|
|
9
|
-
.govgr-svg-icon--close {
|
|
10
|
-
fill: var(--color-link) !important;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
.govgr-nav {
|
|
14
|
-
@apply fixed;
|
|
15
|
-
}
|
|
16
|
-
.govgr-nav__list {
|
|
17
|
-
@apply sm:flex !important;
|
|
18
|
-
@apply sm:w-min xs:hidden m-0 max-w-5xl sm:mx-auto sm:gap-x-6 static sm:py-1 xs:px-3 sm:px-0
|
|
19
|
-
flex flex-wrap flex-col sm:flex-row;
|
|
20
|
-
}
|
|
21
|
-
.govgr-nav__list-item {
|
|
22
|
-
@apply text-base-content sm:mr-auto sm:ml-auto sm:text-center sm:underline mr-0 xs:px-2 xs:py-1 sm:gap-x-6;
|
|
23
|
-
.govgr-svg-icon {
|
|
24
|
-
fill: var(--color-white) !important;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
1
|
+
.govgr-nav {
|
|
2
|
+
@apply relative block w-full h-auto bg-base-100 text-base-content;
|
|
3
|
+
/* .govgr-nav__list {
|
|
4
|
+
@apply px-3;
|
|
5
|
+
} */
|
|
27
6
|
.govgr-nav__list-item-link,
|
|
28
7
|
.govgr-nav__list-item-btn {
|
|
29
|
-
@apply
|
|
30
|
-
@apply xs:hidden items-center xs:gap-1;
|
|
31
|
-
&:focus {
|
|
32
|
-
@apply sm:bg-focus sm:text-link-active !important;
|
|
33
|
-
.govgr-svg-icon {
|
|
34
|
-
fill: var(--color-link-active) !important;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
8
|
+
@apply md:no-underline !important;
|
|
37
9
|
}
|
|
38
|
-
|
|
39
|
-
|
|
10
|
+
}
|
|
11
|
+
.govgr-nav--hidden {
|
|
12
|
+
@apply hidden;
|
|
13
|
+
}
|
|
14
|
+
.govgr-nav--drawer {
|
|
15
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4;
|
|
16
|
+
@apply shadow-thick !important;
|
|
17
|
+
.govgr-nav__list--horizontal {
|
|
18
|
+
@apply px-0;
|
|
40
19
|
}
|
|
41
20
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
@apply
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
21
|
+
.govgr-nav--drawer-smDown {
|
|
22
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
23
|
+
sm:relative sm:block sm:w-full sm:h-auto sm:z-auto sm:top-auto sm:overflow-visible sm:p-0;
|
|
24
|
+
@apply shadow-thick sm:shadow-none !important;
|
|
25
|
+
.govgr-nav__list--horizontal {
|
|
26
|
+
@apply px-0 sm:px-4;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.govgr-nav--drawer-mdDown {
|
|
30
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
31
|
+
md:relative md:block md:w-full md:h-auto md:z-auto md:top-auto md:overflow-visible md:p-0;
|
|
32
|
+
@apply shadow-thick md:shadow-none !important;
|
|
33
|
+
.govgr-nav__list--horizontal {
|
|
34
|
+
@apply px-0 md:px-4;
|
|
35
|
+
}
|
|
49
36
|
}
|
|
50
|
-
|
|
51
|
-
|
|
37
|
+
|
|
38
|
+
.govgr-nav--drawer-lgDown {
|
|
39
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
40
|
+
lg:relative lg:block lg:w-full lg:h-auto lg:z-auto lg:top-auto lg:overflow-visible lg:p-0;
|
|
41
|
+
@apply shadow-thick lg:shadow-none !important;
|
|
42
|
+
.govgr-nav__list--horizontal {
|
|
43
|
+
@apply px-0 lg:px-4;
|
|
44
|
+
}
|
|
52
45
|
}
|
|
53
46
|
.govgr-nav--border {
|
|
54
47
|
@apply sm:border-b sm:border-base-400;
|
|
55
48
|
}
|
|
56
|
-
.govgr-
|
|
57
|
-
@apply
|
|
49
|
+
.govgr-nav__list {
|
|
50
|
+
@apply w-full m-0 max-w-5xl static flex flex-wrap flex-col;
|
|
58
51
|
}
|
|
59
|
-
.govgr-
|
|
60
|
-
@apply
|
|
61
|
-
}
|
|
62
|
-
.govgr-nav__list-item {
|
|
63
|
-
@apply text-base-content
|
|
64
|
-
xs:py-1;
|
|
65
|
-
}
|
|
66
|
-
.govgr-nav--horizontal {
|
|
67
|
-
.govgr-nav--horizontal {
|
|
68
|
-
@apply sm:mt-2 sm:border-b-0 static w-full z-1 sm:order-1;
|
|
69
|
-
@apply block overflow-x-visible;
|
|
70
|
-
.govgr-nav__list {
|
|
71
|
-
@apply sm:px-0 sm:pb-0 sm:ml-6 !important;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
.govgr-nav__list {
|
|
75
|
-
@apply w-full m-0 max-w-5xl sm:mx-auto sm:gap-x-6 static sm:py-1 xs:px-3 sm:px-0
|
|
76
|
-
flex flex-wrap flex-col sm:flex-row;
|
|
77
|
-
.govgr-section-break {
|
|
78
|
-
margin-top: 41px !important;
|
|
79
|
-
@apply sm:flex !important;
|
|
80
|
-
@apply xs:hidden sm:p-0 absolute left-0 right-0;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
52
|
+
.govgr-nav__list--horizontal {
|
|
53
|
+
@apply sm:mx-auto sm:gap-x-6 sm:py-1 px-4 sm:flex-row;
|
|
83
54
|
.govgr-nav__list-item {
|
|
84
55
|
@apply sm:gap-x-6;
|
|
85
56
|
}
|
|
86
|
-
.govgr-close-btn {
|
|
87
|
-
@apply sm:hidden mt-3;
|
|
88
|
-
}
|
|
89
|
-
.govgr-heading-md {
|
|
90
|
-
@apply mb-0;
|
|
91
|
-
}
|
|
92
57
|
}
|
|
93
|
-
.govgr-
|
|
94
|
-
|
|
95
|
-
@apply sm:mt-2 sm:border-b-0 static w-full z-1;
|
|
96
|
-
@apply block overflow-x-visible;
|
|
97
|
-
}
|
|
98
|
-
.govgr-nav__list {
|
|
99
|
-
@apply w-full m-0 max-w-5xl static xs:px-3
|
|
100
|
-
flex flex-wrap flex-col;
|
|
101
|
-
}
|
|
102
|
-
.govgr-close-btn {
|
|
103
|
-
@apply sm:hidden mt-3;
|
|
104
|
-
}
|
|
105
|
-
.govgr-heading-md {
|
|
106
|
-
@apply mb-0;
|
|
107
|
-
}
|
|
58
|
+
.govgr-nav__list--full-width {
|
|
59
|
+
@apply max-w-none;
|
|
108
60
|
}
|
|
109
|
-
.govgr-nav__list
|
|
110
|
-
|
|
111
|
-
.govgr-drawer__heading {
|
|
112
|
-
@apply flex-row-reverse;
|
|
113
|
-
}
|
|
61
|
+
.govgr-nav__list-item {
|
|
62
|
+
@apply text-base-content font-normal py-1;
|
|
114
63
|
}
|
|
115
64
|
.govgr-nav__list-item-link,
|
|
116
65
|
.govgr-nav__list-item-btn {
|
|
117
|
-
@apply
|
|
118
|
-
.govgr-svg-icon {
|
|
119
|
-
@apply ml-0.5;
|
|
120
|
-
}
|
|
66
|
+
@apply text-left;
|
|
121
67
|
&:focus {
|
|
122
68
|
@apply bg-focus text-base-content outline-none;
|
|
123
69
|
box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
|
|
@@ -130,50 +76,71 @@
|
|
|
130
76
|
.govgr-nav__list-item-btn--active {
|
|
131
77
|
@apply text-base-content !important;
|
|
132
78
|
@apply font-semibold;
|
|
133
|
-
> .govgr-svg-icon {
|
|
134
|
-
fill: var(--color-base-content) !important;
|
|
135
|
-
}
|
|
136
79
|
}
|
|
137
80
|
|
|
138
|
-
/* --- NAV-MENU --- */
|
|
139
81
|
.govgr-nav-menu {
|
|
140
|
-
@apply flex
|
|
82
|
+
@apply flex w-full;
|
|
141
83
|
}
|
|
142
84
|
.govgr-nav-menu--hidden {
|
|
143
85
|
@apply hidden;
|
|
144
86
|
}
|
|
145
87
|
.govgr-nav-menu--horizontal {
|
|
146
88
|
@apply sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-base-100;
|
|
147
|
-
.govgr-main-wrapper {
|
|
148
|
-
@apply xs:gap-y-2;
|
|
149
|
-
}
|
|
150
89
|
.govgr-nav-menu__content-list {
|
|
151
|
-
@apply sm:grid-
|
|
152
|
-
|
|
90
|
+
@apply sm:grid-rows-1 sm:grid-cols-3;
|
|
91
|
+
}
|
|
92
|
+
.govgr-nav-menu__title {
|
|
93
|
+
@apply hidden sm:block;
|
|
94
|
+
+ .govgr-nav-menu__content > .govgr-nav-menu__content-list {
|
|
95
|
+
@apply sm:grid-cols-2;
|
|
96
|
+
}
|
|
153
97
|
}
|
|
154
98
|
}
|
|
155
99
|
.govgr-nav-menu--vertical {
|
|
156
|
-
.govgr-nav-
|
|
157
|
-
@apply p-0 grid-flow-row xs:grid-cols-1 xs:grid-rows-6;
|
|
158
|
-
}
|
|
159
|
-
.govgr-nav-menu__container-title {
|
|
160
|
-
@apply mt-3;
|
|
161
|
-
}
|
|
162
|
-
.govgr-nav-menu__container-title-heading {
|
|
100
|
+
.govgr-nav-menu__title {
|
|
163
101
|
@apply hidden;
|
|
164
102
|
}
|
|
103
|
+
.govgr-nav-menu__content-list {
|
|
104
|
+
@apply py-2 sm:py-4;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
.govgr-nav-menu__content-list {
|
|
108
|
+
@apply p-0 grid grid-flow-row grid-cols-1;
|
|
165
109
|
}
|
|
166
110
|
.govgr-nav-menu__content-list-item {
|
|
167
|
-
@apply relative pt-0 pb-5 pr-3 pl-0
|
|
111
|
+
@apply relative pt-0 pb-5 pr-3 pl-0 box-border;
|
|
168
112
|
}
|
|
169
113
|
|
|
170
|
-
/*
|
|
171
|
-
|
|
172
|
-
|
|
114
|
+
/* overrides */
|
|
115
|
+
|
|
116
|
+
.govgr-nav {
|
|
117
|
+
.govgr-close-btn {
|
|
118
|
+
@apply mb-4;
|
|
119
|
+
}
|
|
120
|
+
.govgr-heading-md {
|
|
121
|
+
@apply mb-2 md:mb-0;
|
|
122
|
+
}
|
|
173
123
|
}
|
|
174
|
-
.govgr-
|
|
175
|
-
|
|
124
|
+
/* .govgr-nav__list,
|
|
125
|
+
.govgr-grid {
|
|
126
|
+
.govgr-drawer__heading {
|
|
127
|
+
@apply flex-row-reverse;
|
|
128
|
+
}
|
|
129
|
+
} */
|
|
130
|
+
.govgr-nav__list-item-link,
|
|
131
|
+
.govgr-nav__list-item-btn {
|
|
132
|
+
> .govgr-svg-icon {
|
|
133
|
+
@apply ml-1;
|
|
134
|
+
}
|
|
176
135
|
}
|
|
177
|
-
.govgr-
|
|
178
|
-
|
|
136
|
+
.govgr-nav__list-item-link--active,
|
|
137
|
+
.govgr-nav__list-item-btn--active {
|
|
138
|
+
> .govgr-svg-icon {
|
|
139
|
+
fill: var(--color-base-content) !important;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
.govgr-nav-menu--horizontal {
|
|
143
|
+
.govgr-grid {
|
|
144
|
+
@apply gap-y-2;
|
|
145
|
+
}
|
|
179
146
|
}
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
.govgr-notification-banner {
|
|
2
2
|
@apply border-5 mb-6 md:mb-8 font-normal print:bg-white;
|
|
3
|
+
&.govgr-notification-banner--dense, .govgr-dense & {
|
|
4
|
+
@apply border-4 mb-4 md:mb-5;
|
|
5
|
+
.govgr-notification-banner__title {
|
|
6
|
+
@apply px-2 sm:px-3 pb-1;
|
|
7
|
+
}
|
|
8
|
+
.govgr-notification-banner__content {
|
|
9
|
+
@apply p-3 md:p-4;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
3
12
|
}
|
|
4
13
|
.govgr-notification-banner--info {
|
|
5
14
|
@apply bg-info border-info;
|
|
@@ -9,7 +18,7 @@
|
|
|
9
18
|
.govgr-notification-banner__link {
|
|
10
19
|
&:link:not(:focus) {
|
|
11
20
|
@apply text-success;
|
|
12
|
-
}
|
|
21
|
+
}
|
|
13
22
|
}
|
|
14
23
|
}
|
|
15
24
|
.govgr-notification-banner--error {
|
|
@@ -46,7 +55,9 @@
|
|
|
46
55
|
}
|
|
47
56
|
&:focus {
|
|
48
57
|
background-color: var(--color-focus);
|
|
49
|
-
box-shadow:
|
|
58
|
+
box-shadow:
|
|
59
|
+
0 -2px var(--color-focus),
|
|
60
|
+
0 4px var(--color-base-content);
|
|
50
61
|
text-decoration: none;
|
|
51
62
|
outline: none;
|
|
52
63
|
}
|
|
@@ -55,4 +66,4 @@
|
|
|
55
66
|
.govgr-notification-banner__link {
|
|
56
67
|
font-size: inherit;
|
|
57
68
|
}
|
|
58
|
-
}
|
|
69
|
+
}
|