@digigov/css 0.29.7 → 0.29.9
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/color-vars.plugin.js +2 -1
- package/colors/color-values.dark.js +68 -0
- package/colors/color-values.light.js +69 -0
- package/colors/index.js +16 -9
- 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 +1 -1
- package/src/base/index.css +1 -1
- package/src/components/accordion.css +1 -1
- package/src/components/admin-footer.css +1 -1
- package/src/components/admin-form.css +1 -1
- package/src/components/admin-header.css +1 -1
- package/src/components/admin-layout.css +4 -3
- package/src/components/breadcrumbs.css +10 -0
- package/src/components/button.css +17 -6
- package/src/components/card.css +9 -3
- package/src/components/checkboxes.css +3 -0
- package/src/components/cookie.css +1 -1
- package/src/components/drawer.css +1 -1
- package/src/components/dropdown.css +1 -1
- package/src/components/fillable.css +2 -2
- package/src/components/filter.css +3 -3
- package/src/components/footer.css +7 -6
- package/src/components/form.css +18 -2
- package/src/components/header.css +7 -6
- package/src/components/layout.css +10 -4
- package/src/components/loader.css +10 -6
- package/src/components/misc.css +3 -1
- package/src/components/modal.css +1 -1
- package/src/components/notification-banner.css +6 -3
- package/src/components/panel.css +1 -1
- package/src/components/phase-banner.css +5 -3
- package/src/components/summary-list.css +42 -22
- package/src/components/svg-icons.css +9 -2
- package/src/components/table.css +59 -53
- package/src/components/tabs.css +3 -1
- package/src/components/task-list.css +3 -3
- package/src/components/timeline.css +2 -2
- package/src/components/typography.css +19 -3
- package/tailwind.config.js +54 -44
- package/colors/color-values.js +0 -66
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
flex: 1 1 0%;
|
|
10
10
|
}
|
|
11
11
|
.govgr-admin-main-wrapper {
|
|
12
|
-
@apply grid p-4 md:grid-cols-12 gap-x-8 md:gap-x-10 gap-y-4 grid-cols-1;
|
|
12
|
+
@apply grid p-4 md:grid-cols-12 gap-x-8 md:gap-x-10 gap-y-4 grid-cols-1 print:grid-cols-1;
|
|
13
13
|
}
|
|
14
14
|
.govgr-admin-main-content {
|
|
15
15
|
@apply lg:col-span-8 md:col-span-7;
|
|
16
16
|
}
|
|
17
17
|
.govgr-admin-side-content {
|
|
18
|
-
@apply lg:col-span-4 md:col-span-5;
|
|
18
|
+
@apply lg:col-span-4 md:col-span-5 print:order-1;
|
|
19
19
|
}
|
|
20
20
|
.govgr-admin-grid-column-1 {
|
|
21
21
|
@apply md:col-span-1;
|
|
@@ -52,4 +52,5 @@
|
|
|
52
52
|
}
|
|
53
53
|
.govgr-admin-grid-column-12 {
|
|
54
54
|
@apply md:col-span-12;
|
|
55
|
-
}
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -23,6 +23,16 @@
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
+
@media print {
|
|
27
|
+
.govgr-breadcrumbs__list-item {
|
|
28
|
+
&::before {
|
|
29
|
+
background-image: none;
|
|
30
|
+
top:2px;
|
|
31
|
+
left:0px;
|
|
32
|
+
content:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' aria-hidden='true'> <path d='M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z' /> </svg>" );
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
26
36
|
.govgr-breadcrumbs__link {
|
|
27
37
|
@apply underline;
|
|
28
38
|
&:hover {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
.govgr-btn {
|
|
2
2
|
@apply tracking-wide leading-relaxed font-medium text-base md:text-lg cursor-pointer
|
|
3
3
|
m-0 mb-8 px-5 py-2 w-max min-h-10 md:min-h-12
|
|
4
|
+
print:px-4
|
|
4
5
|
flex gap-x-3 items-center ;
|
|
5
6
|
&:focus {
|
|
6
7
|
-webkit-box-shadow: 0 0 0 2px var(--color-white), 0 0 0 6px var(--color-base-content),0 0 0 10px var(--color-focus);
|
|
@@ -17,6 +18,16 @@
|
|
|
17
18
|
.govgr-btn {
|
|
18
19
|
@apply border-white hover:border-white border-2 shadow-none;
|
|
19
20
|
}
|
|
21
|
+
.govgr-btn-primary {
|
|
22
|
+
@apply print:border-0 print:border-b-2 print:border-success print:text-base-content print:bg-white print:shadow-none;
|
|
23
|
+
}
|
|
24
|
+
.govgr-btn-secondary {
|
|
25
|
+
@apply print:border-0 print:border-b-2 print:border-gray300 print:text-base-content print:bg-white print:shadow-none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.govgr-btn-warning {
|
|
29
|
+
@apply print:border-0 print:border-b-2 print:border-error print:text-base-content print:bg-white print:shadow-none;
|
|
30
|
+
}
|
|
20
31
|
}
|
|
21
32
|
.govgr-btn-primary {
|
|
22
33
|
-webkit-box-shadow: 0 2px 0 var(--color-base-content);
|
|
@@ -25,12 +36,11 @@
|
|
|
25
36
|
bg-success text-white
|
|
26
37
|
rounded-none
|
|
27
38
|
hover:bg-success-hover active:bg-success-hover hover:text-white hover:no-underline
|
|
28
|
-
print:border-
|
|
39
|
+
print:border-2 print:border-success print:text-base-content print:bg-white print:shadow-none;
|
|
29
40
|
}
|
|
30
41
|
.govgr-btn-cta {
|
|
31
|
-
@apply text-xl py-4;
|
|
42
|
+
@apply text-xl py-4 print:pr-2;
|
|
32
43
|
.govgr-arrow--right {
|
|
33
|
-
fill:white;
|
|
34
44
|
@apply w-5 h-5 inline-block ml-2 mr-2 transition-all;
|
|
35
45
|
}
|
|
36
46
|
&:hover {
|
|
@@ -46,7 +56,7 @@
|
|
|
46
56
|
bg-base100 text-base-content
|
|
47
57
|
rounded-none
|
|
48
58
|
hover:bg-base150 active:bg-gray300 hover:no-underline
|
|
49
|
-
print:border-
|
|
59
|
+
print:border-2 print:border-gray300 print:text-base-content print:bg-white print:shadow-none;
|
|
50
60
|
}
|
|
51
61
|
.govgr-btn-warning {
|
|
52
62
|
webkit-box-shadow: 0 2px 0 var(--color-base-content);
|
|
@@ -55,13 +65,14 @@
|
|
|
55
65
|
bg-error text-white
|
|
56
66
|
rounded-none
|
|
57
67
|
hover:bg-error-hover active:bg-error-hover hover:text-white hover:no-underline
|
|
58
|
-
print:border-
|
|
68
|
+
print:border-2 print:border-error print:text-base-content print:bg-white print:shadow-none;
|
|
59
69
|
&:active {
|
|
60
70
|
--tw-bg-opacity: 1;
|
|
61
71
|
}
|
|
62
72
|
}
|
|
63
73
|
.govgr-btn-disabled {
|
|
64
|
-
@apply bg-opacity-50 hover:bg-opacity-50 cursor-not-allowed
|
|
74
|
+
@apply bg-opacity-50 hover:bg-opacity-50 cursor-not-allowed
|
|
75
|
+
print:text-gray200 print:border-opacity-50;
|
|
65
76
|
}
|
|
66
77
|
.govgr-btn-link {
|
|
67
78
|
@apply block;
|
package/src/components/card.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
.govgr-card--divider {
|
|
11
|
-
@apply border-b border-
|
|
11
|
+
@apply border-b border-gray100 pb-4 mb-4;
|
|
12
12
|
}
|
|
13
13
|
.govgr-card__heading {
|
|
14
14
|
@apply md:text-2xl text-xl font-bold;
|
|
@@ -25,6 +25,12 @@
|
|
|
25
25
|
@apply mb-0;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
+
@media print {
|
|
29
|
+
/* When govgr-card__action is empty at print, content at :after limits its height. */
|
|
30
|
+
.govgr-card__action:after {
|
|
31
|
+
content: "";
|
|
32
|
+
}
|
|
33
|
+
}
|
|
28
34
|
.govgr-grid {
|
|
29
35
|
.govgr-card {
|
|
30
36
|
@apply mb-0;
|
|
@@ -58,7 +64,7 @@
|
|
|
58
64
|
}
|
|
59
65
|
}
|
|
60
66
|
.govgr-card--border-top {
|
|
61
|
-
@apply border-t border-
|
|
67
|
+
@apply border-t border-gray100 pt-4;
|
|
62
68
|
&.govgr-card--border-dark {
|
|
63
69
|
@apply border-t-3;
|
|
64
70
|
}
|
|
@@ -67,5 +73,5 @@
|
|
|
67
73
|
@apply border-base-content;
|
|
68
74
|
}
|
|
69
75
|
.govgr-card--border-gray {
|
|
70
|
-
@apply border-
|
|
76
|
+
@apply border-gray100;
|
|
71
77
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.govgr-drawer{
|
|
2
|
-
@apply border border-
|
|
2
|
+
@apply border border-gray100 md:block bg-white p-4
|
|
3
3
|
h-full max-h-screen overflow-y-scroll w-4/5 min-h-screen
|
|
4
4
|
fixed top-0 bottom-0 z-40 md:shadow-none shadow-thick
|
|
5
5
|
md:relative md:overflow-auto md:w-full;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.govgr-fillable-text {
|
|
2
|
-
@apply lg:mb-8 mb-4 md:mb-8 p-4 border-l-6 border-
|
|
2
|
+
@apply lg:mb-8 mb-4 md:mb-8 p-4 border-l-6 border-gray100 bg-gray50
|
|
3
3
|
text-base-content md:text-lg leading-relaxed text-base;
|
|
4
4
|
}
|
|
5
5
|
.govgr-labeled-text {
|
|
6
|
-
@apply bg-
|
|
6
|
+
@apply bg-gray100 w-fit inline-block px-3 mx-1 mt-px font-bold border-0 border-b-2 border-gray600;
|
|
7
7
|
}
|
|
8
8
|
.govgr-labeled-text--active {
|
|
9
9
|
@apply bg-focus;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.govgr-filter {
|
|
2
|
-
@apply border border-
|
|
2
|
+
@apply border border-gray100 md:block bg-white;
|
|
3
3
|
@apply fixed top-0 right-0 bottom-0 overflow-y-scroll z-40 w-4/5;
|
|
4
4
|
box-shadow: 0 0 30px var(--color-shadow600);
|
|
5
5
|
@apply md:relative md:overflow-auto md:w-full md:shadow-none md:z-0;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
.govgr-filter--horizontal {
|
|
11
|
-
@apply border border-
|
|
11
|
+
@apply border border-gray100 md:block bg-white
|
|
12
12
|
fixed top-0 right-0 bottom-0 overflow-y-scroll z-40 w-4/5
|
|
13
13
|
md:relative md:overflow-auto md:w-full ;
|
|
14
14
|
box-shadow: 0 0 30px var(--color-shadow600);
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
.govgr-filter__selected {
|
|
57
|
-
@apply bg-
|
|
57
|
+
@apply bg-gray50 p-4 m-2 mt-0 rounded;
|
|
58
58
|
}
|
|
59
59
|
.govgr-filter__selected--indicator {
|
|
60
60
|
@apply md:hidden;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
.govgr-footer {
|
|
2
2
|
@apply border-0 border-solid font-normal text-base py-4 md:py-8
|
|
3
|
-
border-t-4 border-secondary600 text-gray600 bg-
|
|
4
|
-
print:py-2 print:bg-
|
|
3
|
+
border-t-4 border-secondary600 text-gray600 bg-gray50 w-full
|
|
4
|
+
print:py-2 print:bg-white print:border-t-2
|
|
5
|
+
dark:border-secondary800 dark:text-gray800;
|
|
5
6
|
.govgr-section-break {
|
|
6
7
|
@apply print:hidden;
|
|
7
8
|
}
|
|
@@ -22,11 +23,11 @@
|
|
|
22
23
|
@apply w-full;
|
|
23
24
|
}
|
|
24
25
|
.govgr-footer__content--logos {
|
|
25
|
-
@apply flex flex-wrap items-center mb-6 md:mb-8
|
|
26
|
-
print:hidden;
|
|
26
|
+
@apply flex flex-wrap items-center mb-6 md:mb-8;
|
|
27
27
|
}
|
|
28
28
|
.govgr-footer__logo {
|
|
29
29
|
@apply mr-4;
|
|
30
|
+
@apply print:w-32 print:min-w-32 !important;
|
|
30
31
|
&:last-child {
|
|
31
32
|
@apply mr-0;
|
|
32
33
|
}
|
|
@@ -77,9 +78,9 @@
|
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
80
|
.govgr-footer__section-break {
|
|
80
|
-
@apply m-auto px-4 py-2 border-t border-
|
|
81
|
+
@apply m-auto px-4 py-2 border-t border-gray100 mb-5
|
|
81
82
|
print:hidden;
|
|
82
83
|
}
|
|
83
84
|
.govgr-footer__heading {
|
|
84
|
-
@apply mb-4 pb-4 border-b border-
|
|
85
|
+
@apply mb-4 pb-4 border-b border-gray100;
|
|
85
86
|
}
|
package/src/components/form.css
CHANGED
|
@@ -20,13 +20,26 @@
|
|
|
20
20
|
}
|
|
21
21
|
.govgr-field {
|
|
22
22
|
@apply mb-8 md:mb-10;
|
|
23
|
+
.govgr-fieldset {
|
|
24
|
+
> .govgr-field:last-child, > .govgr-btn:last-child {
|
|
25
|
+
@apply mb-0;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
.govgr-fieldset + .govgr-btn {
|
|
29
|
+
@apply mt-4 md:mt-6;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.govgr-fieldset {
|
|
33
|
+
> .govgr-field {
|
|
34
|
+
@apply mb-4 md:mb-6;
|
|
35
|
+
}
|
|
23
36
|
}
|
|
24
37
|
.govgr-fieldset__legend {
|
|
25
38
|
@apply md:text-lg text-base font-bold mx-0 lg:mb-4;
|
|
26
39
|
@apply mb-4 !important;
|
|
27
40
|
}
|
|
28
41
|
.govgr-label {
|
|
29
|
-
@apply md:text-lg text-base mb-
|
|
42
|
+
@apply md:text-lg text-base mb-0
|
|
30
43
|
flex gap-y-3 flex-col;
|
|
31
44
|
.govgr-heading-s, .govgr-heading-m, .govgr-heading-l, .govgr-heading-xl, .govgr-hint, .govgr-error-message {
|
|
32
45
|
@apply mb-0;
|
|
@@ -41,6 +54,9 @@
|
|
|
41
54
|
box-shadow: inset 0 0 0 2px;
|
|
42
55
|
}
|
|
43
56
|
}
|
|
57
|
+
.govgr-label-file {
|
|
58
|
+
@apply mb-0;
|
|
59
|
+
}
|
|
44
60
|
.govgr-file-input {
|
|
45
61
|
@apply hidden;
|
|
46
62
|
}
|
|
@@ -137,7 +153,7 @@
|
|
|
137
153
|
.govgr-radios__input:disabled,
|
|
138
154
|
.govgr-radios__input:disabled::before,
|
|
139
155
|
.govgr-radios__input:disabled:checked:before {
|
|
140
|
-
@apply bg-
|
|
156
|
+
@apply bg-gray50 cursor-not-allowed;
|
|
141
157
|
}
|
|
142
158
|
.govgr-input:disabled,
|
|
143
159
|
.govgr-textarea:disabled,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.govgr-header {
|
|
2
|
-
@apply bg-primary border-b-8 border-secondary600;
|
|
2
|
+
@apply bg-primary border-b-8 print:border-b-2 border-secondary600;
|
|
3
3
|
@apply print:bg-white;
|
|
4
4
|
border-bottom-style: solid;
|
|
5
5
|
}
|
|
@@ -26,10 +26,11 @@
|
|
|
26
26
|
}
|
|
27
27
|
.govgr-header-logo {
|
|
28
28
|
-webkit-print-color-adjust: exact !important;
|
|
29
|
-
@apply h-12 ;
|
|
30
|
-
|
|
29
|
+
@apply h-12 print:hidden;
|
|
30
|
+
}
|
|
31
|
+
.govgr-header-logo-inverted {
|
|
32
|
+
@apply h-12 hidden print:block;
|
|
31
33
|
}
|
|
32
|
-
|
|
33
34
|
.govgr-header-secondary-logo {
|
|
34
35
|
@apply h-10 print:hidden;
|
|
35
36
|
}
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
text-decoration: none;
|
|
42
43
|
}
|
|
43
44
|
.govgr-masthead {
|
|
44
|
-
@apply bg-secondary600 text-content-dark;
|
|
45
|
+
@apply bg-secondary600 text-content-dark print:border-2 print:bg-white print:border-secondary800 print:text-base-content;
|
|
45
46
|
.govgr-grid-column-two-thirds >*:last-child {
|
|
46
47
|
@apply mb-0;
|
|
47
48
|
}
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
.govgr-masthead-body {
|
|
53
|
-
@apply md:mb-10 mb-6 text-base-content-invert md:text-lg text-base leading-7;
|
|
54
|
+
@apply md:mb-10 mb-6 text-base-content-invert md:text-lg text-base leading-7 print:text-base-content;
|
|
54
55
|
}
|
|
55
56
|
.govgr-masthead-logo {
|
|
56
57
|
@apply md:mb-6 mb-4 h-10;
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
}
|
|
17
17
|
.govgr-main-wrapper {
|
|
18
18
|
@apply grid py-4 md:grid-cols-3 md:gap-12 grid-cols-1 gap-y-16
|
|
19
|
-
print:gap-4;
|
|
19
|
+
print:gap-4 print:grid-cols-1;
|
|
20
20
|
}
|
|
21
21
|
.govgr-grid-column-two-thirds {
|
|
22
22
|
@apply col-span-2;
|
|
23
23
|
}
|
|
24
24
|
.govgr-grid-column-one-third {
|
|
25
|
-
@apply col-span-1 flex flex-wrap flex-col md:sticky md:top-8 h-fit;
|
|
25
|
+
@apply col-span-1 flex flex-wrap flex-col md:sticky md:top-8 h-fit print:order-1;
|
|
26
26
|
}
|
|
27
27
|
.govgr-top {
|
|
28
28
|
@apply mb-4;
|
|
@@ -31,16 +31,22 @@
|
|
|
31
31
|
@apply w-full flex flex-wrap box-border;
|
|
32
32
|
}
|
|
33
33
|
.govgr-button-group {
|
|
34
|
-
@apply flex flex-wrap items-center gap-4 mb-6;
|
|
34
|
+
@apply flex flex-wrap items-center gap-4 mb-6 print:items-baseline;
|
|
35
35
|
.govgr-btn, .govgr-link {
|
|
36
36
|
@apply mb-0;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
+
@media print {
|
|
40
|
+
/* When govgr-button-group is empty at print, content at :after limits its height. */
|
|
41
|
+
.govgr-button-group:after {
|
|
42
|
+
content: "";
|
|
43
|
+
}
|
|
44
|
+
}
|
|
39
45
|
.govgr-section-break {
|
|
40
46
|
@apply m-auto px-4 py-2 border-0 w-full;
|
|
41
47
|
}
|
|
42
48
|
.govgr-section-break--visible {
|
|
43
|
-
@apply border-t border-
|
|
49
|
+
@apply border-t border-gray100;
|
|
44
50
|
}
|
|
45
51
|
.govgr-section-break--m {
|
|
46
52
|
@apply mb-5;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
--full-length: 470;
|
|
3
3
|
}
|
|
4
4
|
.govgr-loader__container {
|
|
5
|
-
@apply h-fit w-fit m-auto overflow-hidden;
|
|
5
|
+
@apply h-fit w-fit m-auto overflow-hidden print:hidden;
|
|
6
6
|
}
|
|
7
7
|
.govgr-loader {
|
|
8
8
|
animation: rotate 10s linear infinite;
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
stroke-dashoffset: 0;
|
|
23
23
|
animation: dash 4s ease-in-out 0s forwards infinite;
|
|
24
24
|
}
|
|
25
|
-
|
|
26
25
|
.govgr-loader--inverse{
|
|
27
26
|
.govgr-loader__circle--1 {
|
|
28
27
|
@apply opacity-40;
|
|
@@ -33,20 +32,25 @@
|
|
|
33
32
|
stroke: var(--color-white);
|
|
34
33
|
}
|
|
35
34
|
}
|
|
36
|
-
|
|
35
|
+
@media print {
|
|
36
|
+
.govgr-btn {
|
|
37
|
+
.govgr-loader--inverse{
|
|
38
|
+
.govgr-loader__circle--1, .govgr-loader__circle--2 {
|
|
39
|
+
stroke: var(--color-base-content);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
37
44
|
|
|
38
45
|
.govgr-loader--small {
|
|
39
46
|
@apply h-5 w-5;
|
|
40
47
|
}
|
|
41
|
-
|
|
42
48
|
.govgr-loader--medium {
|
|
43
49
|
@apply h-10 w-10;
|
|
44
50
|
}
|
|
45
|
-
|
|
46
51
|
.govgr-loader--large {
|
|
47
52
|
@apply h-12 w-12;
|
|
48
53
|
}
|
|
49
|
-
|
|
50
54
|
@keyframes dash {
|
|
51
55
|
0% {
|
|
52
56
|
stroke-dashoffset: 0;
|
package/src/components/misc.css
CHANGED
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
.govgr-warning-text {
|
|
15
15
|
@apply flex pl-0 pr-0;
|
|
16
16
|
.govgr-warning-text__icon {
|
|
17
|
-
@apply text-white font-bold bg-base-content text-3xl leading-10 text-center
|
|
17
|
+
@apply text-white font-bold bg-base-content text-3xl leading-10 text-center
|
|
18
|
+
rounded-3xl min-h-10 min-w-10 h-fit mr-6 mt-1
|
|
19
|
+
print:bg-white print:border-2 print:border-base-content print:text-base-content;
|
|
18
20
|
}
|
|
19
21
|
.govgr-warning-text__text {
|
|
20
22
|
@apply text-lg flex items-center;
|
package/src/components/modal.css
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
.govgr-notification-banner {
|
|
2
|
-
@apply bg-secondary600 border-5 border-secondary600 mb-6 md:mb-8 font-normal
|
|
2
|
+
@apply bg-secondary600 border-5 border-secondary600 mb-6 md:mb-8 font-normal
|
|
3
|
+
print:bg-white;
|
|
3
4
|
}
|
|
4
5
|
.govgr-notification-banner--success{
|
|
5
|
-
@apply bg-success border-success
|
|
6
|
+
@apply bg-success border-success
|
|
7
|
+
print:bg-white;
|
|
6
8
|
.govgr-notification-banner__link{
|
|
7
9
|
&:link {
|
|
8
10
|
@apply text-success;
|
|
@@ -10,7 +12,8 @@
|
|
|
10
12
|
}
|
|
11
13
|
}
|
|
12
14
|
.govgr-notification-banner__header {
|
|
13
|
-
@apply text-white p-0 m-0 text-base md:text-lg
|
|
15
|
+
@apply text-white p-0 m-0 text-base md:text-lg
|
|
16
|
+
print:border-b print:border-gray200 print:text-base-content print:pt-2;
|
|
14
17
|
}
|
|
15
18
|
.govgr-notification-banner__title {
|
|
16
19
|
@apply border-b border-transparent pt-1 px-4 sm:px-5 pb-2 font-bold;
|
package/src/components/panel.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
}
|
|
5
5
|
.govgr-panel--confirmation {
|
|
6
6
|
@apply bg-success text-white
|
|
7
|
-
print:border-4 print:border-success print:text-base-content;
|
|
7
|
+
print:border-4 print:border-success print:text-base-content print:bg-white;
|
|
8
8
|
}
|
|
9
9
|
.govgr-panel__title {
|
|
10
10
|
@apply text-4xl md:text-5xl print:text-4xl mt-0 mb-6 font-bold;
|
|
@@ -8,16 +8,18 @@
|
|
|
8
8
|
@apply table;
|
|
9
9
|
}
|
|
10
10
|
.govgr-phase-banner__content__tag {
|
|
11
|
-
@apply px-2 py-1 mr-2 inline-block bg-secondary600 font-sans text-white text-sm uppercase tracking-widest
|
|
11
|
+
@apply px-2 py-1 mr-2 inline-block bg-secondary600 font-sans text-white text-sm uppercase tracking-widest
|
|
12
|
+
print:bg-white print:border-2 print:border-secondary600 print:text-secondary600 print:mr-4;
|
|
12
13
|
}
|
|
13
14
|
.govgr-phase-banner__text {
|
|
14
15
|
@apply table-cell text-base-content;
|
|
15
16
|
}
|
|
16
17
|
.govgr-header .govgr-phase-banner__text, .govgr-masthead .govgr-phase-banner__text {
|
|
17
|
-
@apply text-white;
|
|
18
|
+
@apply text-white print:text-base-content;
|
|
18
19
|
}
|
|
19
20
|
.govgr-phase-banner_header {
|
|
20
|
-
@apply bg-focus top-0 z-30
|
|
21
|
+
@apply bg-focus top-0 z-30
|
|
22
|
+
print:bg-white print:border-focus print:border-2 print:px-4;
|
|
21
23
|
.govgr-phase-banner {
|
|
22
24
|
@apply mb-0;
|
|
23
25
|
}
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
.govgr-summary-list__row {
|
|
17
17
|
@apply block sm:flex
|
|
18
|
-
pb-4 mb-4 border-b border-solid border-
|
|
19
|
-
sm:pb-0 sm:mb-0 sm:border-0 ;
|
|
18
|
+
pb-4 mb-4 border-b border-solid border-gray100
|
|
19
|
+
sm:pb-0 sm:mb-0 sm:border-0 print:flex print:flex-row print:flex-nowrap;
|
|
20
20
|
}
|
|
21
21
|
.govgr-summary-list--no-border .govgr-summary-list__row {
|
|
22
22
|
@apply border-0;
|
|
@@ -25,20 +25,18 @@
|
|
|
25
25
|
@apply border-0;
|
|
26
26
|
}
|
|
27
27
|
.govgr-summary-list__key {
|
|
28
|
-
@apply font-bold mb-1 sm:w-
|
|
28
|
+
@apply font-bold mb-1 sm:w-3/12;
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
.govgr-summary-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
&:last-child {
|
|
35
|
-
@apply w-full;
|
|
30
|
+
@media print {
|
|
31
|
+
.govgr-summary-list__key{
|
|
32
|
+
flex:100%;
|
|
36
33
|
}
|
|
37
|
-
|
|
34
|
+
}
|
|
35
|
+
.govgr-summary-list__value {
|
|
36
|
+
@apply sm:w-6/12;
|
|
38
37
|
.govgr-link {
|
|
39
38
|
@apply pl-4;
|
|
40
39
|
}
|
|
41
|
-
|
|
42
40
|
.govgr-btn {
|
|
43
41
|
@apply ml-4;
|
|
44
42
|
}
|
|
@@ -46,20 +44,42 @@
|
|
|
46
44
|
.govgr-summary-list__actions {
|
|
47
45
|
@apply sm:w-3/12 sm:pr-0 sm:text-right;
|
|
48
46
|
}
|
|
49
|
-
|
|
47
|
+
/* When "actions" are right after "key" */
|
|
48
|
+
.govgr-summary-list__key + .govgr-summary-list__actions {
|
|
49
|
+
@apply sm:w-9/12;
|
|
50
|
+
}
|
|
51
|
+
/* When "value" is 1st or 2nd among 2 children */
|
|
52
|
+
.govgr-summary-list__value:nth-child(2):nth-last-child(1),
|
|
53
|
+
.govgr-summary-list__value:nth-child(1):nth-last-child(2){
|
|
54
|
+
@apply sm:w-9/12;
|
|
55
|
+
}
|
|
56
|
+
/* When there is only one child */
|
|
57
|
+
.govgr-summary-list__key:only-child,
|
|
58
|
+
.govgr-summary-list__value:only-child,
|
|
59
|
+
.govgr-summary-list__actions:only-child {
|
|
60
|
+
@apply sm:w-full sm:text-left;
|
|
61
|
+
}
|
|
62
|
+
.govgr-summary-list__key,
|
|
63
|
+
.govgr-summary-list__value {
|
|
50
64
|
@apply break-words;
|
|
51
65
|
}
|
|
52
|
-
.govgr-summary-list__key,
|
|
66
|
+
.govgr-summary-list__key,
|
|
67
|
+
.govgr-summary-list__value,
|
|
68
|
+
.govgr-summary-list__actions {
|
|
53
69
|
@apply m-0
|
|
54
|
-
sm:table-cell sm:py-2 sm:pr-4 sm:border-b sm:border-solid sm:border-
|
|
70
|
+
sm:table-cell sm:py-2 sm:pr-4 sm:border-b sm:border-solid sm:border-gray100;
|
|
55
71
|
}
|
|
56
|
-
.govgr-summary-list--no-border
|
|
57
|
-
.govgr-summary-
|
|
58
|
-
.govgr-summary-
|
|
59
|
-
|
|
72
|
+
.govgr-summary-list--no-border {
|
|
73
|
+
.govgr-summary-list__key,
|
|
74
|
+
.govgr-summary-list__value,
|
|
75
|
+
.govgr-summary-list__actions {
|
|
76
|
+
@apply sm:border-0 pb-2;
|
|
77
|
+
}
|
|
60
78
|
}
|
|
61
|
-
.govgr-summary-list__row--no-border
|
|
62
|
-
.govgr-summary-
|
|
63
|
-
.govgr-summary-
|
|
64
|
-
|
|
79
|
+
.govgr-summary-list__row--no-border {
|
|
80
|
+
.govgr-summary-list__key,
|
|
81
|
+
.govgr-summary-list__value,
|
|
82
|
+
.govgr-summary-list__actions {
|
|
83
|
+
@apply sm:border-0 pb-2;
|
|
84
|
+
}
|
|
65
85
|
}
|
|
@@ -18,6 +18,13 @@
|
|
|
18
18
|
@apply h-6 w-6;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
+
@media print {
|
|
22
|
+
.govgr-btn-primary, .govgr-btn-warning, .govgr-btn-secondary {
|
|
23
|
+
.govgr-svg-icon {
|
|
24
|
+
fill: var(--color-base-content);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
21
28
|
.govgr-link {
|
|
22
29
|
.govgr-svg-icon {
|
|
23
30
|
fill:var(--color-link);
|
|
@@ -36,11 +43,11 @@
|
|
|
36
43
|
.govgr-header, .govgr-admin-header {
|
|
37
44
|
.govgr-link {
|
|
38
45
|
.govgr-svg-icon {
|
|
39
|
-
fill:var(--color-
|
|
46
|
+
fill:var(--color-gray50);
|
|
40
47
|
}
|
|
41
48
|
&:hover {
|
|
42
49
|
.govgr-svg-icon {
|
|
43
|
-
fill:var(--color-
|
|
50
|
+
fill:var(--color-gray50);
|
|
44
51
|
}
|
|
45
52
|
}
|
|
46
53
|
&:focus {
|