@digigov/css 2.0.0-cbc56209 → 2.0.0-d16ded05
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/base/index.css +1 -1
- package/dist/base.js +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +3 -3
- package/dist/utilities/index.css +1 -1
- package/dist/utilities.js +1 -1
- package/index.js +99 -69
- package/package.json +14 -14
- package/postcss.config.js +4 -3
- package/src/base/index.css +1 -0
- package/src/base/index.native.css +0 -0
- package/src/base/postcss.config.js +11 -10
- package/src/base/tailwind.config.js +4 -11
- package/src/components/accordion.common.css +29 -0
- package/src/components/accordion.css +43 -13
- package/src/components/accordion.native.css +27 -0
- package/src/components/admin-header.css +2 -19
- package/src/components/admin-layout.css +6 -15
- package/src/components/autocomplete.css +77 -29
- package/src/components/blockquote.common.css +14 -0
- package/src/components/blockquote.css +9 -0
- package/src/components/blockquote.native.css +14 -0
- package/src/components/breadcrumbs.css +9 -2
- package/src/components/button.common.css +62 -0
- package/src/components/button.css +23 -35
- package/src/components/button.native.css +55 -0
- package/src/components/card.common.css +33 -0
- package/src/components/card.css +20 -13
- package/src/components/card.native.css +29 -0
- package/src/components/checkboxes.common.css +16 -0
- package/src/components/checkboxes.css +6 -8
- package/src/components/checkboxes.native.css +27 -0
- package/src/components/chip.common.css +19 -0
- package/src/components/chip.css +5 -4
- package/src/components/chip.native.css +15 -0
- package/src/components/code.css +129 -0
- package/src/components/copy-to-clipboard.css +1 -1
- package/src/components/copy-to-clipboard.native.css +26 -0
- package/src/components/details.common.css +26 -0
- package/src/components/details.css +10 -9
- package/src/components/details.native.css +34 -0
- package/src/components/drawer.css +21 -4
- package/src/components/dropdown.common.css +23 -0
- package/src/components/dropdown.css +37 -28
- package/src/components/dropdown.native.css +27 -0
- package/src/components/fillable.css +1 -1
- package/src/components/filter.css +76 -30
- package/src/components/footer.css +16 -4
- package/src/components/form.common.css +81 -0
- package/src/components/form.css +71 -32
- package/src/components/form.native.css +182 -0
- package/src/components/header.common.css +35 -0
- package/src/components/header.css +44 -26
- package/src/components/header.native.css +29 -0
- package/src/components/hidden.css +11 -11
- package/src/components/index.css +34 -31
- package/src/components/kitchensink.css +2 -2
- package/src/components/layout.common.css +36 -0
- package/src/components/layout.css +12 -11
- package/src/components/layout.native.css +40 -0
- package/src/components/loader.common.css +7 -0
- package/src/components/loader.css +5 -3
- package/src/components/loader.native.css +5 -0
- package/src/components/masthead.css +1 -1
- package/src/components/misc.css +25 -1
- package/src/components/modal.common.css +16 -0
- package/src/components/modal.css +27 -14
- package/src/components/modal.native.css +18 -0
- package/src/components/nav.common.css +22 -0
- package/src/components/nav.css +8 -7
- package/src/components/nav.native.css +39 -0
- package/src/components/notification-banner.common.css +46 -0
- package/src/components/notification-banner.css +28 -7
- package/src/components/notification-banner.native.css +42 -0
- package/src/components/pagination.css +19 -3
- package/src/components/panel.common.css +30 -0
- package/src/components/panel.css +6 -14
- package/src/components/panel.native.css +26 -0
- package/src/components/phase-banner.common.css +23 -0
- package/src/components/phase-banner.css +7 -6
- package/src/components/phase-banner.native.css +30 -0
- package/src/components/postcss.config.js +7 -6
- package/src/components/radios.common.css +16 -0
- package/src/components/radios.css +5 -11
- package/src/components/radios.native.css +23 -0
- package/src/components/skeleton.common.css +20 -0
- package/src/components/skeleton.css +82 -0
- package/src/components/skeleton.native.css +53 -0
- package/src/components/stack.common.css +67 -0
- package/src/components/stack.css +25 -23
- package/src/components/stack.native.css +68 -0
- package/src/components/stepnav.css +2 -2
- package/src/components/summary-list.common.css +102 -0
- package/src/components/summary-list.css +102 -19
- package/src/components/summary-list.native.css +97 -0
- package/src/components/svg-icons.common.css +56 -0
- package/src/components/svg-icons.css +1 -1
- package/src/components/svg-icons.native.css +54 -0
- package/src/components/table.css +68 -27
- package/src/components/tabs.css +45 -61
- package/src/components/task-list.css +12 -7
- package/src/components/test.css +7 -0
- package/src/components/timeline.css +8 -7
- package/src/components/typography.common.css +135 -0
- package/src/components/typography.css +48 -108
- package/src/components/typography.native.css +128 -0
- package/src/components/warning-text.common.css +23 -0
- package/src/components/warning-text.css +10 -7
- package/src/components/warning-text.native.css +22 -0
- package/src/index.native.css +26 -0
- package/src/utilities/gap.css +141 -0
- package/src/utilities/index.css +6 -1655
- package/src/utilities/index.native.css +6 -0
- package/src/utilities/layout.css +231 -0
- package/src/utilities/layout.native.css +278 -0
- package/src/utilities/margin.css +4299 -0
- package/src/utilities/padding.css +4299 -0
- package/src/utilities/postcss.config.js +7 -6
- package/src/utilities/print.css +11 -0
- package/src/utilities/utilities.css +3 -1661
- package/tailwind.config.js +102 -104
- package/theming.js +121 -0
- package/defaultTheme/accordion.json +0 -8
- package/defaultTheme/back-to-top.json +0 -27
- package/defaultTheme/brandConfig.json +0 -135
- package/defaultTheme/breadcrumbs.json +0 -8
- package/defaultTheme/button.json +0 -81
- package/defaultTheme/card.json +0 -12
- package/defaultTheme/footer.json +0 -8
- package/defaultTheme/form.json +0 -15
- package/defaultTheme/globals.json +0 -71
- package/defaultTheme/index.js +0 -27
- package/defaultTheme/misc.json +0 -48
- package/defaultTheme/panel.json +0 -43
- package/defaultTheme/phase-banner.json +0 -8
- package/defaultTheme/radios.json +0 -8
- package/defaultTheme/summary-list.json +0 -8
- package/defaultTheme/typography.json +0 -295
- package/src/pages/admin-filtering-data.js +0 -160
- package/src/pages/admin.js +0 -61
- package/src/pages/dropdown.js +0 -249
- package/src/pages/form.js +0 -400
- package/src/pages/pagination.js +0 -124
- package/src/pages/table.js +0 -308
- package/themes.plugin.js +0 -148
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,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;
|
|
@@ -95,22 +98,26 @@
|
|
|
95
98
|
@apply block;
|
|
96
99
|
}
|
|
97
100
|
.ds-table__cell[data-label]::before {
|
|
98
|
-
@apply block font-semibold;
|
|
101
|
+
@apply block font-semibold mb-2;
|
|
99
102
|
content: attr(data-label);
|
|
100
103
|
}
|
|
101
104
|
}
|
|
102
105
|
&.ds-table--stacked-sm {
|
|
103
106
|
@media (min-width: 640px) {
|
|
104
107
|
.ds-table__cell[data-label]::before {
|
|
105
|
-
content: none;
|
|
108
|
+
content: none !important;
|
|
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;
|
|
@@ -121,22 +128,27 @@
|
|
|
121
128
|
@apply block sm:table-cell;
|
|
122
129
|
}
|
|
123
130
|
.ds-table__cell[data-label]::before {
|
|
124
|
-
@apply block font-semibold;
|
|
131
|
+
@apply block font-semibold mb-2;
|
|
125
132
|
content: attr(data-label);
|
|
126
133
|
}
|
|
127
134
|
}
|
|
128
135
|
&.ds-table--stacked-md {
|
|
129
136
|
@media (min-width: 768px) {
|
|
130
137
|
.ds-table__cell[data-label]::before {
|
|
131
|
-
content: none;
|
|
138
|
+
content: none !important;
|
|
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;
|
|
@@ -147,10 +159,25 @@
|
|
|
147
159
|
@apply block md:table-cell;
|
|
148
160
|
}
|
|
149
161
|
.ds-table__cell[data-label]::before {
|
|
150
|
-
@apply block font-semibold;
|
|
162
|
+
@apply block font-semibold mb-2;
|
|
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
|
+
}
|
|
176
|
+
.ds-table__cell {
|
|
177
|
+
.ds-body:last-child {
|
|
178
|
+
@apply mb-0;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
154
181
|
}
|
|
155
182
|
.ds-table-sort__icons-container {
|
|
156
183
|
@apply flex flex-col;
|
|
@@ -169,7 +196,7 @@
|
|
|
169
196
|
@apply border-r border-solid border-base-300 px-4 !important;
|
|
170
197
|
}
|
|
171
198
|
}
|
|
172
|
-
.ds-table__cell {
|
|
199
|
+
.ds-table__cell.ds-table__cell--border {
|
|
173
200
|
@apply border-r-0 !important;
|
|
174
201
|
&:last-child {
|
|
175
202
|
@apply border-r border-solid border-base-300 px-4 !important;
|
|
@@ -207,13 +234,30 @@
|
|
|
207
234
|
}
|
|
208
235
|
}
|
|
209
236
|
}
|
|
210
|
-
.ds-table__header
|
|
211
|
-
.ds-table__cell {
|
|
237
|
+
.ds-table__header {
|
|
212
238
|
@apply pr-5 py-2.5 pl-0 border-b border-solid border-base-300 text-left align-middle;
|
|
213
239
|
&:last-child {
|
|
214
240
|
@apply pr-0;
|
|
215
241
|
}
|
|
216
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
|
+
}
|
|
217
261
|
.ds-table__header--numeric,
|
|
218
262
|
.ds-table__cell--numeric {
|
|
219
263
|
@apply text-right;
|
|
@@ -258,9 +302,6 @@
|
|
|
258
302
|
}
|
|
259
303
|
}
|
|
260
304
|
.ds-table__header {
|
|
261
|
-
.ds-dropdown__content {
|
|
262
|
-
@apply py-0;
|
|
263
|
-
}
|
|
264
305
|
.ds-dropdown__button:not(:focus) {
|
|
265
306
|
@apply no-underline font-bold text-base-content !important;
|
|
266
307
|
}
|
package/src/components/tabs.css
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
.ds-tabs {
|
|
2
|
+
@apply mb-4 md:mb-8;
|
|
2
3
|
scroll-behavior: smooth;
|
|
3
4
|
&.ds-tabs--dense,
|
|
4
5
|
.ds-dense & {
|
|
5
6
|
.ds-tabs__list {
|
|
6
7
|
.ds-tabs__list-item {
|
|
7
|
-
@apply px-3 py-1;
|
|
8
|
+
@apply md:px-3 md:py-1;
|
|
8
9
|
&.ds-tabs__list-item-selected {
|
|
9
10
|
@apply md:px-4 md:pb-3 md:pt-2;
|
|
10
11
|
}
|
|
@@ -14,69 +15,52 @@
|
|
|
14
15
|
@apply pb-2 pt-3;
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
18
|
+
}
|
|
19
|
+
.ds-tabs__title {
|
|
20
|
+
@apply block md:hidden;
|
|
21
|
+
}
|
|
22
|
+
.ds-tabs__list {
|
|
23
|
+
@apply list-none m-0 p-0
|
|
24
|
+
md:flex md:flex-nowrap md:w-full md:items-start;
|
|
25
|
+
&::after {
|
|
26
|
+
content: '';
|
|
27
|
+
display: block;
|
|
28
|
+
clear: both;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.ds-tabs__list-item {
|
|
32
|
+
@apply relative px-4 py-1 md:py-2 m-0 shadow-none cursor-pointer text-link
|
|
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
|
+
print:hidden;
|
|
35
|
+
word-break: break-word;
|
|
36
|
+
&.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:py-4 md:-mt-1;
|
|
38
|
+
margin-bottom: -1px;
|
|
39
|
+
&:hover {
|
|
40
|
+
text-decoration-thickness: 2px;
|
|
35
41
|
}
|
|
36
42
|
}
|
|
37
|
-
|
|
38
|
-
|
|
43
|
+
}
|
|
44
|
+
.ds-tabs__tab {
|
|
45
|
+
@apply text-lg no-underline hover:underline;
|
|
46
|
+
&::before {
|
|
47
|
+
@apply absolute top-0 left-0 text-base-content;
|
|
48
|
+
@apply md:content-[''] !important;
|
|
49
|
+
content: '_';
|
|
39
50
|
}
|
|
40
|
-
|
|
41
|
-
@apply
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
.ds-tabs__list-item {
|
|
48
|
-
@apply relative px-4 py-2 m-0 shadow-none cursor-pointer;
|
|
49
|
-
@apply md:float-left md:border md:border-base-300 md:bg-base-300 md:rounded-t-sm md:mr-2;
|
|
50
|
-
@apply print:hidden;
|
|
51
|
-
&.ds-tabs__list-item-selected {
|
|
52
|
-
@apply no-underline md:border-base-400 md:border bg-base-100 md:border-b-0 md:px-5 md:py-4 md:-mt-1;
|
|
53
|
-
margin-bottom: -1px;
|
|
54
|
-
&:hover {
|
|
55
|
-
text-decoration-thickness: 2px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
.ds-tabs__tab {
|
|
60
|
-
@apply text-lg no-underline hover:underline focus:underline;
|
|
61
|
-
text-underline-offset: 0.1em;
|
|
62
|
-
&::after {
|
|
63
|
-
@apply absolute top-0 right-0 bottom-0 left-0;
|
|
64
|
-
content: '';
|
|
65
|
-
}
|
|
66
|
-
&:focus {
|
|
67
|
-
background-color: var(--color-focus);
|
|
68
|
-
outline: 3px solid transparent;
|
|
69
|
-
box-shadow: inset 0 0 0 3px var(--color-focus);
|
|
70
|
-
outline-offset: 0;
|
|
71
|
-
text-decoration-thickness: 0.2rem;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
51
|
+
&:focus {
|
|
52
|
+
@apply bg-focus underline text-link-active;
|
|
53
|
+
outline: 3px solid transparent;
|
|
54
|
+
box-shadow: inset 0 0 0 3px var(--color-focus);
|
|
55
|
+
outline-offset: 0;
|
|
56
|
+
text-decoration-thickness: 0.2rem;
|
|
74
57
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
58
|
+
}
|
|
59
|
+
.ds-tabs__panel {
|
|
60
|
+
@apply bg-base-100 md:hidden block md:px-4 py-4 pt-8 md:border md:border-base-400 mb-0
|
|
61
|
+
print:block print:border-0 print:py-3;
|
|
62
|
+
border-radius: var(--tabs__panel-border-radius);
|
|
63
|
+
&.ds-tabs__panel--visible {
|
|
64
|
+
@apply block;
|
|
81
65
|
}
|
|
82
66
|
}
|
|
@@ -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;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/* stylelint-disable digigov/enforce-class-selector-namespace */
|
|
2
|
+
@tailwind utilities;
|
|
3
|
+
|
|
4
|
+
@layer utilities {
|
|
5
|
+
.util-font-weight-bold-text {
|
|
6
|
+
@apply font-bold !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.util-heading-xl {
|
|
10
|
+
@apply mx-0 max-w-2xl;
|
|
11
|
+
}
|
|
12
|
+
.util-heading-xl-text {
|
|
13
|
+
font-size: var(--heading-xl-font-size);
|
|
14
|
+
line-height: var(--heading-xl-line-height);
|
|
15
|
+
font-weight: var(--heading-xl-font-weight);
|
|
16
|
+
}
|
|
17
|
+
.util-heading-lg-text {
|
|
18
|
+
font-size: var(--heading-lg-font-size);
|
|
19
|
+
line-height: var(--heading-lg-line-height);
|
|
20
|
+
font-weight: var(--heading-lg-font-weight);
|
|
21
|
+
}
|
|
22
|
+
.util-heading-md-text {
|
|
23
|
+
font-size: var(--heading-md-font-size);
|
|
24
|
+
line-height: var(--heading-md-line-height);
|
|
25
|
+
font-weight: var(--heading-md-font-weight);
|
|
26
|
+
}
|
|
27
|
+
.util-heading-sm-text {
|
|
28
|
+
font-size: var(--heading-sm-font-size);
|
|
29
|
+
line-height: var(--heading-sm-line-height);
|
|
30
|
+
font-weight: var(--heading-sm-font-weight);
|
|
31
|
+
}
|
|
32
|
+
.util-heading-xs-text {
|
|
33
|
+
font-size: var(--heading-xs-font-size);
|
|
34
|
+
line-height: var(--heading-xs-line-height);
|
|
35
|
+
font-weight: var(--heading-xs-font-weight);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.util-body-text {
|
|
39
|
+
font-size: var(--body-font-size);
|
|
40
|
+
line-height: var(--body-line-height);
|
|
41
|
+
margin-bottom: var(--body-margin-bottom);
|
|
42
|
+
color: var(--body-color);
|
|
43
|
+
}
|
|
44
|
+
.util-body-lg-text {
|
|
45
|
+
font-size: var(--body--lg-font-size);
|
|
46
|
+
line-height: var(--body--lg-line-height);
|
|
47
|
+
}
|
|
48
|
+
.util-body-sm-text {
|
|
49
|
+
font-size: var(--body--sm-font-size);
|
|
50
|
+
line-height: var(--body--sm-line-height);
|
|
51
|
+
}
|
|
52
|
+
.util-link {
|
|
53
|
+
@apply focus:bg-focus;
|
|
54
|
+
padding: var(--link-padding-y) var(--link-padding-x);
|
|
55
|
+
}
|
|
56
|
+
.util-link-text {
|
|
57
|
+
/* @apply focus:text-link-active underline; */
|
|
58
|
+
@apply underline;
|
|
59
|
+
color: var(--link-color);
|
|
60
|
+
font-size: var(--link-font-size);
|
|
61
|
+
line-height: var(--link-line-height);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.util-caption-xl {
|
|
65
|
+
@apply mx-0 font-normal;
|
|
66
|
+
}
|
|
67
|
+
.util-caption-xl-text {
|
|
68
|
+
color: var(--caption-xl-color);
|
|
69
|
+
font-size: var(--caption-xl-font-size);
|
|
70
|
+
margin-bottom: var(--caption-xl-margin-bottom);
|
|
71
|
+
font-weight: var(--caption-xl-font-weight);
|
|
72
|
+
line-height: var(--caption-xl-line-height);
|
|
73
|
+
}
|
|
74
|
+
.util-caption-lg {
|
|
75
|
+
@apply mx-0 font-normal;
|
|
76
|
+
}
|
|
77
|
+
.util-caption-lg-text {
|
|
78
|
+
color: var(--caption-lg-color);
|
|
79
|
+
font-size: var(--caption-lg-font-size);
|
|
80
|
+
margin-bottom: var(--caption-lg-margin-bottom);
|
|
81
|
+
font-weight: var(--caption-lg-font-weight);
|
|
82
|
+
line-height: var(--caption-lg-line-height);
|
|
83
|
+
}
|
|
84
|
+
.util-caption-md {
|
|
85
|
+
@apply mx-0 font-normal;
|
|
86
|
+
}
|
|
87
|
+
.util-caption-md-text {
|
|
88
|
+
color: var(--caption-md-color);
|
|
89
|
+
font-size: var(--caption-md-font-size);
|
|
90
|
+
margin-bottom: var(--caption-md-margin-bottom);
|
|
91
|
+
font-weight: var(--caption-md-font-weight);
|
|
92
|
+
line-height: var(--caption-md-line-height);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* Hint */
|
|
96
|
+
.util-hint {
|
|
97
|
+
margin-bottom: var(--hint-margin-bottom);
|
|
98
|
+
}
|
|
99
|
+
.util-hint-text {
|
|
100
|
+
font-size: var(--hint-font-size);
|
|
101
|
+
line-height: var(--hint-line-height);
|
|
102
|
+
color: var(--hint-color);
|
|
103
|
+
}
|
|
104
|
+
.util-hint-lg-text {
|
|
105
|
+
font-size: var(--hint--lg-font-size);
|
|
106
|
+
line-height: var(--hint--lg-line-height);
|
|
107
|
+
}
|
|
108
|
+
.util-hint-sm-text {
|
|
109
|
+
font-size: var(--hint--sm-font-size);
|
|
110
|
+
line-height: var(--hint--sm-line-height);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* List */
|
|
114
|
+
.util-list {
|
|
115
|
+
@apply mb-4 md:mb-8 mt-4 text-base-content;
|
|
116
|
+
}
|
|
117
|
+
.util-list-bullet {
|
|
118
|
+
@apply pl-4;
|
|
119
|
+
}
|
|
120
|
+
.util-list-number {
|
|
121
|
+
@apply pl-4;
|
|
122
|
+
}
|
|
123
|
+
.util-list-horizontal {
|
|
124
|
+
@apply flex flex-wrap gap-x-6 gap-y-3;
|
|
125
|
+
}
|
|
126
|
+
.util-list-spaced {
|
|
127
|
+
@apply gap-x-10 gap-y-5;
|
|
128
|
+
}
|
|
129
|
+
.util-list-item {
|
|
130
|
+
@apply mb-2 last:mb-0;
|
|
131
|
+
}
|
|
132
|
+
.util-list-item-horizontal {
|
|
133
|
+
@apply w-full;
|
|
134
|
+
}
|
|
135
|
+
}
|