@digigov/css 0.38.2 → 0.39.0-ac772edc
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/typography.json +3 -0
- 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 +2 -2
- package/src/components/accordion.css +3 -0
- package/src/components/admin-layout.css +24 -0
- package/src/components/autocomplete.css +7 -2
- package/src/components/checkboxes.css +0 -3
- package/src/components/chip.css +51 -0
- package/src/components/filter.css +0 -32
- package/src/components/form.css +3 -0
- package/src/components/index.css +1 -0
- package/src/components/nav.css +1 -1
- package/src/components/pagination.css +20 -4
- package/src/components/typography.css +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/css",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.0-ac772edc",
|
|
4
4
|
"description": "Digigov CSS - Tailwind CSS Components",
|
|
5
5
|
"author": "GRNET Devs <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"tailwindcss": "2.2.6",
|
|
50
50
|
"nodemon": "2.0.7",
|
|
51
51
|
"next": "10.0.9",
|
|
52
|
-
"@digigov/postcss-banner": "0.3.
|
|
52
|
+
"@digigov/postcss-banner": "0.3.23",
|
|
53
53
|
"rimraf": "3.0.2",
|
|
54
54
|
"postcss-js": "4.0.0",
|
|
55
55
|
"postcss-load-config": "3.1.4",
|
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
flex-wrap: wrap;
|
|
5
5
|
min-height: 100vh;
|
|
6
6
|
}
|
|
7
|
+
.govgr-admin-top-section--secondary {
|
|
8
|
+
@apply bg-base-200 px-2 py-1;
|
|
9
|
+
}
|
|
10
|
+
.govgr-admin-top-section--border {
|
|
11
|
+
@apply border border-base-300 px-2 py-1;
|
|
12
|
+
}
|
|
7
13
|
.govgr-admin-width-container {
|
|
8
14
|
@apply px-4 py-8 m-0 w-full mx-auto;
|
|
9
15
|
flex: 1 1 0%;
|
|
@@ -16,6 +22,24 @@
|
|
|
16
22
|
}
|
|
17
23
|
.govgr-admin-side-content {
|
|
18
24
|
@apply lg:col-span-4 md:col-span-5 print:order-1;
|
|
25
|
+
.govgr-accordion__section {
|
|
26
|
+
@apply border-b-0;
|
|
27
|
+
&:first-child {
|
|
28
|
+
@apply border-t-0;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.govgr-accordion__section-button {
|
|
32
|
+
&::after {
|
|
33
|
+
content: "+";
|
|
34
|
+
@apply text-2xl text-base-content float-right relative -right-6;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.govgr-accordion__section-summary {
|
|
38
|
+
@apply pb-2 pt-2 pl-2 border-b border-base-400;
|
|
39
|
+
}
|
|
40
|
+
.govgr-heading-m {
|
|
41
|
+
@apply text-xl;
|
|
42
|
+
}
|
|
19
43
|
}
|
|
20
44
|
.govgr-admin-grid-column-1 {
|
|
21
45
|
@apply md:col-span-1;
|
|
@@ -102,8 +102,13 @@
|
|
|
102
102
|
margin-right: '-1px';
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
|
|
106
|
+
.govgr-autocomplete__option--empty {
|
|
107
|
+
@apply cursor-default;
|
|
108
|
+
@apply bg-base-100 text-base-content !important;
|
|
109
|
+
&:hover{
|
|
110
|
+
border-color: var(--color-base-400);
|
|
111
|
+
}
|
|
107
112
|
}
|
|
108
113
|
|
|
109
114
|
.govgr-autocomplete__hint,
|
|
@@ -50,9 +50,6 @@
|
|
|
50
50
|
.govgr-checkboxes__hint {
|
|
51
51
|
@apply px-2 mb-2;
|
|
52
52
|
}
|
|
53
|
-
.govgr-checkboxes__divider, .govgr-radios__divider {
|
|
54
|
-
@apply text-lg text-center w-10 mb-4;
|
|
55
|
-
}
|
|
56
53
|
.govgr-checkboxes__conditional, .govgr-radios__conditional {
|
|
57
54
|
@apply border-l-4 border-base-500 ml-4 pl-6;
|
|
58
55
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.govgr-chip--heading {
|
|
2
|
+
@apply font-bold md:text-base text-sm pb-4;
|
|
3
|
+
}
|
|
4
|
+
.govgr-chips {
|
|
5
|
+
@apply flex flex-wrap list-none gap-x-2;
|
|
6
|
+
.govgr-chip .govgr-chip__content {
|
|
7
|
+
@apply mr-0;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
.govgr-chips--horizontal {
|
|
11
|
+
@apply md:flex md:flex-row md:flex-wrap;
|
|
12
|
+
}
|
|
13
|
+
.govgr-chip {
|
|
14
|
+
@apply list-none;
|
|
15
|
+
.govgr-chip__content {
|
|
16
|
+
@apply bg-base-100 text-base-content lg:text-base text-sm border-2 border-base-content
|
|
17
|
+
inline-flex items-center px-2 py-1 mr-2 mb-2 rounded shadow;
|
|
18
|
+
.govgr-close-icon {
|
|
19
|
+
@apply w-4 h-4 ml-3;
|
|
20
|
+
}
|
|
21
|
+
&[role="button"] {
|
|
22
|
+
&:hover {
|
|
23
|
+
@apply shadow-lg text-base-content-invert bg-base-900 border-base-900 transition;
|
|
24
|
+
.govgr-close-icon {
|
|
25
|
+
fill: var(--color-base-content-invert);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
&:focus {
|
|
29
|
+
outline: 3px solid var(--color-focus);
|
|
30
|
+
outline-offset: 0;
|
|
31
|
+
-webkit-box-shadow: inset 0 0 0 2px;
|
|
32
|
+
box-shadow: inset 0 0 0 2px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.govgr-chip--deletable {
|
|
38
|
+
.govgr-chip__content {
|
|
39
|
+
&:hover {
|
|
40
|
+
@apply shadow-lg transition;
|
|
41
|
+
}
|
|
42
|
+
.govgr-close-icon {
|
|
43
|
+
&:hover {
|
|
44
|
+
@apply cursor-pointer;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
.govgr-chip__key-value {
|
|
50
|
+
@apply font-bold mr-2;
|
|
51
|
+
}
|
|
@@ -95,38 +95,6 @@
|
|
|
95
95
|
@apply m-0 h-full;
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
.govgr-chip--heading {
|
|
99
|
-
@apply font-bold md:text-base text-sm pb-4;
|
|
100
|
-
}
|
|
101
|
-
.govgr-chip--horizontal {
|
|
102
|
-
@apply md:flex md:flex-row md:flex-wrap;
|
|
103
|
-
}
|
|
104
|
-
.govgr-chips {
|
|
105
|
-
@apply flex flex-wrap list-none;
|
|
106
|
-
}
|
|
107
|
-
.govgr-chip {
|
|
108
|
-
@apply bg-base-100 text-base-content lg:text-base text-sm border-2 border-base-content
|
|
109
|
-
inline-flex items-center px-2 py-1 mr-2 mb-2 rounded shadow;
|
|
110
|
-
.govgr-close-icon {
|
|
111
|
-
@apply w-4 h-4 ml-3;
|
|
112
|
-
}
|
|
113
|
-
&:hover {
|
|
114
|
-
@apply shadow-lg text-base-content-invert bg-base-900 border-base-900 transition;
|
|
115
|
-
.govgr-close-icon {
|
|
116
|
-
fill: var(--color-base-content-invert);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
&:focus {
|
|
120
|
-
outline: 3px solid var(--color-focus);
|
|
121
|
-
outline-offset: 0;
|
|
122
|
-
-webkit-box-shadow: inset 0 0 0 2px;
|
|
123
|
-
box-shadow: inset 0 0 0 2px;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
.govgr-chip__key-value {
|
|
127
|
-
@apply font-bold mr-2;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
98
|
.govgr-input__search-btn {
|
|
131
99
|
@apply shadow-none !important;
|
|
132
100
|
@apply
|
package/src/components/form.css
CHANGED
package/src/components/index.css
CHANGED
package/src/components/nav.css
CHANGED
|
@@ -1,19 +1,35 @@
|
|
|
1
1
|
.govgr-pagination {
|
|
2
|
-
@apply flex flex-wrap items-center justify-items-center justify-between
|
|
2
|
+
@apply flex flex-wrap items-center justify-items-center justify-between;
|
|
3
|
+
.govgr-pagination__label {
|
|
4
|
+
@apply md:text-lg text-base;
|
|
5
|
+
}
|
|
3
6
|
.govgr-label {
|
|
4
|
-
@apply text-base-content md:
|
|
7
|
+
@apply text-base-content md:leading-normal flex-row items-center gap-2 md:text-lg text-base;
|
|
8
|
+
}
|
|
9
|
+
.govgr-pagination__item--current {
|
|
10
|
+
@apply md:text-lg text-base;
|
|
5
11
|
}
|
|
6
12
|
.govgr-select {
|
|
7
13
|
text-indent: 0px;
|
|
8
|
-
@apply flex text-base-content md:
|
|
14
|
+
@apply flex text-base-content md:leading-normal border md:text-lg text-base;
|
|
9
15
|
&:focus {
|
|
10
16
|
-webkit-box-shadow: inset 0 0 0 1px;
|
|
11
17
|
box-shadow: inset 0 0 0 1px;
|
|
12
18
|
}
|
|
13
19
|
}
|
|
14
20
|
}
|
|
21
|
+
.govgr-pagination--size-sm {
|
|
22
|
+
.govgr-pagination__label, .govgr-label, .govgr-select, .govgr-pagination__item--current {
|
|
23
|
+
@apply md:text-base text-sm;
|
|
24
|
+
}
|
|
25
|
+
.govgr-pagination__list {
|
|
26
|
+
.govgr-link{
|
|
27
|
+
@apply md:text-base text-sm !important;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
15
31
|
.govgr-pagination__label {
|
|
16
|
-
@apply text-base-content md:
|
|
32
|
+
@apply text-base-content md:leading-normal;
|
|
17
33
|
}
|
|
18
34
|
.govgr-pagination__list {
|
|
19
35
|
@apply flex items-center;
|
|
@@ -171,14 +171,15 @@
|
|
|
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 {
|
|
175
175
|
text-decoration-thickness: 2px;
|
|
176
176
|
color: var(--link-color-hover);
|
|
177
177
|
}
|
|
178
178
|
&:focus {
|
|
179
|
+
color: var(--link-color-active);
|
|
179
180
|
background-color: var(--color-focus);
|
|
180
181
|
box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
|
|
181
|
-
text-decoration:none;
|
|
182
|
+
text-decoration:none !important;
|
|
182
183
|
outline: none;
|
|
183
184
|
}
|
|
184
185
|
}
|
|
@@ -207,6 +208,7 @@
|
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
210
|
}
|
|
211
|
+
|
|
210
212
|
.govgr-back-link {
|
|
211
213
|
font-size: var(--back-link-font-size);
|
|
212
214
|
letter-spacing: var(--back-link-letter-spacing);
|