@digigov/css 0.35.0 → 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/index.js +7 -66
- 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 +3 -3
- 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 +3 -3
- 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 +7 -5
- package/src/components/notification-banner.css +4 -4
- package/src/components/pagination.css +2 -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/tailwind.config.js +34 -31
- package/themes.plugin.js +26 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/css",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0",
|
|
4
4
|
"description": "Digigov CSS - Tailwind CSS Components",
|
|
5
5
|
"author": "GRNET Devs <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -75,6 +75,8 @@
|
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@fontsource/roboto": "4.4.0",
|
|
77
77
|
"@digigov/cli-build-tailwind": "0.9.2",
|
|
78
|
-
"publint": "0.1.8"
|
|
78
|
+
"publint": "0.1.8",
|
|
79
|
+
"@adobe/leonardo-contrast-colors": "1.0.0-alpha.13",
|
|
80
|
+
"polished": "4.2.2"
|
|
79
81
|
}
|
|
80
82
|
}
|
package/src/base/index.css
CHANGED
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
.govgr-accessibility-menu__btn {
|
|
18
|
-
@apply absolute bottom-4 bg-
|
|
18
|
+
@apply absolute bottom-4 bg-base-300;
|
|
19
19
|
@apply p-4 rounded-full !important;
|
|
20
|
-
box-shadow: 0px 2px 5px var(--color-
|
|
20
|
+
box-shadow: 0px 2px 5px rgba(var(--color-base-900-rgb), 0.3);
|
|
21
21
|
&:hover {
|
|
22
|
-
@apply bg-
|
|
22
|
+
@apply bg-base-400;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
.govgr-accessibility-menu__content {
|
|
26
|
-
@apply bg-
|
|
26
|
+
@apply bg-base-200 absolute top-0 bottom-0 p-4 flex flex-col max-w-md;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.govgr-accessibility-menu__header {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
|
|
46
46
|
.govgr-accessibility-menu__option-btn {
|
|
47
47
|
@apply flex flex-col gap-2 ;
|
|
48
|
-
@apply bg-
|
|
48
|
+
@apply bg-base-100 border-base-100 border-2;
|
|
49
49
|
@apply w-full sm:w-fit leading-tight m-0 !important;
|
|
50
50
|
padding: calc(1rem + 2px) !important;
|
|
51
51
|
&:hover {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
@apply flex flex-nowrap w-full gap-2 h-1 mt-2 opacity-0;
|
|
68
68
|
}
|
|
69
69
|
.govgr-accessibility-menu__step {
|
|
70
|
-
@apply bg-
|
|
70
|
+
@apply bg-base-300 w-full;
|
|
71
71
|
}
|
|
72
72
|
.govgr-accessibility-menu__step--active {
|
|
73
73
|
@apply bg-success;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@apply text-right;
|
|
4
4
|
}
|
|
5
5
|
.govgr-accordion__section {
|
|
6
|
-
@apply border-b border-
|
|
6
|
+
@apply border-b border-base-400;
|
|
7
7
|
&:first-child {
|
|
8
8
|
@apply border-t;
|
|
9
9
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
@apply border-0 !important;
|
|
13
13
|
}
|
|
14
14
|
.govgr-accordion__section-summary {
|
|
15
|
-
@apply py-4 pr-8 hover:bg-
|
|
15
|
+
@apply py-4 pr-8 hover:bg-base-200 transition ease-in-out cursor-pointer;
|
|
16
16
|
list-style: none;
|
|
17
17
|
&::-webkit-details-marker {
|
|
18
18
|
@apply hidden;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
.govgr-admin-footer {
|
|
2
|
-
@apply border-0 border-solid font-normal text-base py-4 md:py-8 border-t-4 border-
|
|
2
|
+
@apply border-0 border-solid font-normal text-base py-4 md:py-8 border-t-4 border-tertiary text-base-800 bg-base-200 w-full;
|
|
3
3
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.govgr-autocomplete__hint {
|
|
19
|
-
@apply absolute text-
|
|
19
|
+
@apply absolute text-base-400;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.govgr-autocomplete--assestive__hint{
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.govgr-autocomplete__menu {
|
|
47
|
-
@apply bg-
|
|
47
|
+
@apply bg-base-100 m-0 max-h-96 overflow-x-hidden w-full m-0 p-0 border-2 border-t-0 border-base-content /* border-t-0 border-x-2 border-l-2 border-base-content */;
|
|
48
48
|
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
|
|
67
67
|
.govgr-autocomplete__option {
|
|
68
68
|
@apply cursor-pointer block relative;
|
|
69
|
-
border-bottom: solid var(--color-
|
|
69
|
+
border-bottom: solid var(--color-base-400);
|
|
70
70
|
border-width: 1px 0;
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -83,16 +83,16 @@
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.govgr-autocomplete__option--odd {
|
|
86
|
-
@apply bg-
|
|
86
|
+
@apply bg-base-300;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.govgr-autocomplete__option--focused,
|
|
90
90
|
.govgr-autocomplete__option:hover {
|
|
91
91
|
.govgr-hint {
|
|
92
|
-
@apply text-
|
|
92
|
+
@apply text-base-300;
|
|
93
93
|
}
|
|
94
|
-
@apply bg-
|
|
95
|
-
border-color: var(--color-
|
|
94
|
+
@apply bg-info text-white outline-none;
|
|
95
|
+
border-color: var(--color-tertiary);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.govgr-autocomplete--status__wrapper{
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
@apply print:border-0 print:border-b-2 print:border-success print:text-base-content print:bg-white print:shadow-none;
|
|
28
28
|
}
|
|
29
29
|
.govgr-btn-secondary {
|
|
30
|
-
@apply print:border-0 print:border-b-2 print:border-
|
|
30
|
+
@apply print:border-0 print:border-b-2 print:border-base-500 print:text-base-content print:bg-white print:shadow-none;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.govgr-btn-warning {
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
.govgr-btn-secondary {
|
|
65
|
-
-webkit-box-shadow: 0 2px 0 var(--color-
|
|
66
|
-
box-shadow: 0 2px 0 var(--color-
|
|
65
|
+
-webkit-box-shadow: 0 2px 0 var(--color-base-500);
|
|
66
|
+
box-shadow: 0 2px 0 var(--color-base-500);
|
|
67
67
|
@apply hover:no-underline
|
|
68
|
-
print:border-2 print:border-
|
|
68
|
+
print:border-2 print:border-base-700 print:shadow-none;
|
|
69
69
|
background-color: var(--btn-secondary-background-color);
|
|
70
70
|
color: var(--btn-secondary-color);
|
|
71
71
|
&:hover {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
}
|
|
95
95
|
.govgr-btn-disabled {
|
|
96
96
|
@apply opacity-50 hover:bg-opacity-50 cursor-not-allowed
|
|
97
|
-
print:text-
|
|
97
|
+
print:text-base-400 print:border-opacity-50;
|
|
98
98
|
}
|
|
99
99
|
.govgr-btn-link {
|
|
100
100
|
@apply block;
|
package/src/components/card.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
.govgr-card--divider {
|
|
11
|
-
@apply border-b border-
|
|
11
|
+
@apply border-b border-base-300 pb-4 mb-4;
|
|
12
12
|
}
|
|
13
13
|
.govgr-card__heading {
|
|
14
14
|
word-break: break-word;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
.govgr-card--border-top {
|
|
76
|
-
@apply border-t border-
|
|
76
|
+
@apply border-t border-base-300 pt-4;
|
|
77
77
|
&.govgr-card--border-dark {
|
|
78
78
|
@apply border-t-3;
|
|
79
79
|
}
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
@apply border-base-content;
|
|
83
83
|
}
|
|
84
84
|
.govgr-card--border-gray {
|
|
85
|
-
@apply border-
|
|
85
|
+
@apply border-base-300;
|
|
86
86
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
-webkit-box-sizing: border-box;
|
|
20
20
|
box-sizing: border-box;
|
|
21
21
|
@apply absolute top-0 left-0 w-10 h-10
|
|
22
|
-
border-solid border-base-content border-2 bg-
|
|
22
|
+
border-solid border-base-content border-2 bg-base-100 opacity-100;
|
|
23
23
|
}
|
|
24
24
|
&:after {
|
|
25
25
|
content: "";
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
@apply text-lg text-center w-10 mb-4;
|
|
55
55
|
}
|
|
56
56
|
.govgr-checkboxes__conditional, .govgr-radios__conditional {
|
|
57
|
-
@apply border-l-4 border-
|
|
57
|
+
@apply border-l-4 border-base-500 ml-4 pl-6;
|
|
58
58
|
}
|
|
59
59
|
.govgr-checkboxes__conditional--hidden, .govgr-radios__conditional--hidden {
|
|
60
60
|
@apply hidden;
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
.govgr-drawer{
|
|
2
|
-
@apply border border-
|
|
3
|
-
h-full max-h-screen overflow-y-scroll w-4/5
|
|
4
|
-
fixed top-0 bottom-0 z-40
|
|
5
|
-
|
|
2
|
+
@apply border border-base-300 bg-base-100 p-4
|
|
3
|
+
h-full max-h-screen min-h-screen overflow-y-scroll w-4/5 max-w-md
|
|
4
|
+
fixed top-0 bottom-0 z-40;
|
|
5
|
+
@apply shadow-thick !important;
|
|
6
|
+
}
|
|
7
|
+
.govgr-drawer--relative-sm{
|
|
8
|
+
@apply sm:block sm:relative sm:w-full max-h-full shadow-thick sm:shadow-none !important;
|
|
9
|
+
}
|
|
10
|
+
.govgr-drawer--relative-md{
|
|
11
|
+
@apply md:block md:relative md:w-full max-h-full shadow-thick md:shadow-none !important;
|
|
12
|
+
}
|
|
13
|
+
.govgr-drawer--relative-lg{
|
|
14
|
+
@apply lg:block lg:relative lg:w-full max-h-full shadow-thick lg:shadow-none !important;
|
|
6
15
|
}
|
|
7
16
|
.govgr-drawer--right {
|
|
8
17
|
@apply right-0;
|
|
@@ -11,13 +20,13 @@
|
|
|
11
20
|
@apply left-0 ;
|
|
12
21
|
}
|
|
13
22
|
.govgr-drawer--closed {
|
|
14
|
-
@apply hidden
|
|
23
|
+
@apply hidden;
|
|
15
24
|
}
|
|
16
|
-
.govgr-
|
|
17
|
-
@apply
|
|
25
|
+
.govgr-drawer__close-container {
|
|
26
|
+
@apply flex-grow;
|
|
18
27
|
}
|
|
19
28
|
.govgr-drawer__close-icon {
|
|
20
|
-
@apply flex flex-nowrap
|
|
29
|
+
@apply flex flex-nowrap text-right w-max float-right items-center;
|
|
21
30
|
.govgr-close-icon {
|
|
22
31
|
@apply w-5 h-5 z-30 float-right;
|
|
23
32
|
@apply ml-1 !important;
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
@apply mt-4;
|
|
48
48
|
}
|
|
49
49
|
.govgr-dropdown__content {
|
|
50
|
-
@apply border border-
|
|
50
|
+
@apply border border-base-400 p-4 bg-base-100 border-t-0
|
|
51
51
|
max-w-xs w-max min-w-full absolute transition z-1 mr-4 -mt-4;
|
|
52
|
-
-webkit-box-box-shadow: 0 2px 8px var(--color-
|
|
53
|
-
box-shadow: 0 2px 8px var(--color-
|
|
52
|
+
-webkit-box-box-shadow: 0 2px 8px rgba(var(--color-base-900-rgb), 0.3), 0 -2px 0 var(--color-base-500);
|
|
53
|
+
box-shadow: 0 2px 8px rgba(var(--color-base-900-rgb), 0.3), 0 -2px 0 var(--color-base-500);
|
|
54
54
|
*:last-child {
|
|
55
55
|
@apply mb-0;
|
|
56
56
|
}
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
.govgr-vertical-nav {
|
|
64
64
|
@apply -mx-4 flex-col;
|
|
65
65
|
.govgr-vertical-nav__item {
|
|
66
|
-
@apply border-b border-
|
|
66
|
+
@apply border-b border-base-300 py-2 px-4;
|
|
67
67
|
&:last-child {
|
|
68
68
|
@apply border-0;
|
|
69
69
|
}
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
.govgr-dropdown--up {
|
|
78
78
|
.govgr-dropdown__content {
|
|
79
79
|
@apply mb-4 border border-b-0 bottom-full;
|
|
80
|
-
-webkit-box-box-shadow: 0 2px 8px var(--color-
|
|
81
|
-
box-shadow: 0 2px 8px var(--color-
|
|
80
|
+
-webkit-box-box-shadow: 0 2px 8px rgba(var(--color-base-900-rgb), 0.3), 0 2px 0 var(--color-base-500);
|
|
81
|
+
box-shadow: 0 2px 8px rgba(var(--color-base-900-rgb), 0.3), 0 2px 0 var(--color-base-500);
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
.govgr-dropdown--right {
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
}
|
|
97
97
|
.govgr-header, .govgr-admin-header {
|
|
98
98
|
.govgr-dropdown__button.govgr-link {
|
|
99
|
-
@apply text-lg text-
|
|
99
|
+
@apply text-lg text-white focus:text-base-content print:text-base-800;
|
|
100
100
|
}
|
|
101
101
|
.govgr-dropdown {
|
|
102
102
|
@apply print:hidden;
|
|
@@ -109,4 +109,7 @@
|
|
|
109
109
|
.govgr-dropdown__button {
|
|
110
110
|
@apply mb-0;
|
|
111
111
|
}
|
|
112
|
+
.govgr-caret-container{
|
|
113
|
+
@apply flex flex-col;
|
|
114
|
+
}
|
|
112
115
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.govgr-fillable-text {
|
|
2
|
-
@apply lg:mb-8 mb-4 md:mb-8 p-4 border-l-6 border-
|
|
2
|
+
@apply lg:mb-8 mb-4 md:mb-8 p-4 border-l-6 border-base-300 bg-base-200
|
|
3
3
|
text-base-content md:text-lg leading-relaxed text-base;
|
|
4
4
|
}
|
|
5
5
|
.govgr-labeled-text {
|
|
6
|
-
@apply bg-
|
|
6
|
+
@apply bg-base-300 w-fit inline-block px-3 mx-1 mt-px font-bold border-0 border-b-2 border-base-800;
|
|
7
7
|
}
|
|
8
8
|
.govgr-labeled-text--active {
|
|
9
9
|
@apply bg-focus;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.govgr-filter {
|
|
2
|
-
@apply bg-
|
|
3
|
-
box-shadow: 0 0 30px var(--color-
|
|
2
|
+
@apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll z-40 w-4/5;
|
|
3
|
+
box-shadow: 0 0 30px rgba(var(--color-base-900-rgb), 0.9);
|
|
4
4
|
.govgr-select {
|
|
5
5
|
@apply w-full;
|
|
6
6
|
}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
.govgr-filter--border {
|
|
35
|
-
@apply border border-
|
|
35
|
+
@apply border border-base-300 p-4;
|
|
36
36
|
}
|
|
37
37
|
.govgr-filter--closed {
|
|
38
38
|
@apply hidden;
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
.govgr-filter__selected {
|
|
87
|
-
@apply bg-
|
|
87
|
+
@apply bg-base-200 p-4 m-0 rounded;
|
|
88
88
|
}
|
|
89
89
|
.govgr-filter__selected--indicator {
|
|
90
90
|
@apply md:hidden;
|
|
@@ -105,13 +105,13 @@
|
|
|
105
105
|
@apply flex flex-wrap list-none;
|
|
106
106
|
}
|
|
107
107
|
.govgr-chip {
|
|
108
|
-
@apply bg-
|
|
108
|
+
@apply bg-base-100 text-base-content lg:text-base text-sm border-2 border-base-content
|
|
109
109
|
inline-flex items-center px-2 py-1 mr-2 mb-2 rounded shadow;
|
|
110
110
|
.govgr-close-icon {
|
|
111
111
|
@apply w-4 h-4 ml-3;
|
|
112
112
|
}
|
|
113
113
|
&:hover {
|
|
114
|
-
@apply shadow-lg text-base-content-invert bg-
|
|
114
|
+
@apply shadow-lg text-base-content-invert bg-base-900 border-base-900 transition;
|
|
115
115
|
.govgr-close-icon {
|
|
116
116
|
fill: var(--color-base-content-invert);
|
|
117
117
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.govgr-footer {
|
|
2
2
|
@apply border-0 border-solid font-normal text-base py-4 md:py-8
|
|
3
|
-
border-t-4 border-
|
|
3
|
+
border-t-4 border-tertiary text-base-800 bg-base-200 w-full
|
|
4
4
|
print:py-2 print:bg-white print:border-t-2;
|
|
5
5
|
.govgr-section-break {
|
|
6
6
|
@apply print:hidden;
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
.govgr-footer__section-break {
|
|
88
|
-
@apply m-auto px-4 py-2 border-t border-
|
|
88
|
+
@apply m-auto px-4 py-2 border-t border-base-300 mb-5
|
|
89
89
|
print:hidden;
|
|
90
90
|
}
|
|
91
91
|
.govgr-footer__heading {
|
|
92
|
-
@apply mb-4 pb-4 border-b border-
|
|
92
|
+
@apply mb-4 pb-4 border-b border-base-300;
|
|
93
93
|
}
|
package/src/components/form.css
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
.govgr-input, .govgr-select, .govgr-textarea{
|
|
50
|
-
@apply md:text-lg text-base w-full p-2 border-2 border-base-content bg-
|
|
50
|
+
@apply md:text-lg text-base w-full p-2 border-2 border-base-content bg-base-100;
|
|
51
51
|
text-indent: 2px;
|
|
52
52
|
&:focus {
|
|
53
53
|
outline: 4px solid var(--color-focus);
|
|
@@ -159,13 +159,13 @@
|
|
|
159
159
|
.govgr-radios__input:disabled,
|
|
160
160
|
.govgr-radios__input:disabled::before,
|
|
161
161
|
.govgr-radios__input:disabled:checked:before {
|
|
162
|
-
@apply bg-
|
|
162
|
+
@apply bg-base-300 cursor-not-allowed;
|
|
163
163
|
}
|
|
164
164
|
.govgr-input:disabled,
|
|
165
165
|
.govgr-textarea:disabled,
|
|
166
166
|
.govgr-checkboxes__input:disabled::before,
|
|
167
167
|
.govgr-radios__input:disabled::before {
|
|
168
|
-
@apply border-
|
|
168
|
+
@apply border-base-700 text-base-800;
|
|
169
169
|
}
|
|
170
170
|
.govgr-checkboxes__input:disabled:checked:after,
|
|
171
171
|
.govgr-radios__input:disabled:checked:after {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.govgr-header {
|
|
2
|
-
@apply bg-primary border-b-8 print:border-b-2 border-
|
|
2
|
+
@apply bg-primary border-b-8 print:border-b-2 border-tertiary;
|
|
3
3
|
@apply print:bg-white;
|
|
4
4
|
border-bottom-style: solid;
|
|
5
5
|
}
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
@apply flex justify-start items-center gap-x-4 gap-y-2 print:gap-1;
|
|
19
19
|
}
|
|
20
20
|
.govgr-header-title {
|
|
21
|
-
@apply text-
|
|
21
|
+
@apply text-white font-bold text-2xl leading-10 tracking-wide no-underline
|
|
22
22
|
w-auto align-middle hover:no-underline
|
|
23
23
|
print:text-base-content;
|
|
24
24
|
&:hover {
|
|
25
|
-
@apply text-
|
|
25
|
+
@apply text-white
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
.govgr-header-title:focus {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
text-decoration: none;
|
|
49
49
|
}
|
|
50
50
|
.govgr-masthead {
|
|
51
|
-
@apply print:border-2 print:bg-white print:border-
|
|
51
|
+
@apply print:border-2 print:bg-white print:border-tertiary-300 print:text-base-content;
|
|
52
52
|
.govgr-grid-column-two-thirds >*:last-child {
|
|
53
53
|
@apply mb-0;
|
|
54
54
|
}
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
.govgr-masthead--primary{
|
|
60
|
-
@apply bg-
|
|
60
|
+
@apply bg-tertiary text-white;
|
|
61
61
|
.govgr-masthead-body{
|
|
62
|
-
@apply text-
|
|
62
|
+
@apply text-white;
|
|
63
63
|
}
|
|
64
64
|
.govgr-body {
|
|
65
|
-
@apply text-
|
|
65
|
+
@apply text-white;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
.govgr-masthead--secondary {
|
|
69
|
-
@apply border-b border-
|
|
70
|
-
@apply bg-
|
|
69
|
+
@apply border-b border-base-400 !important;
|
|
70
|
+
@apply bg-base-200;
|
|
71
71
|
.govgr-masthead-body {
|
|
72
72
|
@apply text-base-content;
|
|
73
73
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
@apply flex flex-nowrap gap-32 mb-16;
|
|
6
6
|
}
|
|
7
7
|
.govgr-kitchensink-category__heading {
|
|
8
|
-
@apply uppercase text-
|
|
8
|
+
@apply uppercase text-base-500;
|
|
9
9
|
}
|
|
10
10
|
.govgr-kitchensink-letter-content {
|
|
11
11
|
@apply flex flex-nowrap gap-16;
|
|
@@ -58,9 +58,6 @@
|
|
|
58
58
|
.govgr-kitchensink-card .govgr-drawer--closed {
|
|
59
59
|
@apply hidden;
|
|
60
60
|
}
|
|
61
|
-
.govgr-kitchensink-card .govgr-drawer__burger-icon {
|
|
62
|
-
@apply block;
|
|
63
|
-
}
|
|
64
61
|
.govgr-kitchensink-card .govgr-drawer__close-icon {
|
|
65
62
|
@apply block;
|
|
66
63
|
}
|
package/src/components/misc.css
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@apply border-8;
|
|
7
7
|
}
|
|
8
8
|
.govgr-blockquote {
|
|
9
|
-
@apply lg:mb-8 mb-4 mt-8 md:mb-8 p-4 border-l-8 border-
|
|
9
|
+
@apply lg:mb-8 mb-4 mt-8 md:mb-8 p-4 border-l-8 border-base-500;
|
|
10
10
|
}
|
|
11
11
|
.govgr-error-summary {
|
|
12
12
|
@apply border-5 border-error mb-6 md:mb-8 p-4 md:p-5;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
font-size: var(--warning-text-font-size);
|
|
16
16
|
@apply flex pl-0 pr-0;
|
|
17
17
|
.govgr-warning-text__icon {
|
|
18
|
-
@apply text-
|
|
18
|
+
@apply text-base-content-invert font-bold bg-base-content text-3xl leading-10 text-center
|
|
19
19
|
rounded-3xl md:min-h-10 min-w-10 h-fit mr-6 mt-1
|
|
20
20
|
print:bg-white print:border-2 print:border-base-content print:text-base-content;
|
|
21
21
|
}
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
&:hover {
|
|
48
48
|
.tooltiptext {
|
|
49
49
|
@apply block opacity-100 absolute w-64 -ml-32 top-8 left-1/2 px-4 py-2 z-1;
|
|
50
|
-
@apply text-white rounded-sm bg-
|
|
50
|
+
@apply text-white rounded-sm bg-base-content bg-opacity-90 shadow;
|
|
51
51
|
|
|
52
52
|
&::after {
|
|
53
53
|
content: "";
|
|
54
|
-
@apply -top-3 left-1/2 -mr-1 border-6 border-
|
|
54
|
+
@apply -top-3 left-1/2 -mr-1 border-6 border-base-content opacity-85 absolute;
|
|
55
55
|
border-right-color: transparent;
|
|
56
56
|
border-left-color: transparent;
|
|
57
57
|
border-top-color: transparent;
|
package/src/components/modal.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
.govgr-modal {
|
|
2
2
|
@apply hidden justify-center items-center content-center text-left
|
|
3
|
-
mb-7 text-base-content bg-opacity-50 bg-
|
|
3
|
+
mb-7 text-base-content bg-opacity-50 bg-base-700
|
|
4
4
|
fixed z-50 left-0 top-0 w-full h-full overflow-auto;
|
|
5
5
|
}
|
|
6
6
|
.govgr-modal__body {
|
|
7
7
|
@apply w-full max-w-md md:max-w-lg lg:max-w-4xl
|
|
8
8
|
h-fit md:h-auto overflow-y-auto
|
|
9
|
-
bg-
|
|
10
|
-
border border-solid border-
|
|
9
|
+
bg-base-100
|
|
10
|
+
border border-solid border-base-500;
|
|
11
11
|
max-height:95vh;
|
|
12
12
|
}
|
|
13
13
|
.govgr-modal__content {
|
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;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
.govgr-nav__list--active {
|
|
38
|
-
@apply sm:bg-
|
|
38
|
+
@apply sm:bg-tertiary !important;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
.govgr-burger-icon {
|
|
@@ -81,14 +81,16 @@
|
|
|
81
81
|
/* --- NAV --- */
|
|
82
82
|
.govgr-nav {
|
|
83
83
|
@apply sm:block !important;
|
|
84
|
-
@apply xs:hidden w-3/4 sm:w-full h-full 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
|
|
86
|
+
z-30 sm:z-auto
|
|
85
87
|
opacity-100 right-0 top-0 sm:top-auto overflow-x-scroll sm:overflow-visible;
|
|
86
88
|
}
|
|
87
89
|
.govgr-nav--fixed {
|
|
88
90
|
@apply fixed sm:relative;
|
|
89
91
|
}
|
|
90
92
|
.govgr-nav--border {
|
|
91
|
-
@apply sm:border-b sm:border-
|
|
93
|
+
@apply sm:border-b sm:border-base-400;
|
|
92
94
|
}
|
|
93
95
|
.govgr-nav--open {
|
|
94
96
|
@apply xs:block;
|
|
@@ -180,7 +182,7 @@
|
|
|
180
182
|
@apply hidden;
|
|
181
183
|
}
|
|
182
184
|
.govgr-nav-menu--horizontal {
|
|
183
|
-
@apply sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-
|
|
185
|
+
@apply sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-base-100;
|
|
184
186
|
.govgr-main-wrapper {
|
|
185
187
|
@apply xs:gap-y-2;
|
|
186
188
|
}
|
|
@@ -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
|
}
|