@digigov/css 2.0.0-061795a7 → 2.0.0-0b806366
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.css +30 -6
- package/src/components/autocomplete.css +5 -1
- package/src/components/card.css +1 -1
- package/src/components/code.css +4 -4
- package/src/components/details.css +4 -0
- package/src/components/filter.css +8 -8
- package/src/components/footer.css +3 -2
- package/src/components/form.css +3 -2
- package/src/components/header.css +5 -1
- package/src/components/misc.css +1 -1
- package/src/components/stack.css +2 -2
- package/src/components/summary-list.common.css +9 -0
- package/src/components/summary-list.css +16 -4
- package/src/components/table.css +50 -11
- package/src/components/tabs.css +7 -5
- package/src/components/typography.css +11 -15
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-0b806366",
|
|
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-0b806366",
|
|
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-0b806366",
|
|
52
|
+
"@digigov/cli-build-tailwind": "2.0.0-0b806366",
|
|
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-0b806366",
|
|
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-0b806366",
|
|
61
61
|
"@fontsource/roboto": "4.4.0",
|
|
62
62
|
"cssnano": "4.1.10",
|
|
63
63
|
"publint": "0.1.8",
|
|
@@ -28,7 +28,11 @@
|
|
|
28
28
|
&.ds-accordion--secondary {
|
|
29
29
|
.ds-accordion__section {
|
|
30
30
|
.ds-accordion__section-summary {
|
|
31
|
-
|
|
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
|
+
}
|
|
32
36
|
}
|
|
33
37
|
.ds-accordion__section-content {
|
|
34
38
|
@apply px-4;
|
|
@@ -36,7 +40,12 @@
|
|
|
36
40
|
}
|
|
37
41
|
.ds-accordion__section-button {
|
|
38
42
|
&::after {
|
|
39
|
-
@apply right-0;
|
|
43
|
+
@apply right-0 !important;
|
|
44
|
+
}
|
|
45
|
+
&.ds-accordion__section-button--arrows {
|
|
46
|
+
&::after {
|
|
47
|
+
@apply right-1 !important;
|
|
48
|
+
}
|
|
40
49
|
}
|
|
41
50
|
}
|
|
42
51
|
}
|
|
@@ -73,9 +82,11 @@
|
|
|
73
82
|
.ds-accordion__section-button {
|
|
74
83
|
@apply underline bg-focus;
|
|
75
84
|
text-decoration-thickness: 2px;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
85
|
+
&:not(.ds-accordion__section-button--arrows) {
|
|
86
|
+
&::after {
|
|
87
|
+
@apply underline bg-focus;
|
|
88
|
+
text-decoration-thickness: 2px;
|
|
89
|
+
}
|
|
79
90
|
}
|
|
80
91
|
}
|
|
81
92
|
}
|
|
@@ -96,12 +107,19 @@
|
|
|
96
107
|
}
|
|
97
108
|
}
|
|
98
109
|
.ds-accordion__section-button {
|
|
99
|
-
@apply util-accordion__section-button util-accordion__section-button-text focus:underline;
|
|
110
|
+
@apply util-accordion__section-button util-accordion__section-button-text focus:underline transition ease-in-out;
|
|
100
111
|
&::after {
|
|
101
112
|
@apply util-accordion__section-button-icon float-right -right-8;
|
|
102
113
|
content: '+';
|
|
103
114
|
line-height: 2rem;
|
|
104
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
|
+
}
|
|
122
|
+
}
|
|
105
123
|
}
|
|
106
124
|
.ds-accordion__section[open] {
|
|
107
125
|
.ds-accordion__section-content {
|
|
@@ -111,6 +129,12 @@
|
|
|
111
129
|
&::after {
|
|
112
130
|
content: '\2013';
|
|
113
131
|
}
|
|
132
|
+
&.ds-accordion__section-button--arrows {
|
|
133
|
+
&::after {
|
|
134
|
+
@apply -rotate-[135deg] top-2.5 !important;
|
|
135
|
+
content: '';
|
|
136
|
+
}
|
|
137
|
+
}
|
|
114
138
|
}
|
|
115
139
|
}
|
|
116
140
|
.ds-accordion__section-content {
|
|
@@ -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;
|
package/src/components/card.css
CHANGED
package/src/components/code.css
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
.ds-code--type,
|
|
41
41
|
.ds-code--variable.language_ {
|
|
42
42
|
/* prettylights-syntax-keyword */
|
|
43
|
-
color: var(--color-red-300);
|
|
43
|
+
color: var(--color-red-300) !important;
|
|
44
44
|
}
|
|
45
45
|
/* stylelint-disable-next-line digigov/enforce-class-selector-namespace */
|
|
46
46
|
.ds-code--title,
|
|
@@ -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 */
|
|
@@ -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
|
}
|
|
@@ -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,
|
|
@@ -173,7 +174,7 @@
|
|
|
173
174
|
|
|
174
175
|
/* error handling */
|
|
175
176
|
.ds-error-message {
|
|
176
|
-
@apply md:text-lg text-base block mb-4
|
|
177
|
+
@apply md:text-lg text-base block mb-4 text-error-text font-semibold;
|
|
177
178
|
}
|
|
178
179
|
/* stylelint-disable-next-line digigov/nest-related-rules */
|
|
179
180
|
.ds-input--error {
|
|
@@ -248,7 +249,7 @@
|
|
|
248
249
|
}
|
|
249
250
|
.ds-uploaded-file {
|
|
250
251
|
.ds-link {
|
|
251
|
-
@apply h-fit
|
|
252
|
+
@apply h-fit;
|
|
252
253
|
}
|
|
253
254
|
}
|
|
254
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
package/src/components/stack.css
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
&.ds-stack--row {
|
|
6
6
|
@apply util-stack--row;
|
|
7
7
|
}
|
|
8
|
-
&.ds-stack--reverse
|
|
8
|
+
&.ds-stack--row-reverse {
|
|
9
9
|
@apply util-stack--reverse-row;
|
|
10
10
|
}
|
|
11
|
-
&.ds-stack--
|
|
11
|
+
&.ds-stack--column-reverse {
|
|
12
12
|
@apply util-stack--col-reverse;
|
|
13
13
|
}
|
|
14
14
|
&.ds-stack--nowrap {
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
.util-summary-list {
|
|
6
6
|
@apply m-0 mb-4 sm:mb-8 w-full sm:w-full;
|
|
7
7
|
}
|
|
8
|
+
.util-summary-list--error {
|
|
9
|
+
@apply border-l-5 border-error-text pl-4;
|
|
10
|
+
}
|
|
8
11
|
.util-summary-list-text {
|
|
9
12
|
font-size: var(--summary-list-font-size);
|
|
10
13
|
}
|
|
@@ -17,12 +20,18 @@
|
|
|
17
20
|
.util-summary-list__key {
|
|
18
21
|
@apply mb-1 sm:w-3/12;
|
|
19
22
|
}
|
|
23
|
+
.util-summary-list__key--error-text {
|
|
24
|
+
@apply text-error-text font-semibold;
|
|
25
|
+
}
|
|
20
26
|
.util-summary-list__key-text {
|
|
21
27
|
@apply font-bold;
|
|
22
28
|
}
|
|
23
29
|
.util-summary-list__value {
|
|
24
30
|
@apply sm:flex-1;
|
|
25
31
|
}
|
|
32
|
+
.util-summary-list__value--error-text {
|
|
33
|
+
@apply text-error-text;
|
|
34
|
+
}
|
|
26
35
|
.util-summary-list__actions {
|
|
27
36
|
@apply sm:w-3/12 sm:pr-0 sm:text-right;
|
|
28
37
|
}
|
|
@@ -4,13 +4,16 @@
|
|
|
4
4
|
.ds-summary-list {
|
|
5
5
|
@apply util-summary-list sm:table sm:table-fixed util-summary-list-text;
|
|
6
6
|
&.ds-summary-list--no-border {
|
|
7
|
-
> .ds-summary-list__row
|
|
8
|
-
@apply border-
|
|
7
|
+
> .ds-summary-list__row {
|
|
8
|
+
@apply border-0 pb-0;
|
|
9
|
+
&:last-child {
|
|
10
|
+
@apply mb-0;
|
|
11
|
+
}
|
|
9
12
|
}
|
|
10
13
|
.ds-summary-list__key,
|
|
11
14
|
.ds-summary-list__value,
|
|
12
15
|
.ds-summary-list__actions {
|
|
13
|
-
@apply
|
|
16
|
+
@apply border-0 pb-0 sm:pb-2;
|
|
14
17
|
}
|
|
15
18
|
}
|
|
16
19
|
&.ds-summary-list--no-last-border {
|
|
@@ -23,6 +26,9 @@
|
|
|
23
26
|
}
|
|
24
27
|
}
|
|
25
28
|
}
|
|
29
|
+
&.ds-summary-list--error {
|
|
30
|
+
@apply util-summary-list--error;
|
|
31
|
+
}
|
|
26
32
|
}
|
|
27
33
|
|
|
28
34
|
.ds-summary-list__row {
|
|
@@ -31,7 +37,7 @@
|
|
|
31
37
|
.ds-summary-list__key,
|
|
32
38
|
.ds-summary-list__value,
|
|
33
39
|
.ds-summary-list__actions {
|
|
34
|
-
@apply
|
|
40
|
+
@apply border-0 pb-0 sm:pb-2;
|
|
35
41
|
}
|
|
36
42
|
}
|
|
37
43
|
}
|
|
@@ -100,6 +106,9 @@
|
|
|
100
106
|
&.ds-summary-list__key--lg-9 {
|
|
101
107
|
@apply util-summary-list__key--lg-9;
|
|
102
108
|
}
|
|
109
|
+
&.ds-summary-list__key--error {
|
|
110
|
+
@apply util-summary-list__key--error-text;
|
|
111
|
+
}
|
|
103
112
|
}
|
|
104
113
|
@media print {
|
|
105
114
|
.ds-summary-list__key {
|
|
@@ -108,6 +117,9 @@
|
|
|
108
117
|
}
|
|
109
118
|
.ds-summary-list__value {
|
|
110
119
|
@apply util-summary-list__value;
|
|
120
|
+
&.ds-summary-list__value--error {
|
|
121
|
+
@apply util-summary-list__value--error-text;
|
|
122
|
+
}
|
|
111
123
|
}
|
|
112
124
|
.ds-summary-list__actions {
|
|
113
125
|
@apply util-summary-list__actions;
|
package/src/components/table.css
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
mb-4 md:mb-8 text-base-content md:text-lg text-base font-normal antialiased;
|
|
28
28
|
border-spacing: 0;
|
|
29
29
|
&.ds-table--vertical-lines {
|
|
30
|
-
.ds-table__cell,
|
|
30
|
+
.ds-table__cell.ds-table__cell--border,
|
|
31
31
|
.ds-table__header {
|
|
32
32
|
@apply border-l border-r border-solid border-base-300 px-4;
|
|
33
33
|
}
|
|
@@ -79,12 +79,15 @@
|
|
|
79
79
|
}
|
|
80
80
|
&.ds-table--stacked-always {
|
|
81
81
|
.ds-table__header,
|
|
82
|
-
.ds-table__cell {
|
|
82
|
+
.ds-table__cell.ds-table__cell--border {
|
|
83
83
|
&:last-child {
|
|
84
|
-
@apply border-b-2;
|
|
85
|
-
border-bottom-color: rgb(var(--color-base-content-rgb));
|
|
84
|
+
@apply border-b-2 border-b-base-content;
|
|
86
85
|
}
|
|
87
86
|
}
|
|
87
|
+
.ds-table__header--numeric,
|
|
88
|
+
.ds-table__cell--numeric {
|
|
89
|
+
@apply text-left;
|
|
90
|
+
}
|
|
88
91
|
.ds-table__head {
|
|
89
92
|
.ds-table__header {
|
|
90
93
|
@apply hidden;
|
|
@@ -106,11 +109,15 @@
|
|
|
106
109
|
}
|
|
107
110
|
}
|
|
108
111
|
.ds-table__header,
|
|
109
|
-
.ds-table__cell {
|
|
112
|
+
.ds-table__cell.ds-table__cell--border {
|
|
110
113
|
&:last-child {
|
|
111
|
-
@apply border-b-2
|
|
114
|
+
@apply xsOnly:border-b-2 xsOnly:border-b-base-content;
|
|
112
115
|
}
|
|
113
116
|
}
|
|
117
|
+
.ds-table__header--numeric,
|
|
118
|
+
.ds-table__cell--numeric {
|
|
119
|
+
@apply xsOnly:text-left;
|
|
120
|
+
}
|
|
114
121
|
.ds-table__head {
|
|
115
122
|
.ds-table__header {
|
|
116
123
|
@apply hidden sm:table-cell;
|
|
@@ -132,11 +139,16 @@
|
|
|
132
139
|
}
|
|
133
140
|
}
|
|
134
141
|
.ds-table__header,
|
|
135
|
-
.ds-table__cell {
|
|
142
|
+
.ds-table__cell.ds-table__cell--border {
|
|
136
143
|
&:last-child {
|
|
137
|
-
@apply border-b-2
|
|
144
|
+
@apply xsOnly:border-b-2 smOnly:border-b-2
|
|
145
|
+
xsOnly:border-b-base-content smOnly:border-b-base-content;
|
|
138
146
|
}
|
|
139
147
|
}
|
|
148
|
+
.ds-table__header--numeric,
|
|
149
|
+
.ds-table__cell--numeric {
|
|
150
|
+
@apply smOnly:text-left mdOnly:text-left;
|
|
151
|
+
}
|
|
140
152
|
.ds-table__head {
|
|
141
153
|
.ds-table__header {
|
|
142
154
|
@apply hidden md:table-cell;
|
|
@@ -151,6 +163,16 @@
|
|
|
151
163
|
content: attr(data-label);
|
|
152
164
|
}
|
|
153
165
|
}
|
|
166
|
+
&.ds-table--align-top {
|
|
167
|
+
.ds-table__cell {
|
|
168
|
+
@apply align-top;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
&.ds-table--align-bottom {
|
|
172
|
+
.ds-table__cell {
|
|
173
|
+
@apply align-bottom;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
154
176
|
.ds-table__cell {
|
|
155
177
|
.ds-body:last-child {
|
|
156
178
|
@apply mb-0;
|
|
@@ -174,7 +196,7 @@
|
|
|
174
196
|
@apply border-r border-solid border-base-300 px-4 !important;
|
|
175
197
|
}
|
|
176
198
|
}
|
|
177
|
-
.ds-table__cell {
|
|
199
|
+
.ds-table__cell.ds-table__cell--border {
|
|
178
200
|
@apply border-r-0 !important;
|
|
179
201
|
&:last-child {
|
|
180
202
|
@apply border-r border-solid border-base-300 px-4 !important;
|
|
@@ -212,13 +234,30 @@
|
|
|
212
234
|
}
|
|
213
235
|
}
|
|
214
236
|
}
|
|
215
|
-
.ds-table__header
|
|
216
|
-
.ds-table__cell {
|
|
237
|
+
.ds-table__header {
|
|
217
238
|
@apply pr-5 py-2.5 pl-0 border-b border-solid border-base-300 text-left align-middle;
|
|
218
239
|
&:last-child {
|
|
219
240
|
@apply pr-0;
|
|
220
241
|
}
|
|
221
242
|
}
|
|
243
|
+
.ds-table__cell {
|
|
244
|
+
@apply pr-5 py-2.5 pl-0 text-left align-middle;
|
|
245
|
+
&:last-child {
|
|
246
|
+
@apply pr-0;
|
|
247
|
+
}
|
|
248
|
+
&.ds-table__cell--border {
|
|
249
|
+
@apply border-b border-solid border-base-300;
|
|
250
|
+
}
|
|
251
|
+
&.ds-table__cell--break-all {
|
|
252
|
+
@apply break-all;
|
|
253
|
+
}
|
|
254
|
+
&.ds-table__cell--warning {
|
|
255
|
+
@apply border-l-4 border-l-warning pl-2;
|
|
256
|
+
}
|
|
257
|
+
&.ds-table__cell--error {
|
|
258
|
+
@apply border-l-5 border-l-error pl-2;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
222
261
|
.ds-table__header--numeric,
|
|
223
262
|
.ds-table__cell--numeric {
|
|
224
263
|
@apply text-right;
|
package/src/components/tabs.css
CHANGED
|
@@ -32,20 +32,22 @@
|
|
|
32
32
|
@apply relative px-4 py-1 md:py-2 m-0 shadow-none cursor-pointer text-link
|
|
33
33
|
md:float-left md:border md:border-base-300 md:bg-base-300 md:rounded-t-sm md:mr-2 md:text-base-content
|
|
34
34
|
print:hidden;
|
|
35
|
+
transition: 0.2s ease-in-out padding-right, padding-left;
|
|
35
36
|
word-break: break-word;
|
|
36
37
|
&.ds-tabs__list-item-selected {
|
|
37
|
-
@apply no-underline md:border-base-400 md:border bg-base-100 md:border-b-0 md:px-5 md:
|
|
38
|
-
|
|
38
|
+
@apply no-underline md:border-base-400 md:border bg-base-100 md:border-b-0 md:px-5 md:pt-3 md:pb-5 md:-mt-1 md:mb-[-1px];
|
|
39
|
+
transition: 0.2s ease-in-out padding-right, padding-left;
|
|
39
40
|
&:hover {
|
|
40
41
|
text-decoration-thickness: 2px;
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
.ds-tabs__tab {
|
|
45
|
-
@apply
|
|
46
|
+
@apply no-underline hover:underline;
|
|
47
|
+
font-size: var(--tabs__tab-font-size);
|
|
48
|
+
line-height: var(--tabs__tab-line-height);
|
|
46
49
|
&::before {
|
|
47
|
-
@apply absolute top-0 left-0 text-base-content;
|
|
48
|
-
@apply md:content-[''] !important;
|
|
50
|
+
@apply absolute top-0 left-0 text-base-content md:!content-[''];
|
|
49
51
|
content: '_';
|
|
50
52
|
}
|
|
51
53
|
&:focus {
|
|
@@ -60,21 +60,6 @@
|
|
|
60
60
|
@apply opacity-70 text-white print:text-base-content;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.ds-code {
|
|
64
|
-
@apply text-sm sm:text-base bg-base-100;
|
|
65
|
-
&.ds-code--attr {
|
|
66
|
-
@apply text-info;
|
|
67
|
-
}
|
|
68
|
-
&.ds-code--string {
|
|
69
|
-
@apply text-success;
|
|
70
|
-
}
|
|
71
|
-
&.ds-code--keyword {
|
|
72
|
-
@apply text-warning;
|
|
73
|
-
}
|
|
74
|
-
&.ds-code--name {
|
|
75
|
-
@apply text-tertiary;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
63
|
.ds-\!-font-size-14 {
|
|
79
64
|
@apply text-xs md:text-sm !important;
|
|
80
65
|
}
|
|
@@ -194,8 +179,19 @@
|
|
|
194
179
|
&.ds-link--no-underline {
|
|
195
180
|
@apply no-underline hover:underline;
|
|
196
181
|
}
|
|
182
|
+
&.ds-link--disabled {
|
|
183
|
+
@apply cursor-not-allowed !important;
|
|
184
|
+
color: var(--color-base-content);
|
|
185
|
+
&:hover {
|
|
186
|
+
color: var(--color-base-content);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
197
189
|
&.ds-link-warning {
|
|
190
|
+
@apply focus:text-link-active;
|
|
198
191
|
color: var(--color-error-text);
|
|
192
|
+
&:hover {
|
|
193
|
+
color: var(--color-error-hover);
|
|
194
|
+
}
|
|
199
195
|
}
|
|
200
196
|
.ds-heading-xl &,
|
|
201
197
|
.ds-heading-lg &,
|