@digigov/css 1.3.0-dcbd7ded → 2.0.0-7d9a8d86
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 +3 -3
- package/dist/utilities/index.css +1 -1
- package/dist/utilities.js +1 -1
- 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 -47
- 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 +29 -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 -16
- package/src/components/svg-icons.css +78 -74
- 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 +93 -103
- package/src/components/warning-text.css +7 -7
- package/src/pages/index.js +1 -1
- package/src/utilities/index.css +1234 -164
- package/src/utilities/utilities.css +451 -42
- package/defaultTheme/footer.json +0 -8
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
.ds-masthead {
|
|
2
2
|
@apply print:border-2 print:bg-white print:border-tertiary-300 print:text-base-content;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
&.ds-masthead--primary {
|
|
4
|
+
@apply bg-tertiary text-white;
|
|
5
|
+
.ds-masthead__body {
|
|
6
|
+
@apply text-white;
|
|
7
|
+
}
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
&.ds-masthead--secondary {
|
|
10
|
+
@apply border-b border-base-400 !important;
|
|
11
|
+
@apply bg-base-200;
|
|
12
|
+
.ds-masthead__body {
|
|
13
|
+
@apply text-base-content;
|
|
14
|
+
}
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
.ds-masthead__body {
|
|
@@ -24,55 +24,56 @@
|
|
|
24
24
|
/* overrides */
|
|
25
25
|
|
|
26
26
|
.ds-masthead {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
.ds-header__content {
|
|
31
|
-
@apply flex-wrap;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
.ds-masthead--primary {
|
|
35
|
-
.ds-body {
|
|
36
|
-
@apply text-white;
|
|
37
|
-
}
|
|
38
|
-
.ds-link {
|
|
39
|
-
@apply text-white hover:text-white focus:text-base-content print:text-base-content;
|
|
40
|
-
&:hover {
|
|
41
|
-
text-decoration-thickness: 2px;
|
|
27
|
+
&.ds-masthead--primary {
|
|
28
|
+
.ds-body {
|
|
29
|
+
@apply text-white;
|
|
42
30
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
31
|
+
.ds-link {
|
|
32
|
+
@apply text-white hover:text-white focus:text-base-content print:text-base-content;
|
|
33
|
+
&:hover {
|
|
34
|
+
text-decoration-thickness: 2px;
|
|
35
|
+
}
|
|
36
|
+
&.ds-link--no-underline {
|
|
37
|
+
@apply no-underline hover:underline;
|
|
38
|
+
&:hover {
|
|
39
|
+
text-decoration-thickness: 2px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
48
42
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
@apply text-white print:text-base-content;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
.ds-masthead--primary,
|
|
58
|
-
.ds-background-dark {
|
|
59
|
-
.ds-btn {
|
|
60
|
-
@apply border-white hover:border-white border-2 shadow-none;
|
|
61
|
-
&:focus {
|
|
62
|
-
-webkit-box-shadow: 0 0 0 4px var(--color-base-content), 0 0 0 8px var(--color-focus);
|
|
63
|
-
box-shadow: 0 0 0 4px var(--color-base-content), 0 0 0 8px var(--color-focus);
|
|
43
|
+
.ds-back-link {
|
|
44
|
+
@apply text-white print:text-base-content;
|
|
45
|
+
}
|
|
46
|
+
.ds-phase-banner__text {
|
|
47
|
+
@apply text-white print:text-base-content;
|
|
64
48
|
}
|
|
65
49
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
50
|
+
&.ds-masthead--primary,
|
|
51
|
+
&.ds-background-dark {
|
|
52
|
+
.ds-btn {
|
|
53
|
+
@apply border-white hover:border-white border-2 shadow-none;
|
|
54
|
+
&:focus {
|
|
55
|
+
box-shadow:
|
|
56
|
+
0 0 0 4px var(--color-base-content),
|
|
57
|
+
0 0 0 8px var(--color-focus);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
.ds-btn-primary {
|
|
61
|
+
@apply print:border-0 print:border-b-2 print:border-success print:text-base-content print:bg-white print:shadow-none;
|
|
62
|
+
}
|
|
63
|
+
.ds-btn-secondary {
|
|
64
|
+
@apply print:border-0 print:border-b-2 print:border-base-500 print:text-base-content print:bg-white print:shadow-none;
|
|
65
|
+
}
|
|
66
|
+
.ds-btn-warning {
|
|
67
|
+
@apply print:border-0 print:border-b-2 print:border-error print:text-base-content print:bg-white print:shadow-none;
|
|
68
|
+
}
|
|
69
|
+
.ds-hint {
|
|
70
|
+
@apply opacity-70 text-white print:text-base-content;
|
|
71
|
+
}
|
|
71
72
|
}
|
|
72
|
-
.ds-
|
|
73
|
-
@apply
|
|
73
|
+
.ds-main > *:last-child {
|
|
74
|
+
@apply mb-0;
|
|
74
75
|
}
|
|
75
|
-
.ds-
|
|
76
|
-
@apply
|
|
76
|
+
.ds-header__content {
|
|
77
|
+
@apply flex-wrap;
|
|
77
78
|
}
|
|
78
79
|
}
|
package/src/components/misc.css
CHANGED
|
@@ -1,31 +1,29 @@
|
|
|
1
1
|
.ds-tooltip {
|
|
2
|
-
@apply
|
|
3
|
-
/* inline-block */
|
|
2
|
+
@apply /* inline-block */
|
|
4
3
|
relative m-0 p-0 underline w-min cursor-pointer;
|
|
5
4
|
text-decoration-style: dotted;
|
|
6
5
|
|
|
7
|
-
.ds-tooltiptext {
|
|
8
|
-
@apply hidden opacity-0 transition-all text-left;
|
|
9
|
-
backdrop-filter: blur(2px);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
6
|
&:hover {
|
|
13
7
|
&::after {
|
|
14
|
-
content: "";
|
|
15
8
|
@apply top-5 md:-mr-1 border-6 border-base-content opacity-85 absolute;
|
|
9
|
+
@apply md:left-1/2;
|
|
10
|
+
content: '';
|
|
16
11
|
border-right-color: transparent;
|
|
17
12
|
border-left-color: transparent;
|
|
18
13
|
border-top-color: transparent;
|
|
19
14
|
left: calc(50% - 6px);
|
|
20
|
-
@apply md:left-1/2;
|
|
21
15
|
}
|
|
22
16
|
|
|
23
17
|
.ds-tooltiptext {
|
|
24
18
|
@apply block opacity-100 absolute md:w-64 md:-ml-32 top-8 md:left-1/2 px-4 py-2 z-1
|
|
25
19
|
text-base-100 rounded-sm bg-base-content bg-opacity-90 shadow;
|
|
26
|
-
|
|
27
20
|
}
|
|
28
21
|
}
|
|
22
|
+
|
|
23
|
+
.ds-tooltiptext {
|
|
24
|
+
@apply hidden opacity-0 transition-all text-left;
|
|
25
|
+
backdrop-filter: blur(2px);
|
|
26
|
+
}
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
@media (max-width: 767.9px) {
|
|
@@ -42,8 +40,8 @@
|
|
|
42
40
|
|
|
43
41
|
/* overrides */
|
|
44
42
|
|
|
45
|
-
div[class*=
|
|
46
|
-
|
|
43
|
+
div[class*='ds-grid__col-span'] {
|
|
44
|
+
> .ds-card {
|
|
47
45
|
@apply mb-0;
|
|
48
46
|
}
|
|
49
47
|
}
|
|
@@ -52,10 +50,10 @@ div[class*="ds-grid__col-span"] {
|
|
|
52
50
|
@apply h-10;
|
|
53
51
|
}
|
|
54
52
|
|
|
55
|
-
.ds-image-logo
|
|
53
|
+
.ds-image-logo-light {
|
|
56
54
|
@apply h-10;
|
|
57
55
|
}
|
|
58
56
|
|
|
59
|
-
.ds-image-logo
|
|
57
|
+
.ds-image-logo-dark {
|
|
60
58
|
@apply h-10 hidden;
|
|
61
|
-
}
|
|
59
|
+
}
|
package/src/components/modal.css
CHANGED
|
@@ -2,10 +2,17 @@
|
|
|
2
2
|
@apply hidden justify-center items-center content-center text-left
|
|
3
3
|
mb-7 text-base-content bg-opacity-50 bg-base-700
|
|
4
4
|
fixed z-50 left-0 top-0 w-full h-full overflow-auto;
|
|
5
|
-
}
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
&.ds-modal--open {
|
|
7
|
+
@apply flex;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&.ds-modal--dense,
|
|
11
|
+
&.ds-dense & {
|
|
12
|
+
.ds-modal__container {
|
|
13
|
+
@apply px-4 py-0 gap-4;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
9
16
|
}
|
|
10
17
|
.ds-modal__body {
|
|
11
18
|
@apply w-full max-w-md md:max-w-lg lg:max-w-4xl
|
|
@@ -22,17 +29,8 @@
|
|
|
22
29
|
}
|
|
23
30
|
.ds-modal__action {
|
|
24
31
|
@apply flex flex-wrap items-center gap-4;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.ds-modal__action {
|
|
28
32
|
.ds-link,
|
|
29
33
|
.ds-btn {
|
|
30
34
|
@apply mb-0;
|
|
31
35
|
}
|
|
32
36
|
}
|
|
33
|
-
|
|
34
|
-
.ds-modal--dense, .ds-dense & {
|
|
35
|
-
.ds-modal__container {
|
|
36
|
-
@apply px-4 py-0 gap-4;
|
|
37
|
-
}
|
|
38
|
-
}
|
package/src/components/nav.css
CHANGED
|
@@ -1,62 +1,63 @@
|
|
|
1
1
|
.ds-nav {
|
|
2
2
|
@apply relative block w-full h-auto bg-base-100 text-base-content;
|
|
3
|
-
|
|
4
|
-
@apply
|
|
5
|
-
} */
|
|
6
|
-
.ds-nav__list-item-link,
|
|
7
|
-
.ds-nav__list-item-btn {
|
|
8
|
-
@apply md:no-underline !important;
|
|
3
|
+
&.ds-nav--hidden {
|
|
4
|
+
@apply hidden;
|
|
9
5
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
@apply shadow-thick !important;
|
|
17
|
-
.ds-nav__list--horizontal {
|
|
18
|
-
@apply px-0;
|
|
6
|
+
&.ds-nav--drawer {
|
|
7
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4;
|
|
8
|
+
@apply shadow-thick !important;
|
|
9
|
+
.ds-nav__list--horizontal {
|
|
10
|
+
@apply px-0;
|
|
11
|
+
}
|
|
19
12
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
13
|
+
&.ds-nav--drawer-smDown {
|
|
14
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
23
15
|
sm:relative sm:block sm:w-full sm:h-auto sm:z-auto sm:top-auto sm:overflow-visible sm:p-0;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
16
|
+
@apply shadow-thick sm:shadow-none !important;
|
|
17
|
+
.ds-nav__list--horizontal {
|
|
18
|
+
@apply px-0 sm:px-4;
|
|
19
|
+
}
|
|
27
20
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
21
|
+
&.ds-nav--drawer-mdDown {
|
|
22
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
31
23
|
md:relative md:block md:w-full md:h-auto md:z-auto md:top-auto md:overflow-visible md:p-0;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
24
|
+
@apply shadow-thick md:shadow-none !important;
|
|
25
|
+
.ds-nav__list--horizontal {
|
|
26
|
+
@apply px-0 md:px-4;
|
|
27
|
+
}
|
|
35
28
|
}
|
|
36
|
-
}
|
|
37
29
|
|
|
38
|
-
|
|
39
|
-
|
|
30
|
+
&.ds-nav--drawer-lgDown {
|
|
31
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
40
32
|
lg:relative lg:block lg:w-full lg:h-auto lg:z-auto lg:top-auto lg:overflow-visible lg:p-0;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
33
|
+
@apply shadow-thick lg:shadow-none !important;
|
|
34
|
+
.ds-nav__list--horizontal {
|
|
35
|
+
@apply px-0 lg:px-4;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
&.ds-nav--border {
|
|
39
|
+
@apply sm:border-b sm:border-base-400;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* .ds-nav__list {
|
|
43
|
+
@apply px-3;
|
|
44
|
+
} */
|
|
45
|
+
.ds-nav__list-item-link,
|
|
46
|
+
.ds-nav__list-item-btn {
|
|
47
|
+
@apply md:no-underline !important;
|
|
44
48
|
}
|
|
45
|
-
}
|
|
46
|
-
.ds-nav--border {
|
|
47
|
-
@apply sm:border-b sm:border-base-400;
|
|
48
49
|
}
|
|
49
50
|
.ds-nav__list {
|
|
50
51
|
@apply w-full m-0 max-w-5xl static flex flex-wrap flex-col;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
&.ds-nav__list--horizontal {
|
|
53
|
+
@apply sm:mx-auto sm:gap-x-6 sm:py-1 px-4 sm:flex-row;
|
|
54
|
+
.ds-nav__list-item {
|
|
55
|
+
@apply sm:gap-x-6;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
&.ds-nav__list--full-width {
|
|
59
|
+
@apply max-w-none;
|
|
56
60
|
}
|
|
57
|
-
}
|
|
58
|
-
.ds-nav__list--full-width {
|
|
59
|
-
@apply max-w-none;
|
|
60
61
|
}
|
|
61
62
|
.ds-nav__list-item {
|
|
62
63
|
@apply text-base-content font-normal py-1;
|
|
@@ -66,7 +67,9 @@
|
|
|
66
67
|
@apply text-left;
|
|
67
68
|
&:focus {
|
|
68
69
|
@apply bg-focus text-base-content outline-none;
|
|
69
|
-
box-shadow:
|
|
70
|
+
box-shadow:
|
|
71
|
+
0 -2px var(--color-focus),
|
|
72
|
+
0 4px var(--color-base-content);
|
|
70
73
|
}
|
|
71
74
|
&:hover:not(:focus) {
|
|
72
75
|
@apply underline !important;
|
|
@@ -80,28 +83,28 @@
|
|
|
80
83
|
|
|
81
84
|
.ds-nav-menu {
|
|
82
85
|
@apply flex w-full;
|
|
83
|
-
|
|
84
|
-
.ds-nav-menu--hidden {
|
|
85
|
-
@apply hidden;
|
|
86
|
-
}
|
|
87
|
-
.ds-nav-menu--horizontal {
|
|
88
|
-
@apply sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-base-100;
|
|
89
|
-
.ds-nav-menu__content-list {
|
|
90
|
-
@apply sm:grid-rows-1 sm:grid-cols-3;
|
|
91
|
-
}
|
|
92
|
-
.ds-nav-menu__title {
|
|
93
|
-
@apply hidden sm:block;
|
|
94
|
-
+ .ds-nav-menu__content > .ds-nav-menu__content-list {
|
|
95
|
-
@apply sm:grid-cols-2;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
.ds-nav-menu--vertical {
|
|
100
|
-
.ds-nav-menu__title {
|
|
86
|
+
&.ds-nav-menu--hidden {
|
|
101
87
|
@apply hidden;
|
|
102
88
|
}
|
|
103
|
-
|
|
104
|
-
@apply
|
|
89
|
+
&.ds-nav-menu--horizontal {
|
|
90
|
+
@apply sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-base-100;
|
|
91
|
+
.ds-nav-menu__content-list {
|
|
92
|
+
@apply sm:grid-rows-1 sm:grid-cols-3;
|
|
93
|
+
}
|
|
94
|
+
.ds-nav-menu__title {
|
|
95
|
+
@apply hidden sm:block;
|
|
96
|
+
+ .ds-nav-menu__content > .ds-nav-menu__content-list {
|
|
97
|
+
@apply sm:grid-cols-2;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
&.ds-nav-menu--vertical {
|
|
102
|
+
.ds-nav-menu__title {
|
|
103
|
+
@apply hidden;
|
|
104
|
+
}
|
|
105
|
+
.ds-nav-menu__content-list {
|
|
106
|
+
@apply py-2 sm:py-4;
|
|
107
|
+
}
|
|
105
108
|
}
|
|
106
109
|
}
|
|
107
110
|
.ds-nav-menu__content-list {
|
|
@@ -121,6 +124,7 @@
|
|
|
121
124
|
@apply mb-2 md:mb-0;
|
|
122
125
|
}
|
|
123
126
|
}
|
|
127
|
+
|
|
124
128
|
/* .ds-nav__list,
|
|
125
129
|
.ds-grid {
|
|
126
130
|
.ds-drawer__heading {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
.ds-notification-banner {
|
|
2
2
|
@apply border-5 mb-6 md:mb-8 font-normal print:bg-white;
|
|
3
|
-
|
|
3
|
+
border-radius: var(--notification-banner-border-radius);
|
|
4
|
+
&.ds-notification-banner--dense,
|
|
5
|
+
.ds-dense & {
|
|
4
6
|
@apply border-4 mb-4 md:mb-5;
|
|
5
7
|
.ds-notification-banner__title {
|
|
6
8
|
@apply px-2 sm:px-3 pb-1;
|
|
@@ -9,23 +11,23 @@
|
|
|
9
11
|
@apply p-3 md:p-4;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
&.ds-notification-banner--info {
|
|
15
|
+
@apply bg-info border-info;
|
|
16
|
+
}
|
|
17
|
+
&.ds-notification-banner--success {
|
|
18
|
+
@apply bg-success border-success;
|
|
19
|
+
.ds-notification-banner__link {
|
|
20
|
+
&:link:not(:focus) {
|
|
21
|
+
@apply text-success;
|
|
22
|
+
}
|
|
21
23
|
}
|
|
22
24
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
&.ds-notification-banner--error {
|
|
26
|
+
@apply bg-error border-error;
|
|
27
|
+
.ds-notification-banner__link {
|
|
28
|
+
&:link:not(:focus) {
|
|
29
|
+
@apply text-error;
|
|
30
|
+
}
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
.ds-pagination {
|
|
2
2
|
@apply flex flex-wrap items-center justify-items-center justify-between;
|
|
3
|
+
&.ds-pagination--sm {
|
|
4
|
+
.ds-pagination__label,
|
|
5
|
+
.ds-pagination__item--current {
|
|
6
|
+
@apply md:text-base text-sm;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
3
9
|
.ds-pagination__label {
|
|
4
10
|
@apply md:text-lg text-base;
|
|
5
11
|
}
|
|
@@ -7,12 +13,6 @@
|
|
|
7
13
|
@apply md:text-lg text-base;
|
|
8
14
|
}
|
|
9
15
|
}
|
|
10
|
-
.ds-pagination--sm {
|
|
11
|
-
.ds-pagination__label,
|
|
12
|
-
.ds-pagination__item--current {
|
|
13
|
-
@apply md:text-base text-sm;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
16
|
.ds-pagination__label {
|
|
17
17
|
@apply text-base-content md:leading-normal;
|
|
18
18
|
}
|
|
@@ -27,49 +27,48 @@
|
|
|
27
27
|
&:last-child {
|
|
28
28
|
@apply pr-0;
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
&.ds-pagination__item--current,
|
|
31
|
+
&.ds-pagination__item--dots {
|
|
32
|
+
@apply font-bold;
|
|
33
|
+
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/* overrides */
|
|
37
37
|
|
|
38
38
|
.ds-pagination {
|
|
39
|
+
&.ds-pagination--sm {
|
|
40
|
+
.ds-label,
|
|
41
|
+
.ds-select {
|
|
42
|
+
@apply md:text-base text-sm;
|
|
43
|
+
}
|
|
44
|
+
.ds-pagination__list {
|
|
45
|
+
.ds-link {
|
|
46
|
+
@apply md:text-base text-sm !important;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
39
50
|
.ds-label {
|
|
40
51
|
@apply text-base-content md:leading-normal flex-row items-center gap-2 md:text-lg text-base;
|
|
41
52
|
}
|
|
42
53
|
.ds-select {
|
|
43
|
-
text-indent: 0px;
|
|
44
54
|
@apply flex text-base-content md:leading-normal border md:text-lg text-base;
|
|
55
|
+
text-indent: 0;
|
|
45
56
|
&:focus {
|
|
46
|
-
-webkit-box-shadow: inset 0 0 0 1px;
|
|
47
57
|
box-shadow: inset 0 0 0 1px;
|
|
48
58
|
}
|
|
49
59
|
}
|
|
50
60
|
}
|
|
51
|
-
.ds-
|
|
52
|
-
|
|
53
|
-
.ds-select {
|
|
54
|
-
@apply md:text-base text-sm;
|
|
55
|
-
}
|
|
56
|
-
.ds-pagination__list {
|
|
61
|
+
.ds-pagination__item {
|
|
62
|
+
&.ds-pagination__item--inactive {
|
|
57
63
|
.ds-link {
|
|
58
|
-
@apply
|
|
64
|
+
@apply text-base-800;
|
|
65
|
+
pointer-events: none;
|
|
66
|
+
.ds-svg-icon {
|
|
67
|
+
fill: var(--color-base-800);
|
|
68
|
+
}
|
|
59
69
|
}
|
|
60
70
|
}
|
|
61
|
-
}
|
|
62
|
-
.ds-pagination__item {
|
|
63
71
|
.ds-link {
|
|
64
72
|
@apply flex items-center no-underline;
|
|
65
73
|
}
|
|
66
74
|
}
|
|
67
|
-
.ds-pagination__item--inactive {
|
|
68
|
-
.ds-link {
|
|
69
|
-
pointer-events: none;
|
|
70
|
-
@apply text-base-800;
|
|
71
|
-
.ds-svg-icon {
|
|
72
|
-
fill: var(--color-base-800);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
package/src/components/panel.css
CHANGED
|
@@ -2,22 +2,23 @@
|
|
|
2
2
|
@apply box-border mb-4 p-8 border-5 border-transparent text-center
|
|
3
3
|
print:p-4 text-white
|
|
4
4
|
print:border-4 print:text-base-content print:bg-white;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
border-radius: var(--panel-border-radius);
|
|
6
|
+
&.ds-panel--success {
|
|
7
|
+
@apply bg-success print:border-success;
|
|
8
|
+
}
|
|
8
9
|
}
|
|
9
10
|
.ds-panel__title {
|
|
10
11
|
@apply mx-auto mt-0;
|
|
11
12
|
font-size: var(--panel__title-font-size);
|
|
12
|
-
line-height:var(--panel__title-line-height);
|
|
13
|
-
margin-bottom:var(--panel__title-margin-bottom);
|
|
13
|
+
line-height: var(--panel__title-line-height);
|
|
14
|
+
margin-bottom: var(--panel__title-margin-bottom);
|
|
14
15
|
font-weight: var(--panel__title-font-weight);
|
|
15
16
|
letter-spacing: var(--panel__title-letter-spacing);
|
|
16
17
|
}
|
|
17
18
|
.ds-panel__body {
|
|
18
19
|
@apply break-words;
|
|
19
20
|
font-size: var(--panel__body-font-size);
|
|
20
|
-
line-height:var(--panel__body-line-height);
|
|
21
|
-
margin:var(--panel__body-margin);
|
|
21
|
+
line-height: var(--panel__body-line-height);
|
|
22
|
+
margin: var(--panel__body-margin);
|
|
22
23
|
letter-spacing: var(--panel__body-letter-spacing);
|
|
23
|
-
}
|
|
24
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.ds-phase-
|
|
1
|
+
.ds-phase-banner-header {
|
|
2
2
|
@apply bg-focus top-0 z-30
|
|
3
3
|
print:bg-white print:border-focus print:border-2 print:px-4;
|
|
4
4
|
.ds-phase-banner {
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
}
|
|
8
8
|
.ds-phase-banner {
|
|
9
9
|
@apply py-2 mb-4;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
&.ds-phase-banner--underline {
|
|
11
|
+
@apply border-base-500 border-b;
|
|
12
|
+
}
|
|
13
13
|
}
|
|
14
14
|
.ds-phase-banner__content {
|
|
15
|
-
font-size: var(--phase-banner__content-font-size);
|
|
16
15
|
@apply table;
|
|
16
|
+
font-size: var(--phase-banner__content-font-size);
|
|
17
17
|
}
|
|
18
18
|
.ds-phase-banner__tag {
|
|
19
19
|
@apply px-2 py-1 mr-2 inline-block bg-info font-sans text-white text-sm uppercase tracking-widest
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.ds-radios {
|
|
2
|
-
&.ds-radios--dense,
|
|
2
|
+
&.ds-radios--dense,
|
|
3
|
+
ds-dense & {
|
|
3
4
|
.ds-radios__item {
|
|
4
5
|
@apply mb-2 pl-9 min-h-8;
|
|
5
6
|
}
|
|
@@ -10,21 +11,17 @@
|
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
min-height: 40px;
|
|
17
|
-
}
|
|
18
|
-
.ds-radios--horizontal {
|
|
19
|
-
@apply inline-flex flex-wrap items-baseline gap-4 md:gap-6;
|
|
14
|
+
&.ds-radios--horizontal {
|
|
15
|
+
@apply inline-flex flex-wrap items-baseline gap-4 md:gap-6;
|
|
16
|
+
}
|
|
20
17
|
}
|
|
21
18
|
.ds-radios__item {
|
|
22
19
|
@apply block relative mb-4 pl-12;
|
|
23
20
|
min-height: 40px;
|
|
24
21
|
}
|
|
25
22
|
.ds-radios__label {
|
|
26
|
-
font-size: var(--radios__label-font-size);
|
|
27
23
|
@apply inline-block py-1 px-2 cursor-pointer;
|
|
24
|
+
font-size: var(--radios__label-font-size);
|
|
28
25
|
}
|
|
29
26
|
.ds-radios__input {
|
|
30
27
|
@apply absolute z-1 left-0.5 -top-1 m-0
|
|
@@ -33,12 +30,17 @@
|
|
|
33
30
|
appearance: none;
|
|
34
31
|
width: 40px;
|
|
35
32
|
height: 40px;
|
|
36
|
-
border: 2px solid
|
|
33
|
+
border: 2px solid currentcolor;
|
|
37
34
|
border-radius: 50%;
|
|
38
35
|
&:checked {
|
|
39
|
-
box-shadow:
|
|
36
|
+
box-shadow:
|
|
37
|
+
inset 0 0 0 6px var(--color-base-100),
|
|
38
|
+
inset 0 0 0 20px var(--color-base-content);
|
|
40
39
|
&:focus {
|
|
41
|
-
box-shadow:
|
|
40
|
+
box-shadow:
|
|
41
|
+
0 0 0 4px var(--color-focus),
|
|
42
|
+
inset 0 0 0 4px var(--color-base-100),
|
|
43
|
+
inset 0 0 0 20px var(--color-base-content);
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
&:focus {
|
|
@@ -49,20 +51,21 @@
|
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
53
|
.ds-radios__conditional {
|
|
52
|
-
|
|
54
|
+
@apply border-l-4 border-base-500 ml-4 pl-6;
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
/* overrides */
|
|
56
|
-
|
|
57
|
-
.ds-radios--horizontal {
|
|
58
|
-
.ds-choice-divider-text {
|
|
59
|
-
@apply min-w-max mx-2;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
58
|
.ds-radios {
|
|
63
|
-
&.ds-radios--dense,
|
|
59
|
+
&.ds-radios--dense,
|
|
60
|
+
.ds-dense & {
|
|
64
61
|
.ds-field {
|
|
65
62
|
@apply mb-4 md:mb-6;
|
|
66
63
|
}
|
|
67
64
|
}
|
|
68
|
-
|
|
65
|
+
|
|
66
|
+
&.ds-radios--horizontal {
|
|
67
|
+
.ds-choice-divider-text {
|
|
68
|
+
@apply min-w-max mx-2;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|