@digigov/css 0.4.0 → 0.6.2
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 +93 -0
- package/CHANGELOG.md +47 -1
- package/colors/color-values.js +3 -0
- package/dist/base/index.css +7 -0
- package/dist/base.css +7 -0
- package/dist/base.js +1 -1
- package/dist/components.css +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +7 -1
- package/dist/utilities/index.css +1 -0
- package/dist/utilities.css +1 -1
- package/dist/utilities.js +1 -1
- package/package.json +14 -9
- package/postcss.config.js +6 -0
- package/src/base/base.css +2 -0
- package/src/base/index.css +6 -0
- package/src/base/postcss.config.js +31 -0
- package/src/base/tailwind.config.js +11 -0
- package/src/components/accordion.css +57 -0
- package/src/components/admin-form.css +5 -0
- package/src/components/admin-header.css +9 -0
- package/src/components/admin-layout.css +56 -0
- package/src/components/breadcrumps.css +36 -0
- package/src/components/button.css +82 -0
- package/src/components/card.css +24 -0
- package/src/components/checkboxes.css +67 -0
- package/src/components/components.css +2 -0
- package/src/components/details.css +22 -0
- package/src/components/filter.css +129 -0
- package/src/components/footer.css +75 -0
- package/src/components/form.css +103 -0
- package/src/components/header.css +56 -0
- package/src/components/index.css +24 -0
- package/src/components/layout.css +61 -0
- package/src/components/misc.css +84 -0
- package/src/components/nav.css +83 -0
- package/src/components/notification-banner.css +44 -0
- package/src/components/panel.css +12 -0
- package/src/components/phase-banner.css +17 -0
- package/src/components/postcss.config.js +20 -0
- package/src/components/radios.css +68 -0
- package/src/components/summary-list.css +45 -0
- package/src/components/table.css +108 -0
- package/src/components/tabs.css +59 -0
- package/src/components/tailwind.config.js +10 -0
- package/src/components/typography.css +171 -0
- package/src/index.css +5 -0
- package/src/pages/_app.js +5 -0
- package/src/pages/admin-filtering-data.js +155 -0
- package/src/pages/admin.js +61 -0
- package/src/pages/form.js +253 -0
- package/src/pages/headings/service-heading.js +20 -0
- package/src/pages/index.js +495 -0
- package/src/pages/table.js +308 -0
- package/src/utilities/index.css +66 -0
- package/src/utilities/postcss.config.js +20 -0
- package/src/utilities/tailwind.config.js +1 -0
- package/src/utilities/utilities.css +72 -0
- package/tailwind.config.js +111 -0
- package/dist/base/base.css +0 -0
- package/dist/utilities/utilities.css +0 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/* button { */
|
|
2
|
+
.govgr-btn {
|
|
3
|
+
@apply tracking-wide leading-relaxed font-medium m-0 mr-4 mb-8 w-max cursor-pointer
|
|
4
|
+
flex items-center ;
|
|
5
|
+
.right-arrow::after {
|
|
6
|
+
content: "";
|
|
7
|
+
@apply w-06rem h-06rem border-white block border-t-2_5 border-r-2_5 ml-2 mr-2 transition-all transform rotate-45;
|
|
8
|
+
}
|
|
9
|
+
&:hover {
|
|
10
|
+
-webkit-box-shadow: 0 2px 0 #0b0c0c;
|
|
11
|
+
box-shadow: 0 2px 0 #0b0c0c;
|
|
12
|
+
.govgr-btn-cta__arrow {
|
|
13
|
+
@apply ml-4 mr-0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
&:focus {
|
|
17
|
+
@apply border-focus;
|
|
18
|
+
outline: 3px solid transparent;
|
|
19
|
+
-webkit-box-shadow: inset 0 0 0 3px #fd0;
|
|
20
|
+
box-shadow: inset 0 0 0 3px #fd0;
|
|
21
|
+
outline-offset: 0px;
|
|
22
|
+
}
|
|
23
|
+
&:focus:not(:active):not(:hover) {
|
|
24
|
+
@apply border-focus text-base-content bg-focus;
|
|
25
|
+
-webkit-box-shadow: 0 2px 0 #0b0c0c;
|
|
26
|
+
box-shadow: 0 2px 0 #0b0c0c;
|
|
27
|
+
.govgr-btn-cta__arrow {
|
|
28
|
+
fill:#0b0c0c;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
.govgr-background-dark {
|
|
34
|
+
button {
|
|
35
|
+
@apply border-white hover:border-white border;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
.govgr-btn-primary {
|
|
40
|
+
-webkit-box-shadow: 0 2px 0 #0b0c0c;
|
|
41
|
+
box-shadow: 0 2px 0 #0b0c0c;
|
|
42
|
+
@apply
|
|
43
|
+
bg-success
|
|
44
|
+
text-lg text-white
|
|
45
|
+
px-6 py-2
|
|
46
|
+
rounded-none
|
|
47
|
+
hover:bg-success-hover active:bg-green-800 hover:text-white hover:no-underline;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.govgr-btn-cta {
|
|
51
|
+
@apply text-xl py-4;
|
|
52
|
+
}
|
|
53
|
+
.govgr-btn-secondary {
|
|
54
|
+
-webkit-box-shadow: 0 2px 0 #929191;
|
|
55
|
+
box-shadow: 0 2px 0 #929191;
|
|
56
|
+
@apply
|
|
57
|
+
bg-base-100
|
|
58
|
+
text-lg text-base-content
|
|
59
|
+
px-6 py-2
|
|
60
|
+
rounded-none
|
|
61
|
+
hover:bg-base-150 active:bg-gray-300 hover:text-white hover:no-underline;
|
|
62
|
+
}
|
|
63
|
+
.govgr-btn-warning {
|
|
64
|
+
webkit-box-shadow: 0 2px 0 #0b0c0c;
|
|
65
|
+
box-shadow: 0 2px 0 #0b0c0c;
|
|
66
|
+
@apply
|
|
67
|
+
bg-error
|
|
68
|
+
text-lg text-white
|
|
69
|
+
px-6 py-2
|
|
70
|
+
rounded-none
|
|
71
|
+
hover:bg-error-hover active:bg-red-600 hover:text-white hover:no-underline;
|
|
72
|
+
}
|
|
73
|
+
.govgr-btn-disabled {
|
|
74
|
+
@apply bg-opacity-50 hover:bg-opacity-50 cursor-not-allowed;
|
|
75
|
+
}
|
|
76
|
+
.govgr-btn-link {
|
|
77
|
+
@apply block;
|
|
78
|
+
}
|
|
79
|
+
.govgr-btn-cta__arrow {
|
|
80
|
+
fill:white;
|
|
81
|
+
@apply w-7 h-7 inline-block ml-2 mr-2 transition-all;
|
|
82
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.govgr-card {
|
|
2
|
+
@apply mb-7 text-base-content;
|
|
3
|
+
}
|
|
4
|
+
.govgr-card--border {
|
|
5
|
+
@apply border-2 border-base-content p-6;
|
|
6
|
+
}
|
|
7
|
+
.govgr-card--divider {
|
|
8
|
+
@apply border-b border-gray-50 pb-4 mb-4;
|
|
9
|
+
}
|
|
10
|
+
.govgr-card__heading {
|
|
11
|
+
@apply md:text-2xl text-xl font-bold;
|
|
12
|
+
}
|
|
13
|
+
.govgr-card__text {
|
|
14
|
+
@apply text-base lg:text-xl text-lg;
|
|
15
|
+
}
|
|
16
|
+
.govgr-card__body {
|
|
17
|
+
@apply grid gap-3 md:gap-4;
|
|
18
|
+
}
|
|
19
|
+
.govgr-card__action {
|
|
20
|
+
@apply flex flex-wrap items-center gap-y-4;
|
|
21
|
+
* {
|
|
22
|
+
@apply mb-0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
.govgr-checkboxes--inline {
|
|
2
|
+
@apply inline-flex flex-wrap;
|
|
3
|
+
}
|
|
4
|
+
.govgr-checkboxes__item {
|
|
5
|
+
@apply block relative mb-4 pl-12;
|
|
6
|
+
min-height: 40px;
|
|
7
|
+
}
|
|
8
|
+
.govgr-checkboxes__label {
|
|
9
|
+
@apply inline-block py-1 px-2 cursor-pointer;
|
|
10
|
+
}
|
|
11
|
+
.govgr-checkboxes__input {
|
|
12
|
+
@apply absolute z-10 left-0.5 -top-0.5 m-0 opacity-100
|
|
13
|
+
w-10 h-10 cursor-pointer;
|
|
14
|
+
&:before {
|
|
15
|
+
content: "";
|
|
16
|
+
-webkit-box-sizing: border-box;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
@apply absolute top-0 left-0 w-10 h-10
|
|
19
|
+
border-base-content border-2 bg-transparent opacity-100;
|
|
20
|
+
}
|
|
21
|
+
&:after {
|
|
22
|
+
content: "";
|
|
23
|
+
-webkit-box-sizing: border-box;
|
|
24
|
+
box-sizing: border-box;
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 11px;
|
|
27
|
+
left: 9px;
|
|
28
|
+
width: 23px;
|
|
29
|
+
height: 12px;
|
|
30
|
+
-webkit-transform: rotate(-45deg);
|
|
31
|
+
-ms-transform: rotate(-45deg);
|
|
32
|
+
transform: rotate(-45deg);
|
|
33
|
+
border: solid;
|
|
34
|
+
border-width: 0 0 5px 5px;
|
|
35
|
+
border-top-color: transparent;
|
|
36
|
+
opacity: 0;
|
|
37
|
+
background: transparent;
|
|
38
|
+
}
|
|
39
|
+
&:checked {
|
|
40
|
+
&:after {
|
|
41
|
+
opacity: 1;
|
|
42
|
+
}
|
|
43
|
+
&:before {
|
|
44
|
+
background-color: white;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
&:focus {
|
|
48
|
+
outline: 3px solid transparent;
|
|
49
|
+
outline-offset: 1px;
|
|
50
|
+
box-shadow: 0 0 0 3px #fd0;
|
|
51
|
+
&:before {
|
|
52
|
+
border-width: 4px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
.govgr-checkboxes__hint {
|
|
57
|
+
@apply px-2 mb-2;
|
|
58
|
+
}
|
|
59
|
+
.govgr-checkboxes__divider, .govgr-radios__divider {
|
|
60
|
+
@apply text-lg text-center w-10 mb-4;
|
|
61
|
+
}
|
|
62
|
+
.govgr-checkboxes__conditional, .govgr-radios__conditional {
|
|
63
|
+
@apply border-l-4 border-base-200 ml-4 pl-6;
|
|
64
|
+
}
|
|
65
|
+
.govgr-checkboxes__conditional--hidden, .govgr-radios__conditional--hidden {
|
|
66
|
+
@apply hidden;
|
|
67
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.govgr-details {
|
|
2
|
+
@apply md:text-lg text-base;
|
|
3
|
+
@apply md:mb-8 mb-4
|
|
4
|
+
}
|
|
5
|
+
.govgr-details__summary {
|
|
6
|
+
width: fit-content;
|
|
7
|
+
@apply mb-0 underline cursor-pointer;
|
|
8
|
+
&:hover {
|
|
9
|
+
text-decoration-thickness: 2px;
|
|
10
|
+
}
|
|
11
|
+
&:focus {
|
|
12
|
+
background-color: #fd0;
|
|
13
|
+
box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
|
|
14
|
+
text-decoration:none;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
.govgr-details__summary-text {
|
|
18
|
+
@apply border-l-2 border-base-200 py-2 px-4 mt-4;
|
|
19
|
+
>*:last-child {
|
|
20
|
+
@apply mb-0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
.govgr-filter {
|
|
2
|
+
@apply border border-gray-50 md:block bg-white;
|
|
3
|
+
@apply fixed top-0 right-0 bottom-0 overflow-y-scroll z-50 w-4/5;
|
|
4
|
+
box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
|
|
5
|
+
@apply md:relative md:overflow-auto md:w-full md:shadow-none;
|
|
6
|
+
.govgr-select {
|
|
7
|
+
@apply w-full;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
.govgr-filter__close-link {
|
|
11
|
+
@apply flex flex-nowrap md:hidden text-right w-max float-right;
|
|
12
|
+
&:focus {
|
|
13
|
+
.govgr-close-icon {
|
|
14
|
+
* {
|
|
15
|
+
@apply bg-base-content;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.govgr-close-icon {
|
|
22
|
+
@apply w-6 flex flex-wrap flex-col justify-between transition-all z-30 float-right;
|
|
23
|
+
height: 1.1rem;
|
|
24
|
+
@apply ml-2 !important;
|
|
25
|
+
* {
|
|
26
|
+
@apply w-6 h-0.5 transition-all duration-500 relative bg-link;
|
|
27
|
+
}
|
|
28
|
+
.govgr-close-icon__line1 {
|
|
29
|
+
@apply transform rotate-45 origin-top-left;
|
|
30
|
+
}
|
|
31
|
+
.govgr-close-icon__line2 {
|
|
32
|
+
@apply transform -rotate-45 origin-bottom-left ;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
.govgr-filter__heading, .govgr-filter__selected, .govgr-filter__options {
|
|
39
|
+
@apply p-4;
|
|
40
|
+
}
|
|
41
|
+
.govgr-filter__heading {
|
|
42
|
+
/* @apply bg-primary text-base-content-invert; */
|
|
43
|
+
* {
|
|
44
|
+
@apply m-0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.govgr-filter__selected {
|
|
48
|
+
/* @apply bg-gray-100 p-4; */
|
|
49
|
+
@apply bg-gray-100 p-4 m-2 mt-0 rounded;
|
|
50
|
+
}
|
|
51
|
+
.govgr-filter__selected-heading {
|
|
52
|
+
@apply flex flex-wrap sm:flex-nowrap mb-4 md:mb-6 justify-between gap-x-2;
|
|
53
|
+
* {
|
|
54
|
+
@apply m-0 h-full;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.govgr-chip--heading {
|
|
58
|
+
@apply font-bold md:text-base text-sm pb-4;
|
|
59
|
+
}
|
|
60
|
+
.govgr-chips {
|
|
61
|
+
@apply flex flex-wrap;
|
|
62
|
+
}
|
|
63
|
+
.govgr-chip {
|
|
64
|
+
@apply bg-white text-base-content lg:text-base text-sm border-2 border-base-content
|
|
65
|
+
inline-flex items-center px-2 py-1 mr-2 mb-2 rounded shadow;
|
|
66
|
+
&:hover {
|
|
67
|
+
@apply shadow-lg text-base-content-invert bg-gray-800 border-gray-800 transition;
|
|
68
|
+
.govgr-chip--x-line1, .govgr-chip--x-line2 {
|
|
69
|
+
@apply border-base-content-invert;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
&:focus {
|
|
73
|
+
outline: 3px solid #fd0;
|
|
74
|
+
outline-offset: 0;
|
|
75
|
+
-webkit-box-shadow: inset 0 0 0 2px;
|
|
76
|
+
box-shadow: inset 0 0 0 2px;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
.govgr-chip--x-icon {
|
|
80
|
+
@apply relative w-4 h-4 ml-2;
|
|
81
|
+
}
|
|
82
|
+
.govgr-chip--x-line1, .govgr-chip--x-line2 {
|
|
83
|
+
@apply w-full border-t-2 border-base-content transform block absolute top-2 transition;
|
|
84
|
+
}
|
|
85
|
+
.govgr-chip--x-line1 {
|
|
86
|
+
@apply rotate-45;
|
|
87
|
+
}
|
|
88
|
+
.govgr-chip--x-line2 {
|
|
89
|
+
@apply -rotate-45;
|
|
90
|
+
}
|
|
91
|
+
.govgr-input__search-button {
|
|
92
|
+
@apply bg-success w-min py-2 px-4 border-2 border-l-0 border-success m-0 ml-2 rounded;
|
|
93
|
+
&:focus {
|
|
94
|
+
.govgr-input__search-button-icon1, .govgr-input__search-button-icon2 {
|
|
95
|
+
@apply border-base-content;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
.govgr-input__search-button-icon {
|
|
100
|
+
@apply w-5 h-5 relative;
|
|
101
|
+
}
|
|
102
|
+
.govgr-input__search-button-icon1 {
|
|
103
|
+
@apply w-4 h-4 border-2 border-white rounded-3xl block absolute;
|
|
104
|
+
}
|
|
105
|
+
.govgr-input__search-button-icon2 {
|
|
106
|
+
@apply w-2 h-1 border-t-2 border-white transform rotate-45 block absolute bottom-0 right-0;
|
|
107
|
+
}
|
|
108
|
+
.govgr-search {
|
|
109
|
+
@apply flex w-full max-w-3xl;
|
|
110
|
+
}
|
|
111
|
+
.govgr-results-action-bar {
|
|
112
|
+
@apply py-2 mb-8 flex flex-wrap justify-start gap-4 items-baseline;
|
|
113
|
+
/* @apply border border-gray-50 p-2 mb-4 flex flex-wrap justify-end gap-4; */
|
|
114
|
+
* {
|
|
115
|
+
@apply mb-0;
|
|
116
|
+
}
|
|
117
|
+
.govgr-field {
|
|
118
|
+
@apply flex items-baseline gap-2;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
.govgr-results-heading {
|
|
122
|
+
@apply flex flex-wrap justify-between items-baseline gap-x-2;
|
|
123
|
+
}
|
|
124
|
+
.govgr-results-heading__actions {
|
|
125
|
+
@apply flex flex-wrap gap-4 justify-start min-w-min mb-4;
|
|
126
|
+
}
|
|
127
|
+
.govgr-link-filters {
|
|
128
|
+
@apply block md:hidden;
|
|
129
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
.govgr-footer {
|
|
2
|
+
@apply border-0 border-solid font-normal text-base pt-4 md:pt-8 pb-2 md:pb-8 border-t-4 border-secondary-600 text-base-300 bg-gray-100 w-full;
|
|
3
|
+
}
|
|
4
|
+
.govgr-footer__meta {
|
|
5
|
+
@apply w-full flex flex-1 flex-wrap items-end justify-around box-border;
|
|
6
|
+
}
|
|
7
|
+
.govgr-footer__meta-item {
|
|
8
|
+
@apply mx-2 md:mx-4 mb-6;
|
|
9
|
+
}
|
|
10
|
+
.govgr-footer__meta-item--grow {
|
|
11
|
+
@apply flex flex-grow;
|
|
12
|
+
}
|
|
13
|
+
.govgr-footer__content {
|
|
14
|
+
@apply w-full;
|
|
15
|
+
}
|
|
16
|
+
.govgr-footer__content--logos {
|
|
17
|
+
@apply flex mb-6 md:mb-8;
|
|
18
|
+
}
|
|
19
|
+
.govgr-footer__logo {
|
|
20
|
+
@apply mr-4;
|
|
21
|
+
&:last-child {
|
|
22
|
+
@apply mr-0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.govgr-footer__logo, .govgr-footer__government-logo {
|
|
26
|
+
@apply max-w-xs max-h-14 w-auto h-auto;
|
|
27
|
+
max-width: 224px;
|
|
28
|
+
}
|
|
29
|
+
.govgr-footer__licence-description {
|
|
30
|
+
@apply mt-6;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.govgr-footer__inline-list {
|
|
34
|
+
@apply mt-0 mb-4 p-0;
|
|
35
|
+
}
|
|
36
|
+
.govgr-footer__inline-list-item {
|
|
37
|
+
@apply inline-block mr-4 mb-2;
|
|
38
|
+
}
|
|
39
|
+
.govgr-footer__link {
|
|
40
|
+
@apply underline ;
|
|
41
|
+
&:hover {
|
|
42
|
+
text-decoration-thickness: 2px;
|
|
43
|
+
}
|
|
44
|
+
&:focus {
|
|
45
|
+
background-color: #fd0 !important;
|
|
46
|
+
box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
|
|
47
|
+
outline: none;
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.govgr-footer__navigation {
|
|
52
|
+
@apply flex flex-wrap;
|
|
53
|
+
}
|
|
54
|
+
.govgr-footer__section {
|
|
55
|
+
@apply inline-block mx-4 mb-8 align-top flex-grow flex-shrink;
|
|
56
|
+
}
|
|
57
|
+
@media (min-width: 48em) {
|
|
58
|
+
.govgr-footer__section:first-child:nth-last-child(2) {
|
|
59
|
+
@apply flex-grow-2;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
.govgr-footer__list {
|
|
63
|
+
@apply m-0 p-0 list-none gap-x-6;
|
|
64
|
+
}
|
|
65
|
+
@media (min-width: 48em) {
|
|
66
|
+
.govgr-footer__list--columns-2 {
|
|
67
|
+
column-count: 2;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
.govgr-footer__section-break {
|
|
71
|
+
@apply m-auto px-4 py-2 border-t border-gray-50 mb-5;
|
|
72
|
+
}
|
|
73
|
+
.govgr-footer__heading {
|
|
74
|
+
@apply mb-4 pb-4 border-b border-gray-50;
|
|
75
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
.govgr-form {
|
|
2
|
+
p {
|
|
3
|
+
@apply mb-4;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
.govgr-form--row {
|
|
7
|
+
@apply flex flex-wrap gap-x-4;
|
|
8
|
+
}
|
|
9
|
+
.govgr-field {
|
|
10
|
+
@apply mb-8 md:mb-10;
|
|
11
|
+
}
|
|
12
|
+
.govgr-fieldset__legend {
|
|
13
|
+
@apply md:text-lg text-base font-bold mx-0 lg:mb-4;
|
|
14
|
+
@apply mb-4 !important;
|
|
15
|
+
}
|
|
16
|
+
.govgr-label {
|
|
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
|
+
}
|
|
23
|
+
.govgr-input, .govgr-select, .govgr-textarea{
|
|
24
|
+
@apply md:text-lg text-base w-full p-2 border-2 border-base-content;
|
|
25
|
+
&:focus {
|
|
26
|
+
outline: 3px solid #fd0;
|
|
27
|
+
outline-offset: 0;
|
|
28
|
+
-webkit-box-shadow: inset 0 0 0 2px;
|
|
29
|
+
box-shadow: inset 0 0 0 2px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.govgr-file-upload:focus {
|
|
33
|
+
outline: 3px solid;
|
|
34
|
+
box-shadow: 0 0 0 7px #fd0;
|
|
35
|
+
}
|
|
36
|
+
.govgr-date-input {
|
|
37
|
+
@apply flex;
|
|
38
|
+
.form-group {
|
|
39
|
+
@apply mr-4;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.govgr-input--width-20 {
|
|
43
|
+
max-width: 41ex;
|
|
44
|
+
}
|
|
45
|
+
.govgr-input--width-10 {
|
|
46
|
+
max-width: 23ex;
|
|
47
|
+
}
|
|
48
|
+
.govgr-input--width-5 {
|
|
49
|
+
max-width: 10.8ex;
|
|
50
|
+
}
|
|
51
|
+
.govgr-input--width-4 {
|
|
52
|
+
max-width: 9ex;
|
|
53
|
+
}
|
|
54
|
+
.govgr-input--width-3 {
|
|
55
|
+
max-width: 7.2ex;
|
|
56
|
+
}
|
|
57
|
+
.govgr-input--width-2 {
|
|
58
|
+
max-width: 5.4ex;
|
|
59
|
+
}
|
|
60
|
+
.govgr-date-input__item {
|
|
61
|
+
@apply mr-4;
|
|
62
|
+
}
|
|
63
|
+
.govgr-\!-width-one-quarter,
|
|
64
|
+
.govgr-\!-width-one-third,
|
|
65
|
+
.govgr-\!-width-one-half,
|
|
66
|
+
.govgr-\!-width-two-thirds,
|
|
67
|
+
.govgr-\!-width-three-quarters,
|
|
68
|
+
.govgr-\!-width-full-width {
|
|
69
|
+
width: 100% !important;
|
|
70
|
+
}
|
|
71
|
+
@screen sm {
|
|
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
|
+
}
|
|
91
|
+
.govgr-select {
|
|
92
|
+
@apply w-auto max-w-full;
|
|
93
|
+
}
|
|
94
|
+
/* error handling */
|
|
95
|
+
.govgr-field__error {
|
|
96
|
+
@apply border-l-5 border-error px-0 pl-4;
|
|
97
|
+
}
|
|
98
|
+
.govgr-error-message {
|
|
99
|
+
@apply md:text-lg text-base block mb-4 text-error font-semibold;
|
|
100
|
+
}
|
|
101
|
+
.govgr-error-input {
|
|
102
|
+
@apply border-error border-3;
|
|
103
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.govgr-header {
|
|
2
|
+
@apply bg-primary border-b-8 border-secondary-600;
|
|
3
|
+
border-bottom-style: solid;
|
|
4
|
+
|
|
5
|
+
}
|
|
6
|
+
.govgr-header__container {
|
|
7
|
+
@apply container px-4 py-2 max-w-5xl flex justify-between items-center;
|
|
8
|
+
}
|
|
9
|
+
.govgr-header__container-full {
|
|
10
|
+
@apply max-w-full;
|
|
11
|
+
}
|
|
12
|
+
.govgr-header__content {
|
|
13
|
+
@apply flex justify-start flex-wrap items-center;
|
|
14
|
+
* {
|
|
15
|
+
@apply mr-4 my-1 md:my-0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.govgr-header-title {
|
|
19
|
+
@apply text-2xl font-bold align-middle text-base-100 leading-10 tracking-wide w-auto hover:text-base-100 hover:no-underline;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.govgr-header-title:focus {
|
|
23
|
+
@apply text-gray-900;
|
|
24
|
+
background-color: #fd0;
|
|
25
|
+
box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
|
|
26
|
+
text-decoration:none;
|
|
27
|
+
outline: none;
|
|
28
|
+
}
|
|
29
|
+
.govgr-header-logo {
|
|
30
|
+
@apply h-12;
|
|
31
|
+
}
|
|
32
|
+
.govgr-header-secondary-logo {
|
|
33
|
+
@apply h-10;
|
|
34
|
+
}
|
|
35
|
+
.govgr-header-link:focus{
|
|
36
|
+
box-shadow: 0px 0px 0px 4px #fd0;
|
|
37
|
+
-webkit-box-shadow: 0px 0px 0px 4px #fd0;
|
|
38
|
+
-moz-box-shadow: 0px 0px 0px 4px #fd0;
|
|
39
|
+
outline: none;
|
|
40
|
+
text-decoration: none;
|
|
41
|
+
}
|
|
42
|
+
.govgr-masthead {
|
|
43
|
+
@apply bg-secondary-600 text-content-dark;
|
|
44
|
+
.govgr-grid-column-two-thirds >*:last-child {
|
|
45
|
+
@apply mb-0;
|
|
46
|
+
}
|
|
47
|
+
.govgr-body {
|
|
48
|
+
@apply text-content-dark;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.govgr-masthead-body {
|
|
52
|
+
@apply md:mb-10 mb-6 text-base-content-invert md:text-lg text-base leading-7;
|
|
53
|
+
}
|
|
54
|
+
.govgr-masthead-logo {
|
|
55
|
+
@apply md:mb-6 mb-4 h-10;
|
|
56
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import "./accordion.css";
|
|
2
|
+
@import "./button.css";
|
|
3
|
+
@import "./form.css";
|
|
4
|
+
@import "./checkboxes.css";
|
|
5
|
+
@import "./radios.css";
|
|
6
|
+
@import "./header.css";
|
|
7
|
+
@import "./footer.css";
|
|
8
|
+
@import "./layout.css";
|
|
9
|
+
@import "./nav.css";
|
|
10
|
+
@import "./typography.css";
|
|
11
|
+
@import "./table.css";
|
|
12
|
+
@import "./filter.css";
|
|
13
|
+
@import "./admin-layout.css";
|
|
14
|
+
@import "./admin-form.css";
|
|
15
|
+
@import "./admin-header.css";
|
|
16
|
+
@import "./breadcrumps.css";
|
|
17
|
+
@import "./card.css";
|
|
18
|
+
@import "./details.css";
|
|
19
|
+
@import "./notification-banner.css";
|
|
20
|
+
@import "./panel.css";
|
|
21
|
+
@import "./phase-banner.css";
|
|
22
|
+
@import "./summary-list.css";
|
|
23
|
+
@import "./tabs.css";
|
|
24
|
+
@import "./misc.css"
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
.govgr-layout-wrapper {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
flex-wrap: wrap;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.govgr-layout-wrapper__full-height {
|
|
8
|
+
|
|
9
|
+
min-height: 100vh;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.govgr-width-container {
|
|
13
|
+
@apply max-w-5xl box-border mx-auto px-3 md:px-6 w-full;
|
|
14
|
+
flex: 1 1 0%;
|
|
15
|
+
}
|
|
16
|
+
.govgr-full-width-container {
|
|
17
|
+
@apply max-w-full box-border mx-auto px-3 md:px-6 w-full;
|
|
18
|
+
flex: 1 1 0%;
|
|
19
|
+
}
|
|
20
|
+
.govgr-main-wrapper {
|
|
21
|
+
@apply grid py-4 md:grid-cols-3 md:gap-12 grid-cols-1 gap-y-16;
|
|
22
|
+
}
|
|
23
|
+
.govgr-grid-column-two-thirds {
|
|
24
|
+
@apply col-span-2;
|
|
25
|
+
}
|
|
26
|
+
.govgr-grid-column-one-third {
|
|
27
|
+
@apply col-span-1 flex flex-wrap flex-col md:sticky md:top-8 h-fit-content;
|
|
28
|
+
}
|
|
29
|
+
.govgr-top {
|
|
30
|
+
@apply mb-4;
|
|
31
|
+
}
|
|
32
|
+
.govgr-bottom {
|
|
33
|
+
@apply w-full flex flex-wrap box-border;
|
|
34
|
+
}
|
|
35
|
+
.govgr-button-group {
|
|
36
|
+
@apply flex flex-wrap;
|
|
37
|
+
&>.govgr-link {
|
|
38
|
+
@apply flex mb-8 text-lg;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.govgr-section-break {
|
|
42
|
+
@apply m-auto px-4 py-2 border-0 w-full;
|
|
43
|
+
}
|
|
44
|
+
.govgr-section-break--visible {
|
|
45
|
+
@apply border-t border-gray-50;
|
|
46
|
+
}
|
|
47
|
+
.govgr-section-break--m {
|
|
48
|
+
@apply mb-5;
|
|
49
|
+
}
|
|
50
|
+
.govgr-section-break--l {
|
|
51
|
+
@apply mb-7;
|
|
52
|
+
}
|
|
53
|
+
.govgr-section-break--xl {
|
|
54
|
+
@apply mb-9;
|
|
55
|
+
}
|
|
56
|
+
.important-bg {
|
|
57
|
+
@apply bg-error;
|
|
58
|
+
}
|
|
59
|
+
.info-bg {
|
|
60
|
+
@apply bg-base-100 text-base-content;
|
|
61
|
+
}
|