@digigov/css 2.0.0-13876dba → 2.0.0-16da9467
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 +26 -5
- 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/card.common.css +1 -1
- package/src/components/code.css +5 -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 +4 -4
- package/src/components/form.css +2 -1
- package/src/components/misc.css +1 -1
- package/src/components/panel.common.css +1 -1
- package/src/components/phase-banner.common.css +1 -1
- package/src/components/stack.css +2 -2
- package/src/components/stepnav.css +2 -2
- package/src/components/summary-list.common.css +1 -1
- package/src/components/table.css +37 -17
- package/src/components/tabs.css +1 -0
- package/src/components/task-list.css +12 -7
- package/src/components/timeline.css +8 -7
- package/src/components/typography.common.css +1 -1
- package/src/components/typography.css +11 -0
- package/src/components/warning-text.common.css +1 -1
- package/src/components/warning-text.css +1 -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-16da9467",
|
|
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-16da9467",
|
|
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-16da9467",
|
|
52
|
+
"@digigov/cli-build-tailwind": "2.0.0-16da9467",
|
|
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-16da9467",
|
|
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-16da9467",
|
|
61
61
|
"@fontsource/roboto": "4.4.0",
|
|
62
62
|
"cssnano": "4.1.10",
|
|
63
63
|
"publint": "0.1.8",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@import './accordion.common.css';
|
|
2
2
|
|
|
3
3
|
.ds-accordion {
|
|
4
|
+
@apply mb-4 md:mb-8;
|
|
4
5
|
&.ds-accordion--no-border {
|
|
5
6
|
.ds-accordion__section {
|
|
6
7
|
@apply border-0 !important;
|
|
@@ -35,7 +36,12 @@
|
|
|
35
36
|
}
|
|
36
37
|
.ds-accordion__section-button {
|
|
37
38
|
&::after {
|
|
38
|
-
@apply right-0;
|
|
39
|
+
@apply right-0 !important;
|
|
40
|
+
}
|
|
41
|
+
&.ds-accordion__section-button--arrows {
|
|
42
|
+
&::after {
|
|
43
|
+
@apply right-1 !important;
|
|
44
|
+
}
|
|
39
45
|
}
|
|
40
46
|
}
|
|
41
47
|
}
|
|
@@ -72,9 +78,11 @@
|
|
|
72
78
|
.ds-accordion__section-button {
|
|
73
79
|
@apply underline bg-focus;
|
|
74
80
|
text-decoration-thickness: 2px;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
81
|
+
&:not(.ds-accordion__section-button--arrows) {
|
|
82
|
+
&::after {
|
|
83
|
+
@apply underline bg-focus;
|
|
84
|
+
text-decoration-thickness: 2px;
|
|
85
|
+
}
|
|
78
86
|
}
|
|
79
87
|
}
|
|
80
88
|
}
|
|
@@ -95,12 +103,19 @@
|
|
|
95
103
|
}
|
|
96
104
|
}
|
|
97
105
|
.ds-accordion__section-button {
|
|
98
|
-
@apply util-accordion__section-button util-accordion__section-button-text focus:underline;
|
|
106
|
+
@apply util-accordion__section-button util-accordion__section-button-text focus:underline transition ease-in-out;
|
|
99
107
|
&::after {
|
|
100
108
|
@apply util-accordion__section-button-icon float-right -right-8;
|
|
101
109
|
content: '+';
|
|
102
110
|
line-height: 2rem;
|
|
103
111
|
}
|
|
112
|
+
&.ds-accordion__section-button--arrows {
|
|
113
|
+
&::after {
|
|
114
|
+
@apply h-3 w-3 rotate-45 border-b-3 border-r-3 border-base-content top-1.5 -right-7 bg-transparent !important;
|
|
115
|
+
transition: all 0.3s ease;
|
|
116
|
+
content: '';
|
|
117
|
+
}
|
|
118
|
+
}
|
|
104
119
|
}
|
|
105
120
|
.ds-accordion__section[open] {
|
|
106
121
|
.ds-accordion__section-content {
|
|
@@ -110,6 +125,12 @@
|
|
|
110
125
|
&::after {
|
|
111
126
|
content: '\2013';
|
|
112
127
|
}
|
|
128
|
+
&.ds-accordion__section-button--arrows {
|
|
129
|
+
&::after {
|
|
130
|
+
@apply -rotate-[135deg] top-2.5 !important;
|
|
131
|
+
content: '';
|
|
132
|
+
}
|
|
133
|
+
}
|
|
113
134
|
}
|
|
114
135
|
}
|
|
115
136
|
.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/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,
|
|
@@ -43,6 +42,7 @@
|
|
|
43
42
|
/* prettylights-syntax-keyword */
|
|
44
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__,
|
|
@@ -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,
|
|
@@ -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);
|
|
@@ -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;
|
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,
|
|
@@ -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 {
|
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 {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.ds-step-nav {
|
|
2
|
-
@apply mb-
|
|
2
|
+
@apply mb-4 md:mb-8;
|
|
3
3
|
&.ds-step-nav--dense,
|
|
4
4
|
.ds-dense & {
|
|
5
5
|
@apply mb-4 md:mb-8;
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
-0.1em 0 0 var(--color-white);
|
|
152
152
|
}
|
|
153
153
|
.ds-nav-step__accordion__content {
|
|
154
|
-
@apply md:pt-2 mb-
|
|
154
|
+
@apply md:pt-2 mb-4 md:mb-8 pt-1 mx-0;
|
|
155
155
|
> *:last-child {
|
|
156
156
|
@apply mb-0;
|
|
157
157
|
}
|
package/src/components/table.css
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
.ds-table__caption {
|
|
2
|
-
@apply table-caption text-left font-bold;
|
|
2
|
+
@apply table-caption text-left font-bold mx-0 antialiased;
|
|
3
3
|
&.ds-table__caption--sm {
|
|
4
|
-
@apply
|
|
4
|
+
@apply text-lg md:text-xl mb-3 md:mb-5;
|
|
5
5
|
}
|
|
6
6
|
&.ds-table__caption--md {
|
|
7
|
-
@apply
|
|
7
|
+
@apply text-xl md:text-2xl mb-6 md:mb-8;
|
|
8
8
|
}
|
|
9
9
|
&.ds-table__caption--lg {
|
|
10
|
-
@apply md:text-4xl
|
|
10
|
+
@apply text-2xl md:text-4xl mb-8 md:mb-10;
|
|
11
11
|
}
|
|
12
12
|
&.ds-table__caption--xl {
|
|
13
|
-
@apply md:text-5xl md:leading-tight
|
|
13
|
+
@apply text-3xl md:text-5xl md:leading-tight leading-tight mb-8 md:mb-10 max-w-2xl;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
.ds-table-container {
|
|
17
|
-
@apply w-full overflow-x-auto
|
|
17
|
+
@apply w-full overflow-x-auto mb-4 md:mb-8;
|
|
18
18
|
&.ds-table-container--border {
|
|
19
19
|
@apply border border-base-300 p-2;
|
|
20
20
|
}
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
.ds-table {
|
|
26
|
-
@apply w-full border-collapse table
|
|
27
|
-
|
|
26
|
+
@apply w-full border-collapse table
|
|
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,12 @@
|
|
|
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
84
|
@apply border-b-2 border-b-base-content;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
|
|
87
|
+
.ds-table__header--numeric,
|
|
88
88
|
.ds-table__cell--numeric {
|
|
89
89
|
@apply text-left;
|
|
90
90
|
}
|
|
@@ -101,7 +101,6 @@
|
|
|
101
101
|
@apply block font-semibold mb-2;
|
|
102
102
|
content: attr(data-label);
|
|
103
103
|
}
|
|
104
|
-
|
|
105
104
|
}
|
|
106
105
|
&.ds-table--stacked-sm {
|
|
107
106
|
@media (min-width: 640px) {
|
|
@@ -110,7 +109,7 @@
|
|
|
110
109
|
}
|
|
111
110
|
}
|
|
112
111
|
.ds-table__header,
|
|
113
|
-
.ds-table__cell {
|
|
112
|
+
.ds-table__cell.ds-table__cell--border {
|
|
114
113
|
&:last-child {
|
|
115
114
|
@apply xsOnly:border-b-2 xsOnly:border-b-base-content;
|
|
116
115
|
}
|
|
@@ -140,7 +139,7 @@
|
|
|
140
139
|
}
|
|
141
140
|
}
|
|
142
141
|
.ds-table__header,
|
|
143
|
-
.ds-table__cell {
|
|
142
|
+
.ds-table__cell.ds-table__cell--border {
|
|
144
143
|
&:last-child {
|
|
145
144
|
@apply xsOnly:border-b-2 smOnly:border-b-2
|
|
146
145
|
xsOnly:border-b-base-content smOnly:border-b-base-content;
|
|
@@ -164,6 +163,16 @@
|
|
|
164
163
|
content: attr(data-label);
|
|
165
164
|
}
|
|
166
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
|
+
}
|
|
167
176
|
.ds-table__cell {
|
|
168
177
|
.ds-body:last-child {
|
|
169
178
|
@apply mb-0;
|
|
@@ -187,7 +196,7 @@
|
|
|
187
196
|
@apply border-r border-solid border-base-300 px-4 !important;
|
|
188
197
|
}
|
|
189
198
|
}
|
|
190
|
-
.ds-table__cell {
|
|
199
|
+
.ds-table__cell.ds-table__cell--border {
|
|
191
200
|
@apply border-r-0 !important;
|
|
192
201
|
&:last-child {
|
|
193
202
|
@apply border-r border-solid border-base-300 px-4 !important;
|
|
@@ -225,13 +234,24 @@
|
|
|
225
234
|
}
|
|
226
235
|
}
|
|
227
236
|
}
|
|
228
|
-
.ds-table__header
|
|
229
|
-
.ds-table__cell {
|
|
237
|
+
.ds-table__header {
|
|
230
238
|
@apply pr-5 py-2.5 pl-0 border-b border-solid border-base-300 text-left align-middle;
|
|
231
239
|
&:last-child {
|
|
232
240
|
@apply pr-0;
|
|
233
241
|
}
|
|
234
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
|
+
}
|
|
235
255
|
.ds-table__header--numeric,
|
|
236
256
|
.ds-table__cell--numeric {
|
|
237
257
|
@apply text-right;
|
package/src/components/tabs.css
CHANGED
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
.ds-task-list {
|
|
2
|
-
@apply mb-4 pl-6 pb-2;
|
|
2
|
+
@apply mb-4 md:mb-8 pl-6 pb-2;
|
|
3
|
+
&.ds-task-list--dense,
|
|
4
|
+
.ds-dense & {
|
|
5
|
+
.ds-task-list__item {
|
|
6
|
+
@apply mb-3 md:mb-6;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
3
9
|
}
|
|
4
10
|
.ds-task-list__item {
|
|
5
|
-
@apply mb-
|
|
11
|
+
@apply mb-10 md:mb-12;
|
|
6
12
|
}
|
|
7
13
|
.ds-task-list__heading {
|
|
8
|
-
@apply md:text-3xl
|
|
14
|
+
@apply text-2xl md:text-3xl font-bold mx-0 mb-3 md:mb-6;
|
|
9
15
|
&.ds-task-list__heading--md {
|
|
10
|
-
@apply md:text-2xl
|
|
16
|
+
@apply text-xl md:text-2xl mb-2 md:mb-4;
|
|
11
17
|
}
|
|
12
18
|
&.ds-task-list__heading--sm {
|
|
13
|
-
@apply md:text-lg
|
|
19
|
+
@apply text-base md:text-lg mb-1 md:mb-3;
|
|
14
20
|
}
|
|
15
21
|
}
|
|
16
22
|
.ds-task-list__content {
|
|
17
|
-
@apply mb-4;
|
|
23
|
+
@apply mb-2 md:mb-4;
|
|
18
24
|
}
|
|
19
25
|
.ds-task-list__content__tag {
|
|
20
26
|
@apply px-2 py-1 mr-2 inline-block font-sans text-sm uppercase tracking-widest print:border-2 print:bg-white print:mr-4;
|
|
@@ -33,7 +39,6 @@
|
|
|
33
39
|
|
|
34
40
|
.ds-task-list--dense {
|
|
35
41
|
.ds-task-list__item {
|
|
36
|
-
@apply mb-4 md:mb-6;
|
|
37
42
|
.ds-summary-list {
|
|
38
43
|
@apply mb-4 md:mb-6;
|
|
39
44
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.ds-timeline {
|
|
2
|
-
@apply mb-4 pl-6 pb-2 border-l-4 border-secondary;
|
|
2
|
+
@apply mb-4 md:mb-8 pl-6 pb-2 border-l-4 border-secondary;
|
|
3
3
|
&.ds-timeline--dense,
|
|
4
4
|
.ds-dense & {
|
|
5
5
|
@apply pb-0 border-l-3;
|
|
6
6
|
.ds-timeline__item {
|
|
7
|
-
@apply mb-
|
|
7
|
+
@apply mb-3 md:mb-6;
|
|
8
8
|
}
|
|
9
9
|
.ds-timeline__heading {
|
|
10
10
|
@apply mb-2;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
@apply mb-10 md:mb-12;
|
|
21
21
|
}
|
|
22
22
|
.ds-timeline__heading {
|
|
23
|
-
@apply md:text-3xl
|
|
23
|
+
@apply text-2xl md:text-3xl font-bold mx-0 mb-3 md:mb-6 relative;
|
|
24
24
|
&::before {
|
|
25
25
|
@apply block absolute top-4 -left-6 w-4
|
|
26
26
|
border-b-4 border-secondary;
|
|
@@ -28,22 +28,22 @@
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
.ds-timeline__heading-md {
|
|
31
|
-
@apply md:text-2xl
|
|
31
|
+
@apply text-xl md:text-2xl mb-2 md:mb-4;
|
|
32
32
|
&::before {
|
|
33
33
|
@apply top-3 w-3;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
.ds-timeline__heading-sm {
|
|
37
|
-
@apply md:text-lg
|
|
37
|
+
@apply text-base md:text-lg mb-1 md:mb-3;
|
|
38
38
|
&::before {
|
|
39
39
|
@apply top-2.5 w-3;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
.ds-timeline__content {
|
|
43
|
-
@apply mb-4;
|
|
43
|
+
@apply mb-2 md:mb-4;
|
|
44
44
|
}
|
|
45
45
|
.ds-timeline__actions {
|
|
46
|
-
@apply flex flex-wrap items-center gap-4 mb-
|
|
46
|
+
@apply flex flex-wrap items-center gap-4 mb-0;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/* overrides */
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
.ds-timeline__actions {
|
|
57
|
+
.ds-btn-group,
|
|
57
58
|
.ds-btn,
|
|
58
59
|
.ds-link {
|
|
59
60
|
@apply mb-0;
|
|
@@ -179,8 +179,19 @@
|
|
|
179
179
|
&.ds-link--no-underline {
|
|
180
180
|
@apply no-underline hover:underline;
|
|
181
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
|
+
}
|
|
182
189
|
&.ds-link-warning {
|
|
190
|
+
@apply focus:text-link-active;
|
|
183
191
|
color: var(--color-error-text);
|
|
192
|
+
&:hover {
|
|
193
|
+
color: var(--color-error-hover);
|
|
194
|
+
}
|
|
184
195
|
}
|
|
185
196
|
.ds-heading-xl &,
|
|
186
197
|
.ds-heading-lg &,
|