@digigov/css 2.0.0-254f7786 → 2.0.0-264e5fff
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/components.js +1 -1
- package/dist/digigov.css +1 -1
- package/package.json +6 -6
- package/src/components/accordion.common.css +29 -0
- package/src/components/accordion.css +39 -12
- package/src/components/accordion.native.css +27 -0
- package/src/components/autocomplete.css +5 -1
- package/src/components/blockquote.common.css +1 -1
- package/src/components/breadcrumbs.css +1 -1
- package/src/components/button.common.css +1 -1
- package/src/components/button.css +1 -1
- package/src/components/card.common.css +1 -1
- package/src/components/card.css +1 -1
- package/src/components/code.css +9 -8
- package/src/components/copy-to-clipboard.native.css +2 -4
- package/src/components/details.common.css +1 -1
- package/src/components/details.css +4 -0
- package/src/components/drawer.css +1 -1
- package/src/components/dropdown.common.css +1 -1
- package/src/components/fillable.css +1 -1
- package/src/components/filter.css +13 -13
- package/src/components/footer.css +3 -2
- package/src/components/form.css +8 -4
- package/src/components/header.css +5 -1
- package/src/components/layout.css +1 -1
- package/src/components/misc.css +1 -1
- package/src/components/notification-banner.common.css +1 -1
- package/src/components/notification-banner.css +19 -1
- package/src/components/panel.common.css +1 -1
- package/src/components/phase-banner.common.css +1 -1
- package/src/components/skeleton.common.css +20 -0
- package/src/components/skeleton.css +7 -10
- package/src/components/skeleton.native.css +53 -0
- package/src/components/stack.css +2 -2
- package/src/components/stepnav.css +2 -2
- package/src/components/summary-list.common.css +14 -2
- package/src/components/summary-list.css +16 -4
- package/src/components/table.css +58 -19
- package/src/components/tabs.css +8 -5
- package/src/components/task-list.css +12 -7
- package/src/components/timeline.css +8 -7
- package/src/components/typography.common.css +1 -3
- package/src/components/typography.css +14 -15
- package/src/components/warning-text.common.css +1 -1
- package/src/components/warning-text.css +9 -6
- package/src/index.native.css +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/css",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-264e5fff",
|
|
4
4
|
"description": "Digigov CSS - Tailwind CSS Components",
|
|
5
5
|
"author": "GRNET Devs <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
]
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@digigov/cli": "2.0.0-
|
|
42
|
+
"@digigov/cli": "2.0.0-264e5fff",
|
|
43
43
|
"autoprefixer": "10.4.16",
|
|
44
44
|
"postcss-cli": "8.3.0",
|
|
45
45
|
"postcss-import": "13.0.0",
|
|
@@ -48,16 +48,16 @@
|
|
|
48
48
|
"tailwindcss": "3.4.13",
|
|
49
49
|
"nodemon": "2.0.7",
|
|
50
50
|
"next": "13.1.1",
|
|
51
|
-
"@digigov/postcss-banner": "1.0.5-
|
|
52
|
-
"@digigov/cli-build-tailwind": "2.0.0-
|
|
51
|
+
"@digigov/postcss-banner": "1.0.5-264e5fff",
|
|
52
|
+
"@digigov/cli-build-tailwind": "2.0.0-264e5fff",
|
|
53
53
|
"rimraf": "3.0.2",
|
|
54
54
|
"publint": "0.1.8",
|
|
55
55
|
"stylelint": "15.11.0",
|
|
56
|
-
"stylelint-plugin-digigov": "1.1.0-
|
|
56
|
+
"stylelint-plugin-digigov": "1.1.0-264e5fff",
|
|
57
57
|
"prettier": "3.4.2"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@digigov/theme-default": "1.0.0-
|
|
60
|
+
"@digigov/theme-default": "1.0.0-264e5fff",
|
|
61
61
|
"@fontsource/roboto": "4.4.0",
|
|
62
62
|
"cssnano": "4.1.10",
|
|
63
63
|
"publint": "0.1.8",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@tailwind utilities;
|
|
2
|
+
|
|
3
|
+
@layer utilities {
|
|
4
|
+
.util-accordion__section {
|
|
5
|
+
@apply border-b border-base-400;
|
|
6
|
+
}
|
|
7
|
+
.util-accordion__section-summary {
|
|
8
|
+
@apply py-4 pr-8 mb-0;
|
|
9
|
+
}
|
|
10
|
+
.util-accordion__section-heading {
|
|
11
|
+
@apply mb-0 transition-all justify-between;
|
|
12
|
+
}
|
|
13
|
+
.util-accordion__section-heading-text {
|
|
14
|
+
@apply no-underline font-semibold;
|
|
15
|
+
}
|
|
16
|
+
.util-accordion__section-button {
|
|
17
|
+
@apply flex justify-between;
|
|
18
|
+
}
|
|
19
|
+
.util-accordion__section-button-text {
|
|
20
|
+
@apply text-base-content;
|
|
21
|
+
}
|
|
22
|
+
.util-accordion__section-content {
|
|
23
|
+
@apply md:pt-2 mb-6 pt-1 mx-0;
|
|
24
|
+
}
|
|
25
|
+
.util-accordion__section-button-icon {
|
|
26
|
+
@apply text-base-content relative ml-2;
|
|
27
|
+
font-size: var(--text-2xl);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
@import './accordion.common.css';
|
|
2
|
+
|
|
1
3
|
.ds-accordion {
|
|
4
|
+
@apply mb-4 md:mb-8;
|
|
2
5
|
&.ds-accordion--no-border {
|
|
3
6
|
.ds-accordion__section {
|
|
4
7
|
@apply border-0 !important;
|
|
@@ -25,7 +28,11 @@
|
|
|
25
28
|
&.ds-accordion--secondary {
|
|
26
29
|
.ds-accordion__section {
|
|
27
30
|
.ds-accordion__section-summary {
|
|
28
|
-
|
|
31
|
+
--accordion__section-summary-background: var(--color-base-200);
|
|
32
|
+
@apply px-4;
|
|
33
|
+
&:hover {
|
|
34
|
+
--accordion__section-summary-background-hover: var(--color-base-300);
|
|
35
|
+
}
|
|
29
36
|
}
|
|
30
37
|
.ds-accordion__section-content {
|
|
31
38
|
@apply px-4;
|
|
@@ -33,7 +40,12 @@
|
|
|
33
40
|
}
|
|
34
41
|
.ds-accordion__section-button {
|
|
35
42
|
&::after {
|
|
36
|
-
@apply right-0;
|
|
43
|
+
@apply right-0 !important;
|
|
44
|
+
}
|
|
45
|
+
&.ds-accordion__section-button--arrows {
|
|
46
|
+
&::after {
|
|
47
|
+
@apply right-1 !important;
|
|
48
|
+
}
|
|
37
49
|
}
|
|
38
50
|
}
|
|
39
51
|
}
|
|
@@ -51,13 +63,13 @@
|
|
|
51
63
|
@apply text-right;
|
|
52
64
|
}
|
|
53
65
|
.ds-accordion__section {
|
|
54
|
-
@apply
|
|
66
|
+
@apply util-accordion__section;
|
|
55
67
|
&:first-child {
|
|
56
68
|
@apply border-t;
|
|
57
69
|
}
|
|
58
70
|
}
|
|
59
71
|
.ds-accordion__section-summary {
|
|
60
|
-
@apply
|
|
72
|
+
@apply util-accordion__section-summary transition ease-in-out cursor-pointer;
|
|
61
73
|
background: var(--accordion__section-summary-background);
|
|
62
74
|
list-style: none;
|
|
63
75
|
&:hover {
|
|
@@ -70,9 +82,11 @@
|
|
|
70
82
|
.ds-accordion__section-button {
|
|
71
83
|
@apply underline bg-focus;
|
|
72
84
|
text-decoration-thickness: 2px;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
85
|
+
&:not(.ds-accordion__section-button--arrows) {
|
|
86
|
+
&::after {
|
|
87
|
+
@apply underline bg-focus;
|
|
88
|
+
text-decoration-thickness: 2px;
|
|
89
|
+
}
|
|
76
90
|
}
|
|
77
91
|
}
|
|
78
92
|
}
|
|
@@ -86,18 +100,25 @@
|
|
|
86
100
|
.ds-accordion__section-header {
|
|
87
101
|
}
|
|
88
102
|
.ds-accordion__section-heading {
|
|
89
|
-
@apply
|
|
90
|
-
mb-0 transition-all justify-between cursor-pointer;
|
|
103
|
+
@apply util-accordion__section-heading util-accordion__section-heading-text cursor-pointer;
|
|
91
104
|
font-size: var(--accordion__section-heading-font-size);
|
|
92
105
|
&:active {
|
|
93
106
|
@apply ring-link-visited;
|
|
94
107
|
}
|
|
95
108
|
}
|
|
96
109
|
.ds-accordion__section-button {
|
|
97
|
-
@apply
|
|
110
|
+
@apply util-accordion__section-button util-accordion__section-button-text focus:underline transition ease-in-out;
|
|
98
111
|
&::after {
|
|
99
|
-
@apply
|
|
112
|
+
@apply util-accordion__section-button-icon float-right -right-8;
|
|
100
113
|
content: '+';
|
|
114
|
+
line-height: 2rem;
|
|
115
|
+
}
|
|
116
|
+
&.ds-accordion__section-button--arrows {
|
|
117
|
+
&::after {
|
|
118
|
+
@apply h-3 w-3 rotate-45 border-b-3 border-r-3 border-base-content top-1.5 -right-7 bg-transparent !important;
|
|
119
|
+
transition: all 0.3s ease;
|
|
120
|
+
content: '';
|
|
121
|
+
}
|
|
101
122
|
}
|
|
102
123
|
}
|
|
103
124
|
.ds-accordion__section[open] {
|
|
@@ -108,10 +129,16 @@
|
|
|
108
129
|
&::after {
|
|
109
130
|
content: '\2013';
|
|
110
131
|
}
|
|
132
|
+
&.ds-accordion__section-button--arrows {
|
|
133
|
+
&::after {
|
|
134
|
+
@apply -rotate-[135deg] top-2.5 !important;
|
|
135
|
+
content: '';
|
|
136
|
+
}
|
|
137
|
+
}
|
|
111
138
|
}
|
|
112
139
|
}
|
|
113
140
|
.ds-accordion__section-content {
|
|
114
|
-
@apply
|
|
141
|
+
@apply util-accordion__section-content hidden;
|
|
115
142
|
> *:last-child {
|
|
116
143
|
@apply mb-0;
|
|
117
144
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@import './accordion.common.css';
|
|
2
|
+
|
|
3
|
+
.ds-accordion__section {
|
|
4
|
+
@apply util-accordion__section;
|
|
5
|
+
}
|
|
6
|
+
.ds-accordion__section__first-child {
|
|
7
|
+
@apply border-t;
|
|
8
|
+
}
|
|
9
|
+
.ds-accordion__section-summary {
|
|
10
|
+
@apply util-accordion__section-summary flex-1;
|
|
11
|
+
}
|
|
12
|
+
.ds-accordion__section-button {
|
|
13
|
+
@apply util-accordion__section-button;
|
|
14
|
+
}
|
|
15
|
+
.ds-accordion__section-button__text {
|
|
16
|
+
@apply util-accordion__section-heading-text util-accordion__section-button-text;
|
|
17
|
+
font-size: var(--text-xl);
|
|
18
|
+
}
|
|
19
|
+
.ds-accordion__section-content {
|
|
20
|
+
@apply util-accordion__section-content;
|
|
21
|
+
}
|
|
22
|
+
.ds-accordion__section-content__text {
|
|
23
|
+
font-size: var(--text-md);
|
|
24
|
+
}
|
|
25
|
+
.ds-accordion__section-button-icon {
|
|
26
|
+
@apply util-accordion__section-button-icon;
|
|
27
|
+
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
clip: 'rect(0 0 0 0)';
|
|
9
9
|
}
|
|
10
10
|
.ds-autocomplete__hint {
|
|
11
|
-
@apply absolute text-base-400;
|
|
11
|
+
@apply h-full absolute text-base-400;
|
|
12
12
|
}
|
|
13
13
|
.ds-autocomplete__hint,
|
|
14
14
|
.ds-autocomplete__input {
|
|
@@ -62,6 +62,10 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
+
.ds-autocomplete__hint,
|
|
66
|
+
.ds-autocomplete__input {
|
|
67
|
+
@apply h-full;
|
|
68
|
+
}
|
|
65
69
|
}
|
|
66
70
|
.ds-autocomplete__multi-input {
|
|
67
71
|
@apply flex-1 w-full focus:border-0 focus:outline-0 bg-base-100;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
.ds-btn[type='submit'],
|
|
4
4
|
.ds-btn[type='button'],
|
|
5
5
|
.ds-btn[type='reset'] {
|
|
6
|
-
@apply util-btn util-btn-text min-h-10 md:min-h-12 w-max cursor-pointer;
|
|
6
|
+
@apply util-btn util-btn-text min-h-10 md:min-h-12 w-max gap-x-3 cursor-pointer;
|
|
7
7
|
&:focus {
|
|
8
8
|
box-shadow:
|
|
9
9
|
0 0 0 2px var(--color-white),
|
package/src/components/card.css
CHANGED
package/src/components/code.css
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
.ds-code-block__container {
|
|
2
|
-
@apply p-4 bg-base-200 border border-base-300 w-full overflow-x-auto relative;
|
|
3
|
-
|
|
4
|
-
/* experimental to see if it's disturbing */
|
|
5
|
-
max-height: 95vh;
|
|
2
|
+
@apply mb-4 md:mb-8 p-4 bg-base-200 border border-base-300 w-full overflow-x-auto relative;
|
|
3
|
+
max-height: 95vh; /* experimental to see if it's disturbing */
|
|
6
4
|
& > pre {
|
|
7
5
|
@apply bg-transparent p-0 m-0;
|
|
8
6
|
font: inherit;
|
|
@@ -33,6 +31,7 @@
|
|
|
33
31
|
}
|
|
34
32
|
|
|
35
33
|
/* copied styles from 'highlight.js/styles/github.css' */
|
|
34
|
+
/* stylelint-disable-next-line digigov/enforce-class-selector-namespace */
|
|
36
35
|
.ds-code--doctag,
|
|
37
36
|
.ds-code--keyword,
|
|
38
37
|
.ds-code--meta .ds-code--keyword,
|
|
@@ -41,8 +40,9 @@
|
|
|
41
40
|
.ds-code--type,
|
|
42
41
|
.ds-code--variable.language_ {
|
|
43
42
|
/* prettylights-syntax-keyword */
|
|
44
|
-
color: var(--color-red-300);
|
|
43
|
+
color: var(--color-red-300) !important;
|
|
45
44
|
}
|
|
45
|
+
/* stylelint-disable-next-line digigov/enforce-class-selector-namespace */
|
|
46
46
|
.ds-code--title,
|
|
47
47
|
.ds-code--title.class_,
|
|
48
48
|
.ds-code--title.class_.inherited__,
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
.ds-code--selector-class,
|
|
62
62
|
.ds-code--selector-id {
|
|
63
63
|
/* prettylights-syntax-constant */
|
|
64
|
-
color: var(--color-green-400);
|
|
64
|
+
color: var(--color-green-400) !important;
|
|
65
65
|
}
|
|
66
66
|
.ds-code--regexp,
|
|
67
67
|
.ds-code--string,
|
|
68
68
|
.ds-code--meta .ds-code--string {
|
|
69
69
|
/* prettylights-syntax-string */
|
|
70
|
-
color: var(--color-blue-600);
|
|
70
|
+
color: var(--color-blue-600) !important;
|
|
71
71
|
}
|
|
72
72
|
.ds-code--built_in,
|
|
73
73
|
.ds-code--symbol {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
.ds-code--selector-tag,
|
|
86
86
|
.ds-code--selector-pseudo {
|
|
87
87
|
/* prettylights-syntax-entity-tag */
|
|
88
|
-
color: var(--color-green-400);
|
|
88
|
+
color: var(--color-green-400) !important;
|
|
89
89
|
}
|
|
90
90
|
.ds-code--subst {
|
|
91
91
|
/* prettylights-syntax-storage-modifier-import */
|
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
color: var(--color-red-500);
|
|
119
119
|
background-color: rgba(var(--color-red-100-rgb), 0.3);
|
|
120
120
|
}
|
|
121
|
+
/* stylelint-disable-next-line digigov/enforce-class-selector-namespace */
|
|
121
122
|
.ds-code--char.escape_,
|
|
122
123
|
.ds-code--link,
|
|
123
124
|
.ds-code--params,
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/* stylelint-disable digigov/enforce-class-selector-namespace */
|
|
2
|
-
|
|
3
1
|
.ds-copy-to-clipboard {
|
|
4
2
|
@apply flex z-10;
|
|
5
3
|
}
|
|
@@ -7,9 +5,9 @@
|
|
|
7
5
|
@apply hidden w-0 h-0;
|
|
8
6
|
}
|
|
9
7
|
.ds-copy-to-clipboard__before {
|
|
8
|
+
@apply w-4 h-4 border-t-8 border-l-8 border-success absolute bottom-1;
|
|
10
9
|
/* stylelint-disable-next-line plugin/no-react-native-incompatible-css */
|
|
11
|
-
|
|
12
|
-
absolute bottom-1;
|
|
10
|
+
transform: rotate(45deg);
|
|
13
11
|
left: 50%;
|
|
14
12
|
}
|
|
15
13
|
.ds-copy-to-clipboard__message {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
.util-dropdown__content {
|
|
11
11
|
@apply border-base-400 bg-base-100
|
|
12
|
-
max-w-xs min-w-full absolute transition z-3 mr-4 -mt-4;
|
|
12
|
+
max-w-xs min-w-full absolute transition z-3 mr-4 mt-0 md:-mt-4;
|
|
13
13
|
box-shadow:
|
|
14
14
|
0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
|
|
15
15
|
0 -2px 0 var(--color-base-500);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
.ds-filter-container {
|
|
2
|
-
@apply fixed left-0 top-0
|
|
2
|
+
@apply fixed left-0 top-0 w-full h-full
|
|
3
3
|
flex justify-center items-center content-center
|
|
4
4
|
z-50 bg-opacity-50 bg-base-700;
|
|
5
5
|
&.ds-filter-container--position-relative-always {
|
|
6
|
-
@apply bg-transparent h-fit z-2
|
|
6
|
+
@apply bg-transparent h-fit z-2 relative block !important;
|
|
7
7
|
}
|
|
8
8
|
&.ds-filter-container--position-relative-sm {
|
|
9
|
-
@apply sm:bg-transparent sm:h-fit sm:z-2 sm:
|
|
9
|
+
@apply sm:bg-transparent sm:h-fit sm:z-2 sm:relative;
|
|
10
10
|
@apply sm:block !important;
|
|
11
11
|
}
|
|
12
12
|
&.ds-filter-container--position-relative-md {
|
|
13
|
-
@apply md:bg-transparent md:h-fit md:z-2 md:
|
|
13
|
+
@apply md:bg-transparent md:h-fit md:z-2 md:relative;
|
|
14
14
|
@apply md:block !important;
|
|
15
15
|
}
|
|
16
16
|
&.ds-filter-container--position-relative-lg {
|
|
17
|
-
@apply lg:bg-transparent lg:h-fit lg:z-2 lg:
|
|
17
|
+
@apply lg:bg-transparent lg:h-fit lg:z-2 lg:relative;
|
|
18
18
|
@apply lg:block !important;
|
|
19
19
|
}
|
|
20
20
|
&.ds-filter-container--closed {
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
@apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll w-4/5 max-w-md p-4;
|
|
26
26
|
box-shadow: 0 0 30px rgba(var(--color-base-900-rgb), 0.9);
|
|
27
27
|
&.ds-filter--position-relative-always {
|
|
28
|
-
@apply relative w-full max-w-full shadow-none mb-4 md:mb-8;
|
|
28
|
+
@apply relative w-full max-w-full shadow-none overflow-visible mb-4 md:mb-8;
|
|
29
29
|
}
|
|
30
30
|
&.ds-filter--position-relative-sm {
|
|
31
|
-
@apply sm:relative sm:w-full sm:shadow-none sm:mb-4 md:mb-8 sm:max-w-full;
|
|
31
|
+
@apply sm:relative sm:w-full sm:shadow-none sm:overflow-visible sm:mb-4 md:mb-8 sm:max-w-full;
|
|
32
32
|
&:not(.ds-filter--border) {
|
|
33
33
|
@apply sm:p-0;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
&.ds-filter--position-relative-md {
|
|
37
|
-
@apply md:relative md:w-full md:shadow-none md:mb-8 md:max-w-full;
|
|
37
|
+
@apply md:relative md:w-full md:shadow-none md:overflow-visible md:mb-8 md:max-w-full;
|
|
38
38
|
&:not(.ds-filter--border) {
|
|
39
39
|
@apply md:p-0;
|
|
40
40
|
}
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
@apply p-0;
|
|
75
75
|
}
|
|
76
76
|
.ds-filter__heading {
|
|
77
|
-
@apply mb-4;
|
|
77
|
+
@apply mb-4 flex justify-between align-baseline items-baseline;
|
|
78
78
|
}
|
|
79
79
|
.ds-filter__selected {
|
|
80
80
|
@apply bg-base-200 p-4 m-0 rounded;
|
|
@@ -83,14 +83,14 @@
|
|
|
83
83
|
@apply flex flex-wrap mb-4 md:mb-8 justify-between gap-x-2 gap-y-4;
|
|
84
84
|
}
|
|
85
85
|
.ds-input__search-btn {
|
|
86
|
-
@apply shadow-none !important;
|
|
86
|
+
@apply shadow-none mb-0 !important;
|
|
87
87
|
@apply px-4 py-2 w-min m-0 ml-3 flex gap-2;
|
|
88
88
|
}
|
|
89
89
|
.ds-search {
|
|
90
|
-
@apply flex w-full max-w-3xl;
|
|
90
|
+
@apply flex w-full max-w-3xl mb-4 md:mb-8;
|
|
91
91
|
}
|
|
92
92
|
.ds-results__action-bar {
|
|
93
|
-
@apply py-2 mb-8 flex flex-wrap justify-start gap-4 items-baseline;
|
|
93
|
+
@apply py-2 mb-4 md:mb-8 flex flex-wrap justify-start gap-4 items-baseline;
|
|
94
94
|
> * {
|
|
95
95
|
@apply mb-0;
|
|
96
96
|
}
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
@apply flex flex-wrap justify-between items-baseline gap-x-2;
|
|
100
100
|
}
|
|
101
101
|
.ds-results__actions {
|
|
102
|
-
@apply flex flex-wrap gap-4 justify-start min-w-min mb-4;
|
|
102
|
+
@apply flex flex-wrap gap-4 justify-start min-w-min mb-2 md:mb-4;
|
|
103
103
|
}
|
|
104
104
|
.ds-link-filters {
|
|
105
105
|
@apply block md:hidden;
|
|
@@ -100,11 +100,12 @@
|
|
|
100
100
|
@apply print:hidden;
|
|
101
101
|
}
|
|
102
102
|
.ds-link {
|
|
103
|
-
--link-color: var(--color-footer);
|
|
103
|
+
--link-color: var(--color-footer-link);
|
|
104
|
+
--link-color-hover: var(--color-footer-link-hover);
|
|
104
105
|
@apply print:text-base-content;
|
|
105
106
|
}
|
|
106
107
|
.ds-body {
|
|
107
|
-
--body-color: var(--color-footer);
|
|
108
|
+
--body-color: var(--color-footer-text);
|
|
108
109
|
@apply print:text-base-content;
|
|
109
110
|
}
|
|
110
111
|
}
|
package/src/components/form.css
CHANGED
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
.ds-textarea {
|
|
80
|
+
@apply min-h-12;
|
|
80
81
|
border-radius: var(--textarea-border-radius);
|
|
81
82
|
}
|
|
82
83
|
.ds-input,
|
|
@@ -113,6 +114,9 @@
|
|
|
113
114
|
.ds-uploaded-file {
|
|
114
115
|
@apply flex flex-wrap gap-x-4 mb-0;
|
|
115
116
|
}
|
|
117
|
+
.ds-uploaded-file-border {
|
|
118
|
+
@apply p-4 border border-base-300;
|
|
119
|
+
}
|
|
116
120
|
.ds-date-input {
|
|
117
121
|
@apply flex flex-wrap gap-y-2;
|
|
118
122
|
&.ds-date-input--dense,
|
|
@@ -219,12 +223,12 @@
|
|
|
219
223
|
&.ds-grid {
|
|
220
224
|
@apply grid gap-4;
|
|
221
225
|
.ds-fieldset {
|
|
222
|
-
@apply grid gap-4;
|
|
223
|
-
:not(.ds-field) {
|
|
226
|
+
@apply grid gap-4 grid-cols-12;
|
|
227
|
+
:not(.ds-field, .ds-grid-item) {
|
|
224
228
|
@apply col-span-12;
|
|
225
229
|
}
|
|
226
230
|
}
|
|
227
|
-
:not(.ds-field) {
|
|
231
|
+
:not(.ds-field, .ds-grid-item) {
|
|
228
232
|
@apply col-span-12;
|
|
229
233
|
}
|
|
230
234
|
}
|
|
@@ -245,7 +249,7 @@
|
|
|
245
249
|
}
|
|
246
250
|
.ds-uploaded-file {
|
|
247
251
|
.ds-link {
|
|
248
|
-
@apply h-fit
|
|
252
|
+
@apply h-fit;
|
|
249
253
|
}
|
|
250
254
|
}
|
|
251
255
|
.ds-dashed--border {
|
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
+
> .ds-body {
|
|
69
|
+
@apply print:text-base-content;
|
|
70
|
+
color: var(--color-header-text);
|
|
71
|
+
}
|
|
68
72
|
}
|
|
69
73
|
.ds-dropdown {
|
|
70
74
|
@apply print:hidden;
|
|
@@ -84,7 +88,7 @@
|
|
|
84
88
|
}
|
|
85
89
|
}
|
|
86
90
|
.ds-svg-icon {
|
|
87
|
-
fill: var(--color-
|
|
91
|
+
fill: var(--color-header-text);
|
|
88
92
|
}
|
|
89
93
|
}
|
|
90
94
|
.ds-phase-banner__message {
|
package/src/components/misc.css
CHANGED
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
&.ds-notification-banner--error
|
|
27
|
+
&.ds-notification-banner--error,
|
|
28
|
+
&.ds-notification-banner--error-group {
|
|
28
29
|
@apply util-notification-banner--error;
|
|
29
30
|
.ds-notification-banner__link {
|
|
30
31
|
&:link:not(:focus) {
|
|
@@ -32,6 +33,23 @@
|
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
}
|
|
36
|
+
&.ds-notification-banner--error-group {
|
|
37
|
+
@apply border-0 border-l-5;
|
|
38
|
+
.ds-notification-error-group-banner__content {
|
|
39
|
+
@apply flex gap-3 w-full p-3 md:p-4 bg-base-200 print:bg-white;
|
|
40
|
+
.ds-notification-banner__icon--error-group {
|
|
41
|
+
@apply text-base-content-invert font-bold bg-error text-3xl leading-10 text-center
|
|
42
|
+
rounded-3xl md:min-h-10 min-w-10 h-fit
|
|
43
|
+
print:bg-white print:border-2 print:border-base-content print:text-base-content;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
.ds-notification-banner__text-error-group {
|
|
47
|
+
@apply mt-1;
|
|
48
|
+
.ds-list {
|
|
49
|
+
@apply mb-2;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
35
53
|
}
|
|
36
54
|
.ds-notification-banner__header {
|
|
37
55
|
@apply text-white p-0 m-0 text-base md:text-lg
|