@db-ux/core-components 3.0.2-shell4-bdb351c → 3.0.3
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/build/assets/icons/LICENCES.json +0 -24
- package/build/assets/icons/fonts/all/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_12/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_14/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_16/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_20/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_24/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_28/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_32/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_48/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_64/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_12/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_14/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_16/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_20/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_24/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_28/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_32/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_48/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_64/db-ux.woff2 +0 -0
- package/build/components/accordion/accordion.css +5 -5
- package/build/components/{control-panel-brand/control-panel-brand.css → brand/brand.css} +6 -12
- package/build/components/{control-panel-brand/control-panel-brand.scss → brand/brand.scss} +1 -10
- package/build/components/button/button.css +1 -1
- package/build/components/button/button.scss +2 -2
- package/build/components/custom-select/custom-select.css +4 -4
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +12 -12
- package/build/components/custom-select-list-item/custom-select-list-item.css +6 -6
- package/build/components/divider/divider.css +6 -6
- package/build/components/drawer/drawer.css +6 -7
- package/build/components/drawer/drawer.scss +2 -7
- package/build/components/header/header.css +759 -0
- package/build/components/header/header.scss +259 -0
- package/build/components/navigation/navigation.css +123 -394
- package/build/components/navigation/navigation.scss +72 -155
- package/build/components/navigation-item/navigation-item.css +418 -35
- package/build/components/navigation-item/navigation-item.scss +310 -8
- package/build/components/page/page.css +52 -0
- package/build/components/page/page.scss +52 -0
- package/build/components/popover/popover.css +1 -1
- package/build/components/stack/stack-web-component.css +0 -1
- package/build/components/stack/stack.css +0 -1
- package/build/components/tab-item/tab-item.scss +1 -0
- package/build/components/tab-list/tab-list.css +1 -1
- package/build/components/tabs/tabs.css +23 -106
- package/build/components/tabs/tabs.scss +70 -25
- package/build/components/tag/tag.css +11 -5
- package/build/components/tag/tag.scss +5 -1
- package/build/components/textarea/textarea.css +1 -1
- package/build/components/tooltip/tooltip.css +1 -1
- package/build/styles/absolute.css +6 -6
- package/build/styles/component-animations.css +1 -1
- package/build/styles/index.css +5 -5
- package/build/styles/index.scss +3 -11
- package/build/styles/internal/_custom-elements.scss +4 -22
- package/build/styles/internal/{_indicator.scss → _db-puls.scss} +16 -37
- package/build/styles/internal/_icon-passing.scss +9 -19
- package/build/styles/internal/_popover-component.scss +4 -1
- package/build/styles/internal/_scrollbar.scss +0 -71
- package/build/styles/relative.css +6 -6
- package/build/styles/rollup.css +6 -6
- package/build/styles/wc-workarounds.css +1 -1
- package/build/styles/wc-workarounds.scss +0 -11
- package/build/styles/webpack.css +6 -6
- package/package.json +3 -3
- package/build/assets/icons/double_chevron_left.svg +0 -1
- package/build/assets/icons/double_chevron_right.svg +0 -1
- package/build/assets/icons/house.svg +0 -1
- package/build/assets/icons/intermediary_stop.svg +0 -1
- package/build/components/control-panel-desktop/control-panel-desktop.css +0 -791
- package/build/components/control-panel-desktop/control-panel-desktop.scss +0 -29
- package/build/components/control-panel-flat-icon-navigation/control-panel-flat-icon-navigation.css +0 -222
- package/build/components/control-panel-flat-icon-navigation/control-panel-flat-icon-navigation.scss +0 -95
- package/build/components/control-panel-meta-navigation/control-panel-meta-navigation.css +0 -54
- package/build/components/control-panel-meta-navigation/control-panel-meta-navigation.scss +0 -12
- package/build/components/control-panel-mobile/control-panel-mobile.css +0 -718
- package/build/components/control-panel-mobile/control-panel-mobile.scss +0 -127
- package/build/components/control-panel-primary-actions/control-panel-primary-actions.css +0 -16
- package/build/components/control-panel-primary-actions/control-panel-primary-actions.scss +0 -8
- package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.css +0 -16
- package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.scss +0 -8
- package/build/components/navigation-item-group/navigation-item-group-menu-popover.css +0 -189
- package/build/components/navigation-item-group/navigation-item-group-menu-popover.scss +0 -105
- package/build/components/navigation-item-group/navigation-item-group-menu-tree.css +0 -208
- package/build/components/navigation-item-group/navigation-item-group-menu-tree.scss +0 -40
- package/build/components/navigation-item-group/navigation-item-group.css +0 -432
- package/build/components/navigation-item-group/navigation-item-group.scss +0 -69
- package/build/components/shell/shell-desktop.css +0 -548
- package/build/components/shell/shell-desktop.scss +0 -187
- package/build/components/shell/shell-mobile.css +0 -647
- package/build/components/shell/shell-mobile.scss +0 -137
- package/build/components/shell/shell.css +0 -1890
- package/build/components/shell/shell.scss +0 -84
- package/build/components/shell-sub-navigation/shell-sub-navigation.css +0 -11
- package/build/components/shell-sub-navigation/shell-sub-navigation.scss +0 -15
- package/build/styles/internal/_control-panel-desktop.scss +0 -455
- package/build/styles/internal/_control-panel-mobile.scss +0 -130
- package/build/styles/internal/_navigation-item.scss +0 -122
|
@@ -17,18 +17,6 @@
|
|
|
17
17
|
"licence": "https://lucide.dev/license#lucide-license",
|
|
18
18
|
"origin": "arrow-right"
|
|
19
19
|
},
|
|
20
|
-
{
|
|
21
|
-
"name": "house.svg",
|
|
22
|
-
"type": "lucide",
|
|
23
|
-
"licence": "https://lucide.dev/license#lucide-license",
|
|
24
|
-
"origin": "house"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "intermediary_stop.svg",
|
|
28
|
-
"type": "lucide",
|
|
29
|
-
"licence": "https://lucide.dev/license#lucide-license",
|
|
30
|
-
"origin": "circle-small"
|
|
31
|
-
},
|
|
32
20
|
{
|
|
33
21
|
"name": "arrow_up.svg",
|
|
34
22
|
"type": "lucide",
|
|
@@ -65,18 +53,6 @@
|
|
|
65
53
|
"licence": "https://lucide.dev/license#lucide-license",
|
|
66
54
|
"origin": "chevron-up"
|
|
67
55
|
},
|
|
68
|
-
{
|
|
69
|
-
"name": "double_chevron_left.svg",
|
|
70
|
-
"type": "lucide",
|
|
71
|
-
"licence": "https://lucide.dev/license#lucide-license",
|
|
72
|
-
"origin": "chevrons_left"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"name": "double_chevron_right.svg",
|
|
76
|
-
"type": "lucide",
|
|
77
|
-
"licence": "https://lucide.dev/license#lucide-license",
|
|
78
|
-
"origin": "chevrons-right"
|
|
79
|
-
},
|
|
80
56
|
{
|
|
81
57
|
"name": "clock.svg",
|
|
82
58
|
"type": "lucide",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -81,14 +81,14 @@ The spacings are not part of the styling of the accordion items themselves.
|
|
|
81
81
|
block-size: var(--db-border-width-3xs);
|
|
82
82
|
inset-block-start: 0;
|
|
83
83
|
inset-inline: 0;
|
|
84
|
-
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
85
84
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
86
85
|
}
|
|
87
86
|
@media (forced-colors: active) {
|
|
88
|
-
.db-accordion[data-variant=divider] db-accordion-item + db-accordion-item .db-accordion-item
|
|
89
|
-
.db-accordion[data-variant=divider] .db-accordion-item + .db-accordion-item
|
|
90
|
-
.db-accordion:not([data-variant]) .db-accordion-item + .db-accordion-item
|
|
91
|
-
|
|
87
|
+
.db-accordion[data-variant=divider] db-accordion-item + db-accordion-item .db-accordion-item,
|
|
88
|
+
.db-accordion[data-variant=divider] .db-accordion-item + .db-accordion-item, .db-accordion:not([data-variant]) db-accordion-item + db-accordion-item .db-accordion-item,
|
|
89
|
+
.db-accordion:not([data-variant]) .db-accordion-item + .db-accordion-item {
|
|
90
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
91
|
+
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
.db-accordion[data-variant=divider] db-accordion-item + db-accordion-item .db-accordion-item::before,
|
|
@@ -75,12 +75,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
75
75
|
|
|
76
76
|
@layer variables {}
|
|
77
77
|
|
|
78
|
-
.db-
|
|
78
|
+
.db-brand {
|
|
79
79
|
font: var(--db-type-body-md);
|
|
80
80
|
/* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
|
|
81
81
|
}
|
|
82
82
|
@layer variables {
|
|
83
|
-
.db-
|
|
83
|
+
.db-brand {
|
|
84
84
|
/* Those variables are only for components to calculate heights and change icons */
|
|
85
85
|
--db-icon-font-weight: var(--db-base-body-icon-weight-md);
|
|
86
86
|
--db-icon-font-size: var(--db-base-body-icon-font-size-md);
|
|
@@ -113,27 +113,21 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
113
113
|
|
|
114
114
|
@layer variables {}
|
|
115
115
|
|
|
116
|
-
.db-
|
|
116
|
+
.db-brand {
|
|
117
117
|
display: flex;
|
|
118
118
|
gap: var(--db-spacing-fixed-sm);
|
|
119
119
|
align-items: center;
|
|
120
120
|
font-weight: 700;
|
|
121
|
-
grid-area: brand;
|
|
122
|
-
block-size: var(--db-sizing-md);
|
|
123
|
-
min-block-size: var(--db-sizing-md);
|
|
124
121
|
}
|
|
125
|
-
.db-
|
|
122
|
+
.db-brand::before {
|
|
126
123
|
--db-icon-font-size: var(--db-sizing-md);
|
|
127
124
|
--db-icon-margin-end: 0;
|
|
128
125
|
--db-icon-color: var(--db-brand-origin-default);
|
|
129
126
|
}
|
|
130
|
-
.db-
|
|
131
|
-
content: none;
|
|
132
|
-
}
|
|
133
|
-
.db-control-panel-brand img {
|
|
127
|
+
.db-brand img {
|
|
134
128
|
inline-size: calc(var(--db-sizing-md) - var(--db-sizing-3xs));
|
|
135
129
|
max-block-size: calc(var(--db-sizing-md) - var(--db-sizing-3xs));
|
|
136
130
|
}
|
|
137
|
-
.db-
|
|
131
|
+
.db-brand a {
|
|
138
132
|
text-decoration: none;
|
|
139
133
|
}
|
|
@@ -2,16 +2,13 @@
|
|
|
2
2
|
@use "@db-ux/core-foundations/build/styles/colors";
|
|
3
3
|
@use "@db-ux/core-foundations/build/styles/fonts";
|
|
4
4
|
|
|
5
|
-
.db-
|
|
5
|
+
.db-brand {
|
|
6
6
|
@extend %db-overwrite-font-size-md;
|
|
7
7
|
|
|
8
8
|
display: flex;
|
|
9
9
|
gap: variables.$db-spacing-fixed-sm;
|
|
10
10
|
align-items: center;
|
|
11
11
|
font-weight: 700;
|
|
12
|
-
grid-area: brand;
|
|
13
|
-
block-size: variables.$db-sizing-md;
|
|
14
|
-
min-block-size: variables.$db-sizing-md;
|
|
15
12
|
|
|
16
13
|
&::before {
|
|
17
14
|
--db-icon-font-size: #{variables.$db-sizing-md};
|
|
@@ -19,12 +16,6 @@
|
|
|
19
16
|
--db-icon-color: #{colors.$db-brand-origin-default};
|
|
20
17
|
}
|
|
21
18
|
|
|
22
|
-
&:has(img, svg) {
|
|
23
|
-
&::before {
|
|
24
|
-
content: none;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
19
|
img {
|
|
29
20
|
$logo-size: calc(
|
|
30
21
|
#{variables.$db-sizing-md} - #{variables.$db-sizing-3xs}
|
|
@@ -259,7 +259,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
259
259
|
.db-button[data-variant=filled]:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-button[data-variant=filled]:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)) {
|
|
260
260
|
cursor: pointer;
|
|
261
261
|
}
|
|
262
|
-
.db-button:disabled {
|
|
262
|
+
.db-button:is(:disabled, [aria-disabled=true]) {
|
|
263
263
|
opacity: var(--db-opacity-md);
|
|
264
264
|
}
|
|
265
265
|
.db-button:has(> .db-button) {
|
|
@@ -106,11 +106,11 @@
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
&:disabled {
|
|
109
|
+
&:is(:disabled, [aria-disabled="true"]) {
|
|
110
110
|
opacity: variables.$db-opacity-md;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
// Workaround for current stencil implementation for
|
|
113
|
+
// Workaround for current stencil implementation for header
|
|
114
114
|
&:has(> .db-button) {
|
|
115
115
|
margin: 0;
|
|
116
116
|
padding: 0;
|
|
@@ -1122,12 +1122,12 @@ summary[aria-disabled=true]) {
|
|
|
1122
1122
|
inline-size: var(--db-border-width-3xs);
|
|
1123
1123
|
inset-inline-end: 0;
|
|
1124
1124
|
inset-block: 0;
|
|
1125
|
-
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
1126
1125
|
}
|
|
1127
1126
|
@media (forced-colors: active) {
|
|
1128
|
-
.db-custom-select > db-button > .db-button[data-icon=cross][data-variant=ghost]
|
|
1129
|
-
.db-custom-select > .db-button[data-icon=cross][data-variant=ghost]
|
|
1130
|
-
|
|
1127
|
+
.db-custom-select > db-button > .db-button[data-icon=cross][data-variant=ghost],
|
|
1128
|
+
.db-custom-select > .db-button[data-icon=cross][data-variant=ghost] {
|
|
1129
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
1130
|
+
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
1131
1131
|
}
|
|
1132
1132
|
}
|
|
1133
1133
|
.db-custom-select > db-button > .db-button[data-icon=cross][data-variant=ghost]::after,
|
|
@@ -414,13 +414,13 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
414
414
|
block-size: var(--db-border-width-3xs);
|
|
415
415
|
inset-block-end: 0;
|
|
416
416
|
inset-inline: 0;
|
|
417
|
-
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
418
417
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
419
418
|
}
|
|
420
419
|
@media (forced-colors: active) {
|
|
421
|
-
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-checkbox)
|
|
422
|
-
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-checkbox)
|
|
423
|
-
|
|
420
|
+
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-checkbox),
|
|
421
|
+
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-checkbox) {
|
|
422
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
423
|
+
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
426
|
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button), .db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-input),
|
|
@@ -445,13 +445,13 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
445
445
|
block-size: var(--db-border-width-3xs);
|
|
446
446
|
inset-block-end: 0;
|
|
447
447
|
inset-inline: 0;
|
|
448
|
-
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
449
448
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
450
449
|
}
|
|
451
450
|
@media (forced-colors: active) {
|
|
452
|
-
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-input)
|
|
453
|
-
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-input)
|
|
454
|
-
|
|
451
|
+
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-input),
|
|
452
|
+
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-input) {
|
|
453
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
454
|
+
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
457
|
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button),
|
|
@@ -473,13 +473,13 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
473
473
|
block-size: var(--db-border-width-3xs);
|
|
474
474
|
inset-block-start: 0;
|
|
475
475
|
inset-inline: 0;
|
|
476
|
-
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
477
476
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
478
477
|
}
|
|
479
478
|
@media (forced-colors: active) {
|
|
480
|
-
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button)
|
|
481
|
-
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-button)
|
|
482
|
-
|
|
479
|
+
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button),
|
|
480
|
+
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-button) {
|
|
481
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
482
|
+
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
485
|
@media screen and (min-width: 48em) {
|
|
@@ -164,12 +164,12 @@ db-custom-select-list-item:not(:last-of-type) .db-custom-select-list-item[data-d
|
|
|
164
164
|
block-size: var(--db-border-width-3xs);
|
|
165
165
|
inset-block-end: 0;
|
|
166
166
|
inset-inline: 0;
|
|
167
|
-
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
168
167
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
169
168
|
}
|
|
170
169
|
@media (forced-colors: active) {
|
|
171
|
-
db-custom-select-list-item:not(:last-of-type) .db-custom-select-list-item[data-divider=true]
|
|
172
|
-
|
|
170
|
+
db-custom-select-list-item:not(:last-of-type) .db-custom-select-list-item[data-divider=true] {
|
|
171
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
172
|
+
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
|
|
@@ -222,12 +222,12 @@ db-custom-select-list-item:not(:last-of-type) .db-custom-select-list-item[data-d
|
|
|
222
222
|
block-size: var(--db-border-width-3xs);
|
|
223
223
|
inset-block-end: 0;
|
|
224
224
|
inset-inline: 0;
|
|
225
|
-
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
226
225
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
227
226
|
}
|
|
228
227
|
@media (forced-colors: active) {
|
|
229
|
-
.db-custom-select-list-item[data-divider=true]:not(:last-of-type)
|
|
230
|
-
|
|
228
|
+
.db-custom-select-list-item[data-divider=true]:not(:last-of-type) {
|
|
229
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
230
|
+
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
.db-custom-select-list-item > label {
|
|
@@ -70,12 +70,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
70
70
|
block-size: var(--db-border-width-3xs);
|
|
71
71
|
inset-block-start: 0;
|
|
72
72
|
inset-inline: 0;
|
|
73
|
-
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
74
73
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
75
74
|
}
|
|
76
75
|
@media (forced-colors: active) {
|
|
77
|
-
.db-divider:not([data-variant=vertical])
|
|
78
|
-
|
|
76
|
+
.db-divider:not([data-variant=vertical]) {
|
|
77
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
78
|
+
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
.db-divider:not([data-variant=vertical])[data-width=full] {
|
|
@@ -96,12 +96,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
96
96
|
inline-size: var(--db-border-width-3xs);
|
|
97
97
|
inset-inline-start: 0;
|
|
98
98
|
inset-block: 0;
|
|
99
|
-
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
100
99
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
101
100
|
}
|
|
102
101
|
@media (forced-colors: active) {
|
|
103
|
-
.db-divider[data-variant=vertical]
|
|
104
|
-
|
|
102
|
+
.db-divider[data-variant=vertical] {
|
|
103
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
104
|
+
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
.db-divider[data-variant=vertical]:is(:not([data-margin]), [data-margin=small]) {
|
|
@@ -153,10 +153,10 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
153
153
|
background-color: color(from var(--db-adaptive-on-bg-basic-emphasis-100-default) srgb r g b/var(--db-opacity-sm));
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.db-drawer .db-drawer-container
|
|
156
|
+
.db-drawer .db-drawer-container {
|
|
157
157
|
inset-inline: auto 0;
|
|
158
158
|
}
|
|
159
|
-
.db-drawer [data-rounded=true].db-drawer-container
|
|
159
|
+
.db-drawer [data-rounded=true].db-drawer-container {
|
|
160
160
|
border-start-start-radius: var(--db-border-radius-sm);
|
|
161
161
|
border-end-start-radius: var(--db-border-radius-sm);
|
|
162
162
|
}
|
|
@@ -172,7 +172,7 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
172
172
|
.db-drawer .db-drawer-container[data-direction=down]:not([data-width=full]), .db-drawer .db-drawer-container[data-direction=up]:not([data-width=full]) {
|
|
173
173
|
max-block-size: var(--db-drawer-max-height, calc(100% - var(--db-spacing-fixed-xl)));
|
|
174
174
|
min-block-size: var(--db-drawer-min-height, calc(100% - var(--db-spacing-fixed-xl)));
|
|
175
|
-
max-inline-size:
|
|
175
|
+
max-inline-size: none;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
.db-drawer .db-drawer-container[data-direction=up] {
|
|
@@ -320,12 +320,12 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
320
320
|
block-size: var(--db-border-width-3xs);
|
|
321
321
|
inset-block-end: 0;
|
|
322
322
|
inset-inline: 0;
|
|
323
|
-
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
324
323
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
325
324
|
}
|
|
326
325
|
@media (forced-colors: active) {
|
|
327
|
-
.db-drawer .db-drawer-container .db-drawer-header
|
|
328
|
-
|
|
326
|
+
.db-drawer .db-drawer-container .db-drawer-header {
|
|
327
|
+
/* stylelint-disable-next-line db-ux/use-border-color */
|
|
328
|
+
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
.db-drawer .db-drawer-container .db-drawer-header .db-drawer-header-text {
|
|
@@ -340,7 +340,6 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
340
340
|
}
|
|
341
341
|
.db-drawer .db-drawer-container .db-drawer-header:has(.button-close-drawer), .db-drawer .db-drawer-container .db-drawer-header:has(:not(.db-drawer-header-text:empty)) {
|
|
342
342
|
display: flex;
|
|
343
|
-
gap: var(--db-spacing-fixed-md);
|
|
344
343
|
}
|
|
345
344
|
.db-drawer[data-position=absolute] {
|
|
346
345
|
position: absolute;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
--db-drawer-min-height,
|
|
35
35
|
calc(100% - #{variables.$db-spacing-fixed-xl})
|
|
36
36
|
);
|
|
37
|
-
max-inline-size:
|
|
37
|
+
max-inline-size: none;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -122,6 +122,7 @@ $spacings: (
|
|
|
122
122
|
|
|
123
123
|
.db-drawer {
|
|
124
124
|
.db-drawer-container {
|
|
125
|
+
@extend %direction-right;
|
|
125
126
|
@extend %spacing-drawer;
|
|
126
127
|
|
|
127
128
|
display: flex;
|
|
@@ -164,11 +165,6 @@ $spacings: (
|
|
|
164
165
|
box-shadow: variables.$db-elevation-md;
|
|
165
166
|
}
|
|
166
167
|
|
|
167
|
-
&:not([data-direction]),
|
|
168
|
-
&[data-direction="right"] {
|
|
169
|
-
@extend %direction-right;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
168
|
&[data-direction="left"] {
|
|
173
169
|
@extend %direction-left;
|
|
174
170
|
}
|
|
@@ -203,7 +199,6 @@ $spacings: (
|
|
|
203
199
|
&:has(.button-close-drawer),
|
|
204
200
|
&:has(:not(.db-drawer-header-text:empty)) {
|
|
205
201
|
display: flex;
|
|
206
|
-
gap: variables.$db-spacing-fixed-md;
|
|
207
202
|
}
|
|
208
203
|
}
|
|
209
204
|
}
|