@digigov/css 0.13.1 → 0.16.0
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/CHANGELOG.json +59 -0
- package/CHANGELOG.md +28 -1
- package/colors/color-values.js +52 -51
- package/dist/base/index.css +3 -3
- package/dist/base.css +3 -3
- package/dist/base.js +1 -1
- package/dist/components.css +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +3 -3
- package/package.json +2 -2
- package/src/components/accordion.css +1 -1
- package/src/components/admin-layout.css +3 -4
- package/src/components/breadcrumbs.css +1 -1
- package/src/components/button.css +4 -5
- package/src/components/details.css +1 -1
- package/src/components/drawer.css +28 -0
- package/src/components/dropdown.css +4 -4
- package/src/components/filter.css +1 -4
- package/src/components/footer.css +33 -34
- package/src/components/form.css +52 -54
- package/src/components/full-page-background.css +7 -0
- package/src/components/header.css +3 -4
- package/src/components/index.css +3 -0
- package/src/components/layout.css +17 -26
- package/src/components/loader.css +47 -0
- package/src/components/misc.css +1 -20
- package/src/components/modal.css +1 -1
- package/src/components/nav.css +24 -30
- package/src/components/notification-banner.css +4 -4
- package/src/components/pagination.css +11 -10
- package/src/components/phase-banner.css +0 -2
- package/src/components/radios.css +0 -1
- package/src/components/svg-icons.css +18 -4
- package/src/components/table.css +6 -16
- package/src/components/tabs.css +10 -11
- package/src/components/typography.css +17 -48
- package/src/pages/index.js +245 -317
- package/src/pages/pagination.js +20 -19
- package/src/utilities/index.css +1 -1
- package/src/utilities/utilities.css +1 -1
- package/tailwind.config.js +3 -35
|
@@ -1,51 +1,50 @@
|
|
|
1
1
|
.govgr-footer {
|
|
2
|
-
|
|
2
|
+
@apply border-0 border-solid font-normal text-base py-4 md:py-8 border-t-4 border-secondary-600 text-base-300 bg-gray-100 w-full;
|
|
3
3
|
}
|
|
4
4
|
.govgr-footer__meta {
|
|
5
|
-
|
|
5
|
+
@apply w-full flex flex-1 flex-wrap md:flex-nowrap items-end justify-between box-border;
|
|
6
6
|
}
|
|
7
7
|
.govgr-footer__meta-item {
|
|
8
|
-
|
|
8
|
+
@apply mx-2 md:mx-4 mb-6;
|
|
9
9
|
}
|
|
10
10
|
.govgr-footer__meta-item--grow {
|
|
11
|
-
|
|
11
|
+
@apply flex flex-grow;
|
|
12
12
|
}
|
|
13
13
|
.govgr-footer__content {
|
|
14
|
-
|
|
14
|
+
@apply w-full;
|
|
15
15
|
}
|
|
16
16
|
.govgr-footer__content--logos {
|
|
17
|
-
|
|
17
|
+
@apply flex flex-wrap items-center mb-6 md:mb-8;
|
|
18
18
|
}
|
|
19
19
|
.govgr-footer__logo {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
@apply mr-4;
|
|
21
|
+
&:last-child {
|
|
22
|
+
@apply mr-0;
|
|
23
|
+
}
|
|
24
24
|
}
|
|
25
25
|
.govgr-footer__logo, .govgr-footer__government-logo {
|
|
26
|
-
|
|
26
|
+
@apply max-w-full h-auto w-52;
|
|
27
27
|
}
|
|
28
28
|
.govgr-footer__licence-description {
|
|
29
|
-
|
|
29
|
+
@apply mt-6;
|
|
30
30
|
}
|
|
31
|
-
|
|
32
31
|
.govgr-footer__inline-list {
|
|
33
|
-
|
|
32
|
+
@apply mt-0 mb-4 p-0;
|
|
34
33
|
}
|
|
35
34
|
.govgr-footer__inline-list-item {
|
|
36
|
-
|
|
35
|
+
@apply inline-block mr-4 mb-2;
|
|
37
36
|
}
|
|
38
37
|
.govgr-footer__link {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
38
|
+
@apply underline ;
|
|
39
|
+
&:hover {
|
|
40
|
+
text-decoration-thickness: 2px;
|
|
41
|
+
}
|
|
42
|
+
&:focus {
|
|
43
|
+
background-color: var(--color-focus) !important;
|
|
44
|
+
box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
|
|
45
|
+
outline: none;
|
|
46
|
+
text-decoration: none;
|
|
47
|
+
}
|
|
49
48
|
}
|
|
50
49
|
.govgr-footer__navigation {
|
|
51
50
|
@apply flex flex-wrap;
|
|
@@ -54,21 +53,21 @@
|
|
|
54
53
|
@apply inline-block mx-4 mb-8 align-top flex-grow flex-shrink;
|
|
55
54
|
}
|
|
56
55
|
@media (min-width: 48em) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
.govgr-footer__section:first-child:nth-last-child(2) {
|
|
57
|
+
@apply flex-grow-2;
|
|
58
|
+
}
|
|
60
59
|
}
|
|
61
60
|
.govgr-footer__list {
|
|
62
|
-
|
|
61
|
+
@apply m-0 p-0 list-none gap-x-6;
|
|
63
62
|
}
|
|
64
63
|
@media (min-width: 48em) {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
.govgr-footer__list--columns-2 {
|
|
65
|
+
column-count: 2;
|
|
66
|
+
}
|
|
68
67
|
}
|
|
69
68
|
.govgr-footer__section-break {
|
|
70
|
-
|
|
69
|
+
@apply m-auto px-4 py-2 border-t border-gray-50 mb-5;
|
|
71
70
|
}
|
|
72
71
|
.govgr-footer__heading {
|
|
73
|
-
|
|
72
|
+
@apply mb-4 pb-4 border-b border-gray-50;
|
|
74
73
|
}
|
package/src/components/form.css
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
.govgr-form {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
.govgr-body {
|
|
3
|
+
@apply mb-4;
|
|
4
|
+
}
|
|
5
5
|
}
|
|
6
6
|
.govgr-form--row {
|
|
7
|
-
|
|
7
|
+
@apply flex flex-wrap gap-x-4;
|
|
8
8
|
}
|
|
9
9
|
.govgr-field {
|
|
10
|
-
|
|
10
|
+
@apply mb-8 md:mb-10;
|
|
11
11
|
}
|
|
12
12
|
.govgr-fieldset__legend {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
@apply md:text-lg text-base font-bold mx-0 lg:mb-4;
|
|
14
|
+
@apply mb-4 !important;
|
|
15
15
|
}
|
|
16
16
|
.govgr-label {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
@apply md:text-lg text-base mb-2
|
|
18
|
+
flex gap-y-3 flex-col;
|
|
19
|
+
.govgr-heading-s, .govgr-heading-m, .govgr-heading-l, .govgr-heading-xl, .govgr-hint, .govgr-error-message {
|
|
20
|
+
@apply mb-0;
|
|
21
|
+
}
|
|
22
22
|
}
|
|
23
23
|
.govgr-input, .govgr-select, .govgr-textarea{
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
@apply md:text-lg text-base w-full p-2 border-2 border-base-content bg-white;
|
|
25
|
+
&:focus {
|
|
26
|
+
outline: 4px solid var(--color-focus);
|
|
27
|
+
outline-offset: 0;
|
|
28
|
+
-webkit-box-shadow: inset 0 0 0 2px;
|
|
29
|
+
box-shadow: inset 0 0 0 2px;
|
|
30
|
+
}
|
|
31
31
|
}
|
|
32
32
|
.govgr-file-upload:focus {
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
outline: 3px solid;
|
|
34
|
+
box-shadow: 0 0 0 7px var(--color-focus);
|
|
35
35
|
}
|
|
36
36
|
.govgr-date-input {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
@apply flex;
|
|
38
|
+
.form-group {
|
|
39
|
+
@apply mr-4;
|
|
40
|
+
}
|
|
41
41
|
}
|
|
42
42
|
.govgr-input--width-20 {
|
|
43
|
-
|
|
43
|
+
max-width: 41ex;
|
|
44
44
|
}
|
|
45
45
|
.govgr-input--width-10 {
|
|
46
|
-
|
|
46
|
+
max-width: 23ex;
|
|
47
47
|
}
|
|
48
48
|
.govgr-input--width-5 {
|
|
49
|
-
|
|
49
|
+
max-width: 10.8ex;
|
|
50
50
|
}
|
|
51
51
|
.govgr-input--width-4 {
|
|
52
|
-
|
|
52
|
+
max-width: 9ex;
|
|
53
53
|
}
|
|
54
54
|
.govgr-input--width-3 {
|
|
55
|
-
|
|
55
|
+
max-width: 7.2ex;
|
|
56
56
|
}
|
|
57
57
|
.govgr-input--width-2 {
|
|
58
|
-
|
|
58
|
+
max-width: 5.4ex;
|
|
59
59
|
}
|
|
60
60
|
.govgr-date-input__item {
|
|
61
|
-
|
|
61
|
+
@apply mr-4;
|
|
62
62
|
}
|
|
63
63
|
.govgr-\!-width-one-quarter,
|
|
64
64
|
.govgr-\!-width-one-third,
|
|
@@ -66,30 +66,30 @@
|
|
|
66
66
|
.govgr-\!-width-two-thirds,
|
|
67
67
|
.govgr-\!-width-three-quarters,
|
|
68
68
|
.govgr-\!-width-full-width {
|
|
69
|
-
|
|
69
|
+
width: 100% !important;
|
|
70
70
|
}
|
|
71
71
|
@screen sm {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
72
|
+
.govgr-\!-width-one-quarter {
|
|
73
|
+
width: 25% !important;
|
|
74
|
+
}
|
|
75
|
+
.govgr-\!-width-one-third {
|
|
76
|
+
width: 33.33% !important;
|
|
77
|
+
}
|
|
78
|
+
.govgr-\!-width-one-half {
|
|
79
|
+
width: 50% !important;
|
|
80
|
+
}
|
|
81
|
+
.govgr-\!-width-two-thirds {
|
|
82
|
+
width: 66.66% !important;
|
|
83
|
+
}
|
|
84
|
+
.govgr-\!-width-three-quarters {
|
|
85
|
+
width: 75% !important;
|
|
86
|
+
}
|
|
87
|
+
.govgr-\!-width-full-width {
|
|
88
|
+
width: 100% !important;
|
|
89
|
+
}
|
|
90
90
|
}
|
|
91
91
|
.govgr-select {
|
|
92
|
-
|
|
92
|
+
@apply w-auto max-w-full;
|
|
93
93
|
}
|
|
94
94
|
/* error handling */
|
|
95
95
|
.govgr-field__error {
|
|
@@ -107,5 +107,3 @@
|
|
|
107
107
|
box-shadow: inset 0 0 0 1px var(--color-error);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
|
|
111
|
-
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
.govgr-header {
|
|
2
2
|
@apply bg-primary border-b-8 border-secondary-600;
|
|
3
3
|
border-bottom-style: solid;
|
|
4
|
-
|
|
5
4
|
}
|
|
6
5
|
.govgr-header__container {
|
|
7
6
|
@apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center;
|
|
@@ -13,9 +12,9 @@
|
|
|
13
12
|
@apply flex justify-start flex-wrap items-center gap-x-4 gap-y-2;
|
|
14
13
|
}
|
|
15
14
|
.govgr-header-title {
|
|
16
|
-
@apply text-
|
|
15
|
+
@apply text-base-100 font-bold text-2xl leading-10 tracking-wide no-underline
|
|
16
|
+
w-auto align-middle hover:text-base-100 hover:no-underline ;
|
|
17
17
|
}
|
|
18
|
-
|
|
19
18
|
.govgr-header-title:focus {
|
|
20
19
|
text-decoration:none;
|
|
21
20
|
outline: 4px solid var(--color-focus) !important;
|
|
@@ -37,7 +36,7 @@
|
|
|
37
36
|
.govgr-masthead {
|
|
38
37
|
@apply bg-secondary-600 text-content-dark;
|
|
39
38
|
.govgr-grid-column-two-thirds >*:last-child {
|
|
40
|
-
|
|
39
|
+
@apply mb-0;
|
|
41
40
|
}
|
|
42
41
|
.govgr-body {
|
|
43
42
|
@apply text-content-dark;
|
package/src/components/index.css
CHANGED
|
@@ -3,49 +3,46 @@
|
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
flex-wrap: wrap;
|
|
5
5
|
}
|
|
6
|
-
|
|
7
6
|
.govgr-layout-wrapper__full-height {
|
|
8
|
-
|
|
9
7
|
min-height: 100vh;
|
|
10
8
|
}
|
|
11
|
-
|
|
12
9
|
.govgr-width-container {
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
@apply max-w-5xl box-border mx-auto px-3 md:px-6 w-full;
|
|
11
|
+
flex: 1 1 0%;
|
|
15
12
|
}
|
|
16
13
|
.govgr-full-width-container {
|
|
17
14
|
@apply max-w-full box-border mx-auto px-3 md:px-6 w-full;
|
|
18
|
-
|
|
15
|
+
flex: 1 1 0%;
|
|
19
16
|
}
|
|
20
17
|
.govgr-main-wrapper {
|
|
21
|
-
|
|
18
|
+
@apply grid py-4 md:grid-cols-3 md:gap-12 grid-cols-1 gap-y-16;
|
|
22
19
|
}
|
|
23
20
|
.govgr-grid-column-two-thirds {
|
|
24
|
-
|
|
21
|
+
@apply col-span-2;
|
|
25
22
|
}
|
|
26
23
|
.govgr-grid-column-one-third {
|
|
27
|
-
|
|
24
|
+
@apply col-span-1 flex flex-wrap flex-col md:sticky md:top-8 h-fit;
|
|
28
25
|
}
|
|
29
26
|
.govgr-top {
|
|
30
|
-
|
|
27
|
+
@apply mb-4;
|
|
31
28
|
}
|
|
32
29
|
.govgr-bottom {
|
|
33
|
-
|
|
30
|
+
@apply w-full flex flex-wrap box-border;
|
|
34
31
|
}
|
|
35
32
|
.govgr-button-group {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
33
|
+
@apply flex flex-wrap gap-4 mb-6;
|
|
34
|
+
&>.govgr-link {
|
|
35
|
+
@apply flex mb-8 text-lg;
|
|
36
|
+
}
|
|
37
|
+
.govgr-btn {
|
|
38
|
+
@apply mb-0;
|
|
39
|
+
}
|
|
43
40
|
}
|
|
44
41
|
.govgr-section-break {
|
|
45
|
-
|
|
42
|
+
@apply m-auto px-4 py-2 border-0 w-full;
|
|
46
43
|
}
|
|
47
44
|
.govgr-section-break--visible {
|
|
48
|
-
|
|
45
|
+
@apply border-t border-gray-50;
|
|
49
46
|
}
|
|
50
47
|
.govgr-section-break--m {
|
|
51
48
|
@apply mb-5;
|
|
@@ -55,10 +52,4 @@
|
|
|
55
52
|
}
|
|
56
53
|
.govgr-section-break--xl {
|
|
57
54
|
@apply mb-9;
|
|
58
|
-
}
|
|
59
|
-
.important-bg {
|
|
60
|
-
@apply bg-error;
|
|
61
|
-
}
|
|
62
|
-
.info-bg {
|
|
63
|
-
@apply bg-base-100 text-base-content;
|
|
64
55
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--full-length: 470;
|
|
3
|
+
}
|
|
4
|
+
.govgr-loader__container {
|
|
5
|
+
@apply h-fit w-fit;
|
|
6
|
+
}
|
|
7
|
+
.govgr-loader {
|
|
8
|
+
animation: rotate 10s linear infinite;
|
|
9
|
+
width: 3rem;
|
|
10
|
+
height: 3rem;
|
|
11
|
+
}
|
|
12
|
+
.govgr-loader__circle {
|
|
13
|
+
fill: none;
|
|
14
|
+
stroke-miterlimit: 10;
|
|
15
|
+
stroke-width: 42px;
|
|
16
|
+
}
|
|
17
|
+
.govgr-loader__circle--1 {
|
|
18
|
+
stroke: var(--color-secondary);
|
|
19
|
+
}
|
|
20
|
+
.govgr-loader__circle--2 {
|
|
21
|
+
stroke: var(--color-primary);
|
|
22
|
+
stroke-dasharray: var(--full-length);
|
|
23
|
+
stroke-dashoffset: 0;
|
|
24
|
+
animation: dash 4s ease-in-out 0s forwards infinite;
|
|
25
|
+
}
|
|
26
|
+
@keyframes dash {
|
|
27
|
+
0% {
|
|
28
|
+
stroke-dashoffset: 0;
|
|
29
|
+
}
|
|
30
|
+
40% {
|
|
31
|
+
stroke-dashoffset: var(--full-length);
|
|
32
|
+
}
|
|
33
|
+
50% {
|
|
34
|
+
stroke-dashoffset: var(--full-length);
|
|
35
|
+
}
|
|
36
|
+
90% {
|
|
37
|
+
stroke-dashoffset: 0;
|
|
38
|
+
}
|
|
39
|
+
100% {
|
|
40
|
+
stroke-dashoffset: 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
@keyframes rotate {
|
|
44
|
+
to {
|
|
45
|
+
transform: rotate(360deg);
|
|
46
|
+
}
|
|
47
|
+
}
|
package/src/components/misc.css
CHANGED
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
}
|
|
14
14
|
.govgr-warning-text {
|
|
15
15
|
@apply flex pl-0 pr-0;
|
|
16
|
-
|
|
17
16
|
.govgr-warning-text__icon {
|
|
18
|
-
@apply text-white font-bold bg-base-content text-3xl leading-10 text-center rounded-3xl min-h-10 min-w-10 h-fit
|
|
17
|
+
@apply text-white font-bold bg-base-content text-3xl leading-10 text-center rounded-3xl min-h-10 min-w-10 h-fit mr-6 mt-2;
|
|
19
18
|
}
|
|
20
19
|
.govgr-warning-text__text {
|
|
21
20
|
@apply text-lg flex items-center;
|
|
@@ -34,30 +33,13 @@
|
|
|
34
33
|
white-space: nowrap !important;
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
|
-
span.govgr-caret-right, span.govgr-caret-left {
|
|
38
|
-
content: "";
|
|
39
|
-
width: 5px;
|
|
40
|
-
height: 10px;
|
|
41
|
-
@apply border-base-content block border-5 mr-3;
|
|
42
|
-
border-top-color: transparent;
|
|
43
|
-
border-bottom-color: transparent;
|
|
44
|
-
@apply transition-all;
|
|
45
|
-
}
|
|
46
|
-
span.govgr-caret-right {
|
|
47
|
-
@apply border-r-0;
|
|
48
|
-
}
|
|
49
|
-
span.govgr-caret-left {
|
|
50
|
-
@apply border-l-0;
|
|
51
|
-
}
|
|
52
36
|
.tooltip {
|
|
53
37
|
@apply inline-block relative m-0 p-0 underline w-min cursor-pointer;
|
|
54
38
|
text-decoration-style: dotted;
|
|
55
|
-
|
|
56
39
|
.tooltiptext {
|
|
57
40
|
@apply hidden opacity-0 transition-all;
|
|
58
41
|
backdrop-filter: blur(2px);
|
|
59
42
|
}
|
|
60
|
-
|
|
61
43
|
&:hover {
|
|
62
44
|
.tooltiptext {
|
|
63
45
|
@apply block opacity-100 absolute w-64 -ml-32 top-8 left-1/2 px-4 py-2 z-10;
|
|
@@ -73,7 +55,6 @@ span.govgr-caret-left {
|
|
|
73
55
|
}
|
|
74
56
|
}
|
|
75
57
|
}
|
|
76
|
-
|
|
77
58
|
.govgr-visually-hidden {
|
|
78
59
|
@apply absolute m-0 p-0 overflow-hidden border-0 whitespace-nowrap !important;
|
|
79
60
|
width: 1px !important;
|
package/src/components/modal.css
CHANGED
package/src/components/nav.css
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/* icon and transition of the burger icon */
|
|
2
1
|
.govgr-header {
|
|
3
2
|
.govgr-burger-icon {
|
|
4
|
-
|
|
3
|
+
fill: var(--color-white) ;
|
|
5
4
|
}
|
|
6
5
|
}
|
|
7
|
-
|
|
8
6
|
.govgr-burger-icon {
|
|
9
7
|
fill: var(--color-base-content) ;
|
|
10
8
|
@apply w-8 h-8 float-right cursor-pointer transition-all z-30
|
|
@@ -50,49 +48,45 @@
|
|
|
50
48
|
}
|
|
51
49
|
|
|
52
50
|
/* --- HORIZONTAL --- */
|
|
53
|
-
|
|
54
51
|
.govgr-horizontal-nav {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
52
|
+
@apply fixed w-3/4 sm:w-full h-full bg-secondary-800 text-content-dark
|
|
53
|
+
sm:relative sm:h-auto sm:bg-white sm:text-content
|
|
54
|
+
z-30 sm:z-auto
|
|
55
|
+
opacity-10 sm:opacity-100 sm:block transition-all duration-1000 sm:transition-none
|
|
56
|
+
-right-3/4 sm:right-auto top-0 sm:top-auto overflow-x-scroll sm:overflow-visible
|
|
57
|
+
border-b border-base-150
|
|
58
|
+
;
|
|
62
59
|
}
|
|
63
60
|
.govgr-horizontal-nav__container {
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
@apply w-full m-0 max-w-5xl sm:mx-auto px-4 sm:px-4 sm:py-2
|
|
62
|
+
flex flex-wrap flex-col sm:flex-row gap-4 sm:gap-2;
|
|
66
63
|
}
|
|
67
64
|
.govgr-horizontal-nav--active {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
65
|
+
@apply block opacity-100 right-0;
|
|
66
|
+
.govgr-horizontal-nav__container {
|
|
67
|
+
@apply mt-24 sm:mt-auto;
|
|
68
|
+
}
|
|
69
|
+
> * {
|
|
70
|
+
@apply py-4 md:py-1;
|
|
71
|
+
}
|
|
75
72
|
}
|
|
76
73
|
.govgr-horizontal-nav__item {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
74
|
+
@apply p-1 text-xl
|
|
75
|
+
sm:py-1 sm:px-1 sm:text-base
|
|
76
|
+
no-underline hover:underline;
|
|
81
77
|
}
|
|
82
|
-
|
|
83
78
|
.govgr-horizontal-nav__item:focus {
|
|
84
79
|
@apply bg-focus text-base-content outline-none;
|
|
85
|
-
box-shadow: 0 -2px var(--color-focus), 0 4px
|
|
80
|
+
box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
|
|
86
81
|
}
|
|
87
82
|
.govgr-horizontal-nav__item-active, .govgr-vertical-nav__item--active {
|
|
88
|
-
|
|
83
|
+
@apply font-semibold;
|
|
89
84
|
}
|
|
90
85
|
|
|
91
86
|
/* --- VERTICAL --- */
|
|
92
|
-
|
|
93
87
|
.govgr-vertical-nav {
|
|
94
|
-
|
|
88
|
+
@apply flex flex-wrap;
|
|
95
89
|
}
|
|
96
90
|
.govgr-vertical-nav__item {
|
|
97
|
-
|
|
91
|
+
@apply w-full p-2;
|
|
98
92
|
}
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
text-decoration-thickness: 2px;
|
|
37
37
|
}
|
|
38
38
|
&:focus {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
background-color: var(--color-focus);
|
|
40
|
+
box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
|
|
41
|
+
text-decoration:none;
|
|
42
|
+
outline: none;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.govgr-pagination{
|
|
2
|
-
@apply flex flex-wrap items-center justify-items-center md:text-
|
|
1
|
+
.govgr-pagination {
|
|
2
|
+
@apply flex flex-wrap items-center justify-items-center justify-between md:text-base text-sm;
|
|
3
3
|
}
|
|
4
|
-
.govgr-pagination__list{
|
|
5
|
-
@apply flex-
|
|
4
|
+
.govgr-pagination__list {
|
|
5
|
+
@apply flex items-center;
|
|
6
6
|
}
|
|
7
|
-
.govgr-pagination__item--
|
|
7
|
+
.govgr-pagination__item--current, .govgr-pagination__item--dots {
|
|
8
8
|
@apply font-bold;
|
|
9
9
|
}
|
|
10
10
|
.govgr-pagination__item {
|
|
@@ -12,20 +12,21 @@
|
|
|
12
12
|
@apply flex no-underline;
|
|
13
13
|
}
|
|
14
14
|
@apply inline-block p-2;
|
|
15
|
-
|
|
16
15
|
&:first-child {
|
|
17
16
|
@apply pl-0
|
|
18
17
|
}
|
|
19
18
|
&:last-child {
|
|
20
19
|
@apply pr-0
|
|
21
20
|
}
|
|
22
|
-
|
|
23
21
|
}
|
|
24
|
-
.govgr-
|
|
22
|
+
.govgr-pagination__label {
|
|
23
|
+
@apply text-base-content md:text-base md:leading-normal text-sm;
|
|
24
|
+
}
|
|
25
|
+
.govgr-pagination__item--inactive {
|
|
25
26
|
.govgr-link {
|
|
26
|
-
@apply flex text-gray-600 cursor-not-allowed no-underline;
|
|
27
|
+
@apply flex text-gray-600 cursor-not-allowed no-underline font-normal;
|
|
27
28
|
}
|
|
28
|
-
.govgr-arrow--left, .govgr-arrow--right{
|
|
29
|
+
.govgr-arrow--left, .govgr-arrow--right {
|
|
29
30
|
fill:var(--color-gray-600);
|
|
30
31
|
}
|
|
31
32
|
}
|