@digigov/css 2.0.0-rc.5 → 2.0.0-rc.7
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 +6 -5
- 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 +57 -49
- 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 +27 -35
- 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 -178
- 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/tailwind.config.js +1 -0
- package/defaultTheme/footer.json +0 -8
|
@@ -30,36 +30,39 @@
|
|
|
30
30
|
@apply p-2;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
&::-webkit-details-marker {
|
|
39
|
-
display: none;
|
|
40
|
-
}
|
|
33
|
+
}
|
|
34
|
+
.ds-dropdown__button {
|
|
35
|
+
@apply w-fit print:text-base-content;
|
|
36
|
+
&::marker {
|
|
37
|
+
font-size: 0;
|
|
41
38
|
}
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
&::-webkit-details-marker {
|
|
40
|
+
display: none;
|
|
44
41
|
}
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
}
|
|
43
|
+
.ds-dropdown__button.ds-link + .ds-dropdown__content {
|
|
44
|
+
@apply mt-4 print:text-base-content;
|
|
45
|
+
}
|
|
46
|
+
.ds-btn-group .ds-btn + .ds-dropdown__content {
|
|
47
|
+
@apply mt-4;
|
|
48
|
+
}
|
|
49
|
+
.ds-dropdown__content {
|
|
50
|
+
@apply border border-base-400 p-4 bg-base-100 border-t-0
|
|
51
|
+
max-w-xs w-max min-w-full absolute transition z-3 mr-4 -mt-4;
|
|
52
|
+
-webkit-box-box-shadow:
|
|
53
|
+
0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
|
|
54
|
+
0 -2px 0 var(--color-base-500);
|
|
55
|
+
box-shadow:
|
|
56
|
+
0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
|
|
57
|
+
0 -2px 0 var(--color-base-500);
|
|
58
|
+
&.ds-dropdown__content--full-width {
|
|
59
|
+
@apply min-w-full;
|
|
47
60
|
}
|
|
48
|
-
|
|
49
|
-
@apply
|
|
50
|
-
max-w-xs w-max min-w-full absolute transition z-3 mr-4 -mt-4;
|
|
51
|
-
-webkit-box-box-shadow:
|
|
52
|
-
0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
|
|
53
|
-
0 -2px 0 var(--color-base-500);
|
|
54
|
-
box-shadow:
|
|
55
|
-
0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
|
|
56
|
-
0 -2px 0 var(--color-base-500);
|
|
57
|
-
*:last-child {
|
|
58
|
-
@apply mb-0;
|
|
59
|
-
}
|
|
61
|
+
&.ds-dropdown__content--scrollable {
|
|
62
|
+
@apply overflow-y-auto max-h-96;
|
|
60
63
|
}
|
|
61
|
-
|
|
62
|
-
@apply
|
|
64
|
+
*:last-child {
|
|
65
|
+
@apply mb-0;
|
|
63
66
|
}
|
|
64
67
|
}
|
|
65
68
|
|
|
@@ -67,11 +70,6 @@
|
|
|
67
70
|
|
|
68
71
|
.ds-dropdown {
|
|
69
72
|
&[open] {
|
|
70
|
-
.ds-dropdown__button--chevron {
|
|
71
|
-
.ds-svg-icon--chevron {
|
|
72
|
-
@apply transform -rotate-180;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
73
|
.ds-dropdown__button {
|
|
76
74
|
&.ds-btn-primary {
|
|
77
75
|
background-color: var(--btn-primary-background-color-hover);
|
|
@@ -85,21 +83,36 @@
|
|
|
85
83
|
background-color: var(--btn-warning-background-color-hover);
|
|
86
84
|
color: var(--btn-warning-color-hover);
|
|
87
85
|
}
|
|
86
|
+
&.ds-dropdown__button--chevron {
|
|
87
|
+
.ds-svg-icon--chevron {
|
|
88
|
+
@apply transform -rotate-180;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
88
91
|
}
|
|
89
92
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
+
&.ds-dropdown--dense,
|
|
94
|
+
.ds-dense & {
|
|
95
|
+
.ds-dropdown__content {
|
|
96
|
+
.ds-section-break {
|
|
97
|
+
@apply -mx-2 w-auto;
|
|
98
|
+
}
|
|
99
|
+
> .ds-nav__list {
|
|
100
|
+
@apply w-auto -mx-2 flex-col;
|
|
101
|
+
}
|
|
93
102
|
}
|
|
94
103
|
}
|
|
95
104
|
.ds-dropdown__button {
|
|
96
|
-
.ds-svg-icon {
|
|
97
|
-
@apply w-5 h-6 md:h-8;
|
|
98
|
-
@apply print:hidden;
|
|
99
|
-
}
|
|
100
105
|
&.ds-link {
|
|
101
106
|
@apply inline-flex gap-1 items-center;
|
|
102
107
|
}
|
|
108
|
+
&.ds-dropdown__button--chevron {
|
|
109
|
+
.ds-svg-icon--chevron {
|
|
110
|
+
@apply transition duration-300;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
.ds-svg-icon {
|
|
114
|
+
@apply w-5 h-6 md:h-8 min-w-4 print:hidden;
|
|
115
|
+
}
|
|
103
116
|
}
|
|
104
117
|
.ds-dropdown__content {
|
|
105
118
|
.ds-field {
|
|
@@ -110,6 +123,12 @@
|
|
|
110
123
|
}
|
|
111
124
|
> .ds-nav__list {
|
|
112
125
|
@apply w-auto -mx-4 flex-col;
|
|
126
|
+
&:nth-child(1) {
|
|
127
|
+
@apply -mt-4;
|
|
128
|
+
}
|
|
129
|
+
&:last-child {
|
|
130
|
+
@apply -mb-4 !important;
|
|
131
|
+
}
|
|
113
132
|
.ds-nav__list-item {
|
|
114
133
|
@apply border-b border-base-300 py-2 px-4;
|
|
115
134
|
&:last-child {
|
|
@@ -121,15 +140,4 @@
|
|
|
121
140
|
}
|
|
122
141
|
}
|
|
123
142
|
}
|
|
124
|
-
&.ds-dropdown--dense,
|
|
125
|
-
.ds-dense & {
|
|
126
|
-
.ds-dropdown__content {
|
|
127
|
-
.ds-section-break {
|
|
128
|
-
@apply -mx-2 w-auto;
|
|
129
|
-
}
|
|
130
|
-
> .ds-nav__list {
|
|
131
|
-
@apply w-auto -mx-2 flex-col;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
143
|
}
|
|
@@ -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,19 +1,24 @@
|
|
|
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
|
-
@apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center
|
|
8
|
+
@apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center flex-wrap sm:flex-nowrap
|
|
7
9
|
print:px-0 gap-3;
|
|
8
10
|
}
|
|
9
11
|
.ds-header__section {
|
|
10
12
|
@apply flex justify-start flex-wrap items-center gap-x-4 gap-y-2
|
|
11
13
|
print:gap-1;
|
|
14
|
+
&:last-child:not(:first-child) {
|
|
15
|
+
@apply flex-1 justify-end sm:flex-none sm:justify-start;
|
|
16
|
+
}
|
|
12
17
|
}
|
|
13
18
|
.ds-header__logo {
|
|
19
|
+
@apply h-12 print:hidden;
|
|
14
20
|
print-color-adjust: exact !important;
|
|
15
21
|
-webkit-print-color-adjust: exact !important;
|
|
16
|
-
@apply h-12 print:hidden;
|
|
17
22
|
}
|
|
18
23
|
.ds-header__logo-inverted {
|
|
19
24
|
@apply h-12 hidden print:block;
|
|
@@ -22,18 +27,18 @@
|
|
|
22
27
|
@apply h-10 print:hidden;
|
|
23
28
|
}
|
|
24
29
|
.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);
|
|
30
|
+
box-shadow: 0 0 0 4px var(--color-focus);
|
|
28
31
|
outline: none;
|
|
29
32
|
text-decoration: none;
|
|
30
33
|
}
|
|
31
34
|
.ds-header__title {
|
|
32
|
-
@apply
|
|
35
|
+
@apply font-bold text-2xl leading-10 tracking-wide no-underline
|
|
33
36
|
w-auto align-middle hover:no-underline
|
|
34
37
|
print:text-base-content;
|
|
38
|
+
color: var(--header__title-color);
|
|
35
39
|
&:hover {
|
|
36
|
-
@apply text-white;
|
|
40
|
+
/* @apply text-white; */
|
|
41
|
+
color: var(--header__title-color-hover);
|
|
37
42
|
}
|
|
38
43
|
&:focus {
|
|
39
44
|
text-decoration: none;
|
|
@@ -51,8 +56,9 @@
|
|
|
51
56
|
.ds-header__content,
|
|
52
57
|
.ds-header__section {
|
|
53
58
|
> .ds-link,
|
|
54
|
-
> .ds-dropdown .ds-dropdown__button.ds-link
|
|
55
|
-
@apply
|
|
59
|
+
> .ds-dropdown .ds-dropdown__button.ds-link {
|
|
60
|
+
@apply focus:text-link-active print:text-base-content;
|
|
61
|
+
color: var(--color-header-text);
|
|
56
62
|
}
|
|
57
63
|
}
|
|
58
64
|
.ds-dropdown {
|
|
@@ -62,12 +68,9 @@
|
|
|
62
68
|
@apply sm:w-max;
|
|
63
69
|
}
|
|
64
70
|
.ds-link {
|
|
65
|
-
.ds-svg-icon {
|
|
66
|
-
fill: var(--color-white);
|
|
67
|
-
}
|
|
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
|
+
@apply print:text-base-content;
|
|
87
|
+
color: var(--color-header-text);
|
|
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
|
}
|