@digigov/css 1.0.0-002c630d → 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/defaultTheme/footer.json +5 -5
- package/defaultTheme/typography.json +22 -2
- 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 +8 -3
- package/src/components/accordion.css +67 -13
- package/src/components/admin-header.css +27 -1
- package/src/components/admin-layout.css +6 -0
- package/src/components/autocomplete.css +12 -9
- package/src/components/bottom-info.css +2 -1
- package/src/components/button.css +75 -31
- package/src/components/card.css +17 -14
- package/src/components/checkboxes.css +10 -2
- package/src/components/chip.css +35 -15
- package/src/components/copy-to-clipboard.css +45 -31
- package/src/components/drawer.css +17 -26
- package/src/components/dropdown.css +52 -52
- package/src/components/filter.css +71 -63
- package/src/components/footer.css +28 -23
- package/src/components/form.css +52 -47
- package/src/components/header.css +87 -31
- package/src/components/hidden.css +3 -0
- package/src/components/index.css +3 -0
- package/src/components/kitchensink.css +2 -2
- package/src/components/layout.css +21 -22
- package/src/components/loader.css +11 -22
- package/src/components/masthead.css +78 -0
- package/src/components/misc.css +9 -41
- package/src/components/modal.css +5 -3
- package/src/components/nav.css +67 -125
- package/src/components/notification-banner.css +20 -9
- package/src/components/pagination.css +38 -24
- package/src/components/panel.css +4 -4
- package/src/components/phase-banner.css +1 -7
- package/src/components/radios.css +14 -24
- package/src/components/stack.css +66 -0
- package/src/components/stepnav.css +23 -10
- package/src/components/summary-list.css +22 -15
- package/src/components/svg-icons.css +0 -59
- package/src/components/table.css +43 -47
- package/src/components/task-list.css +20 -15
- package/src/components/timeline.css +8 -1
- package/src/components/typography.css +77 -66
- package/src/components/warning-text.css +19 -0
- package/src/pages/admin-filtering-data.js +1 -1
- package/src/pages/dropdown.js +2 -2
- package/src/pages/form.js +1 -1
- package/src/pages/index.js +12 -10
- package/src/utilities/index.css +141 -21
- package/src/utilities/utilities.css +148 -24
- package/tailwind.config.js +2 -0
- package/themes.plugin.js +16 -16
|
@@ -44,65 +44,6 @@
|
|
|
44
44
|
.govgr-svg-icon--xl {
|
|
45
45
|
@apply h-10 w-10 !important;
|
|
46
46
|
}
|
|
47
|
-
.govgr-btn-primary,
|
|
48
|
-
.govgr-btn-warning {
|
|
49
|
-
.govgr-svg-icon {
|
|
50
|
-
fill: var(--color-white);
|
|
51
|
-
}
|
|
52
|
-
.govgr-svg-icon--more-vert {
|
|
53
|
-
@apply h-6 w-6 md:h-8 md:w-8;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
.govgr-btn-secondary {
|
|
57
|
-
.govgr-svg-icon {
|
|
58
|
-
fill: var(--color-base-content);
|
|
59
|
-
}
|
|
60
|
-
.govgr-svg-icon--more-vert {
|
|
61
|
-
@apply h-6 w-6;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
@media print {
|
|
65
|
-
.govgr-btn-primary,
|
|
66
|
-
.govgr-btn-warning,
|
|
67
|
-
.govgr-btn-secondary {
|
|
68
|
-
.govgr-svg-icon {
|
|
69
|
-
fill: var(--color-base-content);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
.govgr-link {
|
|
74
|
-
.govgr-svg-icon {
|
|
75
|
-
fill: var(--color-link);
|
|
76
|
-
}
|
|
77
|
-
&:hover {
|
|
78
|
-
.govgr-svg-icon {
|
|
79
|
-
fill: var(--color-link-hover);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
&:focus {
|
|
83
|
-
.govgr-svg-icon {
|
|
84
|
-
fill: var(--color-link-active);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
.govgr-header,
|
|
89
|
-
.govgr-admin-header {
|
|
90
|
-
.govgr-link {
|
|
91
|
-
.govgr-svg-icon {
|
|
92
|
-
fill: var(--color-white);
|
|
93
|
-
}
|
|
94
|
-
&:hover {
|
|
95
|
-
.govgr-svg-icon {
|
|
96
|
-
fill: var(--color-white);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
&:focus {
|
|
100
|
-
.govgr-svg-icon {
|
|
101
|
-
fill: var(--color-link-active);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
47
|
.govgr-svg-icon--burger {
|
|
107
48
|
fill: var(--color-base-content);
|
|
108
49
|
/* @apply w-8 h-8 float-right cursor-pointer transition-all */
|
package/src/components/table.css
CHANGED
|
@@ -26,12 +26,6 @@
|
|
|
26
26
|
@apply w-full border-collapse table;
|
|
27
27
|
@apply md:mb-10 mb-6 text-base-content md:text-lg text-base font-normal antialiased;
|
|
28
28
|
border-spacing: 0;
|
|
29
|
-
.govgr-dropdown__content {
|
|
30
|
-
@apply mt-0;
|
|
31
|
-
}
|
|
32
|
-
.govgr-dropdown__button {
|
|
33
|
-
@apply mb-0;
|
|
34
|
-
}
|
|
35
29
|
}
|
|
36
30
|
.govgr-table-sort__icons-container {
|
|
37
31
|
@apply flex flex-col;
|
|
@@ -70,20 +64,12 @@
|
|
|
70
64
|
.govgr-table__row {
|
|
71
65
|
@apply bg-base-100;
|
|
72
66
|
}
|
|
73
|
-
.govgr-table__row--
|
|
67
|
+
.govgr-table__row--highlight {
|
|
74
68
|
@apply border-l-4 border-warning;
|
|
75
69
|
.govgr-table__cell:first-child {
|
|
76
70
|
@apply pl-2;
|
|
77
71
|
}
|
|
78
72
|
}
|
|
79
|
-
.govgr-table__cell {
|
|
80
|
-
.govgr-btn {
|
|
81
|
-
@apply mb-0;
|
|
82
|
-
}
|
|
83
|
-
.govgr-btn-group {
|
|
84
|
-
@apply mb-0;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
73
|
.govgr-table--dark,
|
|
88
74
|
.govgr-table--zebra {
|
|
89
75
|
.govgr-table__header,
|
|
@@ -211,6 +197,14 @@
|
|
|
211
197
|
}
|
|
212
198
|
}
|
|
213
199
|
}
|
|
200
|
+
.govgr-table:not(.govgr-table--zebra) {
|
|
201
|
+
.govgr-table__row--secondary {
|
|
202
|
+
@apply bg-base-200 print:bg-white;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
.govgr-table__cell--bold {
|
|
206
|
+
@apply font-semibold;
|
|
207
|
+
}
|
|
214
208
|
.govgr-table__body {
|
|
215
209
|
@apply relative;
|
|
216
210
|
}
|
|
@@ -227,38 +221,6 @@
|
|
|
227
221
|
.govgr-table__row {
|
|
228
222
|
@apply bg-base-100;
|
|
229
223
|
}
|
|
230
|
-
.govgr-table__row--warning {
|
|
231
|
-
@apply border-l-4 border-warning;
|
|
232
|
-
.govgr-table__cell:first-child {
|
|
233
|
-
@apply pl-2;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
.govgr-table__header {
|
|
237
|
-
.govgr-dropdown__button {
|
|
238
|
-
@apply no-underline font-bold text-base-content !important;
|
|
239
|
-
}
|
|
240
|
-
.govgr-dropdown__button--underline:not(:focus) {
|
|
241
|
-
@apply underline !important;
|
|
242
|
-
text-decoration-thickness: 2px !important;
|
|
243
|
-
}
|
|
244
|
-
.govgr-dropdown__content {
|
|
245
|
-
@apply py-0;
|
|
246
|
-
}
|
|
247
|
-
.govgr-vertical-nav__item {
|
|
248
|
-
@apply flex font-normal no-underline;
|
|
249
|
-
}
|
|
250
|
-
.govgr-vertical-nav__item--active:not(:focus) {
|
|
251
|
-
@apply bg-base-200 font-normal !important;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
.govgr-table__cell {
|
|
255
|
-
.govgr-btn {
|
|
256
|
-
@apply mb-0;
|
|
257
|
-
}
|
|
258
|
-
.govgr-button-group {
|
|
259
|
-
@apply mb-0;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
224
|
.govgr-table__header,
|
|
263
225
|
.govgr-table__cell {
|
|
264
226
|
@apply pr-5 py-2.5 pl-0 border-b border-solid border-base-300 text-left align-middle;
|
|
@@ -298,3 +260,37 @@
|
|
|
298
260
|
backdrop-filter: blur(0.6px);
|
|
299
261
|
}
|
|
300
262
|
}
|
|
263
|
+
|
|
264
|
+
/* overrides */
|
|
265
|
+
|
|
266
|
+
.govgr-table {
|
|
267
|
+
.govgr-dropdown__content {
|
|
268
|
+
@apply mt-0;
|
|
269
|
+
}
|
|
270
|
+
.govgr-dropdown__button {
|
|
271
|
+
@apply mb-0;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
.govgr-table__cell {
|
|
275
|
+
.govgr-btn {
|
|
276
|
+
@apply mb-0;
|
|
277
|
+
}
|
|
278
|
+
.govgr-btn-group {
|
|
279
|
+
@apply mb-0;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
.govgr-table__header {
|
|
283
|
+
.govgr-dropdown__content {
|
|
284
|
+
@apply py-0;
|
|
285
|
+
}
|
|
286
|
+
.govgr-dropdown__button:not(:focus) {
|
|
287
|
+
@apply no-underline font-bold text-base-content !important;
|
|
288
|
+
}
|
|
289
|
+
.govgr-dropdown__button--underline:not(:focus) {
|
|
290
|
+
@apply underline !important;
|
|
291
|
+
text-decoration-thickness: 2px !important;
|
|
292
|
+
}
|
|
293
|
+
.govgr-nav__list-item-link, .govgr-nav__list-item-btn {
|
|
294
|
+
@apply flex no-underline;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
@@ -15,14 +15,32 @@
|
|
|
15
15
|
}
|
|
16
16
|
.govgr-task-list__content {
|
|
17
17
|
@apply mb-4;
|
|
18
|
+
}
|
|
19
|
+
.govgr-task-list__content__tag {
|
|
20
|
+
@apply px-2 py-1 mr-2 inline-block font-sans text-sm uppercase tracking-widest print:border-2 print:bg-white print:mr-4;
|
|
21
|
+
}
|
|
22
|
+
.govgr-task-list__content__tag--info {
|
|
23
|
+
@apply bg-info text-white print:border-info-hover print:text-info-hover;
|
|
24
|
+
}
|
|
25
|
+
.govgr-task-list__content__tag--primary {
|
|
26
|
+
@apply bg-secondary text-base-content print:border-info print:text-info;
|
|
27
|
+
}
|
|
28
|
+
.govgr-task-list__content__tag--secondary {
|
|
29
|
+
@apply bg-base-300 print:border-base-800 print:text-base-800;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* overrides */
|
|
33
|
+
|
|
34
|
+
.govgr-task-list__content {
|
|
18
35
|
.govgr-body {
|
|
19
36
|
@apply mb-2 md:mb-3;
|
|
20
37
|
}
|
|
21
38
|
.govgr-summary-list__row:first-child {
|
|
22
|
-
& >
|
|
39
|
+
& > .govgr-summary-list__key {
|
|
23
40
|
@apply border-t-2 border-base-400;
|
|
24
41
|
}
|
|
25
|
-
& >
|
|
42
|
+
& > .govgr-summary-list__value,
|
|
43
|
+
& > .govgr-summary-list__actions {
|
|
26
44
|
@apply sm:border-t-2 sm:border-base-400;
|
|
27
45
|
}
|
|
28
46
|
}
|
|
@@ -30,16 +48,3 @@
|
|
|
30
48
|
@apply font-normal sm:mb-0 mb-2 pt-2;
|
|
31
49
|
}
|
|
32
50
|
}
|
|
33
|
-
.govgr-task-list__content__tag {
|
|
34
|
-
@apply px-2 py-1 mr-2 inline-block font-sans text-sm uppercase tracking-widest;
|
|
35
|
-
}
|
|
36
|
-
.govgr-task-list__content__tag--primary {
|
|
37
|
-
@apply bg-info text-white print:border-2 print:bg-white print:border-info-hover print:text-info-hover print:mr-4;
|
|
38
|
-
}
|
|
39
|
-
.govgr-task-list__content__tag--secondary {
|
|
40
|
-
@apply bg-secondary text-base-content print:border-2 print:bg-white print:border-info print:text-info print:mr-4;
|
|
41
|
-
}
|
|
42
|
-
.govgr-task-list__content__tag--gray {
|
|
43
|
-
@apply bg-base-300 print:border-2 print:bg-white print:border-base-800 print:text-base-800 print:mr-4;
|
|
44
|
-
}
|
|
45
|
-
.govgr-tag {}
|
|
@@ -31,13 +31,20 @@
|
|
|
31
31
|
}
|
|
32
32
|
.govgr-timeline__content {
|
|
33
33
|
@apply mb-4;
|
|
34
|
+
}
|
|
35
|
+
.govgr-timeline__actions {
|
|
36
|
+
@apply flex flex-wrap items-center gap-4 mb-6;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* overrides */
|
|
40
|
+
|
|
41
|
+
.govgr-timeline__content {
|
|
34
42
|
.govgr-hint,
|
|
35
43
|
.govgr-body {
|
|
36
44
|
@apply mb-2 md:mb-3;
|
|
37
45
|
}
|
|
38
46
|
}
|
|
39
47
|
.govgr-timeline__actions {
|
|
40
|
-
@apply flex flex-wrap items-center gap-4 mb-6;
|
|
41
48
|
.govgr-btn,
|
|
42
49
|
.govgr-link {
|
|
43
50
|
@apply mb-0;
|
|
@@ -1,35 +1,43 @@
|
|
|
1
1
|
.govgr-heading-xl {
|
|
2
2
|
@apply mx-0 max-w-2xl;
|
|
3
3
|
font-size: var(--heading-xl-font-size);
|
|
4
|
-
line-height:var(--heading-xl-line-height);
|
|
5
|
-
margin-bottom:var(--heading-xl-margin-bottom);
|
|
4
|
+
line-height: var(--heading-xl-line-height);
|
|
5
|
+
margin-bottom: var(--heading-xl-margin-bottom);
|
|
6
6
|
font-weight: var(--heading-xl-font-weight);
|
|
7
7
|
letter-spacing: var(--heading-xl-letter-spacing);
|
|
8
8
|
}
|
|
9
9
|
.govgr-heading-lg {
|
|
10
10
|
@apply mx-0;
|
|
11
11
|
font-size: var(--heading-lg-font-size);
|
|
12
|
-
line-height:var(--heading-lg-line-height);
|
|
13
|
-
margin-bottom:var(--heading-lg-margin-bottom);
|
|
12
|
+
line-height: var(--heading-lg-line-height);
|
|
13
|
+
margin-bottom: var(--heading-lg-margin-bottom);
|
|
14
14
|
font-weight: var(--heading-lg-font-weight);
|
|
15
15
|
letter-spacing: var(--heading-lg-letter-spacing);
|
|
16
16
|
}
|
|
17
17
|
.govgr-heading-md {
|
|
18
18
|
@apply mx-0;
|
|
19
19
|
font-size: var(--heading-md-font-size);
|
|
20
|
-
line-height:var(--heading-md-line-height);
|
|
21
|
-
margin-bottom:var(--heading-md-margin-bottom);
|
|
20
|
+
line-height: var(--heading-md-line-height);
|
|
21
|
+
margin-bottom: var(--heading-md-margin-bottom);
|
|
22
22
|
font-weight: var(--heading-md-font-weight);
|
|
23
23
|
letter-spacing: var(--heading-md-letter-spacing);
|
|
24
24
|
}
|
|
25
25
|
.govgr-heading-sm {
|
|
26
|
-
@apply mx-0
|
|
26
|
+
@apply mx-0;
|
|
27
27
|
font-size: var(--heading-sm-font-size);
|
|
28
|
-
line-height:var(--heading-sm-line-height);
|
|
29
|
-
margin-bottom:var(--heading-sm-margin-bottom);
|
|
28
|
+
line-height: var(--heading-sm-line-height);
|
|
29
|
+
margin-bottom: var(--heading-sm-margin-bottom);
|
|
30
30
|
font-weight: var(--heading-sm-font-weight);
|
|
31
31
|
letter-spacing: var(--heading-sm-letter-spacing);
|
|
32
|
-
}
|
|
32
|
+
}
|
|
33
|
+
.govgr-heading-xs {
|
|
34
|
+
@apply mx-0;
|
|
35
|
+
font-size: var(--heading-xs-font-size);
|
|
36
|
+
line-height: var(--heading-xs-line-height);
|
|
37
|
+
margin-bottom: var(--heading-xs-margin-bottom);
|
|
38
|
+
font-weight: var(--heading-xs-font-weight);
|
|
39
|
+
letter-spacing: var(--heading-xs-letter-spacing);
|
|
40
|
+
}
|
|
33
41
|
.govgr-caption-xl {
|
|
34
42
|
@apply block mx-0 font-normal;
|
|
35
43
|
color: var(--caption-xl-color);
|
|
@@ -38,7 +46,6 @@
|
|
|
38
46
|
margin-bottom: var(--caption-xl-margin-bottom);
|
|
39
47
|
font-weight: var(--caption-xl-font-weight);
|
|
40
48
|
letter-spacing: var(--heading-xl-letter-spacing);
|
|
41
|
-
|
|
42
49
|
}
|
|
43
50
|
.govgr-caption-lg {
|
|
44
51
|
@apply block mx-0 font-normal;
|
|
@@ -48,7 +55,6 @@
|
|
|
48
55
|
margin-bottom: var(--caption-lg-margin-bottom);
|
|
49
56
|
font-weight: var(--caption-lg-font-weight);
|
|
50
57
|
letter-spacing: var(--caption-lg-letter-spacing);
|
|
51
|
-
|
|
52
58
|
}
|
|
53
59
|
.govgr-caption-md {
|
|
54
60
|
@apply block mx-0 font-normal;
|
|
@@ -58,7 +64,6 @@
|
|
|
58
64
|
margin-bottom: var(--caption-md-margin-bottom);
|
|
59
65
|
font-weight: var(--caption-md-font-weight);
|
|
60
66
|
letter-spacing: var(--caption-md-letter-spacing);
|
|
61
|
-
|
|
62
67
|
}
|
|
63
68
|
.govgr-\!-font-size-14 {
|
|
64
69
|
@apply text-xs md:text-sm !important;
|
|
@@ -91,21 +96,26 @@
|
|
|
91
96
|
letter-spacing: var(--list-letter-spacing);
|
|
92
97
|
.govgr-list__item {
|
|
93
98
|
@apply mb-2;
|
|
94
|
-
&:last-child{
|
|
99
|
+
&:last-child {
|
|
95
100
|
@apply mb-0;
|
|
96
101
|
}
|
|
97
102
|
}
|
|
98
103
|
}
|
|
99
|
-
.govgr-list__item
|
|
104
|
+
.govgr-list__item > .govgr-list--bullet:nth-child(1) {
|
|
100
105
|
list-style: circle inside none;
|
|
101
106
|
}
|
|
102
|
-
.govgr-list__item
|
|
107
|
+
.govgr-list__item
|
|
108
|
+
> .govgr-list
|
|
109
|
+
> .govgr-list__item
|
|
110
|
+
> .govgr-list--bullet:nth-child(1) {
|
|
103
111
|
@apply list-disc;
|
|
104
112
|
}
|
|
105
|
-
.govgr-list__item
|
|
113
|
+
.govgr-list__item
|
|
114
|
+
> .govgr-list:not(.govgr-list--bullet):not(.govgr-list--number):nth-child(1)
|
|
115
|
+
> .govgr-list__item {
|
|
106
116
|
@apply pl-10;
|
|
107
117
|
}
|
|
108
|
-
.govgr-list__item
|
|
118
|
+
.govgr-list__item > .govgr-list {
|
|
109
119
|
@apply mb-0 mt-2;
|
|
110
120
|
}
|
|
111
121
|
.govgr-list--bullet {
|
|
@@ -114,9 +124,9 @@
|
|
|
114
124
|
.govgr-list--number {
|
|
115
125
|
@apply list-decimal list-outside pl-6;
|
|
116
126
|
}
|
|
117
|
-
.govgr-list--spaced:not(.govgr-list--horizontal)
|
|
127
|
+
.govgr-list--spaced:not(.govgr-list--horizontal) > .govgr-list__item {
|
|
118
128
|
@apply mb-4;
|
|
119
|
-
&:last-child{
|
|
129
|
+
&:last-child {
|
|
120
130
|
@apply mb-0;
|
|
121
131
|
}
|
|
122
132
|
}
|
|
@@ -124,16 +134,24 @@
|
|
|
124
134
|
@apply flex flex-wrap gap-x-6 gap-y-3;
|
|
125
135
|
.govgr-list__item {
|
|
126
136
|
@apply w-full sm:w-auto;
|
|
127
|
-
|
|
128
137
|
}
|
|
129
138
|
&.govgr-list--spaced {
|
|
130
139
|
@apply gap-x-10 gap-y-5;
|
|
131
140
|
}
|
|
132
141
|
}
|
|
133
|
-
|
|
142
|
+
@media (min-width: 768px) {
|
|
143
|
+
.govgr-list--col-2 {
|
|
144
|
+
column-count: 2;
|
|
145
|
+
}
|
|
146
|
+
.govgr-list--col-3 {
|
|
147
|
+
column-count: 2;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
.govgr-list {
|
|
134
151
|
@apply md:mb-8 mb-4 text-base-content;
|
|
135
152
|
}
|
|
136
153
|
.govgr-blockquote {
|
|
154
|
+
@apply lg:mb-8 mb-4 mt-8 md:mb-8 p-4 border-l-8 border-base-500 text-base-content;
|
|
137
155
|
font-size: var(--blockquote-font-size);
|
|
138
156
|
line-height: var(--blockquote-line-height);
|
|
139
157
|
}
|
|
@@ -159,11 +177,6 @@
|
|
|
159
177
|
color: var(--hint-color);
|
|
160
178
|
letter-spacing: var(--hint-letter-spacing);
|
|
161
179
|
}
|
|
162
|
-
.govgr-background-dark, .govgr-masthead--primary {
|
|
163
|
-
.govgr-hint {
|
|
164
|
-
@apply opacity-70 text-white print:text-base-content;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
180
|
|
|
168
181
|
.govgr-\!-font-weight-regular {
|
|
169
182
|
@apply font-normal !important;
|
|
@@ -185,36 +198,16 @@
|
|
|
185
198
|
&:focus {
|
|
186
199
|
color: var(--link-color-active);
|
|
187
200
|
background-color: var(--color-focus);
|
|
188
|
-
box-shadow:
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
.govgr-header {
|
|
194
|
-
.govgr-header__container > .govgr-link {
|
|
195
|
-
@apply text-white focus:text-link-active print:text-base-content;
|
|
196
|
-
}
|
|
197
|
-
.govgr-header__content > .govgr-link {
|
|
198
|
-
@apply text-white focus:text-link-active print:text-base-content;
|
|
201
|
+
box-shadow:
|
|
202
|
+
0 -2px var(--color-focus),
|
|
203
|
+
0 4px var(--color-base-content);
|
|
204
|
+
text-decoration: none !important;
|
|
205
|
+
outline: none;
|
|
199
206
|
}
|
|
200
207
|
}
|
|
201
208
|
.govgr-link--no-underline {
|
|
202
209
|
@apply no-underline hover:underline;
|
|
203
210
|
}
|
|
204
|
-
.govgr-masthead--primary {
|
|
205
|
-
.govgr-link {
|
|
206
|
-
@apply text-white hover:text-white focus:text-base-content print:text-base-content;
|
|
207
|
-
&:hover {
|
|
208
|
-
text-decoration-thickness: 2px;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
.govgr-link--no-underline {
|
|
212
|
-
@apply no-underline hover:underline;
|
|
213
|
-
&:hover {
|
|
214
|
-
text-decoration-thickness: 2px;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
211
|
|
|
219
212
|
.govgr-back-link {
|
|
220
213
|
font-size: var(--back-link-font-size);
|
|
@@ -225,18 +218,11 @@
|
|
|
225
218
|
}
|
|
226
219
|
&:focus {
|
|
227
220
|
background-color: var(--color-focus);
|
|
228
|
-
box-shadow:
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
fill:var(--color-base-content);
|
|
234
|
-
@apply md:w-4 md:h-4 w-3 h-3 inline-block mr-2;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
.govgr-masthead--primary {
|
|
238
|
-
.govgr-back-link {
|
|
239
|
-
@apply text-white print:text-base-content;
|
|
221
|
+
box-shadow:
|
|
222
|
+
0 -2px var(--color-focus),
|
|
223
|
+
0 4px var(--color-base-content);
|
|
224
|
+
text-decoration: none;
|
|
225
|
+
outline: none;
|
|
240
226
|
}
|
|
241
227
|
}
|
|
242
228
|
|
|
@@ -262,7 +248,8 @@
|
|
|
262
248
|
.govgr-body .govgr-link[href^="#"]:after {
|
|
263
249
|
display: none;
|
|
264
250
|
}
|
|
265
|
-
.govgr-link[href^="http://"]:after, .govgr-link[href^="https://"]:after
|
|
251
|
+
.govgr-link[href^="http://"]:after, .govgr-link[href^="https://"]:after
|
|
252
|
+
{
|
|
266
253
|
content: " (" attr(href) ")";
|
|
267
254
|
font-size: 80%;
|
|
268
255
|
}
|
|
@@ -272,4 +259,28 @@
|
|
|
272
259
|
.govgr-link {
|
|
273
260
|
@apply text-base-content;
|
|
274
261
|
}
|
|
275
|
-
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/* overrides */
|
|
265
|
+
|
|
266
|
+
.govgr-link {
|
|
267
|
+
.govgr-svg-icon {
|
|
268
|
+
fill: var(--color-link);
|
|
269
|
+
}
|
|
270
|
+
&:hover {
|
|
271
|
+
.govgr-svg-icon {
|
|
272
|
+
fill: var(--color-link-hover);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
&:focus {
|
|
276
|
+
.govgr-svg-icon {
|
|
277
|
+
fill: var(--color-link-active);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
.govgr-back-link {
|
|
282
|
+
.govgr-svg-icon--caret {
|
|
283
|
+
fill: var(--color-base-content);
|
|
284
|
+
@apply md:w-4 md:h-4 w-3 h-3 inline-block mr-2;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.govgr-warning-text {
|
|
2
|
+
font-size: var(--warning-text-font-size);
|
|
3
|
+
@apply p-4;
|
|
4
|
+
@apply flex pt-4 pb-4 pl-0 pr-0;
|
|
5
|
+
.govgr-warning-text__icon {
|
|
6
|
+
@apply text-base-content-invert font-bold bg-base-content text-3xl leading-10 text-center
|
|
7
|
+
rounded-3xl md:min-h-10 min-w-10 h-fit mr-6 mt-1
|
|
8
|
+
print:bg-white print:border-2 print:border-base-content print:text-base-content;
|
|
9
|
+
}
|
|
10
|
+
.govgr-warning-text__text {
|
|
11
|
+
@apply flex items-center;
|
|
12
|
+
}
|
|
13
|
+
.govgr-warning-text__assistive {
|
|
14
|
+
@apply absolute w-px h-px m-0 p-0 border-0 overflow-hidden whitespace-nowrap !important;
|
|
15
|
+
clip: rect(0 0 0 0) !important;
|
|
16
|
+
-webkit-clip-path: inset(50%) !important;
|
|
17
|
+
clip-path: inset(50%) !important;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -29,7 +29,7 @@ export default function Home() {
|
|
|
29
29
|
<aside className="govgr-admin-side-content">
|
|
30
30
|
<div className="govgr-filter">
|
|
31
31
|
<div className="govgr-filter__heading">
|
|
32
|
-
<a className="govgr-link govgr-
|
|
32
|
+
<a className="govgr-link govgr-close-btn" href="#">
|
|
33
33
|
Κλείσιμο
|
|
34
34
|
<svg class="govgr-svg-icon--close" focusable="true" viewBox="0 0 24 24" aria-hidden="true" > <polygon points="14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 " /></svg>
|
|
35
35
|
</a>
|
package/src/pages/dropdown.js
CHANGED
|
@@ -228,11 +228,11 @@ export default function Dropdown() {
|
|
|
228
228
|
<hr className="govgr-section-break govgr-section-break--lg" />
|
|
229
229
|
|
|
230
230
|
<footer className="govgr-footer" role="contentinfo">
|
|
231
|
-
<div className="govgr-
|
|
231
|
+
<div className="govgr-container">
|
|
232
232
|
<div className="govgr-footer__meta">
|
|
233
233
|
<div className="govgr-footer__meta-item govgr-footer__meta-item--grow">
|
|
234
234
|
<div className="govgr-footer__content">
|
|
235
|
-
<p className="govgr-
|
|
235
|
+
<p className="govgr-footer__copyright">
|
|
236
236
|
Υλοποίηση από το <a href="https://mindigital.gr/" target="_blank" rel="noreferrer noopener" className="govgr-link"> Υπουργείο Ψηφιακής Διακυβέρνησης <span className="govgr-visually-hidden">(ανοίγει σε καινούρια καρτέλα) </span></a>
|
|
237
237
|
</p>
|
|
238
238
|
</div>
|
package/src/pages/form.js
CHANGED
|
@@ -26,7 +26,7 @@ export default function Home() {
|
|
|
26
26
|
<a className="govgr-nav__list-item-link" href=""> Επικοινωνία </a>
|
|
27
27
|
</ul>
|
|
28
28
|
</nav>
|
|
29
|
-
<div className="govgr-
|
|
29
|
+
<div className="govgr-container">
|
|
30
30
|
<div className="govgr-main-wrapper">
|
|
31
31
|
<div className="govgr-grid-column-two-thirds">
|
|
32
32
|
<h1 className="govgr-heading-xl">Καταχώρηση φόρμας</h1>
|
package/src/pages/index.js
CHANGED
|
@@ -34,7 +34,7 @@ export default function Home() {
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
<div className="govgr-masthead govgr-background-dark">
|
|
37
|
-
<div className="govgr-
|
|
37
|
+
<div className="govgr-container">
|
|
38
38
|
<div className="govgr-main-wrapper">
|
|
39
39
|
<div className="govgr-grid-column-two-thirds">
|
|
40
40
|
<img className="govgr-masthead__logo" src="https://dilosi.services.gov.gr/minedu-logo.svg" alt="minedu logo" />
|
|
@@ -53,7 +53,7 @@ export default function Home() {
|
|
|
53
53
|
</div>
|
|
54
54
|
</div>
|
|
55
55
|
|
|
56
|
-
<div className="govgr-
|
|
56
|
+
<div className="govgr-container">
|
|
57
57
|
<div className="govgr-main-wrapper">
|
|
58
58
|
<div className="govgr-grid-column-two-thirds">
|
|
59
59
|
|
|
@@ -136,12 +136,14 @@ export default function Home() {
|
|
|
136
136
|
Η διαδικασία έκδοσης του διαβατηρίου σας μπορεί να διαρκέσει εώς 10 μέρες, εφόσον η αίτηση σας δεν έχει λάθη.
|
|
137
137
|
</blockquote>
|
|
138
138
|
|
|
139
|
-
<div
|
|
140
|
-
<
|
|
141
|
-
|
|
139
|
+
<div class="govgr-notification-banner govgr-notification-banner--error">
|
|
140
|
+
<div class="govgr-notification-banner__content">
|
|
141
|
+
<h3 className="govgr-heading-sm">Υπήρξε κάποιο πρόβλημα</h3>
|
|
142
|
+
<a className="govgr-link" href="#"> Πρέπει να συμπληρώσετε το έτος</a>
|
|
143
|
+
</div>
|
|
142
144
|
</div>
|
|
143
145
|
|
|
144
|
-
<div className="govgr-panel
|
|
146
|
+
<div className="govgr-panel">
|
|
145
147
|
<h1 className="govgr-panel__title">Η φόρμα υποβλήθηκε επιτυχώς</h1>
|
|
146
148
|
<div className="govgr-panel__body">
|
|
147
149
|
Ο κωδικός εγγράφου <br />
|
|
@@ -322,11 +324,11 @@ export default function Home() {
|
|
|
322
324
|
</div>
|
|
323
325
|
|
|
324
326
|
<footer className="govgr-footer" role="contentinfo">
|
|
325
|
-
<div className="govgr-
|
|
327
|
+
<div className="govgr-container">
|
|
326
328
|
<div className="govgr-footer__meta">
|
|
327
329
|
<div className="govgr-footer__meta-item govgr-footer__meta-item--grow">
|
|
328
330
|
<div className="govgr-footer__content">
|
|
329
|
-
<p className="govgr-
|
|
331
|
+
<p className="govgr-footer__copyright">
|
|
330
332
|
Υλοποίηση από το <a href="https://mindigital.gr/" target="_blank" rel="noreferrer noopener" className="govgr-link"> Υπουργείο Ψηφιακής Διακυβέρνησης <span className="govgr-visually-hidden">(ανοίγει σε καινούρια καρτέλα) </span></a>
|
|
331
333
|
</p>
|
|
332
334
|
</div>
|
|
@@ -339,7 +341,7 @@ export default function Home() {
|
|
|
339
341
|
</footer>
|
|
340
342
|
|
|
341
343
|
<footer className="govgr-footer" role="contentinfo">
|
|
342
|
-
<div className="govgr-
|
|
344
|
+
<div className="govgr-container">
|
|
343
345
|
<div className="govgr-footer__navigation">
|
|
344
346
|
<div className="govgr-footer__section">
|
|
345
347
|
<h2 className="govgr-footer__heading govgr-heading-sm">Λίστα δύο στηλών</h2>
|
|
@@ -399,7 +401,7 @@ export default function Home() {
|
|
|
399
401
|
<img className="govgr-footer__logo" src="/img/government-logo2.svg" alt="government logo" />
|
|
400
402
|
<img className="govgr-footer__logo" src="/img/government-logo2.svg" alt="government logo" />
|
|
401
403
|
</div>
|
|
402
|
-
<p className="govgr-
|
|
404
|
+
<p className="govgr-footer__copyright">
|
|
403
405
|
Υλοποίηση από το <a href="https://mindigital.gr/" target="_blank" rel="noreferrer noopener" className="govgr-footer__link"> Υπουργείο Ψηφιακής Διακυβέρνησης <span className="govgr-visually-hidden">(ανοίγει σε καινούρια καρτέλα)</span></a>
|
|
404
406
|
</p>
|
|
405
407
|
</div>
|