@digigov/css 0.34.1 → 0.36.0
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/brandConfig.json +135 -0
- package/defaultTheme/button.json +3 -3
- package/defaultTheme/card.json +12 -0
- package/defaultTheme/index.js +12 -69
- package/defaultTheme/panel.json +43 -0
- package/defaultTheme/typography.json +4 -4
- package/dist/base/index.css +3 -3
- package/dist/base.js +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +4 -4
- package/package.json +4 -2
- package/src/base/index.css +1 -1
- package/src/components/accessibility-menu.css +6 -6
- package/src/components/accordion.css +2 -2
- 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/autocomplete.css +7 -7
- package/src/components/bottom-info.css +1 -1
- package/src/components/button.css +5 -5
- package/src/components/card.css +6 -4
- package/src/components/checkboxes.css +2 -2
- package/src/components/cookie.css +1 -1
- package/src/components/details.css +1 -1
- package/src/components/drawer.css +17 -8
- package/src/components/dropdown.css +10 -7
- package/src/components/fillable.css +2 -2
- package/src/components/filter.css +6 -6
- package/src/components/footer.css +3 -3
- package/src/components/form.css +10 -5
- package/src/components/full-page-background.css +1 -1
- package/src/components/header.css +9 -9
- package/src/components/kitchensink.css +1 -4
- package/src/components/layout.css +1 -1
- package/src/components/misc.css +4 -4
- package/src/components/modal.css +3 -3
- package/src/components/nav.css +94 -88
- package/src/components/notification-banner.css +4 -4
- package/src/components/pagination.css +2 -2
- package/src/components/panel.css +10 -2
- package/src/components/phase-banner.css +4 -4
- package/src/components/radios.css +2 -2
- package/src/components/stepnav.css +4 -4
- package/src/components/summary-list.css +2 -2
- package/src/components/svg-icons.css +3 -3
- package/src/components/table.css +28 -9
- package/src/components/tabs.css +3 -3
- package/src/components/task-list.css +5 -5
- package/src/components/typography.css +6 -6
- package/src/pages/form.js +7 -7
- package/src/pages/index.js +7 -7
- package/tailwind.config.js +34 -31
- package/themes.plugin.js +26 -23
package/src/components/nav.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.govgr-header {
|
|
2
2
|
@apply relative;
|
|
3
3
|
.govgr-burger-icon {
|
|
4
|
-
fill: var(--color-
|
|
4
|
+
fill: var(--color-white);
|
|
5
5
|
}
|
|
6
6
|
.govgr-drawer__close-icon {
|
|
7
7
|
@apply sm:hidden;
|
|
@@ -9,21 +9,22 @@
|
|
|
9
9
|
fill: var(--color-link) !important;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
.govgr-
|
|
12
|
+
.govgr-nav {
|
|
13
13
|
@apply fixed;
|
|
14
14
|
}
|
|
15
|
-
.govgr-
|
|
15
|
+
.govgr-nav__list {
|
|
16
16
|
@apply sm:flex !important;
|
|
17
|
-
@apply sm:w-min xs:hidden
|
|
17
|
+
@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
|
|
18
|
+
flex flex-wrap flex-col sm:flex-row;
|
|
18
19
|
}
|
|
19
|
-
.govgr-
|
|
20
|
-
@apply sm:mr-auto sm:ml-auto sm:text-center sm:underline mr-0 xs:px-2;
|
|
20
|
+
.govgr-nav__list-item {
|
|
21
|
+
@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;
|
|
21
22
|
.govgr-svg-icon {
|
|
22
23
|
fill: var(--color-white) !important;
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
|
-
.govgr-
|
|
26
|
-
.govgr-
|
|
26
|
+
.govgr-nav__list-item-link,
|
|
27
|
+
.govgr-nav__list-item-btn {
|
|
27
28
|
@apply underline xs:text-white text-lg sm:flex !important;
|
|
28
29
|
@apply xs:hidden items-center xs:gap-1;
|
|
29
30
|
&:focus {
|
|
@@ -33,8 +34,8 @@
|
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
|
-
.govgr-
|
|
37
|
-
@apply sm:bg-
|
|
37
|
+
.govgr-nav__list--active {
|
|
38
|
+
@apply sm:bg-tertiary !important;
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
.govgr-burger-icon {
|
|
@@ -76,25 +77,50 @@
|
|
|
76
77
|
transform-origin: 3px 16px;
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
|
|
81
|
+
/* --- NAV --- */
|
|
82
|
+
.govgr-nav {
|
|
81
83
|
@apply sm:block !important;
|
|
82
|
-
@apply xs:hidden w-3/4 sm:w-full h-full bg-
|
|
83
|
-
sm:h-auto sm:bg-
|
|
84
|
+
@apply xs:hidden w-3/4 sm:w-full h-full bg-base-100
|
|
85
|
+
sm:h-auto sm:bg-base-100 xs:text-base-content
|
|
84
86
|
z-30 sm:z-auto
|
|
85
87
|
opacity-100 right-0 top-0 sm:top-auto overflow-x-scroll sm:overflow-visible;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
+
}
|
|
89
|
+
.govgr-nav--fixed {
|
|
90
|
+
@apply fixed sm:relative;
|
|
91
|
+
}
|
|
92
|
+
.govgr-nav--border {
|
|
93
|
+
@apply sm:border-b sm:border-base-400;
|
|
94
|
+
}
|
|
95
|
+
.govgr-nav--open {
|
|
96
|
+
@apply xs:block;
|
|
97
|
+
}
|
|
98
|
+
.govgr-nav--hidden {
|
|
99
|
+
@apply hidden !important;
|
|
100
|
+
}
|
|
101
|
+
.govgr-nav__list-item {
|
|
102
|
+
@apply text-base-content
|
|
103
|
+
xs:py-1;
|
|
104
|
+
}
|
|
105
|
+
.govgr-nav--horizontal {
|
|
106
|
+
.govgr-nav--horizontal {
|
|
107
|
+
@apply sm:mt-2 sm:border-b-0 static w-full z-1 sm:order-1;
|
|
88
108
|
@apply block overflow-x-visible;
|
|
89
|
-
.govgr-
|
|
90
|
-
@apply sm:border-b-0;
|
|
91
|
-
}
|
|
92
|
-
.govgr-horizontal-nav__list {
|
|
109
|
+
.govgr-nav__list {
|
|
93
110
|
@apply sm:px-0 sm:pb-0 sm:ml-6 !important;
|
|
94
111
|
}
|
|
95
112
|
}
|
|
96
|
-
.govgr-
|
|
97
|
-
@apply sm:
|
|
113
|
+
.govgr-nav__list {
|
|
114
|
+
@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
|
|
115
|
+
flex flex-wrap flex-col sm:flex-row;
|
|
116
|
+
.govgr-section-break {
|
|
117
|
+
margin-top: 41px !important;
|
|
118
|
+
@apply sm:flex !important;
|
|
119
|
+
@apply xs:hidden sm:p-0 absolute left-0 right-0;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
.govgr-nav__list-item {
|
|
123
|
+
@apply sm:gap-x-6;
|
|
98
124
|
}
|
|
99
125
|
.govgr-drawer__close-icon {
|
|
100
126
|
@apply sm:hidden mt-3;
|
|
@@ -103,42 +129,30 @@
|
|
|
103
129
|
@apply mb-0;
|
|
104
130
|
}
|
|
105
131
|
}
|
|
106
|
-
.govgr-nav
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
.govgr-
|
|
116
|
-
|
|
117
|
-
}
|
|
118
|
-
.govgr-
|
|
119
|
-
|
|
132
|
+
.govgr-nav--vertical {
|
|
133
|
+
.govgr-nav--vertical {
|
|
134
|
+
@apply sm:mt-2 sm:border-b-0 static w-full z-1;
|
|
135
|
+
@apply block overflow-x-visible;
|
|
136
|
+
}
|
|
137
|
+
.govgr-nav__list {
|
|
138
|
+
@apply w-full m-0 max-w-5xl static xs:px-3
|
|
139
|
+
flex flex-wrap flex-col;
|
|
140
|
+
}
|
|
141
|
+
.govgr-drawer__close-icon {
|
|
142
|
+
@apply sm:hidden mt-3;
|
|
143
|
+
}
|
|
144
|
+
.govgr-heading-m {
|
|
145
|
+
@apply mb-0;
|
|
146
|
+
}
|
|
120
147
|
}
|
|
121
|
-
|
|
122
|
-
.govgr-horizontal-nav__list,
|
|
148
|
+
.govgr-nav__list,
|
|
123
149
|
.govgr-main-wrapper {
|
|
124
150
|
.govgr-drawer__heading {
|
|
125
151
|
@apply flex-row-reverse;
|
|
126
152
|
}
|
|
127
153
|
}
|
|
128
|
-
.govgr-
|
|
129
|
-
|
|
130
|
-
flex flex-wrap flex-col sm:flex-row;
|
|
131
|
-
.govgr-section-break {
|
|
132
|
-
margin-top: 41px !important;
|
|
133
|
-
@apply sm:flex !important;
|
|
134
|
-
@apply xs:hidden sm:p-0 absolute left-0 right-0;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
.govgr-horizontal-nav__list-item {
|
|
138
|
-
@apply text-base-content xs:py-1 sm:gap-x-6;
|
|
139
|
-
}
|
|
140
|
-
.govgr-horizontal-nav__list-item-link,
|
|
141
|
-
.govgr-horizontal-nav__list-item-btn {
|
|
154
|
+
.govgr-nav__list-item-link,
|
|
155
|
+
.govgr-nav__list-item-btn {
|
|
142
156
|
@apply md:no-underline !important;
|
|
143
157
|
.govgr-svg-icon {
|
|
144
158
|
@apply ml-0.5;
|
|
@@ -151,8 +165,8 @@
|
|
|
151
165
|
@apply underline !important;
|
|
152
166
|
}
|
|
153
167
|
}
|
|
154
|
-
.govgr-
|
|
155
|
-
.govgr-
|
|
168
|
+
.govgr-nav__list-item-link--active,
|
|
169
|
+
.govgr-nav__list-item-btn--active {
|
|
156
170
|
@apply text-base-content !important;
|
|
157
171
|
@apply font-semibold;
|
|
158
172
|
> .govgr-svg-icon {
|
|
@@ -160,26 +174,36 @@
|
|
|
160
174
|
}
|
|
161
175
|
}
|
|
162
176
|
|
|
163
|
-
/* ---
|
|
164
|
-
.govgr-
|
|
165
|
-
@apply w-full m-0 max-w-5xl static xs:px-3
|
|
166
|
-
flex flex-wrap flex-col;
|
|
167
|
-
}
|
|
168
|
-
.govgr-vertical-nav__list-item {
|
|
169
|
-
@apply text-base-content
|
|
170
|
-
xs:py-1;
|
|
171
|
-
}
|
|
172
|
-
.govgr-vertical-nav-list__menu {
|
|
177
|
+
/* --- NAV-MENU --- */
|
|
178
|
+
.govgr-nav-menu {
|
|
173
179
|
@apply flex z-1 w-full;
|
|
174
180
|
}
|
|
175
|
-
.govgr-
|
|
176
|
-
@apply
|
|
181
|
+
.govgr-nav-menu--hidden {
|
|
182
|
+
@apply hidden;
|
|
183
|
+
}
|
|
184
|
+
.govgr-nav-menu--horizontal {
|
|
185
|
+
@apply sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-base-100;
|
|
186
|
+
.govgr-main-wrapper {
|
|
187
|
+
@apply xs:gap-y-2;
|
|
188
|
+
}
|
|
189
|
+
.govgr-nav-menu__content-list {
|
|
190
|
+
@apply sm:grid-cols-2 sm:grid-rows-1 !important;
|
|
191
|
+
@apply p-0 sm:grid grid-flow-row xs:grid-cols-1 xs:grid-rows-6;
|
|
192
|
+
}
|
|
177
193
|
}
|
|
178
|
-
.govgr-
|
|
179
|
-
|
|
194
|
+
.govgr-nav-menu--vertical {
|
|
195
|
+
.govgr-nav-menu__content-list {
|
|
196
|
+
@apply p-0 grid-flow-row xs:grid-cols-1 xs:grid-rows-6;
|
|
197
|
+
}
|
|
198
|
+
.govgr-nav-menu__container-title {
|
|
199
|
+
@apply mt-3;
|
|
200
|
+
}
|
|
201
|
+
.govgr-nav-menu__container-title-heading {
|
|
202
|
+
@apply hidden;
|
|
203
|
+
}
|
|
180
204
|
}
|
|
181
|
-
.govgr-
|
|
182
|
-
@apply
|
|
205
|
+
.govgr-nav-menu__content-list-item {
|
|
206
|
+
@apply relative pt-0 pb-5 pr-3 pl-0 box-border;
|
|
183
207
|
}
|
|
184
208
|
|
|
185
209
|
/* --- VERTICAL LIST --- */
|
|
@@ -192,21 +216,3 @@
|
|
|
192
216
|
.govgr-vertical-nav__item--active {
|
|
193
217
|
@apply font-semibold !important;
|
|
194
218
|
}
|
|
195
|
-
/* ---------- --- */
|
|
196
|
-
|
|
197
|
-
.govgr-nav-list__menu {
|
|
198
|
-
@apply flex sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-white z-1 w-full;
|
|
199
|
-
.govgr-main-wrapper {
|
|
200
|
-
@apply xs:gap-y-2;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
.govgr-nav-list__menu-hidden {
|
|
204
|
-
@apply hidden;
|
|
205
|
-
}
|
|
206
|
-
.govgr-nav-list__content-list {
|
|
207
|
-
@apply sm:grid-cols-2 sm:grid-rows-1 !important;
|
|
208
|
-
@apply p-0 sm:grid grid-flow-row xs:grid-cols-1 xs:grid-rows-6;
|
|
209
|
-
}
|
|
210
|
-
.govgr-nav-list__content-list-item {
|
|
211
|
-
@apply relative pt-0 pb-5 pr-3 pl-0 box-border;
|
|
212
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.govgr-notification-banner {
|
|
2
|
-
@apply bg-
|
|
3
|
-
print:bg-
|
|
2
|
+
@apply bg-info border-5 border-info mb-6 md:mb-8 font-normal
|
|
3
|
+
print:bg-base-100;
|
|
4
4
|
}
|
|
5
5
|
.govgr-notification-banner--success{
|
|
6
6
|
@apply bg-success border-success
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
}
|
|
14
14
|
.govgr-notification-banner__header {
|
|
15
15
|
@apply text-white p-0 m-0 text-base md:text-lg
|
|
16
|
-
print:border-b print:border-
|
|
16
|
+
print:border-b print:border-base-400 print:text-base-content print:pt-2;
|
|
17
17
|
}
|
|
18
18
|
.govgr-notification-banner__title {
|
|
19
19
|
@apply border-b border-transparent pt-1 px-4 sm:px-5 pb-2 font-bold;
|
|
20
20
|
}
|
|
21
21
|
.govgr-notification-banner__content {
|
|
22
|
-
@apply bg-
|
|
22
|
+
@apply bg-base-100 text-base-content p-4 md:p-5;
|
|
23
23
|
&>* {
|
|
24
24
|
@apply box-border max-w-xl;
|
|
25
25
|
}
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
}
|
|
25
25
|
.govgr-pagination__item--inactive {
|
|
26
26
|
.govgr-link {
|
|
27
|
-
@apply flex text-
|
|
27
|
+
@apply flex text-base-800 cursor-not-allowed no-underline font-normal;
|
|
28
28
|
}
|
|
29
29
|
.govgr-arrow--left, .govgr-arrow--right {
|
|
30
|
-
fill:var(--color-
|
|
30
|
+
fill:var(--color-base-800);
|
|
31
31
|
}
|
|
32
32
|
}
|
package/src/components/panel.css
CHANGED
|
@@ -7,8 +7,16 @@
|
|
|
7
7
|
print:border-4 print:border-success print:text-base-content print:bg-white;
|
|
8
8
|
}
|
|
9
9
|
.govgr-panel__title {
|
|
10
|
-
@apply
|
|
10
|
+
@apply mx-auto mt-0;
|
|
11
|
+
font-size: var(--panel__title-font-size);
|
|
12
|
+
line-height:var(--panel__title-line-height);
|
|
13
|
+
margin-bottom:var(--panel__title-margin-bottom);
|
|
14
|
+
font-weight: var(--panel__title-font-weight);
|
|
15
|
+
letter-spacing: var(--panel__title-letter-spacing);
|
|
11
16
|
}
|
|
12
17
|
.govgr-panel__body {
|
|
13
|
-
|
|
18
|
+
font-size: var(--panel__body-font-size);
|
|
19
|
+
line-height:var(--panel__body-line-height);
|
|
20
|
+
margin:var(--panel__body-margin);
|
|
21
|
+
letter-spacing: var(--panel__body-letter-spacing);
|
|
14
22
|
}
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
@apply py-2 mb-4;
|
|
3
3
|
}
|
|
4
4
|
.govgr-phase-banner__underline {
|
|
5
|
-
@apply border-
|
|
5
|
+
@apply border-base-500 border-b;
|
|
6
6
|
}
|
|
7
7
|
.govgr-phase-banner__content {
|
|
8
8
|
font-size: var(--phase-banner__content-font-size);
|
|
9
9
|
@apply table;
|
|
10
10
|
}
|
|
11
11
|
.govgr-phase-banner__content__tag {
|
|
12
|
-
@apply px-2 py-1 mr-2 inline-block bg-
|
|
13
|
-
print:bg-white print:border-2 print:border-
|
|
12
|
+
@apply px-2 py-1 mr-2 inline-block bg-info font-sans text-white text-sm uppercase tracking-widest
|
|
13
|
+
print:bg-white print:border-2 print:border-info print:text-info print:mr-4;
|
|
14
14
|
}
|
|
15
15
|
.govgr-phase-banner__text {
|
|
16
16
|
@apply table-cell text-base-content;
|
|
17
17
|
}
|
|
18
18
|
.govgr-header .govgr-phase-banner__text, .govgr-masthead--primary .govgr-phase-banner__text {
|
|
19
|
-
@apply text-
|
|
19
|
+
@apply text-white print:text-base-content;
|
|
20
20
|
}
|
|
21
21
|
.govgr-phase-banner_header {
|
|
22
22
|
@apply bg-focus top-0 z-30
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
.govgr-radios__input {
|
|
20
20
|
@apply absolute z-1 left-0.5 -top-1 m-0 rounded-3xl
|
|
21
21
|
w-10 h-10 opacity-100 cursor-pointer
|
|
22
|
-
bg-
|
|
22
|
+
bg-base-100 m-0;
|
|
23
23
|
appearance: none;
|
|
24
24
|
width: 40px;
|
|
25
25
|
height: 40px;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
border-radius: 50%;
|
|
28
28
|
&::before {
|
|
29
29
|
content: "";
|
|
30
|
-
@apply absolute bg-
|
|
30
|
+
@apply absolute bg-base-100 opacity-0 w-0 h-0;
|
|
31
31
|
top: 6px;
|
|
32
32
|
left: 6px;
|
|
33
33
|
border: 12px solid currentColor;
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
height: calc(100% - 2rem);
|
|
19
19
|
}
|
|
20
20
|
&:after {
|
|
21
|
-
@apply absolute z-/1 w-0 h-full bg-
|
|
21
|
+
@apply absolute z-/1 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;
|
|
22
22
|
content: "";
|
|
23
23
|
margin-left: calc(0.75rem + 1px);
|
|
24
24
|
}
|
|
25
25
|
&:last-child:before {
|
|
26
|
-
@apply absolute z-1 left-0 h-0 bottom-0 ml-2 w-3 border border-
|
|
26
|
+
@apply absolute z-1 left-0 h-0 bottom-0 ml-2 w-3 border border-base-400;
|
|
27
27
|
@apply md:border-t-2 md:ml-2 md:w-5;
|
|
28
28
|
content: "";
|
|
29
29
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
text-shadow: 0 -0.1em 0 var(--color-white), 0.1em 0 0 var(--color-white), 0 0.1em 0 var(--color-white), -0.1em 0 0 var(--color-white);
|
|
47
47
|
}
|
|
48
48
|
.govgr-step-nav__circle--number {
|
|
49
|
-
@apply border-2 border-
|
|
49
|
+
@apply border-2 border-base-400;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.govgr-step-nav__circle--number {
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
@apply md:border-0 border-0;
|
|
61
61
|
}
|
|
62
62
|
.govgr-step-nav__accordion {
|
|
63
|
-
@apply border-
|
|
63
|
+
@apply border-base-400;
|
|
64
64
|
|
|
65
65
|
&:first-child {
|
|
66
66
|
@apply border-t-2;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
.govgr-summary-list__row {
|
|
17
17
|
@apply block sm:flex
|
|
18
|
-
pb-4 mb-4 border-b border-solid border-
|
|
18
|
+
pb-4 mb-4 border-b border-solid border-base-300
|
|
19
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 {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
.govgr-summary-list__value,
|
|
68
68
|
.govgr-summary-list__actions {
|
|
69
69
|
@apply m-0
|
|
70
|
-
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-base-300;
|
|
71
71
|
}
|
|
72
72
|
.govgr-summary-list--no-border {
|
|
73
73
|
.govgr-summary-list__key,
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
.govgr-header, .govgr-admin-header {
|
|
44
44
|
.govgr-link {
|
|
45
45
|
.govgr-svg-icon {
|
|
46
|
-
fill:var(--color-
|
|
46
|
+
fill:var(--color-white);
|
|
47
47
|
}
|
|
48
48
|
&:hover {
|
|
49
49
|
.govgr-svg-icon {
|
|
50
|
-
fill:var(--color-
|
|
50
|
+
fill:var(--color-white);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
&:focus {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
fill: var(--color-white) !important;
|
|
65
65
|
}
|
|
66
66
|
.govgr-svg-icon--gray {
|
|
67
|
-
fill: var(--color-
|
|
67
|
+
fill: var(--color-base-400) !important;
|
|
68
68
|
}
|
|
69
69
|
.govgr-svg-icon--primary {
|
|
70
70
|
fill: var(--color-primary) !important;
|
package/src/components/table.css
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
.govgr-table-container--border {
|
|
27
|
-
@apply border border-
|
|
27
|
+
@apply border border-base-300 p-2;
|
|
28
28
|
}
|
|
29
29
|
.govgr-table {
|
|
30
30
|
@apply w-full border-collapse table;
|
|
@@ -33,10 +33,29 @@
|
|
|
33
33
|
}
|
|
34
34
|
.govgr-table--with-vertical-lines {
|
|
35
35
|
.govgr-table__cell, .govgr-table__header {
|
|
36
|
-
@apply border-l border-r border-solid border-
|
|
36
|
+
@apply border-l border-r border-solid border-base-300 px-4;
|
|
37
37
|
}
|
|
38
38
|
.govgr-table__head {
|
|
39
|
-
@apply border-t border-
|
|
39
|
+
@apply border-t border-base-300 text-base-content !important;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.govgr-table__header {
|
|
43
|
+
.govgr-dropdown__button {
|
|
44
|
+
@apply no-underline font-bold text-base-content !important;
|
|
45
|
+
}
|
|
46
|
+
.govgr-dropdown__button--underline:not(:focus){
|
|
47
|
+
@apply underline !important;
|
|
48
|
+
text-decoration-thickness: 2px !important;
|
|
49
|
+
}
|
|
50
|
+
.govgr-dropdown__content{
|
|
51
|
+
@apply py-0;
|
|
52
|
+
}
|
|
53
|
+
.govgr-vertical-nav__item {
|
|
54
|
+
@apply flex font-normal no-underline;
|
|
55
|
+
|
|
56
|
+
}
|
|
57
|
+
.govgr-vertical-nav__item--active:not(:focus){
|
|
58
|
+
@apply bg-base-200 font-normal !important
|
|
40
59
|
}
|
|
41
60
|
}
|
|
42
61
|
.govgr-table__body {
|
|
@@ -52,19 +71,19 @@
|
|
|
52
71
|
@apply border-t;
|
|
53
72
|
@apply border-r-0 !important;
|
|
54
73
|
&:last-child {
|
|
55
|
-
@apply border-r border-solid border-
|
|
74
|
+
@apply border-r border-solid border-base-300 px-4 !important;
|
|
56
75
|
}
|
|
57
76
|
}
|
|
58
77
|
.govgr-table__cell {
|
|
59
78
|
@apply border-r-0 !important;
|
|
60
79
|
&:last-child {
|
|
61
|
-
@apply border-r border-solid border-
|
|
80
|
+
@apply border-r border-solid border-base-300 px-4 !important;
|
|
62
81
|
}
|
|
63
82
|
}
|
|
64
83
|
}
|
|
65
84
|
}
|
|
66
85
|
.govgr-table__row {
|
|
67
|
-
@apply bg-
|
|
86
|
+
@apply bg-base-100;
|
|
68
87
|
}
|
|
69
88
|
.govgr-table__row--warning {
|
|
70
89
|
@apply border-l-4 border-warning;
|
|
@@ -87,7 +106,7 @@
|
|
|
87
106
|
}
|
|
88
107
|
.govgr-table--with-vertical-lines.govgr-table--light {
|
|
89
108
|
.govgr-table__body .govgr-table__header {
|
|
90
|
-
@apply border-l border-solid border-
|
|
109
|
+
@apply border-l border-solid border-base-300 !important;
|
|
91
110
|
}
|
|
92
111
|
}
|
|
93
112
|
.govgr-table--with-vertical-lines.govgr-table--dark{
|
|
@@ -105,7 +124,7 @@
|
|
|
105
124
|
.govgr-table--zebra {
|
|
106
125
|
.govgr-table__body {
|
|
107
126
|
.govgr-table__row:nth-child(even) {
|
|
108
|
-
@apply bg-
|
|
127
|
+
@apply bg-base-200 print:bg-white;
|
|
109
128
|
}
|
|
110
129
|
}
|
|
111
130
|
}
|
|
@@ -117,7 +136,7 @@
|
|
|
117
136
|
}
|
|
118
137
|
}
|
|
119
138
|
.govgr-table__header, .govgr-table__cell {
|
|
120
|
-
@apply pr-5 py-2.5 pl-0 border-b border-solid border-
|
|
139
|
+
@apply pr-5 py-2.5 pl-0 border-b border-solid border-base-300 text-left align-middle;
|
|
121
140
|
&:last-child {
|
|
122
141
|
@apply pr-0;
|
|
123
142
|
}
|
package/src/components/tabs.css
CHANGED
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
}
|
|
13
13
|
.govgr-tabs__list-item {
|
|
14
14
|
@apply relative px-4 py-2 m-0 shadow-none cursor-pointer;
|
|
15
|
-
@apply md:float-left md:border md:border-
|
|
15
|
+
@apply md:float-left md:border md:border-base-300 md:bg-base-300 md:rounded-t-sm md:mr-2 ;
|
|
16
16
|
@apply print:hidden;
|
|
17
17
|
&.govgr-tabs__list-item-selected {
|
|
18
|
-
@apply no-underline md:border-
|
|
18
|
+
@apply no-underline md:border-base-400 md:border bg-base-100 md:border-b-0 md:px-5 md:pb-4 md:-mt-1 md:pt-4;
|
|
19
19
|
margin-bottom: -1px;
|
|
20
20
|
&:hover {
|
|
21
21
|
text-decoration-thickness: 2px;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
.govgr-tabs__panel {
|
|
48
|
-
@apply bg-
|
|
48
|
+
@apply bg-base-100 md:hidden block md:px-4 py-4 pt-8 md:border md:border-base-400 mb-0
|
|
49
49
|
print:block print:border-0 print:py-3;
|
|
50
50
|
&.govgr-tabs__panel-visible {
|
|
51
51
|
@apply block;
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
}
|
|
21
21
|
.govgr-summary-list__row:first-child {
|
|
22
22
|
&>dt {
|
|
23
|
-
@apply border-t-2 border-
|
|
23
|
+
@apply border-t-2 border-base-400;
|
|
24
24
|
}
|
|
25
25
|
&>dd {
|
|
26
|
-
@apply sm:border-t-2 sm:border-
|
|
26
|
+
@apply sm:border-t-2 sm:border-base-400;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
.govgr-summary-list__key {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
@apply px-2 py-1 mr-2 inline-block font-sans text-sm uppercase tracking-widest;
|
|
35
35
|
}
|
|
36
36
|
.govgr-tag__primary {
|
|
37
|
-
@apply bg-
|
|
37
|
+
@apply bg-info text-white print:border-2 print:bg-white print:border-info-hover print:text-info-hover print:mr-4;
|
|
38
38
|
}
|
|
39
39
|
.govgr-tag__secondary {
|
|
40
|
-
@apply bg-
|
|
40
|
+
@apply bg-secondary text-base-content print:border-2 print:bg-white print:border-info print:text-info print:mr-4;
|
|
41
41
|
}
|
|
42
42
|
.govgr-tag__gray {
|
|
43
|
-
@apply bg-
|
|
43
|
+
@apply bg-base-300 print:border-2 print:bg-white print:border-base-800 print:text-base-800 print:mr-4;
|
|
44
44
|
}
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
line-height: var(--body-s-line-height);
|
|
141
141
|
}
|
|
142
142
|
.govgr-hint-l {
|
|
143
|
-
@apply mb-4 lg:text-2xl text-lg text-
|
|
143
|
+
@apply mb-4 lg:text-2xl text-lg text-base-800;
|
|
144
144
|
}
|
|
145
145
|
.govgr-hint {
|
|
146
146
|
font-size: var(--hint-font-size);
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
letter-spacing: var(--hint-letter-spacing);
|
|
151
151
|
}
|
|
152
152
|
.govgr-hint-s {
|
|
153
|
-
@apply mb-4 lg:text-base text-sm text-
|
|
153
|
+
@apply mb-4 lg:text-base text-sm text-base-800;
|
|
154
154
|
}
|
|
155
155
|
.govgr-background-dark, .govgr-masthead--primary {
|
|
156
156
|
.govgr-hint {
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
font-size: var(--link-font-size);
|
|
172
172
|
line-height: var(--link-line-height);
|
|
173
173
|
letter-spacing: var(--link-letter-spacing);
|
|
174
|
-
&:hover {
|
|
174
|
+
&:hover:not(:focus) {
|
|
175
175
|
text-decoration-thickness: 2px;
|
|
176
176
|
color: var(--link-color-hover);
|
|
177
177
|
}
|
|
@@ -184,10 +184,10 @@
|
|
|
184
184
|
}
|
|
185
185
|
.govgr-header {
|
|
186
186
|
.govgr-header__container > .govgr-link {
|
|
187
|
-
@apply text-
|
|
187
|
+
@apply text-white focus:text-link-active print:text-base-content;
|
|
188
188
|
}
|
|
189
189
|
.govgr-header__content > .govgr-link {
|
|
190
|
-
@apply text-
|
|
190
|
+
@apply text-white focus:text-link-active print:text-base-content;
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
.govgr-link--no-underline {
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
}
|
|
238
238
|
&.dark {
|
|
239
239
|
.govgr-link {
|
|
240
|
-
@apply bg-
|
|
240
|
+
@apply bg-base-300;
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
}
|
package/src/pages/form.js
CHANGED
|
@@ -18,13 +18,13 @@ export default function Home() {
|
|
|
18
18
|
</div>
|
|
19
19
|
</header>
|
|
20
20
|
</div>
|
|
21
|
-
<nav className="govgr-
|
|
22
|
-
<
|
|
23
|
-
<a className="govgr-
|
|
24
|
-
<a className="govgr-
|
|
25
|
-
<a className="govgr-
|
|
26
|
-
<a className="govgr-
|
|
27
|
-
</
|
|
21
|
+
<nav className="govgr-nav govgr-nav--horizontal">
|
|
22
|
+
<ul className="govgr-nav__list">
|
|
23
|
+
<a className="govgr-nav__list-item-link govgr-nav__list-item-link--active" href="/"> Αρχική </a>
|
|
24
|
+
<a className="govgr-nav__list-item-link" href=""> Καταχώρηση φόρμας </a>
|
|
25
|
+
<a className="govgr-nav__list-item-link" href=""> Νέα</a>
|
|
26
|
+
<a className="govgr-nav__list-item-link" href=""> Επικοινωνία </a>
|
|
27
|
+
</ul>
|
|
28
28
|
</nav>
|
|
29
29
|
<div className="govgr-width-container">
|
|
30
30
|
<div className="govgr-main-wrapper">
|
package/src/pages/index.js
CHANGED
|
@@ -19,13 +19,13 @@ export default function Home() {
|
|
|
19
19
|
<svg className="govgr-burger-icon" focusable="true" viewBox="0 0 24 24" aria-hidden="true" > <rect id="govgr-burger-icon__line-1" width="20" height="3.3" /><rect id="govgr-burger-icon__line-2" width="20" height="3.3" /><rect id="govgr-burger-icon__line-3" width="20" height="3.3" /></svg>
|
|
20
20
|
</div>
|
|
21
21
|
</header>
|
|
22
|
-
<nav className="govgr-
|
|
23
|
-
<
|
|
24
|
-
<a href="" className="govgr-
|
|
25
|
-
<a href="#" className="govgr-
|
|
26
|
-
<a href="#" className="govgr-
|
|
27
|
-
<a href="#" className="govgr-
|
|
28
|
-
</
|
|
22
|
+
<nav className="govgr-nav govgr-nav--horizontal">
|
|
23
|
+
<ul className="govgr-nav__list">
|
|
24
|
+
<a href="" className="govgr-nav__list-item-link govgr-nav__list-item-link--active"> Home </a>
|
|
25
|
+
<a href="#" className="govgr-nav__list-item-link"> Form registration </a>
|
|
26
|
+
<a href="#" className="govgr-nav__list-item-link"> News </a>
|
|
27
|
+
<a href="#" className="govgr-nav__list-item-link"> Contact </a>
|
|
28
|
+
</ul>
|
|
29
29
|
</nav>
|
|
30
30
|
|
|
31
31
|
<svg className="govgr-burger-icon govgr-burger-icon--active" focusable="true" viewBox="0 0 24 24" aria-hidden="true" >
|