@digigov/css 2.0.0-rc.4 → 2.0.0-rc.6
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/defaultTheme/accordion.json +8 -0
- package/defaultTheme/brandConfig.json +10 -0
- package/defaultTheme/button.json +9 -0
- package/defaultTheme/card.json +11 -0
- package/defaultTheme/form.json +15 -0
- package/defaultTheme/globals.json +11 -1
- package/defaultTheme/index.js +1 -1
- package/defaultTheme/layout.json +55 -0
- package/defaultTheme/misc.json +20 -0
- package/defaultTheme/panel.json +5 -0
- package/defaultTheme/typography.json +8 -8
- package/dist/base/index.css +1 -1
- package/dist/base.js +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +2 -2
- package/package.json +7 -3
- package/src/base/base.css +1 -1
- package/src/base/index.css +5 -5
- package/src/components/accordion.css +56 -53
- package/src/components/admin-header.css +3 -3
- package/src/components/admin-layout.css +8 -8
- package/src/components/autocomplete.css +89 -46
- package/src/components/back-to-top.css +3 -4
- package/src/components/bottom-info.css +2 -1
- package/src/components/breadcrumbs.css +8 -6
- package/src/components/button.css +49 -48
- package/src/components/card.css +55 -49
- package/src/components/checkboxes.css +20 -23
- package/src/components/chip.css +28 -29
- package/src/components/components.css +2 -2
- package/src/components/copy-to-clipboard.css +27 -26
- package/src/components/details.css +11 -9
- package/src/components/dev-theme.css +2 -3
- package/src/components/drawer.css +46 -47
- package/src/components/dropdown.css +26 -26
- package/src/components/experimental.css +12 -12
- package/src/components/fillable.css +4 -4
- package/src/components/filter.css +9 -14
- package/src/components/footer.css +35 -21
- package/src/components/form.css +34 -24
- package/src/components/full-page-background.css +1 -1
- package/src/components/header.css +24 -32
- package/src/components/hidden.css +6 -6
- package/src/components/index.css +46 -47
- package/src/components/kitchensink.css +33 -33
- package/src/components/layout.css +34 -36
- package/src/components/loader.css +28 -28
- package/src/components/masthead.css +56 -55
- package/src/components/misc.css +13 -15
- package/src/components/modal.css +10 -12
- package/src/components/nav.css +69 -65
- package/src/components/notification-banner.css +18 -16
- package/src/components/pagination.css +29 -30
- package/src/components/panel.css +9 -8
- package/src/components/phase-banner.css +5 -5
- package/src/components/radios.css +24 -21
- package/src/components/skiplink.css +2 -2
- package/src/components/stack.css +63 -63
- package/src/components/stepnav.css +33 -29
- package/src/components/summary-list.css +16 -13
- package/src/components/svg-icons.css +78 -80
- package/src/components/table.css +154 -175
- package/src/components/tabs.css +40 -38
- package/src/components/task-list.css +18 -18
- package/src/components/timeline.css +4 -3
- package/src/components/typography.css +80 -108
- package/src/components/warning-text.css +7 -7
- package/src/pages/index.js +1 -1
- package/defaultTheme/footer.json +0 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.ds-floating-btn {
|
|
2
2
|
@apply absolute bottom-4;
|
|
3
3
|
@apply p-4 rounded-full border-0 !important;
|
|
4
|
-
box-shadow:
|
|
4
|
+
box-shadow: 0 2px 8px rgba(var(--color-base-900-rgb), 0.3);
|
|
5
5
|
&.ds-floating-btn--right {
|
|
6
6
|
@apply right-4;
|
|
7
7
|
}
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
&:hover {
|
|
19
19
|
@apply border-base-content;
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
&.ds-option-btn--selected {
|
|
22
|
+
@apply border-success border-4 text-success p-4 !important;
|
|
23
|
+
.ds-option-btn__steps {
|
|
24
|
+
@apply opacity-100;
|
|
25
|
+
}
|
|
26
|
+
.ds-svg-icon {
|
|
27
|
+
fill: var(--color-success) !important;
|
|
28
|
+
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
.ds-option-btn__steps {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
}
|
|
34
34
|
.ds-option-btn__step {
|
|
35
35
|
@apply bg-base-300 w-full;
|
|
36
|
+
&.ds-option-btn__step--active {
|
|
37
|
+
@apply bg-success;
|
|
38
|
+
}
|
|
36
39
|
}
|
|
37
|
-
.ds-option-btn__step--active {
|
|
38
|
-
@apply bg-success;
|
|
39
|
-
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
text-base-content md:text-lg leading-relaxed text-base;
|
|
4
4
|
}
|
|
5
5
|
.ds-labeled-text {
|
|
6
|
-
@apply bg-base-300 w-fit inline-block px-3 mx-1 mt-px font-bold border-0 border-b-2 border-base-800;
|
|
6
|
+
@apply bg-base-300 w-fit inline-block px-3 mx-1 mt-px font-bold border-0 border-b-2 border-base-800;
|
|
7
|
+
&.ds-labeled-text--active {
|
|
8
|
+
@apply bg-focus;
|
|
9
|
+
}
|
|
7
10
|
}
|
|
8
|
-
.ds-labeled-text--active {
|
|
9
|
-
@apply bg-focus;
|
|
10
|
-
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
.ds-filter {
|
|
2
2
|
@apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll z-40 w-4/5;
|
|
3
3
|
box-shadow: 0 0 30px rgba(var(--color-base-900-rgb), 0.9);
|
|
4
|
-
}
|
|
5
|
-
.ds-filter {
|
|
6
4
|
&.ds-filter--position-relative-always {
|
|
7
5
|
@apply block relative overflow-visible w-full shadow-none z-2 !important;
|
|
8
6
|
&.ds-filter--closed {
|
|
@@ -27,20 +25,20 @@
|
|
|
27
25
|
@apply lg:block;
|
|
28
26
|
}
|
|
29
27
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
&.ds-filter--border {
|
|
29
|
+
@apply border border-base-300 p-4;
|
|
30
|
+
}
|
|
31
|
+
&.ds-filter--closed {
|
|
32
|
+
@apply hidden;
|
|
33
|
+
}
|
|
36
34
|
}
|
|
37
35
|
.ds-filter__content {
|
|
38
36
|
@apply flex flex-col gap-8 p-0;
|
|
39
37
|
}
|
|
40
38
|
.ds-filter__options--horizontal {
|
|
41
39
|
@apply flex gap-4 flex-col;
|
|
42
|
-
align-items: stretch;
|
|
43
40
|
@apply md:flex-row md:flex-wrap;
|
|
41
|
+
align-items: stretch;
|
|
44
42
|
}
|
|
45
43
|
@media (min-width: 768px) {
|
|
46
44
|
.ds-filter__options--horizontal {
|
|
@@ -63,10 +61,7 @@
|
|
|
63
61
|
}
|
|
64
62
|
.ds-input__search-btn {
|
|
65
63
|
@apply shadow-none !important;
|
|
66
|
-
@apply
|
|
67
|
-
px-4 py-2 w-min m-0 ml-3
|
|
68
|
-
flex gap-2
|
|
69
|
-
hover:bg-success-hover active:bg-success-hover hover:no-underline;
|
|
64
|
+
@apply px-4 py-2 w-min m-0 ml-3 flex gap-2;
|
|
70
65
|
}
|
|
71
66
|
.ds-search {
|
|
72
67
|
@apply flex w-full max-w-3xl;
|
|
@@ -127,8 +122,8 @@
|
|
|
127
122
|
}
|
|
128
123
|
.ds-input__search-btn {
|
|
129
124
|
.ds-svg-icon--search {
|
|
130
|
-
fill: var(--color-white);
|
|
131
125
|
@apply w-7 h-7;
|
|
126
|
+
fill: var(--color-white);
|
|
132
127
|
}
|
|
133
128
|
}
|
|
134
129
|
.ds-results__action-bar {
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
.ds-footer {
|
|
2
|
-
|
|
3
|
-
border-
|
|
2
|
+
border: var(--footer-border);
|
|
3
|
+
border-width: var(--footer-border-width);
|
|
4
|
+
background-color: var(--footer-background-color);
|
|
5
|
+
color: var(--footer-color);
|
|
6
|
+
@apply font-normal text-base py-4 md:py-8 w-full
|
|
4
7
|
print:py-2 print:bg-white print:border-t-2;
|
|
5
8
|
}
|
|
6
9
|
.ds-footer__info {
|
|
7
|
-
@apply w-full flex flex-1 flex-wrap md:flex-nowrap items-end justify-center md:justify-between box-border
|
|
10
|
+
@apply w-full flex flex-1 flex-wrap md:flex-nowrap items-end justify-center md:justify-between box-border;
|
|
8
11
|
}
|
|
9
12
|
.ds-footer__info-section {
|
|
10
13
|
@apply mx-2 md:mx-4 mb-6 print:mb-4;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
&.ds-footer__info-section--grow {
|
|
15
|
+
@apply flex flex-grow;
|
|
16
|
+
}
|
|
14
17
|
}
|
|
15
18
|
.ds-footer__content {
|
|
16
19
|
@apply w-full;
|
|
17
20
|
}
|
|
18
|
-
.ds-
|
|
21
|
+
.ds-footer__content__logos {
|
|
19
22
|
@apply flex flex-wrap items-center mb-6 md:mb-8;
|
|
20
23
|
}
|
|
21
24
|
.ds-footer__logo {
|
|
@@ -27,9 +30,9 @@
|
|
|
27
30
|
}
|
|
28
31
|
.ds-footer__government-logo-inverted {
|
|
29
32
|
@apply max-w-full h-auto w-52 min-w-52 hidden;
|
|
30
|
-
|
|
31
33
|
}
|
|
32
|
-
.ds-footer__logo,
|
|
34
|
+
.ds-footer__logo,
|
|
35
|
+
.ds-footer__government-logo {
|
|
33
36
|
@apply max-w-full h-auto w-52 min-w-52 block;
|
|
34
37
|
}
|
|
35
38
|
.ds-footer__copyright {
|
|
@@ -40,23 +43,28 @@
|
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
45
|
.ds-footer__link {
|
|
43
|
-
|
|
46
|
+
text-decoration: var(--footer__link-text-decoration);
|
|
47
|
+
|
|
44
48
|
&:hover {
|
|
49
|
+
text-decoration: var(--footer__link-text-decoration-hover);
|
|
45
50
|
text-decoration-thickness: 2px;
|
|
46
|
-
color:
|
|
51
|
+
color:var(--footer__link-color-hover);
|
|
47
52
|
}
|
|
48
53
|
&:focus {
|
|
54
|
+
color:var(--footer__link-color-focus);
|
|
49
55
|
background-color: var(--color-focus) !important;
|
|
50
|
-
box-shadow:
|
|
51
|
-
|
|
56
|
+
box-shadow:
|
|
57
|
+
0 -2px var(--color-focus),
|
|
58
|
+
0 4px var(--color-base-content);
|
|
59
|
+
outline: none;
|
|
52
60
|
text-decoration: none;
|
|
53
61
|
}
|
|
54
62
|
}
|
|
55
63
|
.ds-footer__navigation {
|
|
56
|
-
|
|
64
|
+
@apply flex flex-wrap print:hidden;
|
|
57
65
|
}
|
|
58
66
|
.ds-footer__navigation-section {
|
|
59
|
-
|
|
67
|
+
@apply inline-block mx-4 mb-8 align-top flex-grow flex-shrink
|
|
60
68
|
print:hidden;
|
|
61
69
|
}
|
|
62
70
|
@media (min-width: 768px) {
|
|
@@ -67,11 +75,11 @@
|
|
|
67
75
|
.ds-footer__list {
|
|
68
76
|
@apply m-0 p-0 list-none gap-x-6 text-sm md:text-base
|
|
69
77
|
print:hidden;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
78
|
+
&.ds-footer__list--horizontal {
|
|
79
|
+
@apply mb-4;
|
|
80
|
+
.ds-footer__list-item {
|
|
81
|
+
@apply inline-block mr-4 mb-2;
|
|
82
|
+
}
|
|
75
83
|
}
|
|
76
84
|
}
|
|
77
85
|
@media (min-width: 768px) {
|
|
@@ -79,7 +87,8 @@
|
|
|
79
87
|
column-count: 2;
|
|
80
88
|
}
|
|
81
89
|
}
|
|
82
|
-
.ds-footer__list-item {
|
|
90
|
+
.ds-footer__list-item {
|
|
91
|
+
}
|
|
83
92
|
.ds-footer__heading {
|
|
84
93
|
@apply mb-4 pb-4 border-b border-base-300;
|
|
85
94
|
}
|
|
@@ -91,6 +100,11 @@
|
|
|
91
100
|
@apply print:hidden;
|
|
92
101
|
}
|
|
93
102
|
.ds-link {
|
|
103
|
+
--link-color:var(--color-footer);
|
|
104
|
+
@apply print:text-base-content;
|
|
105
|
+
}
|
|
106
|
+
.ds-body {
|
|
107
|
+
--body-color:var(--color-footer);
|
|
94
108
|
@apply print:text-base-content;
|
|
95
109
|
}
|
|
96
110
|
}
|
package/src/components/form.css
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
.ds-form {
|
|
1
|
+
.ds-form {
|
|
2
|
+
}
|
|
2
3
|
.ds-field {
|
|
3
4
|
@apply mb-8 md:mb-10;
|
|
5
|
+
|
|
6
|
+
&.ds-field--error {
|
|
7
|
+
@apply border-l-5 border-error px-0 pl-4;
|
|
8
|
+
}
|
|
4
9
|
.ds-fieldset {
|
|
5
10
|
> .ds-field:last-child,
|
|
6
11
|
> .ds-btn:last-child {
|
|
@@ -25,26 +30,33 @@
|
|
|
25
30
|
line-height: var(--label-line-height);
|
|
26
31
|
letter-spacing: var(--label-letter-spacing);
|
|
27
32
|
}
|
|
33
|
+
.ds-input {
|
|
34
|
+
border-radius: var(--input-border-radius);
|
|
35
|
+
}
|
|
36
|
+
.ds-textarea {
|
|
37
|
+
border-radius: var(--textarea-border-radius);
|
|
38
|
+
}
|
|
28
39
|
.ds-input,
|
|
29
40
|
.ds-select,
|
|
30
41
|
.ds-textarea {
|
|
31
|
-
@apply md:text-lg text-base w-full p-2 border-2 border-base-content bg-base-100
|
|
42
|
+
@apply md:text-lg text-base w-full p-2 border-2 border-base-content bg-base-100;
|
|
32
43
|
text-indent: 2px;
|
|
33
44
|
&:focus {
|
|
34
45
|
outline: 4px solid var(--color-focus);
|
|
35
46
|
outline-offset: 0;
|
|
36
|
-
-webkit-box-shadow: inset 0 0 0 2px;
|
|
37
47
|
box-shadow: inset 0 0 0 2px;
|
|
38
48
|
}
|
|
39
49
|
}
|
|
40
|
-
.ds-input--dense
|
|
41
|
-
.ds-
|
|
42
|
-
.ds-
|
|
43
|
-
.ds-
|
|
44
|
-
|
|
50
|
+
.ds-input--dense,
|
|
51
|
+
.ds-dense .ds-input,
|
|
52
|
+
.ds-textarea--dense,
|
|
53
|
+
.ds-dense .ds-textarea,
|
|
54
|
+
.ds-select--dense,
|
|
55
|
+
.ds-dense .ds-select,
|
|
56
|
+
.ds-date-input--dense .ds-input,
|
|
57
|
+
.ds-dense .ds-date-input .ds-input {
|
|
45
58
|
@apply p-1;
|
|
46
59
|
&:focus {
|
|
47
|
-
-webkit-box-shadow: inset 0 0 0 1px;
|
|
48
60
|
box-shadow: inset 0 0 0 1px;
|
|
49
61
|
}
|
|
50
62
|
}
|
|
@@ -59,7 +71,8 @@
|
|
|
59
71
|
}
|
|
60
72
|
.ds-date-input {
|
|
61
73
|
@apply flex flex-wrap gap-y-2;
|
|
62
|
-
&.ds-date-input--dense,
|
|
74
|
+
&.ds-date-input--dense,
|
|
75
|
+
.ds-dense & {
|
|
63
76
|
.ds-date-input__item {
|
|
64
77
|
@apply mr-2;
|
|
65
78
|
}
|
|
@@ -69,9 +82,11 @@
|
|
|
69
82
|
@apply flex flex-wrap gap-y-2;
|
|
70
83
|
}
|
|
71
84
|
.ds-select {
|
|
85
|
+
border-radius: var(--select-border-radius);
|
|
72
86
|
@apply w-auto max-w-full;
|
|
73
87
|
}
|
|
74
|
-
.ds-select__option {
|
|
88
|
+
.ds-select__option {
|
|
89
|
+
}
|
|
75
90
|
.ds-input--width-20-char {
|
|
76
91
|
max-width: 41ex;
|
|
77
92
|
}
|
|
@@ -91,8 +106,8 @@
|
|
|
91
106
|
max-width: 5.4ex;
|
|
92
107
|
}
|
|
93
108
|
.ds-single-character-input__item {
|
|
94
|
-
max-width: 4.4ex;
|
|
95
109
|
@apply text-center px-0 mr-3;
|
|
110
|
+
max-width: 4.4ex;
|
|
96
111
|
}
|
|
97
112
|
.ds-date-input__item {
|
|
98
113
|
@apply mr-4;
|
|
@@ -127,10 +142,6 @@
|
|
|
127
142
|
}
|
|
128
143
|
|
|
129
144
|
/* error handling */
|
|
130
|
-
|
|
131
|
-
.ds-field--error {
|
|
132
|
-
@apply border-l-5 border-error px-0 pl-4;
|
|
133
|
-
}
|
|
134
145
|
.ds-error-message {
|
|
135
146
|
@apply md:text-lg text-base block mb-4 text-error font-semibold;
|
|
136
147
|
}
|
|
@@ -139,7 +150,6 @@
|
|
|
139
150
|
&:focus {
|
|
140
151
|
outline: 4px solid var(--color-focus);
|
|
141
152
|
outline-offset: 0;
|
|
142
|
-
-webkit-box-shadow: inset 0 0 0 1px var(--color-error);
|
|
143
153
|
box-shadow: inset 0 0 0 1px var(--color-error);
|
|
144
154
|
}
|
|
145
155
|
}
|
|
@@ -151,10 +161,10 @@
|
|
|
151
161
|
.ds-select:disabled,
|
|
152
162
|
.ds-checkboxes__input:disabled,
|
|
153
163
|
.ds-checkboxes__input:disabled::before,
|
|
154
|
-
.ds-checkboxes__input:disabled:checked
|
|
164
|
+
.ds-checkboxes__input:disabled:checked::before,
|
|
155
165
|
.ds-radios__input:disabled,
|
|
156
166
|
.ds-radios__input:disabled::before,
|
|
157
|
-
.ds-radios__input:disabled:checked
|
|
167
|
+
.ds-radios__input:disabled:checked::before {
|
|
158
168
|
@apply bg-base-300 cursor-not-allowed;
|
|
159
169
|
}
|
|
160
170
|
.ds-input:disabled,
|
|
@@ -163,8 +173,8 @@
|
|
|
163
173
|
.ds-radios__input:disabled::before {
|
|
164
174
|
@apply border-base-content text-base-content;
|
|
165
175
|
}
|
|
166
|
-
.ds-checkboxes__input:disabled:checked
|
|
167
|
-
.ds-radios__input:disabled:checked
|
|
176
|
+
.ds-checkboxes__input:disabled:checked::after,
|
|
177
|
+
.ds-radios__input:disabled:checked::after {
|
|
168
178
|
@apply opacity-40;
|
|
169
179
|
}
|
|
170
180
|
.ds-radios__label--disabled,
|
|
@@ -178,9 +188,6 @@
|
|
|
178
188
|
/* overrides */
|
|
179
189
|
|
|
180
190
|
.ds-form {
|
|
181
|
-
.ds-body {
|
|
182
|
-
@apply mb-4;
|
|
183
|
-
}
|
|
184
191
|
&.ds-grid {
|
|
185
192
|
@apply grid gap-4;
|
|
186
193
|
.ds-fieldset {
|
|
@@ -193,6 +200,9 @@
|
|
|
193
200
|
@apply col-span-12;
|
|
194
201
|
}
|
|
195
202
|
}
|
|
203
|
+
.ds-body {
|
|
204
|
+
@apply mb-4;
|
|
205
|
+
}
|
|
196
206
|
}
|
|
197
207
|
.ds-label {
|
|
198
208
|
.ds-heading-xs,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
.ds-header {
|
|
2
|
-
@apply relative
|
|
3
|
-
|
|
2
|
+
@apply relative border-b-8 print:border-b-2 border-tertiary print:bg-white;
|
|
3
|
+
background: var(--header-background);
|
|
4
|
+
border: var(--header-border);
|
|
5
|
+
border-width: var(--header-border-width);
|
|
4
6
|
}
|
|
5
7
|
.ds-header__content {
|
|
6
8
|
@apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center
|
|
@@ -11,9 +13,9 @@
|
|
|
11
13
|
print:gap-1;
|
|
12
14
|
}
|
|
13
15
|
.ds-header__logo {
|
|
16
|
+
@apply h-12 print:hidden;
|
|
14
17
|
print-color-adjust: exact !important;
|
|
15
18
|
-webkit-print-color-adjust: exact !important;
|
|
16
|
-
@apply h-12 print:hidden;
|
|
17
19
|
}
|
|
18
20
|
.ds-header__logo-inverted {
|
|
19
21
|
@apply h-12 hidden print:block;
|
|
@@ -22,18 +24,18 @@
|
|
|
22
24
|
@apply h-10 print:hidden;
|
|
23
25
|
}
|
|
24
26
|
.ds-header__link:focus {
|
|
25
|
-
box-shadow:
|
|
26
|
-
-webkit-box-shadow: 0px 0px 0px 4px var(--color-focus);
|
|
27
|
-
-moz-box-shadow: 0px 0px 0px 4px var(--color-focus);
|
|
27
|
+
box-shadow: 0 0 0 4px var(--color-focus);
|
|
28
28
|
outline: none;
|
|
29
29
|
text-decoration: none;
|
|
30
30
|
}
|
|
31
31
|
.ds-header__title {
|
|
32
|
-
|
|
32
|
+
color: var(--header__title-color);
|
|
33
|
+
@apply font-bold text-2xl leading-10 tracking-wide no-underline
|
|
33
34
|
w-auto align-middle hover:no-underline
|
|
34
35
|
print:text-base-content;
|
|
35
36
|
&:hover {
|
|
36
|
-
@apply text-white;
|
|
37
|
+
/* @apply text-white; */
|
|
38
|
+
color: var(--header__title-color-hover);
|
|
37
39
|
}
|
|
38
40
|
&:focus {
|
|
39
41
|
text-decoration: none;
|
|
@@ -51,8 +53,9 @@
|
|
|
51
53
|
.ds-header__content,
|
|
52
54
|
.ds-header__section {
|
|
53
55
|
> .ds-link,
|
|
54
|
-
> .ds-dropdown .ds-dropdown__button.ds-link
|
|
55
|
-
|
|
56
|
+
> .ds-dropdown .ds-dropdown__button.ds-link {
|
|
57
|
+
color: var(--color-header-text);
|
|
58
|
+
@apply focus:text-link-active print:text-base-content;
|
|
56
59
|
}
|
|
57
60
|
}
|
|
58
61
|
.ds-dropdown {
|
|
@@ -63,11 +66,11 @@
|
|
|
63
66
|
}
|
|
64
67
|
.ds-link {
|
|
65
68
|
.ds-svg-icon {
|
|
66
|
-
fill: var(--color-
|
|
69
|
+
fill: var(--color-header-text);
|
|
67
70
|
}
|
|
68
71
|
&:hover {
|
|
69
72
|
.ds-svg-icon {
|
|
70
|
-
fill: var(--color-
|
|
73
|
+
fill: var(--color-header-text-hover);
|
|
71
74
|
}
|
|
72
75
|
}
|
|
73
76
|
&:focus {
|
|
@@ -75,24 +78,13 @@
|
|
|
75
78
|
fill: var(--color-link-active);
|
|
76
79
|
}
|
|
77
80
|
}
|
|
78
|
-
}
|
|
79
|
-
.ds-phase-banner__text {
|
|
80
|
-
@apply text-white print:text-base-content;
|
|
81
|
-
}
|
|
82
|
-
.ds-link {
|
|
83
81
|
.ds-svg-icon {
|
|
84
82
|
fill: var(--color-white);
|
|
85
83
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
&:focus {
|
|
92
|
-
.ds-svg-icon {
|
|
93
|
-
fill: var(--color-link-active);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
84
|
+
}
|
|
85
|
+
.ds-phase-banner__text {
|
|
86
|
+
color: var(--color-header-text);
|
|
87
|
+
@apply print:text-base-content;
|
|
96
88
|
}
|
|
97
89
|
}
|
|
98
90
|
.ds-header__section {
|
|
@@ -104,13 +96,13 @@
|
|
|
104
96
|
.ds-header__content,
|
|
105
97
|
.ds-header__section {
|
|
106
98
|
> .ds-svg-icon--burger {
|
|
107
|
-
fill: var(--color-white);
|
|
108
99
|
@apply float-right focus:bg-focus;
|
|
100
|
+
fill: var(--color-header-text);
|
|
109
101
|
}
|
|
110
102
|
> .ds-close-btn {
|
|
111
103
|
@apply sm:hidden;
|
|
112
104
|
.ds-svg-icon--close {
|
|
113
|
-
fill: var(--color-
|
|
105
|
+
fill: var(--color-header-text) !important;
|
|
114
106
|
}
|
|
115
107
|
}
|
|
116
108
|
> .ds-nav__list {
|
|
@@ -118,16 +110,16 @@
|
|
|
118
110
|
> .ds-nav__list-item-link,
|
|
119
111
|
> .ds-nav__list-item-btn {
|
|
120
112
|
&:not(:focus) {
|
|
121
|
-
|
|
113
|
+
color: var(--color-header-text);
|
|
122
114
|
}
|
|
123
115
|
}
|
|
124
116
|
> .ds-nav__list-item-link--active,
|
|
125
117
|
> .ds-nav__list-item-btn--active {
|
|
126
118
|
&:not(:focus) {
|
|
127
|
-
|
|
119
|
+
color: var(--color-header-text) !important;
|
|
128
120
|
}
|
|
129
121
|
.ds-svg-icon {
|
|
130
|
-
fill: var(--color-
|
|
122
|
+
fill: var(--color-header-text);
|
|
131
123
|
}
|
|
132
124
|
}
|
|
133
125
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
.ds-hidden {
|
|
2
2
|
@apply hidden;
|
|
3
3
|
}
|
|
4
|
-
.ds-hidden-xs
|
|
4
|
+
.ds-hidden-xs-up {
|
|
5
5
|
@apply xs:hidden;
|
|
6
6
|
}
|
|
7
|
-
.ds-hidden-sm
|
|
7
|
+
.ds-hidden-sm-up {
|
|
8
8
|
@apply sm:hidden;
|
|
9
9
|
}
|
|
10
|
-
.ds-hidden-md
|
|
10
|
+
.ds-hidden-md-up {
|
|
11
11
|
@apply md:hidden;
|
|
12
12
|
}
|
|
13
|
-
.ds-hidden-lg
|
|
13
|
+
.ds-hidden-lg-up {
|
|
14
14
|
@apply lg:hidden;
|
|
15
15
|
}
|
|
16
|
-
.ds-hidden-xl
|
|
16
|
+
.ds-hidden-xl-up {
|
|
17
17
|
@apply xl:hidden;
|
|
18
18
|
}
|
|
19
19
|
.ds-hidden-xs {
|
|
@@ -30,4 +30,4 @@
|
|
|
30
30
|
}
|
|
31
31
|
.ds-hidden-xl {
|
|
32
32
|
@apply xlOnly:hidden;
|
|
33
|
-
}
|
|
33
|
+
}
|
package/src/components/index.css
CHANGED
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
@import
|
|
2
|
-
@import
|
|
3
|
-
@import
|
|
4
|
-
@import
|
|
5
|
-
@import
|
|
6
|
-
@import
|
|
7
|
-
@import
|
|
8
|
-
@import
|
|
9
|
-
@import
|
|
10
|
-
@import
|
|
11
|
-
@import
|
|
12
|
-
@import
|
|
13
|
-
@import
|
|
14
|
-
@import
|
|
15
|
-
@import
|
|
16
|
-
@import
|
|
17
|
-
@import
|
|
18
|
-
@import
|
|
19
|
-
@import
|
|
20
|
-
@import
|
|
21
|
-
@import
|
|
22
|
-
@import
|
|
23
|
-
@import
|
|
24
|
-
@import
|
|
25
|
-
@import
|
|
26
|
-
@import
|
|
27
|
-
@import
|
|
28
|
-
@import
|
|
29
|
-
@import
|
|
30
|
-
@import
|
|
31
|
-
@import
|
|
32
|
-
@import
|
|
33
|
-
@import
|
|
34
|
-
@import
|
|
35
|
-
@import
|
|
36
|
-
@import
|
|
37
|
-
@import
|
|
38
|
-
@import
|
|
39
|
-
@import
|
|
40
|
-
@import
|
|
41
|
-
@import
|
|
42
|
-
@import
|
|
43
|
-
@import
|
|
44
|
-
@import
|
|
45
|
-
@import
|
|
46
|
-
@import
|
|
47
|
-
@import "./warning-text.css";
|
|
1
|
+
@import './accordion.css';
|
|
2
|
+
@import './autocomplete.css';
|
|
3
|
+
@import './button.css';
|
|
4
|
+
@import './bottom-info.css';
|
|
5
|
+
@import './chip.css';
|
|
6
|
+
@import './form.css';
|
|
7
|
+
@import './checkboxes.css';
|
|
8
|
+
@import './dropdown.css';
|
|
9
|
+
@import './radios.css';
|
|
10
|
+
@import './header.css';
|
|
11
|
+
@import './footer.css';
|
|
12
|
+
@import './layout.css';
|
|
13
|
+
@import './nav.css';
|
|
14
|
+
@import './typography.css';
|
|
15
|
+
@import './back-to-top.css';
|
|
16
|
+
@import './table.css';
|
|
17
|
+
@import './filter.css';
|
|
18
|
+
@import './admin-layout.css';
|
|
19
|
+
@import './admin-header.css';
|
|
20
|
+
@import './breadcrumbs.css';
|
|
21
|
+
@import './card.css';
|
|
22
|
+
@import './details.css';
|
|
23
|
+
@import './notification-banner.css';
|
|
24
|
+
@import './masthead.css';
|
|
25
|
+
@import './panel.css';
|
|
26
|
+
@import './phase-banner.css';
|
|
27
|
+
@import './summary-list.css';
|
|
28
|
+
@import './stack.css';
|
|
29
|
+
@import './tabs.css';
|
|
30
|
+
@import './misc.css';
|
|
31
|
+
@import './modal.css';
|
|
32
|
+
@import './svg-icons.css';
|
|
33
|
+
@import './pagination.css';
|
|
34
|
+
@import './loader.css';
|
|
35
|
+
@import './full-page-background.css';
|
|
36
|
+
@import './drawer.css';
|
|
37
|
+
@import './copy-to-clipboard.css';
|
|
38
|
+
@import './fillable.css';
|
|
39
|
+
@import './skiplink.css';
|
|
40
|
+
@import './timeline.css';
|
|
41
|
+
@import './task-list.css';
|
|
42
|
+
@import './stepnav.css';
|
|
43
|
+
@import './dev-theme.css';
|
|
44
|
+
@import './kitchensink.css';
|
|
45
|
+
@import './hidden.css';
|
|
46
|
+
@import './warning-text.css';
|