@digigov/css 0.17.0 → 0.17.3
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/CHANGELOG.json +36 -0
- package/CHANGELOG.md +22 -1
- package/colors/color-values.js +23 -23
- package/dist/base/index.css +2 -2
- package/dist/base.css +2 -2
- package/dist/components.css +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +2 -2
- package/package.json +1 -1
- package/src/components/accordion.css +2 -2
- package/src/components/admin-form.css +1 -1
- package/src/components/admin-header.css +1 -1
- package/src/components/button.css +4 -4
- package/src/components/card.css +1 -1
- package/src/components/checkboxes.css +1 -1
- package/src/components/details.css +1 -1
- package/src/components/drawer.css +1 -1
- package/src/components/dropdown.css +9 -9
- package/src/components/filter.css +4 -4
- package/src/components/footer.css +3 -3
- package/src/components/full-page-background.css +1 -1
- package/src/components/header.css +4 -4
- package/src/components/layout.css +1 -1
- package/src/components/misc.css +3 -3
- package/src/components/modal.css +2 -2
- package/src/components/nav.css +2 -2
- package/src/components/notification-banner.css +1 -1
- package/src/components/pagination.css +2 -2
- package/src/components/phase-banner.css +2 -2
- package/src/components/summary-list.css +2 -2
- package/src/components/svg-icons.css +4 -4
- package/src/components/table.css +5 -5
- package/src/components/tabs.css +4 -4
- package/src/components/typography.css +8 -8
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-base200;
|
|
10
10
|
}
|
|
11
11
|
.govgr-error-summary {
|
|
12
12
|
@apply border-5 border-error mb-6 md:mb-8 p-4 md:p-5;
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
&:hover {
|
|
44
44
|
.tooltiptext {
|
|
45
45
|
@apply block opacity-100 absolute w-64 -ml-32 top-8 left-1/2 px-4 py-2 z-10;
|
|
46
|
-
@apply text-white rounded-sm bg-
|
|
46
|
+
@apply text-white rounded-sm bg-primary200 bg-opacity-90 shadow;
|
|
47
47
|
|
|
48
48
|
&::after {
|
|
49
49
|
content: "";
|
|
50
|
-
@apply -top-3 left-1/2 -mr-1 border-6 border-
|
|
50
|
+
@apply -top-3 left-1/2 -mr-1 border-6 border-primary200 opacity-85 absolute;
|
|
51
51
|
border-right-color: transparent;
|
|
52
52
|
border-left-color: transparent;
|
|
53
53
|
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
|
|
3
|
-
mb-7 text-base-content bg-opacity-50 bg-
|
|
3
|
+
mb-7 text-base-content bg-opacity-50 bg-gray200
|
|
4
4
|
fixed z-10 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 my-auto mx-4
|
|
9
9
|
bg-white
|
|
10
|
-
border border-solid border-
|
|
10
|
+
border border-solid border-base200;
|
|
11
11
|
}
|
|
12
12
|
.govgr-modal__content {
|
|
13
13
|
@apply grid gap-6 p-5;
|
package/src/components/nav.css
CHANGED
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
|
|
50
50
|
/* --- HORIZONTAL --- */
|
|
51
51
|
.govgr-horizontal-nav {
|
|
52
|
-
@apply fixed w-3/4 sm:w-full h-full bg-
|
|
52
|
+
@apply fixed w-3/4 sm:w-full h-full bg-secondary800 text-content-dark
|
|
53
53
|
sm:relative sm:h-auto sm:bg-white sm:text-content
|
|
54
54
|
z-30 sm:z-auto
|
|
55
55
|
opacity-10 sm:opacity-100 sm:block transition-all duration-1000 sm:transition-none
|
|
56
56
|
-right-3/4 sm:right-auto top-0 sm:top-auto overflow-x-scroll sm:overflow-visible
|
|
57
|
-
border-b border-
|
|
57
|
+
border-b border-base150
|
|
58
58
|
;
|
|
59
59
|
}
|
|
60
60
|
.govgr-horizontal-nav__container {
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
}
|
|
25
25
|
.govgr-pagination__item--inactive {
|
|
26
26
|
.govgr-link {
|
|
27
|
-
@apply flex text-
|
|
27
|
+
@apply flex text-gray600 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-gray600);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
@apply py-2 mb-4;
|
|
3
3
|
}
|
|
4
4
|
.govgr-phase-banner__underline {
|
|
5
|
-
@apply border-
|
|
5
|
+
@apply border-base200 border-b;
|
|
6
6
|
}
|
|
7
7
|
.govgr-phase-banner__content {
|
|
8
8
|
@apply table;
|
|
9
9
|
}
|
|
10
10
|
.govgr-phase-banner__content__tag {
|
|
11
|
-
@apply px-2 py-1 mr-2 inline-block bg-
|
|
11
|
+
@apply px-2 py-1 mr-2 inline-block bg-secondary600 font-sans text-white text-sm uppercase tracking-widest;
|
|
12
12
|
}
|
|
13
13
|
.govgr-phase-banner__text {
|
|
14
14
|
@apply table-cell text-base-content;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
}
|
|
6
6
|
.govgr-summary-list__row {
|
|
7
7
|
@apply block sm:table-row
|
|
8
|
-
pb-4 mb-4 border-b border-solid border-
|
|
8
|
+
pb-4 mb-4 border-b border-solid border-gray50
|
|
9
9
|
sm:pb-0 sm:mb-0 sm:border-0 ;
|
|
10
10
|
}
|
|
11
11
|
.govgr-summary-list--no-border .govgr-summary-list__row {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
.govgr-summary-list__key, .govgr-summary-list__value, .govgr-summary-list__actions {
|
|
33
33
|
@apply m-0
|
|
34
|
-
sm:table-cell sm:py-2 sm:pr-4 sm:border-b sm:border-solid sm:border-
|
|
34
|
+
sm:table-cell sm:py-2 sm:pr-4 sm:border-b sm:border-solid sm:border-gray50;
|
|
35
35
|
}
|
|
36
36
|
.govgr-summary-list--no-border .govgr-summary-list__key,
|
|
37
37
|
.govgr-summary-list--no-border .govgr-summary-list__value,
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
.govgr-header {
|
|
36
|
+
.govgr-header, .govgr-admin-header {
|
|
37
37
|
.govgr-link {
|
|
38
38
|
.govgr-svg-icon {
|
|
39
|
-
fill:var(--color-
|
|
39
|
+
fill:var(--color-gray100);
|
|
40
40
|
}
|
|
41
41
|
&:hover {
|
|
42
42
|
.govgr-svg-icon {
|
|
43
|
-
fill:var(--color-
|
|
43
|
+
fill:var(--color-gray100);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
&:focus {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
fill: var(--color-white) !important;
|
|
58
58
|
}
|
|
59
59
|
.govgr-svg-icon--gray {
|
|
60
|
-
fill: var(--color-
|
|
60
|
+
fill: var(--color-gray200) !important;
|
|
61
61
|
}
|
|
62
62
|
.govgr-svg-icon--primary {
|
|
63
63
|
fill: var(--color-primary) !important;
|
package/src/components/table.css
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
.govgr-table--with-vertical-lines {
|
|
14
14
|
.govgr-table__cell {
|
|
15
|
-
@apply border-l border-r border-solid border-
|
|
15
|
+
@apply border-l border-r border-solid border-gray50 !important;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
.govgr-table__body {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
.govgr-table--with-vertical-lines.govgr-table--light .govgr-table__body .govgr-table__header {
|
|
33
|
-
@apply border-l border-solid border-
|
|
33
|
+
@apply border-l border-solid border-gray50 !important;
|
|
34
34
|
}
|
|
35
35
|
.govgr-table--with-vertical-lines.govgr-table--dense.govgr-table--dark {
|
|
36
36
|
.govgr-table__head .govgr-table__row .govgr-table__header:first-child {
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
@apply py-3 !important;
|
|
51
51
|
}
|
|
52
52
|
.govgr-table__body .govgr-table__row .govgr-table__header {
|
|
53
|
-
@apply border-r border-solid border-
|
|
53
|
+
@apply border-r border-solid border-gray50 !important;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
.govgr-table--zebra {
|
|
57
57
|
.govgr-table__body {
|
|
58
58
|
.govgr-table__row:nth-child(even) {
|
|
59
|
-
@apply bg-
|
|
59
|
+
@apply bg-base100;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
-webkit-font-smoothing: antialiased;
|
|
88
88
|
}
|
|
89
89
|
.govgr-table__header, .govgr-table__cell {
|
|
90
|
-
@apply pr-5 py-2.5 pl-0 border-b border-solid border-
|
|
90
|
+
@apply pr-5 py-2.5 pl-0 border-b border-solid border-gray50 text-left align-middle;
|
|
91
91
|
&:last-child {
|
|
92
92
|
@apply pr-0;
|
|
93
93
|
}
|
package/src/components/tabs.css
CHANGED
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
clear: both;
|
|
10
10
|
}
|
|
11
11
|
.govgr-tabs__list-item {
|
|
12
|
-
@apply float-left relative md:border md:border-
|
|
12
|
+
@apply float-left relative md:border md:border-base100 md:bg-base100 md:rounded-t-sm md:px-4 md:py-2 m-0 md:mr-2 shadow-none
|
|
13
13
|
cursor-pointer;
|
|
14
14
|
&.govgr-tabs__list-item-selected {
|
|
15
|
-
@apply no-underline md:border-
|
|
15
|
+
@apply no-underline md:border-base150 bg-white z-20 md:border-b-0;
|
|
16
16
|
margin-top: -5px;
|
|
17
17
|
margin-bottom: -1px;
|
|
18
18
|
padding-top: 14px;
|
|
19
19
|
padding-right: 19px;
|
|
20
20
|
padding-bottom: 16px;
|
|
21
21
|
padding-left: 19px;
|
|
22
|
-
border: 1px solid var(--color-
|
|
22
|
+
border: 1px solid var(--color-gray200);
|
|
23
23
|
border-bottom: 0;
|
|
24
24
|
background-color: var(--color-white);
|
|
25
25
|
&:hover {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
.govgr-tabs__panel {
|
|
53
|
-
@apply bg-white md:hidden block md:px-4 py-4 pt-8 md:border md:border-
|
|
53
|
+
@apply bg-white md:hidden block md:px-4 py-4 pt-8 md:border md:border-base150 md:z-10 mb-0;
|
|
54
54
|
&.govgr-tabs__panel-visible {
|
|
55
55
|
@apply block;
|
|
56
56
|
}
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
@apply md:text-lg text-base font-bold mx-0 md:mb-5 mb-3;
|
|
12
12
|
}
|
|
13
13
|
.govgr-caption-xl {
|
|
14
|
-
@apply block md:text-2xl text-xl mx-0 lg:mb-2 mb-1 text-
|
|
14
|
+
@apply block md:text-2xl text-xl mx-0 lg:mb-2 mb-1 text-base300 font-normal;
|
|
15
15
|
}
|
|
16
16
|
.govgr-caption-l {
|
|
17
|
-
@apply block md:text-xl text-lg mx-0 mb-0 text-
|
|
17
|
+
@apply block md:text-xl text-lg mx-0 mb-0 text-base300 font-normal;
|
|
18
18
|
}
|
|
19
19
|
.govgr-caption-m {
|
|
20
|
-
@apply block md:text-lg text-base mx-0 mb-0 text-
|
|
20
|
+
@apply block md:text-lg text-base mx-0 mb-0 text-base300 font-normal;
|
|
21
21
|
}
|
|
22
22
|
.govgr-\!-font-size-14 {
|
|
23
23
|
@apply text-xs md:text-sm !important;
|
|
@@ -68,13 +68,13 @@
|
|
|
68
68
|
@apply lg:text-base text-sm;
|
|
69
69
|
}
|
|
70
70
|
.govgr-hint-l {
|
|
71
|
-
@apply mb-4 lg:text-2xl text-lg text-
|
|
71
|
+
@apply mb-4 lg:text-2xl text-lg text-base300;
|
|
72
72
|
}
|
|
73
73
|
.govgr-hint {
|
|
74
|
-
@apply mb-4 md:text-lg text-base text-
|
|
74
|
+
@apply mb-4 md:text-lg text-base text-base300;
|
|
75
75
|
}
|
|
76
76
|
.govgr-hint-s {
|
|
77
|
-
@apply mb-4 lg:text-base text-sm text-
|
|
77
|
+
@apply mb-4 lg:text-base text-sm text-base300;
|
|
78
78
|
}
|
|
79
79
|
.govgr-background-dark {
|
|
80
80
|
.govgr-hint {
|
|
@@ -101,10 +101,10 @@
|
|
|
101
101
|
}
|
|
102
102
|
.govgr-header {
|
|
103
103
|
.govgr-header__container > .govgr-link {
|
|
104
|
-
@apply text-
|
|
104
|
+
@apply text-gray100 focus:text-link-active;
|
|
105
105
|
}
|
|
106
106
|
.govgr-header__content > .govgr-link {
|
|
107
|
-
@apply text-
|
|
107
|
+
@apply text-gray100 focus:text-link-active;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
.govgr-link--no-underline {
|