@digigov/css 1.0.0-480e3d97 → 1.0.0-55e4210c
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/components.js +1 -1
- package/dist/digigov.css +2 -2
- 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 +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 +17 -14
- 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 +51 -54
- package/src/components/filter.css +66 -37
- package/src/components/footer.css +12 -7
- package/src/components/form.css +38 -29
- package/src/components/header.css +85 -29
- package/src/components/hidden.css +3 -0
- 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 +9 -41
- package/src/components/modal.css +5 -0
- package/src/components/nav.css +67 -125
- package/src/components/pagination.css +37 -23
- package/src/components/phase-banner.css +0 -6
- package/src/components/radios.css +12 -18
- package/src/components/stack.css +18 -18
- package/src/components/stepnav.css +13 -6
- package/src/components/summary-list.css +22 -15
- package/src/components/svg-icons.css +0 -59
- package/src/components/table.css +34 -40
- package/src/components/task-list.css +20 -14
- package/src/components/timeline.css +8 -1
- package/src/components/typography.css +65 -70
- package/src/components/warning-text.css +19 -0
- package/src/utilities/index.css +120 -0
- package/src/utilities/utilities.css +126 -3
|
@@ -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,15 @@
|
|
|
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
|
+
|
package/src/components/modal.css
CHANGED
package/src/components/nav.css
CHANGED
|
@@ -1,123 +1,44 @@
|
|
|
1
|
-
.govgr-
|
|
2
|
-
@apply relative;
|
|
3
|
-
.govgr-svg-icon--burger {
|
|
4
|
-
fill: var(--color-white);
|
|
5
|
-
@apply float-right focus:bg-focus;
|
|
6
|
-
}
|
|
7
|
-
.govgr-close-btn {
|
|
8
|
-
@apply sm:hidden;
|
|
9
|
-
.govgr-svg-icon--close {
|
|
10
|
-
fill: var(--color-link) !important;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
.govgr-nav {
|
|
14
|
-
@apply fixed;
|
|
15
|
-
}
|
|
1
|
+
.govgr-nav {
|
|
2
|
+
@apply relative block w-full h-auto bg-base-100 text-base-content;
|
|
16
3
|
.govgr-nav__list {
|
|
17
|
-
@apply
|
|
18
|
-
@apply sm:w-min xs:hidden m-0 max-w-5xl sm:mx-auto sm:gap-x-6 static sm:py-1 xs:px-3 sm:px-0
|
|
19
|
-
flex flex-wrap flex-col sm:flex-row;
|
|
20
|
-
}
|
|
21
|
-
.govgr-nav__list-item {
|
|
22
|
-
@apply text-base-content sm:mr-auto sm:ml-auto sm:text-center sm:underline mr-0 xs:px-2 xs:py-1 sm:gap-x-6;
|
|
23
|
-
.govgr-svg-icon {
|
|
24
|
-
fill: var(--color-white) !important;
|
|
25
|
-
}
|
|
4
|
+
@apply px-3;
|
|
26
5
|
}
|
|
27
6
|
.govgr-nav__list-item-link,
|
|
28
7
|
.govgr-nav__list-item-btn {
|
|
29
|
-
@apply
|
|
30
|
-
@apply xs:hidden items-center xs:gap-1;
|
|
31
|
-
&:focus {
|
|
32
|
-
@apply sm:bg-focus sm:text-link-active !important;
|
|
33
|
-
.govgr-svg-icon {
|
|
34
|
-
fill: var(--color-link-active) !important;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
8
|
+
@apply md:no-underline !important;
|
|
37
9
|
}
|
|
38
|
-
.govgr-nav__list--active {
|
|
39
|
-
@apply sm:bg-tertiary !important;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
/* --- NAV --- */
|
|
43
|
-
.govgr-nav {
|
|
44
|
-
@apply sm:block !important;
|
|
45
|
-
@apply xs:hidden w-3/4 sm:w-full h-full bg-base-100
|
|
46
|
-
sm:h-auto sm:bg-base-100 xs:text-base-content
|
|
47
|
-
z-30 sm:z-auto
|
|
48
|
-
opacity-100 right-0 top-0 sm:top-auto overflow-x-scroll sm:overflow-visible;
|
|
49
10
|
}
|
|
50
11
|
.govgr-nav--fixed {
|
|
51
|
-
@apply fixed
|
|
12
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto
|
|
13
|
+
sm:relative sm:block sm:w-full sm:h-auto sm:z-auto sm:top-auto sm:overflow-visible;
|
|
14
|
+
@apply shadow-thick sm:shadow-none !important;
|
|
15
|
+
.govgr-nav__list {
|
|
16
|
+
@apply p-4;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.govgr-nav--open {
|
|
20
|
+
@apply block;
|
|
52
21
|
}
|
|
53
22
|
.govgr-nav--border {
|
|
54
23
|
@apply sm:border-b sm:border-base-400;
|
|
55
24
|
}
|
|
56
|
-
.govgr-
|
|
57
|
-
@apply
|
|
25
|
+
.govgr-nav__list {
|
|
26
|
+
@apply w-full m-0 max-w-5xl static flex flex-wrap flex-col;
|
|
58
27
|
}
|
|
59
|
-
.govgr-
|
|
60
|
-
@apply
|
|
61
|
-
}
|
|
62
|
-
.govgr-nav__list-item {
|
|
63
|
-
@apply text-base-content
|
|
64
|
-
xs:py-1;
|
|
65
|
-
}
|
|
66
|
-
.govgr-nav--horizontal {
|
|
67
|
-
.govgr-nav--horizontal {
|
|
68
|
-
@apply sm:mt-2 sm:border-b-0 static w-full z-1 sm:order-1;
|
|
69
|
-
@apply block overflow-x-visible;
|
|
70
|
-
.govgr-nav__list {
|
|
71
|
-
@apply sm:px-0 sm:pb-0 sm:ml-6 !important;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
.govgr-nav__list {
|
|
75
|
-
@apply w-full m-0 max-w-5xl sm:mx-auto sm:gap-x-6 static sm:py-1 xs:px-3 sm:px-0
|
|
76
|
-
flex flex-wrap flex-col sm:flex-row;
|
|
77
|
-
.govgr-section-break {
|
|
78
|
-
margin-top: 41px !important;
|
|
79
|
-
@apply sm:flex !important;
|
|
80
|
-
@apply xs:hidden sm:p-0 absolute left-0 right-0;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
28
|
+
.govgr-nav__list--horizontal {
|
|
29
|
+
@apply sm:mx-auto sm:gap-x-6 sm:py-1 px-3 sm:px-0 sm:flex-row;
|
|
83
30
|
.govgr-nav__list-item {
|
|
84
31
|
@apply sm:gap-x-6;
|
|
85
32
|
}
|
|
86
|
-
.govgr-close-btn {
|
|
87
|
-
@apply sm:hidden mt-3;
|
|
88
|
-
}
|
|
89
|
-
.govgr-heading-md {
|
|
90
|
-
@apply mb-0;
|
|
91
|
-
}
|
|
92
33
|
}
|
|
93
|
-
.govgr-
|
|
94
|
-
|
|
95
|
-
@apply sm:mt-2 sm:border-b-0 static w-full z-1;
|
|
96
|
-
@apply block overflow-x-visible;
|
|
97
|
-
}
|
|
98
|
-
.govgr-nav__list {
|
|
99
|
-
@apply w-full m-0 max-w-5xl static xs:px-3
|
|
100
|
-
flex flex-wrap flex-col;
|
|
101
|
-
}
|
|
102
|
-
.govgr-close-btn {
|
|
103
|
-
@apply sm:hidden mt-3;
|
|
104
|
-
}
|
|
105
|
-
.govgr-heading-md {
|
|
106
|
-
@apply mb-0;
|
|
107
|
-
}
|
|
34
|
+
.govgr-nav__list--full-width {
|
|
35
|
+
@apply max-w-none;
|
|
108
36
|
}
|
|
109
|
-
.govgr-nav__list
|
|
110
|
-
|
|
111
|
-
.govgr-drawer__heading {
|
|
112
|
-
@apply flex-row-reverse;
|
|
113
|
-
}
|
|
37
|
+
.govgr-nav__list-item {
|
|
38
|
+
@apply text-base-content py-1;
|
|
114
39
|
}
|
|
115
40
|
.govgr-nav__list-item-link,
|
|
116
41
|
.govgr-nav__list-item-btn {
|
|
117
|
-
@apply md:no-underline !important;
|
|
118
|
-
.govgr-svg-icon {
|
|
119
|
-
@apply ml-0.5;
|
|
120
|
-
}
|
|
121
42
|
&:focus {
|
|
122
43
|
@apply bg-focus text-base-content outline-none;
|
|
123
44
|
box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
|
|
@@ -130,50 +51,71 @@
|
|
|
130
51
|
.govgr-nav__list-item-btn--active {
|
|
131
52
|
@apply text-base-content !important;
|
|
132
53
|
@apply font-semibold;
|
|
133
|
-
> .govgr-svg-icon {
|
|
134
|
-
fill: var(--color-base-content) !important;
|
|
135
|
-
}
|
|
136
54
|
}
|
|
137
55
|
|
|
138
|
-
/* --- NAV-MENU --- */
|
|
139
56
|
.govgr-nav-menu {
|
|
140
|
-
@apply flex
|
|
57
|
+
@apply flex w-full;
|
|
141
58
|
}
|
|
142
59
|
.govgr-nav-menu--hidden {
|
|
143
60
|
@apply hidden;
|
|
144
61
|
}
|
|
145
62
|
.govgr-nav-menu--horizontal {
|
|
146
63
|
@apply sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-base-100;
|
|
147
|
-
.govgr-main-wrapper {
|
|
148
|
-
@apply xs:gap-y-2;
|
|
149
|
-
}
|
|
150
64
|
.govgr-nav-menu__content-list {
|
|
151
|
-
@apply sm:grid-
|
|
152
|
-
|
|
65
|
+
@apply sm:grid-rows-1 sm:grid-cols-3;
|
|
66
|
+
}
|
|
67
|
+
.govgr-nav-menu__title {
|
|
68
|
+
@apply hidden sm:block;
|
|
69
|
+
+ .govgr-nav-menu__content > .govgr-nav-menu__content-list {
|
|
70
|
+
@apply sm:grid-cols-2;
|
|
71
|
+
}
|
|
153
72
|
}
|
|
154
73
|
}
|
|
155
74
|
.govgr-nav-menu--vertical {
|
|
156
|
-
.govgr-nav-
|
|
157
|
-
@apply p-0 grid-flow-row xs:grid-cols-1 xs:grid-rows-6;
|
|
158
|
-
}
|
|
159
|
-
.govgr-nav-menu__container-title {
|
|
160
|
-
@apply mt-3;
|
|
161
|
-
}
|
|
162
|
-
.govgr-nav-menu__container-title-heading {
|
|
75
|
+
.govgr-nav-menu__title {
|
|
163
76
|
@apply hidden;
|
|
164
77
|
}
|
|
78
|
+
.govgr-nav-menu__content-list {
|
|
79
|
+
@apply py-2 sm:py-4;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
.govgr-nav-menu__content-list {
|
|
83
|
+
@apply p-0 grid grid-flow-row grid-cols-1;
|
|
165
84
|
}
|
|
166
85
|
.govgr-nav-menu__content-list-item {
|
|
167
|
-
@apply relative pt-0 pb-5 pr-3 pl-0
|
|
86
|
+
@apply relative pt-0 pb-5 pr-3 pl-0 box-border;
|
|
168
87
|
}
|
|
169
88
|
|
|
170
|
-
/*
|
|
171
|
-
|
|
172
|
-
|
|
89
|
+
/* overrides */
|
|
90
|
+
|
|
91
|
+
.govgr-nav {
|
|
92
|
+
.govgr-close-btn {
|
|
93
|
+
@apply sm:hidden mt-3;
|
|
94
|
+
}
|
|
95
|
+
.govgr-heading-md {
|
|
96
|
+
@apply mb-2 md:mb-0;
|
|
97
|
+
}
|
|
173
98
|
}
|
|
174
|
-
.govgr-
|
|
175
|
-
|
|
99
|
+
/* .govgr-nav__list,
|
|
100
|
+
.govgr-grid {
|
|
101
|
+
.govgr-drawer__heading {
|
|
102
|
+
@apply flex-row-reverse;
|
|
103
|
+
}
|
|
104
|
+
} */
|
|
105
|
+
.govgr-nav__list-item-link,
|
|
106
|
+
.govgr-nav__list-item-btn {
|
|
107
|
+
> .govgr-svg-icon {
|
|
108
|
+
@apply ml-0.5;
|
|
109
|
+
}
|
|
176
110
|
}
|
|
177
|
-
.govgr-
|
|
178
|
-
|
|
111
|
+
.govgr-nav__list-item-link--active,
|
|
112
|
+
.govgr-nav__list-item-btn--active {
|
|
113
|
+
> .govgr-svg-icon {
|
|
114
|
+
fill: var(--color-base-content) !important;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
.govgr-nav-menu--horizontal {
|
|
118
|
+
.govgr-grid {
|
|
119
|
+
@apply gap-y-2;
|
|
120
|
+
}
|
|
179
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
|
+
}
|
|
@@ -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
|
+
}
|
package/src/components/stack.css
CHANGED
|
@@ -11,56 +11,56 @@
|
|
|
11
11
|
@apply flex-col-reverse;
|
|
12
12
|
}
|
|
13
13
|
.govgr-stack--nowrap {
|
|
14
|
-
@apply flex-nowrap
|
|
14
|
+
@apply flex-nowrap;
|
|
15
15
|
}
|
|
16
16
|
.govgr-stack--justify-flex-start {
|
|
17
|
-
@apply justify-start
|
|
17
|
+
@apply justify-start;
|
|
18
18
|
}
|
|
19
19
|
.govgr-stack--justify-flex-end {
|
|
20
|
-
@apply justify-end
|
|
20
|
+
@apply justify-end;
|
|
21
21
|
}
|
|
22
22
|
.govgr-stack--justify-center {
|
|
23
|
-
@apply justify-center
|
|
23
|
+
@apply justify-center;
|
|
24
24
|
}
|
|
25
25
|
.govgr-stack--justify-space-between {
|
|
26
|
-
@apply justify-between
|
|
26
|
+
@apply justify-between;
|
|
27
27
|
}
|
|
28
28
|
.govgr-stack--justify-space-around {
|
|
29
|
-
@apply justify-around
|
|
29
|
+
@apply justify-around;
|
|
30
30
|
}
|
|
31
31
|
.govgr-stack--justify-space-evenly {
|
|
32
|
-
@apply justify-evenly
|
|
32
|
+
@apply justify-evenly;
|
|
33
33
|
}
|
|
34
34
|
.govgr-stack--align-stretch {
|
|
35
|
-
@apply items-stretch
|
|
35
|
+
@apply items-stretch;
|
|
36
36
|
}
|
|
37
37
|
.govgr-stack--align-flex-start {
|
|
38
|
-
@apply items-start
|
|
38
|
+
@apply items-start;
|
|
39
39
|
}
|
|
40
40
|
.govgr-stack--align-flex-end {
|
|
41
|
-
@apply items-end
|
|
41
|
+
@apply items-end;
|
|
42
42
|
}
|
|
43
43
|
.govgr-stack--align-center {
|
|
44
|
-
@apply items-center
|
|
44
|
+
@apply items-center;
|
|
45
45
|
}
|
|
46
46
|
.govgr-stack--align-baseline {
|
|
47
|
-
@apply items-baseline
|
|
47
|
+
@apply items-baseline;
|
|
48
48
|
}
|
|
49
49
|
.govgr-stack--content-flex-start {
|
|
50
|
-
@apply content-start
|
|
50
|
+
@apply content-start;
|
|
51
51
|
}
|
|
52
52
|
.govgr-stack--content-flex-end {
|
|
53
|
-
@apply content-end
|
|
53
|
+
@apply content-end;
|
|
54
54
|
}
|
|
55
55
|
.govgr-stack--content-center {
|
|
56
|
-
@apply content-center
|
|
56
|
+
@apply content-center;
|
|
57
57
|
}
|
|
58
58
|
.govgr-stack--content-space-between {
|
|
59
|
-
@apply content-between
|
|
59
|
+
@apply content-between;
|
|
60
60
|
}
|
|
61
61
|
.govgr-stack--content-space-around {
|
|
62
|
-
@apply content-around
|
|
62
|
+
@apply content-around;
|
|
63
63
|
}
|
|
64
64
|
.govgr-stack--content-space-evenly {
|
|
65
|
-
@apply content-evenly
|
|
65
|
+
@apply content-evenly;
|
|
66
66
|
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
.govgr-step-nav {
|
|
2
2
|
@apply mb-8 md:mb-12;
|
|
3
|
-
.govgr-link {
|
|
4
|
-
@apply md:text-base text-sm;
|
|
5
|
-
}
|
|
6
3
|
}
|
|
7
4
|
.govgr-step-nav__controls {
|
|
8
5
|
@apply text-right;
|
|
@@ -62,9 +59,6 @@
|
|
|
62
59
|
|
|
63
60
|
.govgr-step-nav__accordion__summary {
|
|
64
61
|
@apply list-none w-fit mb-0 py-4 pr-8 cursor-pointer;
|
|
65
|
-
.govgr-hint {
|
|
66
|
-
@apply mb-0 mt-1;
|
|
67
|
-
}
|
|
68
62
|
&::-webkit-details-marker {
|
|
69
63
|
@apply hidden;
|
|
70
64
|
}
|
|
@@ -147,3 +141,16 @@
|
|
|
147
141
|
@apply mb-0;
|
|
148
142
|
}
|
|
149
143
|
}
|
|
144
|
+
|
|
145
|
+
/* overrides */
|
|
146
|
+
|
|
147
|
+
.govgr-step-nav {
|
|
148
|
+
.govgr-link {
|
|
149
|
+
@apply md:text-base text-sm;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
.govgr-step-nav__accordion__summary {
|
|
153
|
+
.govgr-hint {
|
|
154
|
+
@apply mb-0 mt-1;
|
|
155
|
+
}
|
|
156
|
+
}
|