@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
|
@@ -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';
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
}
|
|
13
13
|
.ds-kitchensink-content {
|
|
14
14
|
@apply max-w-2xl w-2xl;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
&.ds-kitchensink-content--wide {
|
|
16
|
+
@apply max-w-4xl w-4xl;
|
|
17
|
+
}
|
|
18
18
|
}
|
|
19
19
|
.ds-kitchensink-content__info {
|
|
20
20
|
@apply max-w-2xl;
|
|
@@ -22,43 +22,43 @@
|
|
|
22
22
|
.ds-kitchensink-content__tags {
|
|
23
23
|
@apply flex flex-nowrap gap-2 h-16;
|
|
24
24
|
}
|
|
25
|
-
.ds-kitchensink-card {
|
|
26
|
-
border-style: dashed;
|
|
27
|
-
container-type: inline-size;
|
|
28
|
-
|
|
29
|
-
}
|
|
30
25
|
|
|
31
26
|
/* COMPONENTS */
|
|
32
|
-
.ds-kitchensink-card .ds-modal {
|
|
33
|
-
position: inherit;
|
|
34
|
-
}
|
|
35
|
-
.ds-kitchensink-card .ds-modal__body {
|
|
36
|
-
margin: 1rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.ds-kitchensink-card .ds-dropdown {
|
|
40
|
-
margin-bottom: 20rem;
|
|
41
|
-
}
|
|
42
|
-
.ds-kitchensink-card .ds-dropdown.ds-dropdown--up {
|
|
43
|
-
margin-top: 20rem;
|
|
44
|
-
margin-bottom: 0rem;
|
|
45
|
-
}
|
|
46
27
|
.ds-kitchensink-card .ds-table__cell .ds-dropdown {
|
|
47
28
|
margin: 0 !important;
|
|
48
29
|
}
|
|
49
|
-
.ds-kitchensink-card
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
.ds-kitchensink-card .ds-drawer {
|
|
30
|
+
.ds-kitchensink-card {
|
|
31
|
+
border-style: dashed;
|
|
32
|
+
container-type: inline-size;
|
|
33
|
+
.ds-layout--full-height {
|
|
54
34
|
min-height: inherit;
|
|
55
|
-
width: 80%;
|
|
56
|
-
box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
|
|
57
35
|
}
|
|
58
|
-
.ds-
|
|
59
|
-
|
|
36
|
+
.ds-dropdown.ds-dropdown--up {
|
|
37
|
+
margin-top: 20rem;
|
|
38
|
+
margin-bottom: 0;
|
|
60
39
|
}
|
|
61
|
-
.ds-
|
|
62
|
-
|
|
40
|
+
.ds-dropdown {
|
|
41
|
+
margin-bottom: 20rem;
|
|
42
|
+
}
|
|
43
|
+
.ds-modal__body {
|
|
44
|
+
margin: 1rem;
|
|
45
|
+
}
|
|
46
|
+
.ds-modal {
|
|
47
|
+
position: inherit;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
@container (min-width: 400px) {
|
|
51
|
+
.ds-kitchensink-card {
|
|
52
|
+
.ds-close-btn {
|
|
53
|
+
@apply block;
|
|
54
|
+
}
|
|
55
|
+
.ds-drawer {
|
|
56
|
+
min-height: inherit;
|
|
57
|
+
width: 80%;
|
|
58
|
+
box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
|
|
59
|
+
&.ds-drawer--closed {
|
|
60
|
+
@apply hidden;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -1,45 +1,43 @@
|
|
|
1
|
-
|
|
2
1
|
.ds-layout {
|
|
3
2
|
display: flex;
|
|
4
|
-
flex-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
min-height: 100vh;
|
|
3
|
+
flex-flow: column wrap;
|
|
4
|
+
&.ds-layout--full-height {
|
|
5
|
+
min-height: 100vh;
|
|
6
|
+
}
|
|
9
7
|
}
|
|
10
8
|
.ds-container {
|
|
11
9
|
@apply max-w-5xl box-border mx-auto px-3 md:px-6 w-full;
|
|
12
10
|
flex: 1 1 0%;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
&.ds-container--full-width {
|
|
12
|
+
@apply max-w-full;
|
|
13
|
+
}
|
|
16
14
|
}
|
|
17
15
|
.ds-top {
|
|
18
16
|
@apply mb-4;
|
|
19
17
|
}
|
|
20
18
|
.ds-aside {
|
|
21
19
|
@apply flex flex-wrap flex-col md:top-8 h-fit print:order-1;
|
|
20
|
+
&.ds-aside--sticky {
|
|
21
|
+
@apply md:sticky;
|
|
22
|
+
&.ds-aside--full-height {
|
|
23
|
+
max-height: calc(100vh - 2rem);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&.ds-aside--full-height {
|
|
27
|
+
@apply h-full;
|
|
28
|
+
}
|
|
22
29
|
.ds-back-to-top {
|
|
23
30
|
@apply flex flex-1 content-end flex-wrap;
|
|
24
|
-
.ds-back-to-top-link {
|
|
25
|
-
@apply md:mx-6 md:my-4;
|
|
26
|
-
}
|
|
27
31
|
&.ds-back-to-top--persistent {
|
|
28
32
|
.ds-back-to-top-content {
|
|
29
33
|
@apply sticky bottom-0 mb-4;
|
|
30
34
|
}
|
|
31
35
|
}
|
|
36
|
+
.ds-back-to-top-link {
|
|
37
|
+
@apply md:mx-6 md:my-4;
|
|
38
|
+
}
|
|
32
39
|
}
|
|
33
40
|
}
|
|
34
|
-
.ds-aside--sticky {
|
|
35
|
-
@apply md:sticky;
|
|
36
|
-
&.ds-aside--full-height {
|
|
37
|
-
max-height: calc(100vh - 2rem);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
.ds-aside--full-height {
|
|
41
|
-
@apply h-full;
|
|
42
|
-
}
|
|
43
41
|
.ds-bottom {
|
|
44
42
|
@apply w-full flex flex-wrap box-border;
|
|
45
43
|
}
|
|
@@ -48,30 +46,30 @@
|
|
|
48
46
|
}
|
|
49
47
|
@media print {
|
|
50
48
|
/* When ds-btn-group is empty at print, content at :after limits its height. */
|
|
51
|
-
.ds-btn-group
|
|
52
|
-
content:
|
|
49
|
+
.ds-btn-group::after {
|
|
50
|
+
content: '';
|
|
53
51
|
}
|
|
54
52
|
}
|
|
55
53
|
.ds-section-break {
|
|
56
54
|
@apply m-auto px-4 py-2 border-0 w-full bg-transparent;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
55
|
+
&.ds-section-break--visible {
|
|
56
|
+
@apply border-t border-base-300 border-solid;
|
|
57
|
+
}
|
|
58
|
+
&.ds-section-break--md {
|
|
59
|
+
@apply mb-3 md:mb-5;
|
|
60
|
+
}
|
|
61
|
+
&.ds-section-break--lg {
|
|
62
|
+
@apply mb-5 md:mb-7;
|
|
63
|
+
}
|
|
64
|
+
&.ds-section-break--xl {
|
|
65
|
+
@apply mb-7 md:mb-9;
|
|
66
|
+
}
|
|
69
67
|
}
|
|
70
68
|
|
|
71
69
|
/* overrides */
|
|
72
70
|
|
|
73
71
|
.ds-main {
|
|
74
|
-
|
|
72
|
+
> .ds-back-to-top--persistent {
|
|
75
73
|
@apply fixed bottom-0 right-0 bg-base-200 w-full z-5;
|
|
76
74
|
.ds-back-to-top-link {
|
|
77
75
|
@apply mx-6 my-4;
|
|
@@ -2,43 +2,43 @@
|
|
|
2
2
|
@apply h-fit w-fit m-auto overflow-hidden print:hidden;
|
|
3
3
|
}
|
|
4
4
|
.ds-circular-progress {
|
|
5
|
-
animation: rotate 10s linear infinite;
|
|
6
5
|
@apply w-fit h-10;
|
|
6
|
+
animation: rotate 10s linear infinite;
|
|
7
|
+
&.ds-circular-progress--secondary {
|
|
8
|
+
.ds-circular_progress__circle--1 {
|
|
9
|
+
@apply opacity-40;
|
|
10
|
+
stroke: var(--color-white);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ds-circular-progress__circle--2 {
|
|
14
|
+
stroke: var(--color-white);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
&.ds-circular-progress--sm {
|
|
18
|
+
@apply h-5 w-5;
|
|
19
|
+
}
|
|
20
|
+
&.ds-circular-progress--md {
|
|
21
|
+
@apply h-10 w-10;
|
|
22
|
+
}
|
|
23
|
+
&.ds-circular-progress--lg {
|
|
24
|
+
@apply h-12 w-12;
|
|
25
|
+
}
|
|
7
26
|
}
|
|
8
27
|
.ds-circular-progress__circle {
|
|
9
28
|
fill: none;
|
|
10
29
|
stroke-miterlimit: 10;
|
|
11
30
|
stroke-width: 42px;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
stroke: var(--color-secondary);
|
|
15
|
-
}
|
|
16
|
-
.ds-circular-progress__circle--2 {
|
|
17
|
-
--full-length: 470;
|
|
18
|
-
stroke: var(--color-primary);
|
|
19
|
-
stroke-dasharray: var(--full-length);
|
|
20
|
-
stroke-dashoffset: 0;
|
|
21
|
-
animation: dash 4s ease-in-out 0s forwards infinite;
|
|
22
|
-
}
|
|
23
|
-
.ds-circular-progress--secondary {
|
|
24
|
-
.ds-circular_progress__circle--1 {
|
|
25
|
-
@apply opacity-40;
|
|
26
|
-
stroke: var(--color-white);
|
|
31
|
+
&.ds-circular-progress__circle--1 {
|
|
32
|
+
stroke: var(--circular-progress__circle--1-stroke);
|
|
27
33
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
stroke: var(--
|
|
34
|
+
&.ds-circular-progress__circle--2 {
|
|
35
|
+
--full-length: 470;
|
|
36
|
+
stroke: var(--circular-progress__circle--2-stroke);
|
|
37
|
+
stroke-dasharray: var(--full-length);
|
|
38
|
+
stroke-dashoffset: 0;
|
|
39
|
+
animation: dash 4s ease-in-out 0s forwards infinite;
|
|
31
40
|
}
|
|
32
41
|
}
|
|
33
|
-
.ds-circular-progress--sm {
|
|
34
|
-
@apply h-5 w-5;
|
|
35
|
-
}
|
|
36
|
-
.ds-circular-progress--md {
|
|
37
|
-
@apply h-10 w-10;
|
|
38
|
-
}
|
|
39
|
-
.ds-circular-progress--lg {
|
|
40
|
-
@apply h-12 w-12;
|
|
41
|
-
}
|
|
42
42
|
@keyframes dash {
|
|
43
43
|
0% {
|
|
44
44
|
stroke-dashoffset: 0;
|
|
@@ -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
|
-
}
|