@digigov/css 2.0.0-18c66302 → 2.0.0-2271444d
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 +31 -6
- 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/card.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 +12 -12
- package/src/components/form.css +1 -1
- package/src/components/header.css +4 -0
- 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 +10 -1
- package/src/components/summary-list.css +9 -0
- package/src/components/table.css +43 -17
- 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 -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
|
@@ -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 &,
|