@digigov/css 2.0.0-cbc56209 → 2.0.0-f0a886ce
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 +14 -2
- package/defaultTheme/button.json +9 -0
- package/defaultTheme/card.json +16 -5
- 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 +4 -4
- 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 +5 -5
- package/src/components/accordion.css +5 -2
- package/src/components/admin-header.css +2 -19
- package/src/components/admin-layout.css +6 -15
- package/src/components/autocomplete.css +75 -29
- package/src/components/breadcrumbs.css +8 -1
- package/src/components/button.css +13 -10
- package/src/components/card.css +11 -4
- package/src/components/chip.css +1 -1
- package/src/components/code.css +136 -0
- package/src/components/dropdown.css +37 -26
- package/src/components/filter.css +2 -5
- package/src/components/footer.css +15 -4
- package/src/components/form.css +33 -23
- package/src/components/header.css +35 -13
- package/src/components/hidden.css +11 -11
- package/src/components/index.css +33 -31
- package/src/components/loader.css +2 -2
- package/src/components/misc.css +24 -0
- package/src/components/modal.css +12 -3
- package/src/components/nav.css +7 -4
- package/src/components/notification-banner.css +1 -0
- package/src/components/panel.css +1 -0
- package/src/components/skeleton.css +85 -0
- package/src/components/summary-list.css +14 -0
- package/src/components/svg-icons.css +1 -1
- package/src/components/table.css +10 -8
- package/src/components/tabs.css +44 -61
- package/src/components/typography.css +1 -11
- package/src/utilities/index.css +173 -0
- package/src/utilities/utilities.css +713 -6
- package/tailwind.config.js +2 -0
- package/defaultTheme/footer.json +0 -8
- 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/src/components/index.css
CHANGED
|
@@ -1,46 +1,48 @@
|
|
|
1
1
|
@import './accordion.css';
|
|
2
|
+
@import './admin-header.css';
|
|
3
|
+
@import './admin-layout.css';
|
|
2
4
|
@import './autocomplete.css';
|
|
3
|
-
@import './
|
|
5
|
+
@import './back-to-top.css';
|
|
4
6
|
@import './bottom-info.css';
|
|
5
|
-
@import './
|
|
7
|
+
@import './breadcrumbs.css';
|
|
8
|
+
@import './button.css';
|
|
9
|
+
@import './card.css';
|
|
10
|
+
@import './code.css';
|
|
6
11
|
@import './form.css';
|
|
7
12
|
@import './checkboxes.css';
|
|
13
|
+
@import './chip.css';
|
|
14
|
+
@import './copy-to-clipboard.css';
|
|
15
|
+
@import './details.css';
|
|
16
|
+
@import './dev-theme.css';
|
|
17
|
+
@import './drawer.css';
|
|
8
18
|
@import './dropdown.css';
|
|
9
|
-
@import './
|
|
10
|
-
@import './
|
|
19
|
+
@import './fillable.css';
|
|
20
|
+
@import './filter.css';
|
|
11
21
|
@import './footer.css';
|
|
22
|
+
@import './full-page-background.css';
|
|
23
|
+
@import './header.css';
|
|
24
|
+
@import './hidden.css';
|
|
12
25
|
@import './layout.css';
|
|
13
|
-
@import './
|
|
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';
|
|
26
|
+
@import './loader.css';
|
|
24
27
|
@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
28
|
@import './misc.css';
|
|
31
29
|
@import './modal.css';
|
|
32
|
-
@import './
|
|
30
|
+
@import './nav.css';
|
|
33
31
|
@import './pagination.css';
|
|
34
|
-
@import './
|
|
35
|
-
@import './
|
|
36
|
-
@import './
|
|
37
|
-
@import './
|
|
38
|
-
@import './fillable.css';
|
|
32
|
+
@import './panel.css';
|
|
33
|
+
@import './phase-banner.css';
|
|
34
|
+
@import './radios.css';
|
|
35
|
+
@import './skeleton.css';
|
|
39
36
|
@import './skiplink.css';
|
|
40
|
-
@import './
|
|
41
|
-
@import './task-list.css';
|
|
37
|
+
@import './stack.css';
|
|
42
38
|
@import './stepnav.css';
|
|
43
|
-
@import './
|
|
44
|
-
@import './
|
|
45
|
-
@import './
|
|
39
|
+
@import './summary-list.css';
|
|
40
|
+
@import './svg-icons.css';
|
|
41
|
+
@import './table.css';
|
|
42
|
+
@import './tabs.css';
|
|
43
|
+
@import './task-list.css';
|
|
44
|
+
@import './timeline.css';
|
|
45
|
+
@import './typography.css';
|
|
46
|
+
@import './notification-banner.css';
|
|
46
47
|
@import './warning-text.css';
|
|
48
|
+
@import './kitchensink.css';
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
stroke-miterlimit: 10;
|
|
30
30
|
stroke-width: 42px;
|
|
31
31
|
&.ds-circular-progress__circle--1 {
|
|
32
|
-
stroke: var(--
|
|
32
|
+
stroke: var(--circular-progress__circle--1-stroke);
|
|
33
33
|
}
|
|
34
34
|
&.ds-circular-progress__circle--2 {
|
|
35
35
|
--full-length: 470;
|
|
36
|
-
stroke: var(--
|
|
36
|
+
stroke: var(--circular-progress__circle--2-stroke);
|
|
37
37
|
stroke-dasharray: var(--full-length);
|
|
38
38
|
stroke-dashoffset: 0;
|
|
39
39
|
animation: dash 4s ease-in-out 0s forwards infinite;
|
package/src/components/misc.css
CHANGED
|
@@ -57,3 +57,27 @@ div[class*='ds-grid__col-span'] {
|
|
|
57
57
|
.ds-image-logo-dark {
|
|
58
58
|
@apply h-10 hidden;
|
|
59
59
|
}
|
|
60
|
+
|
|
61
|
+
.ds-test-variant {
|
|
62
|
+
@apply mb-4 mx-2;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.ds-test-variant__title {
|
|
66
|
+
@apply font-semibold text-3xl break-all -mb-1;
|
|
67
|
+
color: var(--color-red-300);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.ds-test-variant__content {
|
|
71
|
+
border-color: var(--color-red-100);
|
|
72
|
+
border-width: 10px;
|
|
73
|
+
|
|
74
|
+
/* For transparency check:
|
|
75
|
+
padding: 25px;
|
|
76
|
+
background-image:
|
|
77
|
+
linear-gradient(45deg, #ccc 25%, transparent 25%),
|
|
78
|
+
linear-gradient(135deg, #ccc 25%, transparent 25%),
|
|
79
|
+
linear-gradient(45deg, transparent 75%, #ccc 75%),
|
|
80
|
+
linear-gradient(135deg, transparent 75%, #ccc 75%);
|
|
81
|
+
background-size:25px 25px;
|
|
82
|
+
background-position:0 0, 12.5px 0, 12.5px -12.5px, 0px 12.5px; */
|
|
83
|
+
}
|
package/src/components/modal.css
CHANGED
|
@@ -9,8 +9,11 @@
|
|
|
9
9
|
|
|
10
10
|
&.ds-modal--dense,
|
|
11
11
|
&.ds-dense & {
|
|
12
|
+
.ds-modal__body {
|
|
13
|
+
@apply px-4 py-0;
|
|
14
|
+
}
|
|
12
15
|
.ds-modal__container {
|
|
13
|
-
@apply
|
|
16
|
+
@apply gap-4 my-0;
|
|
14
17
|
}
|
|
15
18
|
}
|
|
16
19
|
}
|
|
@@ -18,11 +21,17 @@
|
|
|
18
21
|
@apply w-full max-w-md md:max-w-lg lg:max-w-4xl
|
|
19
22
|
h-fit md:h-auto overflow-y-auto
|
|
20
23
|
bg-base-100
|
|
21
|
-
border border-solid border-base-500;
|
|
24
|
+
border border-solid border-base-500 p-6;
|
|
22
25
|
max-height: 95vh;
|
|
23
26
|
}
|
|
24
27
|
.ds-modal__container {
|
|
25
|
-
@apply grid
|
|
28
|
+
@apply grid gap-6 -my-4;
|
|
29
|
+
.ds-modal__action {
|
|
30
|
+
@apply mb-0;
|
|
31
|
+
}
|
|
32
|
+
>.ds-heading-xs, >.ds-heading-sm, >.ds-heading-md, >.ds-heading-lg, >.ds-heading-xl {
|
|
33
|
+
@apply mb-0;
|
|
34
|
+
}
|
|
26
35
|
}
|
|
27
36
|
.ds-modal__content {
|
|
28
37
|
@apply text-base lg:text-xl text-lg;
|
package/src/components/nav.css
CHANGED
|
@@ -38,10 +38,6 @@
|
|
|
38
38
|
&.ds-nav--border {
|
|
39
39
|
@apply sm:border-b sm:border-base-400;
|
|
40
40
|
}
|
|
41
|
-
|
|
42
|
-
/* .ds-nav__list {
|
|
43
|
-
@apply px-3;
|
|
44
|
-
} */
|
|
45
41
|
.ds-nav__list-item-link,
|
|
46
42
|
.ds-nav__list-item-btn {
|
|
47
43
|
@apply md:no-underline !important;
|
|
@@ -81,6 +77,13 @@
|
|
|
81
77
|
@apply font-semibold;
|
|
82
78
|
}
|
|
83
79
|
|
|
80
|
+
.ds-nav__list-item-badge {
|
|
81
|
+
@apply inline-flex w-fit items-center justify-center p-1 ml-2
|
|
82
|
+
bg-error text-white text-xs md:text-xs font-semibold no-underline rounded-3xl
|
|
83
|
+
relative bottom-1;
|
|
84
|
+
min-width: 24px;
|
|
85
|
+
min-height: 24px;
|
|
86
|
+
}
|
|
84
87
|
.ds-nav-menu {
|
|
85
88
|
@apply flex w-full;
|
|
86
89
|
&.ds-nav-menu--hidden {
|
package/src/components/panel.css
CHANGED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
.ds-skeleton {
|
|
2
|
+
@apply block bg-base-300 h-auto w-full max-w-full rounded-sm;
|
|
3
|
+
|
|
4
|
+
/* max-width: 105ch; */
|
|
5
|
+
&.ds-skeleton--text {
|
|
6
|
+
/* @apply text-lg; */
|
|
7
|
+
&::before {
|
|
8
|
+
content: '\00a0';
|
|
9
|
+
visibility: hidden;
|
|
10
|
+
}
|
|
11
|
+
&.ds-skeleton--font-xs {
|
|
12
|
+
@apply text-sm md:text-base mb-2 md:mb-4;
|
|
13
|
+
line-height: 1rem;
|
|
14
|
+
}
|
|
15
|
+
&.ds-skeleton--font-sm {
|
|
16
|
+
@apply text-base md:text-lg mb-3 md:mb-5;
|
|
17
|
+
}
|
|
18
|
+
&.ds-skeleton--font-md {
|
|
19
|
+
@apply text-xl md:text-2xl mb-5 md:mb-6;
|
|
20
|
+
}
|
|
21
|
+
&.ds-skeleton--font-lg {
|
|
22
|
+
@apply text-2xl md:text-3xl mb-6 md:mb-7;
|
|
23
|
+
}
|
|
24
|
+
&.ds-skeleton--font-xl {
|
|
25
|
+
@apply text-3xl md:text-4xl mb-8 md:mb-10;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
&.ds-skeleton--circular {
|
|
29
|
+
border-radius: 50%;
|
|
30
|
+
}
|
|
31
|
+
&.ds-skeleton--rectangular {
|
|
32
|
+
}
|
|
33
|
+
&.ds-skeleton--button {
|
|
34
|
+
@apply mb-8 w-fit min-h-10 md:min-h-12 px-6 py-3
|
|
35
|
+
border-b-2 border-gray-400
|
|
36
|
+
flex items-center justify-center;
|
|
37
|
+
.ds-skeleton__line {
|
|
38
|
+
@apply block bg-base-400 w-full max-w-full max-h-full visible;
|
|
39
|
+
&::before {
|
|
40
|
+
content: '\00a0';
|
|
41
|
+
}
|
|
42
|
+
&.ds-skeleton__line--size-default {
|
|
43
|
+
@apply h-4 w-20;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Skeleton with a child. */
|
|
49
|
+
&.ds-skeleton--width-fit-content {
|
|
50
|
+
@apply w-fit;
|
|
51
|
+
}
|
|
52
|
+
&.ds-skeleton--animate {
|
|
53
|
+
/* @apply animate-pulse; */
|
|
54
|
+
position: relative;
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
mask-image: radial-gradient(white, black);
|
|
57
|
+
&::after {
|
|
58
|
+
@apply absolute top-0 bottom-0 left-0 right-0;
|
|
59
|
+
animation: wave 2s linear 0.5s infinite;
|
|
60
|
+
background: linear-gradient(
|
|
61
|
+
90deg,
|
|
62
|
+
transparent,
|
|
63
|
+
rgba(0, 0, 0, 0.05),
|
|
64
|
+
transparent
|
|
65
|
+
);
|
|
66
|
+
content: '';
|
|
67
|
+
transform: translateX(-100%);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
> * {
|
|
71
|
+
@apply invisible;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@keyframes wave {
|
|
76
|
+
0% {
|
|
77
|
+
transform: translateX(-100%);
|
|
78
|
+
}
|
|
79
|
+
50% {
|
|
80
|
+
transform: translateX(100%);
|
|
81
|
+
}
|
|
82
|
+
100% {
|
|
83
|
+
transform: translateX(100%);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -3,13 +3,27 @@
|
|
|
3
3
|
sm:table sm:w-full sm:table-fixed;
|
|
4
4
|
font-size: var(--summary-list-font-size);
|
|
5
5
|
&.ds-summary-list--no-border {
|
|
6
|
+
>.ds-summary-list__row:last-child {
|
|
7
|
+
@apply border-b-0 pb-0 mb-0;
|
|
8
|
+
}
|
|
6
9
|
.ds-summary-list__key,
|
|
7
10
|
.ds-summary-list__value,
|
|
8
11
|
.ds-summary-list__actions {
|
|
9
12
|
@apply sm:border-0 pb-2;
|
|
10
13
|
}
|
|
11
14
|
}
|
|
15
|
+
&.ds-summary-list--no-last-border {
|
|
16
|
+
>.ds-summary-list__row:last-child {
|
|
17
|
+
@apply border-b-0 pb-0 mb-0;
|
|
18
|
+
.ds-summary-list__key,
|
|
19
|
+
.ds-summary-list__value,
|
|
20
|
+
.ds-summary-list__actions {
|
|
21
|
+
@apply border-b-0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
12
25
|
}
|
|
26
|
+
|
|
13
27
|
.ds-summary-list__row {
|
|
14
28
|
@apply block sm:flex
|
|
15
29
|
pb-4 mb-4 border-b border-solid border-base-300
|
package/src/components/table.css
CHANGED
|
@@ -95,14 +95,14 @@
|
|
|
95
95
|
@apply block;
|
|
96
96
|
}
|
|
97
97
|
.ds-table__cell[data-label]::before {
|
|
98
|
-
@apply block font-semibold;
|
|
98
|
+
@apply block font-semibold mb-2;
|
|
99
99
|
content: attr(data-label);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
&.ds-table--stacked-sm {
|
|
103
103
|
@media (min-width: 640px) {
|
|
104
104
|
.ds-table__cell[data-label]::before {
|
|
105
|
-
content: none;
|
|
105
|
+
content: none !important;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
.ds-table__header,
|
|
@@ -121,14 +121,14 @@
|
|
|
121
121
|
@apply block sm:table-cell;
|
|
122
122
|
}
|
|
123
123
|
.ds-table__cell[data-label]::before {
|
|
124
|
-
@apply block font-semibold;
|
|
124
|
+
@apply block font-semibold mb-2;
|
|
125
125
|
content: attr(data-label);
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
&.ds-table--stacked-md {
|
|
129
129
|
@media (min-width: 768px) {
|
|
130
130
|
.ds-table__cell[data-label]::before {
|
|
131
|
-
content: none;
|
|
131
|
+
content: none !important;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
.ds-table__header,
|
|
@@ -147,10 +147,15 @@
|
|
|
147
147
|
@apply block md:table-cell;
|
|
148
148
|
}
|
|
149
149
|
.ds-table__cell[data-label]::before {
|
|
150
|
-
@apply block font-semibold;
|
|
150
|
+
@apply block font-semibold mb-2;
|
|
151
151
|
content: attr(data-label);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
+
.ds-table__cell {
|
|
155
|
+
.ds-body:last-child {
|
|
156
|
+
@apply mb-0;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
154
159
|
}
|
|
155
160
|
.ds-table-sort__icons-container {
|
|
156
161
|
@apply flex flex-col;
|
|
@@ -258,9 +263,6 @@
|
|
|
258
263
|
}
|
|
259
264
|
}
|
|
260
265
|
.ds-table__header {
|
|
261
|
-
.ds-dropdown__content {
|
|
262
|
-
@apply py-0;
|
|
263
|
-
}
|
|
264
266
|
.ds-dropdown__button:not(:focus) {
|
|
265
267
|
@apply no-underline font-bold text-base-content !important;
|
|
266
268
|
}
|
package/src/components/tabs.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.ds-dense & {
|
|
5
5
|
.ds-tabs__list {
|
|
6
6
|
.ds-tabs__list-item {
|
|
7
|
-
@apply px-3 py-1;
|
|
7
|
+
@apply md:px-3 md:py-1;
|
|
8
8
|
&.ds-tabs__list-item-selected {
|
|
9
9
|
@apply md:px-4 md:pb-3 md:pt-2;
|
|
10
10
|
}
|
|
@@ -14,69 +14,52 @@
|
|
|
14
14
|
@apply pb-2 pt-3;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
17
|
+
}
|
|
18
|
+
.ds-tabs__title {
|
|
19
|
+
@apply block md:hidden;
|
|
20
|
+
}
|
|
21
|
+
.ds-tabs__list {
|
|
22
|
+
@apply list-none m-0 p-0
|
|
23
|
+
md:flex md:flex-nowrap md:w-full md:items-start;
|
|
24
|
+
&::after {
|
|
25
|
+
content: '';
|
|
26
|
+
display: block;
|
|
27
|
+
clear: both;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.ds-tabs__list-item {
|
|
31
|
+
@apply relative px-4 py-1 md:py-2 m-0 shadow-none cursor-pointer text-link
|
|
32
|
+
md:float-left md:border md:border-base-300 md:bg-base-300 md:rounded-t-sm md:mr-2 md:text-base-content
|
|
33
|
+
print:hidden;
|
|
34
|
+
word-break: break-word;
|
|
35
|
+
&.ds-tabs__list-item-selected {
|
|
36
|
+
@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;
|
|
37
|
+
margin-bottom: -1px;
|
|
38
|
+
&:hover {
|
|
39
|
+
text-decoration-thickness: 2px;
|
|
35
40
|
}
|
|
36
41
|
}
|
|
37
|
-
|
|
38
|
-
|
|
42
|
+
}
|
|
43
|
+
.ds-tabs__tab {
|
|
44
|
+
@apply text-lg no-underline hover:underline;
|
|
45
|
+
&::before {
|
|
46
|
+
@apply absolute top-0 left-0 text-base-content;
|
|
47
|
+
@apply md:content-[''] !important;
|
|
48
|
+
content: '_';
|
|
39
49
|
}
|
|
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
|
-
}
|
|
50
|
+
&:focus {
|
|
51
|
+
@apply bg-focus underline text-link-active;
|
|
52
|
+
outline: 3px solid transparent;
|
|
53
|
+
box-shadow: inset 0 0 0 3px var(--color-focus);
|
|
54
|
+
outline-offset: 0;
|
|
55
|
+
text-decoration-thickness: 0.2rem;
|
|
74
56
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
57
|
+
}
|
|
58
|
+
.ds-tabs__panel {
|
|
59
|
+
@apply bg-base-100 md:hidden block md:px-4 py-4 pt-8 md:border md:border-base-400 mb-0
|
|
60
|
+
print:block print:border-0 print:py-3;
|
|
61
|
+
border-radius: var(--tabs__panel-border-radius);
|
|
62
|
+
&.ds-tabs__panel--visible {
|
|
63
|
+
@apply block;
|
|
81
64
|
}
|
|
82
65
|
}
|
|
@@ -309,6 +309,7 @@
|
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
/* overrides */
|
|
312
|
+
|
|
312
313
|
.ds-hint {
|
|
313
314
|
.ds-svg-icon {
|
|
314
315
|
fill: var(--hint-color);
|
|
@@ -340,19 +341,8 @@ button.ds-link {
|
|
|
340
341
|
fill: var(--color-base-content);
|
|
341
342
|
}
|
|
342
343
|
}
|
|
343
|
-
.ds-code-block__container {
|
|
344
|
-
@apply p-4 bg-base-200 border border-base-300 w-full;
|
|
345
|
-
& > pre {
|
|
346
|
-
@apply bg-transparent p-0 m-0;
|
|
347
|
-
font: inherit;
|
|
348
|
-
color: inherit;
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
344
|
.ds-table__cell {
|
|
352
345
|
& > code {
|
|
353
346
|
@apply border-none;
|
|
354
347
|
}
|
|
355
348
|
}
|
|
356
|
-
.ds-code-block__content {
|
|
357
|
-
@apply text-sm sm:text-base;
|
|
358
|
-
}
|