@digigov/css 1.0.0-871b6be5 → 1.0.0-8ae63a77
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/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/postcss.config.js +23 -22
- package/src/base/tailwind.config.js +19 -15
- package/src/components/accessibility-menu.css +8 -3
- package/src/components/accordion.css +19 -12
- package/src/components/admin-header.css +26 -0
- package/src/components/autocomplete.css +12 -9
- package/src/components/bottom-info.css +2 -1
- package/src/components/button.css +57 -31
- package/src/components/card.css +30 -15
- package/src/components/checkboxes.css +8 -3
- package/src/components/chip.css +24 -9
- package/src/components/copy-to-clipboard.css +16 -9
- package/src/components/drawer.css +18 -6
- package/src/components/dropdown.css +45 -44
- package/src/components/filter.css +66 -37
- package/src/components/footer.css +13 -7
- package/src/components/form.css +38 -29
- package/src/components/header.css +57 -37
- package/src/components/index.css +2 -0
- package/src/components/layout.css +14 -14
- package/src/components/loader.css +5 -16
- package/src/components/masthead.css +78 -0
- package/src/components/misc.css +17 -41
- package/src/components/modal.css +5 -0
- package/src/components/nav.css +9 -7
- package/src/components/pagination.css +37 -23
- package/src/components/phase-banner.css +0 -11
- package/src/components/postcss.config.js +15 -16
- package/src/components/radios.css +12 -18
- package/src/components/stepnav.css +23 -5
- package/src/components/summary-list.css +22 -15
- package/src/components/svg-icons.css +0 -59
- package/src/components/table.css +34 -37
- package/src/components/tailwind.config.js +12 -6
- package/src/components/task-list.css +28 -14
- package/src/components/timeline.css +21 -6
- package/src/components/typography.css +76 -69
- package/src/components/warning-text.css +19 -0
- package/src/fonts.css +1 -1
- package/src/index.css +0 -2
- package/src/utilities/index.css +121 -1
- package/src/utilities/postcss.config.js +15 -16
- package/src/utilities/tailwind.config.js +10 -1
- package/src/utilities/utilities.css +136 -13
- package/tailwind.config.js +18 -27
- package/themes.plugin.js +93 -98
|
@@ -1,6 +1,5 @@
|
|
|
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
4
|
}
|
|
6
5
|
.govgr-header__content {
|
|
@@ -12,6 +11,7 @@
|
|
|
12
11
|
print:gap-1;
|
|
13
12
|
}
|
|
14
13
|
.govgr-header__logo {
|
|
14
|
+
print-color-adjust: exact !important;
|
|
15
15
|
-webkit-print-color-adjust: exact !important;
|
|
16
16
|
@apply h-12 print:hidden;
|
|
17
17
|
}
|
|
@@ -44,52 +44,72 @@
|
|
|
44
44
|
.govgr-header-nav-menu__content {
|
|
45
45
|
@apply flex justify-start items-center gap-x-4 gap-y-2 print:gap-1;
|
|
46
46
|
}
|
|
47
|
-
.govgr-masthead {
|
|
48
|
-
@apply print:border-2 print:bg-white print:border-tertiary-300 print:text-base-content;
|
|
49
|
-
.govgr-grid-column-two-thirds > *:last-child {
|
|
50
|
-
@apply mb-0;
|
|
51
|
-
}
|
|
52
|
-
.govgr-header__content {
|
|
53
|
-
@apply flex-wrap;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
.govgr-masthead--primary {
|
|
57
|
-
@apply bg-tertiary text-white;
|
|
58
|
-
.govgr-masthead__body {
|
|
59
|
-
@apply text-white;
|
|
60
|
-
}
|
|
61
|
-
.govgr-body {
|
|
62
|
-
@apply text-white;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
.govgr-masthead--secondary {
|
|
66
|
-
@apply border-b border-base-400 !important;
|
|
67
|
-
@apply bg-base-200;
|
|
68
|
-
.govgr-masthead__body {
|
|
69
|
-
@apply text-base-content;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
.govgr-masthead__body {
|
|
73
|
-
@apply md:mb-10 mb-6 md:text-lg text-base leading-7 print:text-base-content;
|
|
74
|
-
}
|
|
75
|
-
.govgr-masthead__logo {
|
|
76
|
-
@apply md:mb-6 mb-4 h-10;
|
|
77
|
-
}
|
|
78
47
|
|
|
79
48
|
/* overrides */
|
|
80
49
|
|
|
81
50
|
.govgr-header {
|
|
82
|
-
|
|
51
|
+
.govgr-header__content,
|
|
52
|
+
.govgr-header__section {
|
|
53
|
+
> .govgr-link {
|
|
54
|
+
@apply text-white focus:text-link-active print:text-base-content;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.govgr-dropdown {
|
|
58
|
+
@apply print:hidden;
|
|
59
|
+
}
|
|
83
60
|
.govgr-dropdown__button {
|
|
84
61
|
@apply sm:w-max;
|
|
85
62
|
}
|
|
63
|
+
.govgr-dropdown__button.govgr-link {
|
|
64
|
+
@apply text-lg text-white focus:text-base-content print:text-base-800;
|
|
65
|
+
}
|
|
66
|
+
.govgr-link {
|
|
67
|
+
.govgr-svg-icon {
|
|
68
|
+
fill: var(--color-white);
|
|
69
|
+
}
|
|
70
|
+
&:hover {
|
|
71
|
+
.govgr-svg-icon {
|
|
72
|
+
fill: var(--color-white);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
&:focus {
|
|
76
|
+
.govgr-svg-icon {
|
|
77
|
+
fill: var(--color-link-active);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
.govgr-phase-banner__text {
|
|
82
|
+
@apply text-white print:text-base-content;
|
|
83
|
+
}
|
|
84
|
+
.govgr-link {
|
|
85
|
+
.govgr-svg-icon {
|
|
86
|
+
fill: var(--color-white);
|
|
87
|
+
}
|
|
88
|
+
&:hover {
|
|
89
|
+
.govgr-svg-icon {
|
|
90
|
+
fill: var(--color-white);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
&:focus {
|
|
94
|
+
.govgr-svg-icon {
|
|
95
|
+
fill: var(--color-link-active);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
.govgr-header__section {
|
|
101
|
+
.govgr-phase-banner {
|
|
102
|
+
@apply mb-0;
|
|
103
|
+
}
|
|
86
104
|
}
|
|
87
|
-
.govgr-header-nav-menu__content,
|
|
88
|
-
|
|
105
|
+
.govgr-header-nav-menu__content,
|
|
106
|
+
.govgr-header__content,
|
|
107
|
+
.govgr-header__section {
|
|
108
|
+
> .govgr-svg-icon--burger {
|
|
89
109
|
fill: var(--color-white);
|
|
90
110
|
@apply float-right focus:bg-focus;
|
|
91
111
|
}
|
|
92
|
-
|
|
112
|
+
> .govgr-close-btn {
|
|
93
113
|
@apply sm:hidden;
|
|
94
114
|
.govgr-svg-icon--close {
|
|
95
115
|
fill: var(--color-link) !important;
|
package/src/components/index.css
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
@import "./card.css";
|
|
23
23
|
@import "./details.css";
|
|
24
24
|
@import "./notification-banner.css";
|
|
25
|
+
@import "./masthead.css";
|
|
25
26
|
@import "./panel.css";
|
|
26
27
|
@import "./phase-banner.css";
|
|
27
28
|
@import "./summary-list.css";
|
|
@@ -43,3 +44,4 @@
|
|
|
43
44
|
@import "./dev-theme.css";
|
|
44
45
|
@import "./kitchensink.css";
|
|
45
46
|
@import "./hidden.css";
|
|
47
|
+
@import "./warning-text.css";
|
|
@@ -13,16 +13,6 @@
|
|
|
13
13
|
.govgr-container--full-width {
|
|
14
14
|
@apply max-w-full;
|
|
15
15
|
}
|
|
16
|
-
.govgr-main-wrapper {
|
|
17
|
-
@apply grid py-4 md:grid-cols-3 md:gap-12 grid-cols-1 gap-y-16
|
|
18
|
-
print:gap-4 print:grid-cols-1;
|
|
19
|
-
}
|
|
20
|
-
.govgr-grid-column-two-thirds {
|
|
21
|
-
@apply col-span-2;
|
|
22
|
-
}
|
|
23
|
-
.govgr-grid-column-one-third {
|
|
24
|
-
@apply col-span-1;
|
|
25
|
-
}
|
|
26
16
|
.govgr-top {
|
|
27
17
|
@apply mb-4;
|
|
28
18
|
}
|
|
@@ -34,9 +24,6 @@
|
|
|
34
24
|
}
|
|
35
25
|
.govgr-btn-group {
|
|
36
26
|
@apply flex flex-wrap items-center gap-4 mb-6 print:items-baseline;
|
|
37
|
-
.govgr-btn, .govgr-link {
|
|
38
|
-
@apply mb-0;
|
|
39
|
-
}
|
|
40
27
|
}
|
|
41
28
|
@media print {
|
|
42
29
|
/* When govgr-btn-group is empty at print, content at :after limits its height. */
|
|
@@ -58,4 +45,17 @@
|
|
|
58
45
|
}
|
|
59
46
|
.govgr-section-break--xl {
|
|
60
47
|
@apply mb-9;
|
|
61
|
-
}
|
|
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, .govgr-link {
|
|
59
|
+
@apply mb-0;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -5,15 +5,15 @@
|
|
|
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);
|
|
@@ -21,26 +21,15 @@
|
|
|
21
21
|
animation: dash 4s ease-in-out 0s forwards infinite;
|
|
22
22
|
}
|
|
23
23
|
.govgr-circular-progress--secondary {
|
|
24
|
-
.govgr-
|
|
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
|
-
@media print {
|
|
34
|
-
.govgr-btn {
|
|
35
|
-
.govgr-circular-progress--secondary {
|
|
36
|
-
.govgr-loader__circle--1,
|
|
37
|
-
.govgr-loader__circle--2 {
|
|
38
|
-
stroke: var(--color-base-content);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
33
|
.govgr-circular-progress--sm {
|
|
45
34
|
@apply h-5 w-5;
|
|
46
35
|
}
|
|
@@ -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
package/src/components/nav.css
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
@apply max-w-none;
|
|
36
36
|
}
|
|
37
37
|
.govgr-nav__list-item {
|
|
38
|
-
@apply text-base-content py-1;
|
|
38
|
+
@apply text-base-content font-normal py-1;
|
|
39
39
|
}
|
|
40
40
|
.govgr-nav__list-item-link,
|
|
41
41
|
.govgr-nav__list-item-btn {
|
|
@@ -61,9 +61,6 @@
|
|
|
61
61
|
}
|
|
62
62
|
.govgr-nav-menu--horizontal {
|
|
63
63
|
@apply sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-base-100;
|
|
64
|
-
.govgr-main-wrapper {
|
|
65
|
-
@apply gap-y-2;
|
|
66
|
-
}
|
|
67
64
|
.govgr-nav-menu__content-list {
|
|
68
65
|
@apply sm:grid-rows-1 sm:grid-cols-3;
|
|
69
66
|
}
|
|
@@ -99,12 +96,12 @@
|
|
|
99
96
|
@apply mb-2 md:mb-0;
|
|
100
97
|
}
|
|
101
98
|
}
|
|
102
|
-
.govgr-nav__list,
|
|
103
|
-
.govgr-
|
|
99
|
+
/* .govgr-nav__list,
|
|
100
|
+
.govgr-grid {
|
|
104
101
|
.govgr-drawer__heading {
|
|
105
102
|
@apply flex-row-reverse;
|
|
106
103
|
}
|
|
107
|
-
}
|
|
104
|
+
} */
|
|
108
105
|
.govgr-nav__list-item-link,
|
|
109
106
|
.govgr-nav__list-item-btn {
|
|
110
107
|
> .govgr-svg-icon {
|
|
@@ -117,3 +114,8 @@
|
|
|
117
114
|
fill: var(--color-base-content) !important;
|
|
118
115
|
}
|
|
119
116
|
}
|
|
117
|
+
.govgr-nav-menu--horizontal {
|
|
118
|
+
.govgr-grid {
|
|
119
|
+
@apply gap-y-2;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -3,31 +3,16 @@
|
|
|
3
3
|
.govgr-pagination__label {
|
|
4
4
|
@apply md:text-lg text-base;
|
|
5
5
|
}
|
|
6
|
-
.govgr-label {
|
|
7
|
-
@apply text-base-content md:leading-normal flex-row items-center gap-2 md:text-lg text-base;
|
|
8
|
-
}
|
|
9
6
|
.govgr-pagination__item--current {
|
|
10
7
|
@apply md:text-lg text-base;
|
|
11
8
|
}
|
|
12
|
-
.govgr-select {
|
|
13
|
-
text-indent: 0px;
|
|
14
|
-
@apply flex text-base-content md:leading-normal border md:text-lg text-base;
|
|
15
|
-
&:focus {
|
|
16
|
-
-webkit-box-shadow: inset 0 0 0 1px;
|
|
17
|
-
box-shadow: inset 0 0 0 1px;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
9
|
}
|
|
21
10
|
.govgr-pagination--sm {
|
|
22
|
-
.govgr-pagination__label,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
.govgr-pagination__list {
|
|
26
|
-
.govgr-link{
|
|
27
|
-
@apply md:text-base text-sm !important;
|
|
28
|
-
}
|
|
11
|
+
.govgr-pagination__label,
|
|
12
|
+
.govgr-pagination__item--current {
|
|
13
|
+
@apply md:text-base text-sm;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
}
|
|
31
16
|
.govgr-pagination__label {
|
|
32
17
|
@apply text-base-content md:leading-normal;
|
|
33
18
|
}
|
|
@@ -35,9 +20,6 @@
|
|
|
35
20
|
@apply flex items-center;
|
|
36
21
|
}
|
|
37
22
|
.govgr-pagination__item {
|
|
38
|
-
.govgr-link{
|
|
39
|
-
@apply flex items-center no-underline;
|
|
40
|
-
}
|
|
41
23
|
@apply inline-block p-2 m-0;
|
|
42
24
|
&:first-child {
|
|
43
25
|
@apply pl-0;
|
|
@@ -50,9 +32,41 @@
|
|
|
50
32
|
.govgr-pagination__item--dots {
|
|
51
33
|
@apply font-bold;
|
|
52
34
|
}
|
|
35
|
+
|
|
36
|
+
/* overrides */
|
|
37
|
+
|
|
38
|
+
.govgr-pagination {
|
|
39
|
+
.govgr-label {
|
|
40
|
+
@apply text-base-content md:leading-normal flex-row items-center gap-2 md:text-lg text-base;
|
|
41
|
+
}
|
|
42
|
+
.govgr-select {
|
|
43
|
+
text-indent: 0px;
|
|
44
|
+
@apply flex text-base-content md:leading-normal border md:text-lg text-base;
|
|
45
|
+
&:focus {
|
|
46
|
+
-webkit-box-shadow: inset 0 0 0 1px;
|
|
47
|
+
box-shadow: inset 0 0 0 1px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.govgr-pagination--sm {
|
|
52
|
+
.govgr-label,
|
|
53
|
+
.govgr-select {
|
|
54
|
+
@apply md:text-base text-sm;
|
|
55
|
+
}
|
|
56
|
+
.govgr-pagination__list {
|
|
57
|
+
.govgr-link {
|
|
58
|
+
@apply md:text-base text-sm !important;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
.govgr-pagination__item {
|
|
63
|
+
.govgr-link {
|
|
64
|
+
@apply flex items-center no-underline;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
53
67
|
.govgr-pagination__item--inactive {
|
|
54
68
|
.govgr-link {
|
|
55
69
|
pointer-events: none;
|
|
56
70
|
@apply text-base-800;
|
|
57
71
|
}
|
|
58
|
-
}
|
|
72
|
+
}
|
|
@@ -8,11 +8,6 @@
|
|
|
8
8
|
.govgr-phase-banner {
|
|
9
9
|
@apply py-2 mb-4;
|
|
10
10
|
}
|
|
11
|
-
.govgr-header__section {
|
|
12
|
-
.govgr-phase-banner {
|
|
13
|
-
@apply mb-0;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
11
|
.govgr-phase-banner--underline {
|
|
17
12
|
@apply border-base-500 border-b;
|
|
18
13
|
}
|
|
@@ -27,9 +22,3 @@
|
|
|
27
22
|
.govgr-phase-banner__text {
|
|
28
23
|
@apply table-cell text-base-content;
|
|
29
24
|
}
|
|
30
|
-
.govgr-header,
|
|
31
|
-
.govgr-masthead--primary {
|
|
32
|
-
.govgr-phase-banner__text {
|
|
33
|
-
@apply text-white print:text-base-content;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/** @type {import('postcss-load-config').Config} */
|
|
2
|
+
const config = {
|
|
2
3
|
plugins: [
|
|
3
|
-
require(
|
|
4
|
-
require(
|
|
5
|
-
require(
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}),
|
|
10
|
-
require('autoprefixer'),
|
|
11
|
-
require('cssnano')({
|
|
12
|
-
"preset": [
|
|
4
|
+
require("postcss-import"),
|
|
5
|
+
require("tailwindcss/nesting"),
|
|
6
|
+
require("tailwindcss")("./src/components/tailwind.config.js"),
|
|
7
|
+
require("autoprefixer"),
|
|
8
|
+
require("cssnano")({
|
|
9
|
+
preset: [
|
|
13
10
|
"default",
|
|
14
11
|
{
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
]
|
|
12
|
+
mergeRules: false,
|
|
13
|
+
},
|
|
14
|
+
],
|
|
18
15
|
}),
|
|
19
|
-
]
|
|
20
|
-
}
|
|
16
|
+
],
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
module.exports = config;
|
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
}
|
|
6
6
|
.govgr-radios--horizontal {
|
|
7
7
|
@apply inline-flex flex-wrap items-baseline gap-4 md:gap-6;
|
|
8
|
-
.govgr-choice-divider-text {
|
|
9
|
-
@apply min-w-max mx-2;
|
|
10
|
-
}
|
|
11
8
|
}
|
|
12
9
|
.govgr-radios__item {
|
|
13
10
|
@apply block relative mb-4 pl-12;
|
|
@@ -18,7 +15,7 @@
|
|
|
18
15
|
@apply inline-block py-1 px-2 cursor-pointer;
|
|
19
16
|
}
|
|
20
17
|
.govgr-radios__input {
|
|
21
|
-
@apply absolute z-1 left-0.5 -top-1 m-0
|
|
18
|
+
@apply absolute z-1 left-0.5 -top-1 m-0
|
|
22
19
|
w-10 h-10 opacity-100 cursor-pointer
|
|
23
20
|
bg-base-100;
|
|
24
21
|
appearance: none;
|
|
@@ -26,17 +23,10 @@
|
|
|
26
23
|
height: 40px;
|
|
27
24
|
border: 2px solid currentColor;
|
|
28
25
|
border-radius: 50%;
|
|
29
|
-
&::before {
|
|
30
|
-
content: "";
|
|
31
|
-
@apply absolute bg-base-100 opacity-0 w-0 h-0;
|
|
32
|
-
top: 6px;
|
|
33
|
-
left: 6px;
|
|
34
|
-
border: 12px solid currentColor;
|
|
35
|
-
border-radius: 50%;
|
|
36
|
-
}
|
|
37
26
|
&:checked {
|
|
38
|
-
|
|
39
|
-
|
|
27
|
+
box-shadow: inset 0 0 0px 6px var(--color-base-100), inset 0 0 0 20px var(--color-base-content);
|
|
28
|
+
&:focus {
|
|
29
|
+
box-shadow: 0 0 0 4px var(--color-focus), inset 0 0 0px 4px var(--color-base-100), inset 0 0 0 20px var(--color-base-content);
|
|
40
30
|
}
|
|
41
31
|
}
|
|
42
32
|
&:focus {
|
|
@@ -44,12 +34,16 @@
|
|
|
44
34
|
outline-offset: 1px;
|
|
45
35
|
box-shadow: 0 0 0 4px var(--color-focus);
|
|
46
36
|
border-width: 4px;
|
|
47
|
-
&::before {
|
|
48
|
-
top: 4px;
|
|
49
|
-
left: 4px;
|
|
50
|
-
}
|
|
51
37
|
}
|
|
52
38
|
}
|
|
53
39
|
.govgr-radios__conditional {
|
|
54
40
|
@apply border-l-4 border-base-500 ml-4 pl-6;
|
|
55
41
|
}
|
|
42
|
+
|
|
43
|
+
/* overrides */
|
|
44
|
+
|
|
45
|
+
.govgr-radios--horizontal {
|
|
46
|
+
.govgr-choice-divider-text {
|
|
47
|
+
@apply min-w-max mx-2;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
.govgr-step-nav {
|
|
2
2
|
@apply mb-8 md:mb-12;
|
|
3
|
-
|
|
4
|
-
@apply md:
|
|
3
|
+
&.govgr-step-nav--dense, .govgr-dense & {
|
|
4
|
+
@apply mb-4 md:mb-8;
|
|
5
|
+
.govgr-step-nav__circle {
|
|
6
|
+
margin-left: 0.1rem;
|
|
7
|
+
@apply md:w-8 md:h-8;
|
|
8
|
+
}
|
|
9
|
+
.govgr-step-nav__accordion__summary {
|
|
10
|
+
@apply py-3;
|
|
11
|
+
}
|
|
5
12
|
}
|
|
6
13
|
}
|
|
7
14
|
.govgr-step-nav__controls {
|
|
@@ -62,9 +69,6 @@
|
|
|
62
69
|
|
|
63
70
|
.govgr-step-nav__accordion__summary {
|
|
64
71
|
@apply list-none w-fit mb-0 py-4 pr-8 cursor-pointer;
|
|
65
|
-
.govgr-hint {
|
|
66
|
-
@apply mb-0 mt-1;
|
|
67
|
-
}
|
|
68
72
|
&::-webkit-details-marker {
|
|
69
73
|
@apply hidden;
|
|
70
74
|
}
|
|
@@ -147,3 +151,17 @@
|
|
|
147
151
|
@apply mb-0;
|
|
148
152
|
}
|
|
149
153
|
}
|
|
154
|
+
|
|
155
|
+
/* overrides */
|
|
156
|
+
|
|
157
|
+
.govgr-step-nav {
|
|
158
|
+
.govgr-link {
|
|
159
|
+
@apply md:text-base text-sm;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
.govgr-step-nav__accordion__summary {
|
|
163
|
+
.govgr-hint {
|
|
164
|
+
@apply mb-0 mt-1;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|