@digigov/css 1.0.0-blabla-test → 1.0.0-e322b0cc
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 -3
- package/dist/base.js +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +3 -5
- package/dist/utilities/index.css +1 -1
- package/dist/utilities.js +1 -1
- package/index.js +1 -1
- package/package.json +6 -7
- package/postcss.config.js +15 -14
- package/src/base/index.css +4 -0
- package/src/base/postcss.config.js +23 -22
- package/src/base/tailwind.config.js +19 -15
- package/src/components/accordion.css +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 +99 -32
- package/src/components/card.css +30 -15
- package/src/components/checkboxes.css +56 -10
- package/src/components/chip.css +35 -15
- package/src/components/copy-to-clipboard.css +52 -30
- package/src/components/drawer.css +58 -27
- package/src/components/dropdown.css +96 -71
- package/src/components/filter.css +71 -63
- package/src/components/footer.css +29 -23
- package/src/components/form.css +70 -47
- package/src/components/header.css +86 -32
- package/src/components/hidden.css +3 -0
- package/src/components/index.css +3 -1
- package/src/components/kitchensink.css +2 -2
- package/src/components/layout.css +25 -25
- package/src/components/loader.css +11 -22
- package/src/components/masthead.css +78 -0
- package/src/components/misc.css +17 -41
- package/src/components/modal.css +10 -3
- package/src/components/nav.css +93 -126
- package/src/components/notification-banner.css +32 -10
- package/src/components/pagination.css +41 -24
- package/src/components/panel.css +5 -4
- package/src/components/phase-banner.css +1 -7
- package/src/components/postcss.config.js +15 -16
- package/src/components/radios.css +34 -25
- package/src/components/stack.css +66 -0
- package/src/components/stepnav.css +34 -10
- package/src/components/summary-list.css +22 -15
- package/src/components/svg-icons.css +2 -62
- package/src/components/table.css +43 -47
- package/src/components/tabs.css +33 -1
- package/src/components/tailwind.config.js +12 -6
- package/src/components/task-list.css +28 -15
- package/src/components/timeline.css +21 -6
- package/src/components/typography.css +98 -64
- package/src/components/warning-text.css +23 -0
- package/src/fonts.css +1 -1
- package/src/index.css +0 -2
- 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 +142 -22
- package/src/utilities/postcss.config.js +15 -16
- package/src/utilities/tailwind.config.js +10 -1
- package/src/utilities/utilities.css +158 -34
- package/tailwind.config.js +18 -30
- package/themes.plugin.js +95 -100
- package/src/components/accessibility-menu.css +0 -71
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
.govgr-header {
|
|
2
|
-
@apply bg-primary border-b-8 print:border-b-2 border-tertiary;
|
|
3
|
-
@apply print:bg-white;
|
|
2
|
+
@apply relative bg-primary border-b-8 print:border-b-2 border-tertiary print:bg-white;
|
|
4
3
|
border-bottom-style: solid;
|
|
5
|
-
.govgr-svg-icon--burger {
|
|
6
|
-
fill: var(--color-base-content);
|
|
7
|
-
@apply float-right cursor-pointer;
|
|
8
|
-
}
|
|
9
4
|
}
|
|
10
|
-
.govgr-
|
|
5
|
+
.govgr-header__content {
|
|
11
6
|
@apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center
|
|
12
7
|
print:px-0 gap-3;
|
|
13
8
|
}
|
|
14
|
-
.govgr-
|
|
9
|
+
.govgr-header__section {
|
|
15
10
|
@apply flex justify-start flex-wrap items-center gap-x-4 gap-y-2
|
|
16
11
|
print:gap-1;
|
|
17
12
|
}
|
|
18
13
|
.govgr-header__logo {
|
|
14
|
+
print-color-adjust: exact !important;
|
|
19
15
|
-webkit-print-color-adjust: exact !important;
|
|
20
|
-
@apply h-12 print:hidden;
|
|
16
|
+
@apply max-h-12 print:hidden;
|
|
21
17
|
}
|
|
22
18
|
.govgr-header__logo-inverted {
|
|
23
19
|
@apply h-12 hidden print:block;
|
|
@@ -48,34 +44,92 @@
|
|
|
48
44
|
.govgr-header-nav-menu__content {
|
|
49
45
|
@apply flex justify-start items-center gap-x-4 gap-y-2 print:gap-1;
|
|
50
46
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
47
|
+
|
|
48
|
+
/* overrides */
|
|
49
|
+
|
|
50
|
+
.govgr-header {
|
|
51
|
+
.govgr-header__content,
|
|
52
|
+
.govgr-header__section {
|
|
53
|
+
> .govgr-link,
|
|
54
|
+
> .govgr-dropdown .govgr-dropdown__button.govgr-link {
|
|
55
|
+
@apply text-white focus:text-link-active print:text-base-content;
|
|
56
|
+
}
|
|
55
57
|
}
|
|
56
|
-
.govgr-
|
|
57
|
-
@apply
|
|
58
|
+
.govgr-dropdown {
|
|
59
|
+
@apply print:hidden;
|
|
58
60
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
@apply bg-tertiary text-white;
|
|
62
|
-
.govgr-masthead__body {
|
|
63
|
-
@apply text-white;
|
|
61
|
+
.govgr-dropdown__button {
|
|
62
|
+
@apply sm:w-max;
|
|
64
63
|
}
|
|
65
|
-
.govgr-
|
|
66
|
-
|
|
64
|
+
.govgr-link {
|
|
65
|
+
.govgr-svg-icon {
|
|
66
|
+
fill: var(--color-white);
|
|
67
|
+
}
|
|
68
|
+
&:hover {
|
|
69
|
+
.govgr-svg-icon {
|
|
70
|
+
fill: var(--color-white);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
&:focus {
|
|
74
|
+
.govgr-svg-icon {
|
|
75
|
+
fill: var(--color-link-active);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
67
78
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
79
|
+
.govgr-phase-banner__text {
|
|
80
|
+
@apply text-white print:text-base-content;
|
|
81
|
+
}
|
|
82
|
+
.govgr-link {
|
|
83
|
+
.govgr-svg-icon {
|
|
84
|
+
fill: var(--color-white);
|
|
85
|
+
}
|
|
86
|
+
&:hover {
|
|
87
|
+
.govgr-svg-icon {
|
|
88
|
+
fill: var(--color-white);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
&:focus {
|
|
92
|
+
.govgr-svg-icon {
|
|
93
|
+
fill: var(--color-link-active);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
74
96
|
}
|
|
75
97
|
}
|
|
76
|
-
.govgr-
|
|
77
|
-
|
|
98
|
+
.govgr-header__section {
|
|
99
|
+
.govgr-phase-banner {
|
|
100
|
+
@apply mb-0;
|
|
101
|
+
}
|
|
78
102
|
}
|
|
79
|
-
.govgr-
|
|
80
|
-
|
|
103
|
+
.govgr-header-nav-menu__content,
|
|
104
|
+
.govgr-header__content,
|
|
105
|
+
.govgr-header__section {
|
|
106
|
+
> .govgr-svg-icon--burger {
|
|
107
|
+
fill: var(--color-white);
|
|
108
|
+
@apply float-right focus:bg-focus;
|
|
109
|
+
}
|
|
110
|
+
> .govgr-close-btn {
|
|
111
|
+
@apply sm:hidden;
|
|
112
|
+
.govgr-svg-icon--close {
|
|
113
|
+
fill: var(--color-link) !important;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
> .govgr-nav__list {
|
|
117
|
+
> .govgr-nav__list-item {
|
|
118
|
+
> .govgr-nav__list-item-link,
|
|
119
|
+
> .govgr-nav__list-item-btn {
|
|
120
|
+
&:not(:focus) {
|
|
121
|
+
@apply text-white;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
> .govgr-nav__list-item-link--active,
|
|
125
|
+
> .govgr-nav__list-item-btn--active {
|
|
126
|
+
&:not(:focus) {
|
|
127
|
+
@apply text-white !important;
|
|
128
|
+
}
|
|
129
|
+
.govgr-svg-icon {
|
|
130
|
+
fill: var(--color-white);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
81
135
|
}
|
package/src/components/index.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@import "./accessibility-menu.css";
|
|
2
1
|
@import "./accordion.css";
|
|
3
2
|
@import "./autocomplete.css";
|
|
4
3
|
@import "./button.css";
|
|
@@ -22,9 +21,11 @@
|
|
|
22
21
|
@import "./card.css";
|
|
23
22
|
@import "./details.css";
|
|
24
23
|
@import "./notification-banner.css";
|
|
24
|
+
@import "./masthead.css";
|
|
25
25
|
@import "./panel.css";
|
|
26
26
|
@import "./phase-banner.css";
|
|
27
27
|
@import "./summary-list.css";
|
|
28
|
+
@import "./stack.css";
|
|
28
29
|
@import "./tabs.css";
|
|
29
30
|
@import "./misc.css";
|
|
30
31
|
@import "./modal.css";
|
|
@@ -42,3 +43,4 @@
|
|
|
42
43
|
@import "./dev-theme.css";
|
|
43
44
|
@import "./kitchensink.css";
|
|
44
45
|
@import "./hidden.css";
|
|
46
|
+
@import "./warning-text.css";
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
.govgr-kitchensink-card .govgr-table__cell .govgr-dropdown {
|
|
47
47
|
margin: 0 !important;
|
|
48
48
|
}
|
|
49
|
-
.govgr-kitchensink-card .govgr-layout-
|
|
49
|
+
.govgr-kitchensink-card .govgr-layout--full-height {
|
|
50
50
|
min-height: inherit;
|
|
51
51
|
}
|
|
52
52
|
@container (min-width: 400px) {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
.govgr-kitchensink-card .govgr-drawer--closed {
|
|
59
59
|
@apply hidden;
|
|
60
60
|
}
|
|
61
|
-
.govgr-kitchensink-card .govgr-
|
|
61
|
+
.govgr-kitchensink-card .govgr-close-btn {
|
|
62
62
|
@apply block;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -1,28 +1,17 @@
|
|
|
1
|
-
.govgr-layout
|
|
1
|
+
.govgr-layout {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
flex-wrap: wrap;
|
|
5
5
|
}
|
|
6
|
-
.govgr-layout-
|
|
6
|
+
.govgr-layout--full-height {
|
|
7
7
|
min-height: 100vh;
|
|
8
8
|
}
|
|
9
|
-
.govgr-
|
|
10
|
-
@apply
|
|
9
|
+
.govgr-container {
|
|
10
|
+
@apply max-w-5xl box-border mx-auto px-3 md:px-6 w-full;
|
|
11
11
|
flex: 1 1 0%;
|
|
12
12
|
}
|
|
13
|
-
.govgr-full-width
|
|
14
|
-
@apply max-w-full
|
|
15
|
-
flex: 1 1 0%;
|
|
16
|
-
}
|
|
17
|
-
.govgr-main-wrapper {
|
|
18
|
-
@apply grid py-4 md:grid-cols-3 md:gap-12 grid-cols-1 gap-y-16
|
|
19
|
-
print:gap-4 print:grid-cols-1;
|
|
20
|
-
}
|
|
21
|
-
.govgr-grid-column-two-thirds {
|
|
22
|
-
@apply col-span-2;
|
|
23
|
-
}
|
|
24
|
-
.govgr-grid-column-one-third {
|
|
25
|
-
@apply col-span-1;
|
|
13
|
+
.govgr-container--full-width {
|
|
14
|
+
@apply max-w-full;
|
|
26
15
|
}
|
|
27
16
|
.govgr-top {
|
|
28
17
|
@apply mb-4;
|
|
@@ -35,9 +24,6 @@
|
|
|
35
24
|
}
|
|
36
25
|
.govgr-btn-group {
|
|
37
26
|
@apply flex flex-wrap items-center gap-4 mb-6 print:items-baseline;
|
|
38
|
-
.govgr-btn, .govgr-link {
|
|
39
|
-
@apply mb-0;
|
|
40
|
-
}
|
|
41
27
|
}
|
|
42
28
|
@media print {
|
|
43
29
|
/* When govgr-btn-group is empty at print, content at :after limits its height. */
|
|
@@ -49,14 +35,28 @@
|
|
|
49
35
|
@apply m-auto px-4 py-2 border-0 w-full bg-transparent;
|
|
50
36
|
}
|
|
51
37
|
.govgr-section-break--visible {
|
|
52
|
-
@apply border-t border-base-300 border-solid
|
|
38
|
+
@apply border-t border-base-300 border-solid;
|
|
53
39
|
}
|
|
54
40
|
.govgr-section-break--md {
|
|
55
|
-
|
|
41
|
+
@apply mb-5;
|
|
56
42
|
}
|
|
57
43
|
.govgr-section-break--lg {
|
|
58
|
-
|
|
44
|
+
@apply mb-7;
|
|
59
45
|
}
|
|
60
46
|
.govgr-section-break--xl {
|
|
61
|
-
|
|
62
|
-
}
|
|
47
|
+
@apply mb-9;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* overrides */
|
|
51
|
+
|
|
52
|
+
.govgr-container {
|
|
53
|
+
&.govgr-grid {
|
|
54
|
+
@apply py-4 print:gap-4 print:grid-cols-1;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.govgr-btn-group {
|
|
58
|
+
.govgr-btn,
|
|
59
|
+
.govgr-link {
|
|
60
|
+
@apply mb-0;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -1,53 +1,42 @@
|
|
|
1
|
-
.govgr-
|
|
1
|
+
.govgr-loader {
|
|
2
2
|
@apply h-fit w-fit m-auto overflow-hidden print:hidden;
|
|
3
3
|
}
|
|
4
|
-
.govgr-
|
|
4
|
+
.govgr-circular-progress {
|
|
5
5
|
animation: rotate 10s linear infinite;
|
|
6
6
|
@apply w-fit h-10;
|
|
7
7
|
}
|
|
8
|
-
.govgr-
|
|
8
|
+
.govgr-circular-progress__circle {
|
|
9
9
|
fill: none;
|
|
10
10
|
stroke-miterlimit: 10;
|
|
11
11
|
stroke-width: 42px;
|
|
12
12
|
}
|
|
13
|
-
.govgr-
|
|
13
|
+
.govgr-circular-progress__circle--1 {
|
|
14
14
|
stroke: var(--color-secondary);
|
|
15
15
|
}
|
|
16
|
-
.govgr-
|
|
16
|
+
.govgr-circular-progress__circle--2 {
|
|
17
17
|
--full-length: 470;
|
|
18
18
|
stroke: var(--color-primary);
|
|
19
19
|
stroke-dasharray: var(--full-length);
|
|
20
20
|
stroke-dashoffset: 0;
|
|
21
21
|
animation: dash 4s ease-in-out 0s forwards infinite;
|
|
22
22
|
}
|
|
23
|
-
.govgr-
|
|
24
|
-
.govgr-
|
|
23
|
+
.govgr-circular-progress--secondary {
|
|
24
|
+
.govgr-circular_progress__circle--1 {
|
|
25
25
|
@apply opacity-40;
|
|
26
26
|
stroke: var(--color-white);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.govgr-
|
|
29
|
+
.govgr-circular-progress__circle--2 {
|
|
30
30
|
stroke: var(--color-white);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
.govgr-btn {
|
|
35
|
-
.govgr-loader--inverse {
|
|
36
|
-
.govgr-loader__circle--1,
|
|
37
|
-
.govgr-loader__circle--2 {
|
|
38
|
-
stroke: var(--color-base-content);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.govgr-loader--sm {
|
|
33
|
+
.govgr-circular-progress--sm {
|
|
45
34
|
@apply h-5 w-5;
|
|
46
35
|
}
|
|
47
|
-
.govgr-
|
|
36
|
+
.govgr-circular-progress--md {
|
|
48
37
|
@apply h-10 w-10;
|
|
49
38
|
}
|
|
50
|
-
.govgr-
|
|
39
|
+
.govgr-circular-progress--lg {
|
|
51
40
|
@apply h-12 w-12;
|
|
52
41
|
}
|
|
53
42
|
@keyframes dash {
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
.govgr-masthead {
|
|
2
|
+
@apply print:border-2 print:bg-white print:border-tertiary-300 print:text-base-content;
|
|
3
|
+
}
|
|
4
|
+
.govgr-masthead--primary {
|
|
5
|
+
@apply bg-tertiary text-white;
|
|
6
|
+
.govgr-masthead__body {
|
|
7
|
+
@apply text-white;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
.govgr-masthead--secondary {
|
|
11
|
+
@apply border-b border-base-400 !important;
|
|
12
|
+
@apply bg-base-200;
|
|
13
|
+
.govgr-masthead__body {
|
|
14
|
+
@apply text-base-content;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
.govgr-masthead__body {
|
|
18
|
+
@apply md:mb-10 mb-6 md:text-lg text-base leading-7 print:text-base-content;
|
|
19
|
+
}
|
|
20
|
+
.govgr-masthead__logo {
|
|
21
|
+
@apply md:mb-6 mb-4 h-10;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* overrides */
|
|
25
|
+
|
|
26
|
+
.govgr-masthead {
|
|
27
|
+
.govgr-main > *:last-child {
|
|
28
|
+
@apply mb-0;
|
|
29
|
+
}
|
|
30
|
+
.govgr-header__content {
|
|
31
|
+
@apply flex-wrap;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
.govgr-masthead--primary {
|
|
35
|
+
.govgr-body {
|
|
36
|
+
@apply text-white;
|
|
37
|
+
}
|
|
38
|
+
.govgr-link {
|
|
39
|
+
@apply text-white hover:text-white focus:text-base-content print:text-base-content;
|
|
40
|
+
&:hover {
|
|
41
|
+
text-decoration-thickness: 2px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.govgr-link--no-underline {
|
|
45
|
+
@apply no-underline hover:underline;
|
|
46
|
+
&:hover {
|
|
47
|
+
text-decoration-thickness: 2px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
.govgr-back-link {
|
|
51
|
+
@apply text-white print:text-base-content;
|
|
52
|
+
}
|
|
53
|
+
.govgr-phase-banner__text {
|
|
54
|
+
@apply text-white print:text-base-content;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.govgr-masthead--primary,
|
|
58
|
+
.govgr-background-dark {
|
|
59
|
+
.govgr-btn {
|
|
60
|
+
@apply border-white hover:border-white border-2 shadow-none;
|
|
61
|
+
&:focus {
|
|
62
|
+
-webkit-box-shadow: 0 0 0 4px var(--color-base-content), 0 0 0 8px var(--color-focus);
|
|
63
|
+
box-shadow: 0 0 0 4px var(--color-base-content), 0 0 0 8px var(--color-focus);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.govgr-btn-primary {
|
|
67
|
+
@apply print:border-0 print:border-b-2 print:border-success print:text-base-content print:bg-white print:shadow-none;
|
|
68
|
+
}
|
|
69
|
+
.govgr-btn-secondary {
|
|
70
|
+
@apply print:border-0 print:border-b-2 print:border-base-500 print:text-base-content print:bg-white print:shadow-none;
|
|
71
|
+
}
|
|
72
|
+
.govgr-btn-warning {
|
|
73
|
+
@apply print:border-0 print:border-b-2 print:border-error print:text-base-content print:bg-white print:shadow-none;
|
|
74
|
+
}
|
|
75
|
+
.govgr-hint {
|
|
76
|
+
@apply opacity-70 text-white print:text-base-content;
|
|
77
|
+
}
|
|
78
|
+
}
|
package/src/components/misc.css
CHANGED
|
@@ -1,35 +1,3 @@
|
|
|
1
|
-
.govgr-blockquote {
|
|
2
|
-
@apply lg:mb-8 mb-4 mt-8 md:mb-8 p-4 border-l-8 border-base-500;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.govgr-warning-text {
|
|
6
|
-
@apply p-4;
|
|
7
|
-
}
|
|
8
|
-
.govgr-warning-text {
|
|
9
|
-
font-size: var(--warning-text-font-size);
|
|
10
|
-
@apply flex pt-4 pb-4 pl-0 pr-0;
|
|
11
|
-
.govgr-warning-text__icon {
|
|
12
|
-
@apply text-base-content-invert font-bold bg-base-content text-3xl leading-10 text-center
|
|
13
|
-
rounded-3xl md:min-h-10 min-w-10 h-fit mr-6 mt-1
|
|
14
|
-
print:bg-white print:border-2 print:border-base-content print:text-base-content;
|
|
15
|
-
}
|
|
16
|
-
.govgr-warning-text__text {
|
|
17
|
-
@apply flex items-center;
|
|
18
|
-
}
|
|
19
|
-
.govgr-warning-text__assistive {
|
|
20
|
-
position: absolute !important;
|
|
21
|
-
width: 1px !important;
|
|
22
|
-
height: 1px !important;
|
|
23
|
-
margin: 0 !important;
|
|
24
|
-
padding: 0 !important;
|
|
25
|
-
overflow: hidden !important;
|
|
26
|
-
clip: rect(0 0 0 0) !important;
|
|
27
|
-
-webkit-clip-path: inset(50%) !important;
|
|
28
|
-
clip-path: inset(50%) !important;
|
|
29
|
-
border: 0 !important;
|
|
30
|
-
white-space: nowrap !important;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
1
|
.tooltip {
|
|
34
2
|
@apply inline-block relative m-0 p-0 underline w-min cursor-pointer;
|
|
35
3
|
text-decoration-style: dotted;
|
|
@@ -52,15 +20,23 @@
|
|
|
52
20
|
}
|
|
53
21
|
}
|
|
54
22
|
}
|
|
55
|
-
.govgr-visually-hidden {
|
|
56
|
-
@apply absolute m-0 p-0 overflow-hidden border-0 whitespace-nowrap !important;
|
|
57
|
-
width: 1px !important;
|
|
58
|
-
height: 1px !important;
|
|
59
|
-
clip: rect(0 0 0 0) !important;
|
|
60
|
-
-webkit-clip-path: inset(50%) !important;
|
|
61
|
-
clip-path: inset(50%) !important;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
23
|
.govgr-cookie-banner {
|
|
65
24
|
@apply bg-base-200;
|
|
66
25
|
}
|
|
26
|
+
|
|
27
|
+
/* overrides */
|
|
28
|
+
|
|
29
|
+
div[class*="govgr-grid__col-span"] {
|
|
30
|
+
>.govgr-card {
|
|
31
|
+
@apply mb-0;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
.govgr-image-logo {
|
|
35
|
+
@apply h-10;
|
|
36
|
+
}
|
|
37
|
+
.govgr-image-logo--light {
|
|
38
|
+
@apply h-10;
|
|
39
|
+
}
|
|
40
|
+
.govgr-image-logo--dark {
|
|
41
|
+
@apply h-10 hidden;
|
|
42
|
+
}
|
package/src/components/modal.css
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
mb-7 text-base-content bg-opacity-50 bg-base-700
|
|
4
4
|
fixed z-50 left-0 top-0 w-full h-full overflow-auto;
|
|
5
5
|
}
|
|
6
|
+
|
|
6
7
|
.govgr-modal--open {
|
|
7
8
|
@apply flex;
|
|
8
9
|
}
|
|
@@ -16,16 +17,22 @@
|
|
|
16
17
|
.govgr-modal__container {
|
|
17
18
|
@apply grid p-10 gap-6 px-6 py-2;
|
|
18
19
|
}
|
|
19
|
-
.govgr-modal__heading {
|
|
20
|
-
@apply md:text-2xl text-xl font-bold;
|
|
21
|
-
}
|
|
22
20
|
.govgr-modal__content {
|
|
23
21
|
@apply text-base lg:text-xl text-lg;
|
|
24
22
|
}
|
|
25
23
|
.govgr-modal__action {
|
|
26
24
|
@apply flex flex-wrap items-center gap-4;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.govgr-modal__action {
|
|
27
28
|
.govgr-link,
|
|
28
29
|
.govgr-btn {
|
|
29
30
|
@apply mb-0;
|
|
30
31
|
}
|
|
31
32
|
}
|
|
33
|
+
|
|
34
|
+
.govgr-modal--dense, .govgr-dense & {
|
|
35
|
+
.govgr-modal__container {
|
|
36
|
+
@apply px-4 py-0 gap-4;
|
|
37
|
+
}
|
|
38
|
+
}
|