@digigov/css 1.0.0-88820b1e → 1.0.0-8bbf3ef2
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/index.css +3 -0
- 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 +65 -29
- package/src/components/card.css +30 -15
- package/src/components/checkboxes.css +55 -12
- package/src/components/chip.css +31 -11
- package/src/components/copy-to-clipboard.css +28 -13
- package/src/components/drawer.css +18 -6
- package/src/components/dropdown.css +52 -52
- package/src/components/filter.css +67 -38
- package/src/components/footer.css +13 -7
- package/src/components/form.css +56 -29
- package/src/components/header.css +84 -30
- 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 +17 -41
- package/src/components/modal.css +10 -0
- package/src/components/nav.css +93 -126
- package/src/components/notification-banner.css +14 -3
- package/src/components/pagination.css +37 -23
- package/src/components/phase-banner.css +0 -6
- package/src/components/postcss.config.js +15 -16
- package/src/components/radios.css +32 -19
- package/src/components/stack.css +18 -18
- package/src/components/stepnav.css +24 -6
- package/src/components/summary-list.css +22 -15
- package/src/components/svg-icons.css +2 -62
- package/src/components/table.css +34 -40
- package/src/components/tabs.css +19 -0
- 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 +81 -69
- package/src/components/warning-text.css +23 -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 +20 -27
- package/themes.plugin.js +95 -100
package/src/components/nav.css
CHANGED
|
@@ -1,123 +1,69 @@
|
|
|
1
|
-
.govgr-
|
|
2
|
-
@apply relative;
|
|
3
|
-
.govgr-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
}
|
|
16
|
-
.govgr-nav__list {
|
|
17
|
-
@apply sm:flex !important;
|
|
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
|
-
}
|
|
26
|
-
}
|
|
1
|
+
.govgr-nav {
|
|
2
|
+
@apply relative block w-full h-auto bg-base-100 text-base-content;
|
|
3
|
+
/* .govgr-nav__list {
|
|
4
|
+
@apply px-3;
|
|
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
|
-
|
|
39
|
-
|
|
10
|
+
}
|
|
11
|
+
.govgr-nav--hidden {
|
|
12
|
+
@apply hidden;
|
|
13
|
+
}
|
|
14
|
+
.govgr-nav--drawer {
|
|
15
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4;
|
|
16
|
+
@apply shadow-thick !important;
|
|
17
|
+
.govgr-nav__list--horizontal {
|
|
18
|
+
@apply px-0;
|
|
40
19
|
}
|
|
41
20
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
@apply
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
21
|
+
.govgr-nav--drawer-smDown {
|
|
22
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
23
|
+
sm:relative sm:block sm:w-full sm:h-auto sm:z-auto sm:top-auto sm:overflow-visible sm:p-0;
|
|
24
|
+
@apply shadow-thick sm:shadow-none !important;
|
|
25
|
+
.govgr-nav__list--horizontal {
|
|
26
|
+
@apply px-0 sm:px-4;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.govgr-nav--drawer-mdDown {
|
|
30
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
31
|
+
md:relative md:block md:w-full md:h-auto md:z-auto md:top-auto md:overflow-visible md:p-0;
|
|
32
|
+
@apply shadow-thick md:shadow-none !important;
|
|
33
|
+
.govgr-nav__list--horizontal {
|
|
34
|
+
@apply px-0 md:px-4;
|
|
35
|
+
}
|
|
49
36
|
}
|
|
50
|
-
|
|
51
|
-
|
|
37
|
+
|
|
38
|
+
.govgr-nav--drawer-lgDown {
|
|
39
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
40
|
+
lg:relative lg:block lg:w-full lg:h-auto lg:z-auto lg:top-auto lg:overflow-visible lg:p-0;
|
|
41
|
+
@apply shadow-thick lg:shadow-none !important;
|
|
42
|
+
.govgr-nav__list--horizontal {
|
|
43
|
+
@apply px-0 lg:px-4;
|
|
44
|
+
}
|
|
52
45
|
}
|
|
53
46
|
.govgr-nav--border {
|
|
54
47
|
@apply sm:border-b sm:border-base-400;
|
|
55
48
|
}
|
|
56
|
-
.govgr-
|
|
57
|
-
@apply
|
|
49
|
+
.govgr-nav__list {
|
|
50
|
+
@apply w-full m-0 max-w-5xl static flex flex-wrap flex-col;
|
|
58
51
|
}
|
|
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
|
-
}
|
|
52
|
+
.govgr-nav__list--horizontal {
|
|
53
|
+
@apply sm:mx-auto sm:gap-x-6 sm:py-1 px-4 sm:flex-row;
|
|
83
54
|
.govgr-nav__list-item {
|
|
84
55
|
@apply sm:gap-x-6;
|
|
85
56
|
}
|
|
86
|
-
.govgr-close-btn {
|
|
87
|
-
@apply sm:hidden mt-3;
|
|
88
|
-
}
|
|
89
|
-
.govgr-heading-md {
|
|
90
|
-
@apply mb-0;
|
|
91
|
-
}
|
|
92
57
|
}
|
|
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
|
-
}
|
|
58
|
+
.govgr-nav__list--full-width {
|
|
59
|
+
@apply max-w-none;
|
|
108
60
|
}
|
|
109
|
-
.govgr-nav__list
|
|
110
|
-
|
|
111
|
-
.govgr-drawer__heading {
|
|
112
|
-
@apply flex-row-reverse;
|
|
113
|
-
}
|
|
61
|
+
.govgr-nav__list-item {
|
|
62
|
+
@apply text-base-content font-normal py-1;
|
|
114
63
|
}
|
|
115
64
|
.govgr-nav__list-item-link,
|
|
116
65
|
.govgr-nav__list-item-btn {
|
|
117
|
-
@apply
|
|
118
|
-
.govgr-svg-icon {
|
|
119
|
-
@apply ml-0.5;
|
|
120
|
-
}
|
|
66
|
+
@apply text-left;
|
|
121
67
|
&:focus {
|
|
122
68
|
@apply bg-focus text-base-content outline-none;
|
|
123
69
|
box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
|
|
@@ -130,50 +76,71 @@
|
|
|
130
76
|
.govgr-nav__list-item-btn--active {
|
|
131
77
|
@apply text-base-content !important;
|
|
132
78
|
@apply font-semibold;
|
|
133
|
-
> .govgr-svg-icon {
|
|
134
|
-
fill: var(--color-base-content) !important;
|
|
135
|
-
}
|
|
136
79
|
}
|
|
137
80
|
|
|
138
|
-
/* --- NAV-MENU --- */
|
|
139
81
|
.govgr-nav-menu {
|
|
140
|
-
@apply flex
|
|
82
|
+
@apply flex w-full;
|
|
141
83
|
}
|
|
142
84
|
.govgr-nav-menu--hidden {
|
|
143
85
|
@apply hidden;
|
|
144
86
|
}
|
|
145
87
|
.govgr-nav-menu--horizontal {
|
|
146
88
|
@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
89
|
.govgr-nav-menu__content-list {
|
|
151
|
-
@apply sm:grid-
|
|
152
|
-
|
|
90
|
+
@apply sm:grid-rows-1 sm:grid-cols-3;
|
|
91
|
+
}
|
|
92
|
+
.govgr-nav-menu__title {
|
|
93
|
+
@apply hidden sm:block;
|
|
94
|
+
+ .govgr-nav-menu__content > .govgr-nav-menu__content-list {
|
|
95
|
+
@apply sm:grid-cols-2;
|
|
96
|
+
}
|
|
153
97
|
}
|
|
154
98
|
}
|
|
155
99
|
.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 {
|
|
100
|
+
.govgr-nav-menu__title {
|
|
163
101
|
@apply hidden;
|
|
164
102
|
}
|
|
103
|
+
.govgr-nav-menu__content-list {
|
|
104
|
+
@apply py-2 sm:py-4;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
.govgr-nav-menu__content-list {
|
|
108
|
+
@apply p-0 grid grid-flow-row grid-cols-1;
|
|
165
109
|
}
|
|
166
110
|
.govgr-nav-menu__content-list-item {
|
|
167
|
-
@apply relative pt-0 pb-5 pr-3 pl-0
|
|
111
|
+
@apply relative pt-0 pb-5 pr-3 pl-0 box-border;
|
|
168
112
|
}
|
|
169
113
|
|
|
170
|
-
/*
|
|
171
|
-
|
|
172
|
-
|
|
114
|
+
/* overrides */
|
|
115
|
+
|
|
116
|
+
.govgr-nav {
|
|
117
|
+
.govgr-close-btn {
|
|
118
|
+
@apply mb-4;
|
|
119
|
+
}
|
|
120
|
+
.govgr-heading-md {
|
|
121
|
+
@apply mb-2 md:mb-0;
|
|
122
|
+
}
|
|
173
123
|
}
|
|
174
|
-
.govgr-
|
|
175
|
-
|
|
124
|
+
/* .govgr-nav__list,
|
|
125
|
+
.govgr-grid {
|
|
126
|
+
.govgr-drawer__heading {
|
|
127
|
+
@apply flex-row-reverse;
|
|
128
|
+
}
|
|
129
|
+
} */
|
|
130
|
+
.govgr-nav__list-item-link,
|
|
131
|
+
.govgr-nav__list-item-btn {
|
|
132
|
+
> .govgr-svg-icon {
|
|
133
|
+
@apply ml-1;
|
|
134
|
+
}
|
|
176
135
|
}
|
|
177
|
-
.govgr-
|
|
178
|
-
|
|
136
|
+
.govgr-nav__list-item-link--active,
|
|
137
|
+
.govgr-nav__list-item-btn--active {
|
|
138
|
+
> .govgr-svg-icon {
|
|
139
|
+
fill: var(--color-base-content) !important;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
.govgr-nav-menu--horizontal {
|
|
143
|
+
.govgr-grid {
|
|
144
|
+
@apply gap-y-2;
|
|
145
|
+
}
|
|
179
146
|
}
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
.govgr-notification-banner {
|
|
2
2
|
@apply border-5 mb-6 md:mb-8 font-normal print:bg-white;
|
|
3
|
+
&.govgr-notification-banner--dense, .govgr-dense & {
|
|
4
|
+
@apply border-4 mb-4 md:mb-5;
|
|
5
|
+
.govgr-notification-banner__title {
|
|
6
|
+
@apply px-2 sm:px-3 pb-1;
|
|
7
|
+
}
|
|
8
|
+
.govgr-notification-banner__content {
|
|
9
|
+
@apply p-3 md:p-4;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
3
12
|
}
|
|
4
13
|
.govgr-notification-banner--info {
|
|
5
14
|
@apply bg-info border-info;
|
|
@@ -9,7 +18,7 @@
|
|
|
9
18
|
.govgr-notification-banner__link {
|
|
10
19
|
&:link:not(:focus) {
|
|
11
20
|
@apply text-success;
|
|
12
|
-
}
|
|
21
|
+
}
|
|
13
22
|
}
|
|
14
23
|
}
|
|
15
24
|
.govgr-notification-banner--error {
|
|
@@ -46,7 +55,9 @@
|
|
|
46
55
|
}
|
|
47
56
|
&:focus {
|
|
48
57
|
background-color: var(--color-focus);
|
|
49
|
-
box-shadow:
|
|
58
|
+
box-shadow:
|
|
59
|
+
0 -2px var(--color-focus),
|
|
60
|
+
0 4px var(--color-base-content);
|
|
50
61
|
text-decoration: none;
|
|
51
62
|
outline: none;
|
|
52
63
|
}
|
|
@@ -55,4 +66,4 @@
|
|
|
55
66
|
.govgr-notification-banner__link {
|
|
56
67
|
font-size: inherit;
|
|
57
68
|
}
|
|
58
|
-
}
|
|
69
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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;
|
|
@@ -1,13 +1,22 @@
|
|
|
1
|
-
.govgr-radios {
|
|
1
|
+
.govgr-radios {
|
|
2
|
+
&.govgr-radios--dense, govgr-dense & {
|
|
3
|
+
.govgr-radios__item {
|
|
4
|
+
@apply mb-2 pl-9 min-h-8;
|
|
5
|
+
}
|
|
6
|
+
.govgr-radios__input {
|
|
7
|
+
@apply left-0.5 top-0 w-8 h-8;
|
|
8
|
+
&:focus {
|
|
9
|
+
border-width: 3px;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
2
14
|
.govgr-radios__item {
|
|
3
15
|
@apply block relative mb-4 pl-12;
|
|
4
16
|
min-height: 40px;
|
|
5
17
|
}
|
|
6
18
|
.govgr-radios--horizontal {
|
|
7
19
|
@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
20
|
}
|
|
12
21
|
.govgr-radios__item {
|
|
13
22
|
@apply block relative mb-4 pl-12;
|
|
@@ -18,7 +27,7 @@
|
|
|
18
27
|
@apply inline-block py-1 px-2 cursor-pointer;
|
|
19
28
|
}
|
|
20
29
|
.govgr-radios__input {
|
|
21
|
-
@apply absolute z-1 left-0.5 -top-1 m-0
|
|
30
|
+
@apply absolute z-1 left-0.5 -top-1 m-0
|
|
22
31
|
w-10 h-10 opacity-100 cursor-pointer
|
|
23
32
|
bg-base-100;
|
|
24
33
|
appearance: none;
|
|
@@ -26,17 +35,10 @@
|
|
|
26
35
|
height: 40px;
|
|
27
36
|
border: 2px solid currentColor;
|
|
28
37
|
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
38
|
&:checked {
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
box-shadow: inset 0 0 0px 6px var(--color-base-100), inset 0 0 0 20px var(--color-base-content);
|
|
40
|
+
&:focus {
|
|
41
|
+
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
42
|
}
|
|
41
43
|
}
|
|
42
44
|
&:focus {
|
|
@@ -44,12 +46,23 @@
|
|
|
44
46
|
outline-offset: 1px;
|
|
45
47
|
box-shadow: 0 0 0 4px var(--color-focus);
|
|
46
48
|
border-width: 4px;
|
|
47
|
-
&::before {
|
|
48
|
-
top: 4px;
|
|
49
|
-
left: 4px;
|
|
50
|
-
}
|
|
51
49
|
}
|
|
52
50
|
}
|
|
53
51
|
.govgr-radios__conditional {
|
|
54
52
|
@apply border-l-4 border-base-500 ml-4 pl-6;
|
|
55
53
|
}
|
|
54
|
+
|
|
55
|
+
/* overrides */
|
|
56
|
+
|
|
57
|
+
.govgr-radios--horizontal {
|
|
58
|
+
.govgr-choice-divider-text {
|
|
59
|
+
@apply min-w-max mx-2;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
.govgr-radios {
|
|
63
|
+
&.govgr-radios--dense, .govgr-dense & {
|
|
64
|
+
.govgr-field {
|
|
65
|
+
@apply mb-4 md:mb-6;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
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,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 {
|
|
@@ -17,7 +24,7 @@
|
|
|
17
24
|
height: calc(100% - 2rem);
|
|
18
25
|
}
|
|
19
26
|
&:after {
|
|
20
|
-
@apply absolute z
|
|
27
|
+
@apply absolute z-0 w-0 h-full bg-base-100 left-0 top-8 border-2 border-base-400 border-r-0 border-t-0 border-b-0 md:border-l-3;
|
|
21
28
|
content: "";
|
|
22
29
|
margin-left: calc(0.75rem + 1px);
|
|
23
30
|
}
|
|
@@ -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
|
+
|