@db-ux/core-components 4.5.3 → 4.5.4
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/CHANGELOG.md +10 -1
- package/build/components/accordion-item/accordion-item.css +2 -2
- package/build/components/accordion-item/accordion-item.scss +1 -1
- package/build/components/custom-button/custom-button.css +1 -1
- package/build/components/custom-select/custom-select.css +6 -6
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +3 -3
- package/build/components/custom-select-dropdown/custom-select-dropdown.scss +1 -1
- package/build/components/custom-select-list-item/custom-select-list-item.css +1 -1
- package/build/components/drawer/drawer.css +2 -2
- package/build/components/drawer/drawer.scss +2 -2
- package/build/components/header/header.css +22 -22
- package/build/components/input/input.css +6 -6
- package/build/components/input/input.scss +1 -1
- package/build/components/navigation/navigation.css +12 -12
- package/build/components/navigation/navigation.scss +1 -1
- package/build/components/navigation-item/navigation-item.css +11 -11
- package/build/components/navigation-item/navigation-item.scss +2 -2
- package/build/components/page/page.css +47 -41
- package/build/components/page/page.scss +31 -27
- package/build/components/popover/popover.css +12 -12
- package/build/components/radio/radio.css +1 -1
- package/build/components/radio/radio.scss +1 -1
- package/build/components/select/select.css +5 -5
- package/build/components/switch/switch.css +3 -6
- package/build/components/switch/switch.scss +3 -7
- package/build/components/tab-item/tab-item.css +1 -1
- package/build/components/tabs/tabs.css +3 -3
- package/build/components/textarea/textarea.css +3 -3
- package/build/components/tooltip/tooltip.css +12 -12
- package/build/styles/absolute.css +7 -7
- package/build/styles/index.css +7 -7
- package/build/styles/internal/_db-puls.scss +3 -3
- package/build/styles/internal/_form-components.scss +3 -3
- package/build/styles/internal/_popover-component.scss +2 -2
- package/build/styles/internal/_select-components.scss +1 -1
- package/build/styles/relative.css +7 -7
- package/build/styles/rollup.css +7 -7
- package/build/styles/webpack.css +7 -7
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
# @db-ux/core-components
|
|
2
2
|
|
|
3
|
+
## 4.5.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- refactor: Enhance the accessibility of the navigation components by adding missing WAI-ARIA attributes (`aria-controls`, `aria-label`, `aria-haspopup`) for better screen reader support. - [see commit f040188](https://github.com/db-ux-design-system/core-web/commit/f0401886267359518c37062373bb0f9df311214c)
|
|
8
|
+
|
|
9
|
+
- fix: adjusted `@media` queries (removed `screen` from combined queries) to avoid broken layouts when printing - [see commit 0960eb6](https://github.com/db-ux-design-system/core-web/commit/0960eb6f9223fe23bdaac0de685cf7aa5eb7654e)
|
|
10
|
+
|
|
11
|
+
- fix(switch): removed obsolete gap towards label in `small` variant - [see commit 40bad01](https://github.com/db-ux-design-system/core-web/commit/40bad017f068bf8968829977808a6d8e9d21b4fe)
|
|
12
|
+
|
|
3
13
|
## 4.5.3
|
|
4
14
|
|
|
5
15
|
_version bump_
|
|
6
16
|
|
|
7
|
-
|
|
8
17
|
## 4.5.2
|
|
9
18
|
|
|
10
19
|
### Patch Changes
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
.db-accordion-item > details > summary::after {
|
|
188
188
|
pointer-events: none;
|
|
189
189
|
}
|
|
190
|
-
@media
|
|
190
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
191
191
|
.db-accordion-item > details > summary::after {
|
|
192
192
|
transition: transform var(--db-transition-straight-emotional);
|
|
193
193
|
}
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
pointer-events: none;
|
|
212
212
|
opacity: var(--db-opacity-md);
|
|
213
213
|
}
|
|
214
|
-
@media
|
|
214
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
215
215
|
.db-accordion-item > details > summary + div {
|
|
216
216
|
transition: block-size var(--db-transition-straight-emotional);
|
|
217
217
|
}
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
outline-offset: var(--db-border-width-xs);
|
|
57
57
|
box-shadow: 0 0 0 var(--db-border-width-xs) var(--db-focus-box-shadow-bg-color, transparent);
|
|
58
58
|
}
|
|
59
|
-
@media
|
|
59
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
60
60
|
.db-custom-button:not([data-disable-focus=true]):has(input):focus-within {
|
|
61
61
|
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
|
|
62
62
|
}
|
|
@@ -679,7 +679,7 @@ input[type=radio]:checked) > label {
|
|
|
679
679
|
.db-custom-select::after {
|
|
680
680
|
pointer-events: none;
|
|
681
681
|
}
|
|
682
|
-
@media
|
|
682
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
683
683
|
.db-custom-select::after {
|
|
684
684
|
transition: transform var(--db-transition-straight-emotional);
|
|
685
685
|
}
|
|
@@ -704,7 +704,7 @@ input[type=radio]:checked) > label {
|
|
|
704
704
|
inset-inline-start: 0;
|
|
705
705
|
opacity: 0;
|
|
706
706
|
}
|
|
707
|
-
@media
|
|
707
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
708
708
|
.db-custom-select-placeholder {
|
|
709
709
|
transition: opacity var(--db-transition-straight-emotional), outline var(--db-transition-duration-extra-fast), border-color var(--db-transition-straight-emotional), background-color var(--db-transition-straight-emotional);
|
|
710
710
|
}
|
|
@@ -885,7 +885,7 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
885
885
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
886
886
|
padding-block-start: var(--db-base-body-icon-font-size-2xs);
|
|
887
887
|
}
|
|
888
|
-
@media
|
|
888
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
889
889
|
.db-custom-select[data-variant=floating]:has(:focus-within,
|
|
890
890
|
summary:is(input, textarea):not(:placeholder-shown),
|
|
891
891
|
> select option:checked:not(.placeholder),
|
|
@@ -924,7 +924,7 @@ input[type=radio]:checked) summary:is([type=date],
|
|
|
924
924
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
925
925
|
padding-block-start: var(--db-base-body-icon-font-size-2xs);
|
|
926
926
|
}
|
|
927
|
-
@media
|
|
927
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
928
928
|
.db-custom-select[data-variant=floating]:has(:focus-within,
|
|
929
929
|
summary:is(input, textarea):not(:placeholder-shown),
|
|
930
930
|
> select option:checked:not(.placeholder),
|
|
@@ -1094,7 +1094,7 @@ input[type=radio]:checked) summary:is([type=date],
|
|
|
1094
1094
|
white-space: nowrap;
|
|
1095
1095
|
overflow: hidden;
|
|
1096
1096
|
}
|
|
1097
|
-
@media
|
|
1097
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1098
1098
|
.db-custom-select > label {
|
|
1099
1099
|
transition: font-size var(--db-transition-straight-emotional);
|
|
1100
1100
|
}
|
|
@@ -1192,7 +1192,7 @@ summary[aria-disabled=true]) {
|
|
|
1192
1192
|
background-color: color(from var(--db-adaptive-on-bg-basic-emphasis-100-default) srgb r g b/var(--db-opacity-lg));
|
|
1193
1193
|
opacity: var(--db-opacity-lg);
|
|
1194
1194
|
}
|
|
1195
|
-
@media
|
|
1195
|
+
@media (max-width: 47.9375em) {
|
|
1196
1196
|
.db-custom-select > details[open] > summary::before {
|
|
1197
1197
|
position: fixed;
|
|
1198
1198
|
z-index: 9998;
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
block-size: fit-content;
|
|
302
302
|
margin: auto;
|
|
303
303
|
}
|
|
304
|
-
@media
|
|
304
|
+
@media (max-width: 47.9375em) {
|
|
305
305
|
.db-custom-select-dropdown {
|
|
306
306
|
position: fixed;
|
|
307
307
|
z-index: 9999;
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
@media
|
|
404
|
+
@media (min-width: 48em) {
|
|
405
405
|
.db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button):not([data-force-mobile]):not([hidden]), .db-custom-select-dropdown > db-custom-select-list > div:not([class~=db-custom-select-list]):has(.db-button)[data-force-mobile=false]:not([hidden]),
|
|
406
406
|
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-button):not([data-force-mobile]):not([hidden]),
|
|
407
407
|
.db-custom-select-dropdown > div:not([class~=db-custom-select-list]):has(.db-button)[data-force-mobile=false]:not([hidden]) {
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
padding: var(--db-spacing-fixed-lg) var(--db-spacing-fixed-md);
|
|
414
414
|
margin: auto;
|
|
415
415
|
}
|
|
416
|
-
@media
|
|
416
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
417
417
|
.db-custom-select-dropdown > db-infotext > .db-infotext[data-icon=circular_arrows]::before,
|
|
418
418
|
.db-custom-select-dropdown > .db-infotext[data-icon=circular_arrows]::before {
|
|
419
419
|
animation: rotate 1.5s linear 0s infinite normal none running;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
outline-offset: var(--db-border-width-xs);
|
|
58
58
|
box-shadow: 0 0 0 var(--db-border-width-xs) var(--db-focus-box-shadow-bg-color, transparent);
|
|
59
59
|
}
|
|
60
|
-
@media
|
|
60
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
61
61
|
.db-custom-select-list-item:not([data-disable-focus=true]):has(> label > input:focus-visible) {
|
|
62
62
|
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
|
|
63
63
|
}
|
|
@@ -237,7 +237,7 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
237
237
|
.db-drawer .db-drawer-container[data-rounded=true] {
|
|
238
238
|
box-shadow: var(--db-elevation-md);
|
|
239
239
|
}
|
|
240
|
-
@media
|
|
240
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
241
241
|
.db-drawer .db-drawer-container {
|
|
242
242
|
transition: transform var(--db-transition-duration-extra-slow) var(--db-transition-timing-emotional);
|
|
243
243
|
}
|
|
@@ -307,7 +307,7 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
307
307
|
.db-drawer[open] .db-drawer-container[data-transition=open][data-direction=up], .db-drawer[open] .db-drawer-container[data-transition=open][data-direction=down] {
|
|
308
308
|
transform: translateY(0%);
|
|
309
309
|
}
|
|
310
|
-
@media
|
|
310
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
311
311
|
.db-drawer[open] .db-drawer-container[data-transition=close] {
|
|
312
312
|
transition: transform var(--db-transition-duration-slow) var(--db-transition-timing-emotional);
|
|
313
313
|
}
|
|
@@ -198,7 +198,7 @@ $spacings: (
|
|
|
198
198
|
box-shadow: variables.$db-elevation-md;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
@media
|
|
201
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
202
202
|
transition: transform
|
|
203
203
|
#{variables.$db-transition-duration-extra-slow}
|
|
204
204
|
#{variables.$db-transition-timing-emotional};
|
|
@@ -297,7 +297,7 @@ $spacings: (
|
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
&[data-transition="close"] {
|
|
300
|
-
@media
|
|
300
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
301
301
|
transition: transform
|
|
302
302
|
#{variables.$db-transition-duration-slow}
|
|
303
303
|
#{variables.$db-transition-timing-emotional};
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
132
132
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
133
133
|
}
|
|
134
|
-
@media
|
|
134
|
+
@media (width <= 48em) {
|
|
135
135
|
.db-header-meta-navigation {
|
|
136
136
|
--db-spacing-responsive-3xs: var(--db-spacing-responsive-functional-mobile-3xs);
|
|
137
137
|
--db-spacing-responsive-2xs: var(--db-spacing-responsive-functional-mobile-2xs);
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
--db-spacing-responsive-3xl: var(--db-spacing-responsive-functional-mobile-3xl);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
@media
|
|
147
|
+
@media (48em < width <= 64em) {
|
|
148
148
|
.db-header-meta-navigation {
|
|
149
149
|
--db-spacing-responsive-3xs: var(--db-spacing-responsive-functional-tablet-3xs);
|
|
150
150
|
--db-spacing-responsive-2xs: var(--db-spacing-responsive-functional-tablet-2xs);
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
--db-spacing-responsive-3xl: var(--db-spacing-responsive-functional-tablet-3xl);
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
@media
|
|
160
|
+
@media (64em < width) {
|
|
161
161
|
.db-header-meta-navigation {
|
|
162
162
|
--db-spacing-responsive-3xs: var(--db-spacing-responsive-functional-desktop-3xs);
|
|
163
163
|
--db-spacing-responsive-2xs: var(--db-spacing-responsive-functional-desktop-2xs);
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
193
193
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
194
194
|
}
|
|
195
|
-
@media
|
|
195
|
+
@media (width <= 48em) {
|
|
196
196
|
.db-header-meta-navigation {
|
|
197
197
|
--db-type-headline-3xs: var(--db-typography-functional-mobile-headline-3xs);
|
|
198
198
|
--db-base-headline-icon-weight-3xs: var(--db-base-icon-weight-functional-mobile-headline-3xs);
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
--db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-functional-mobile-headline-3xl);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
@media
|
|
226
|
+
@media (48em < width <= 64em) {
|
|
227
227
|
.db-header-meta-navigation {
|
|
228
228
|
--db-type-headline-3xs: var(--db-typography-functional-tablet-headline-3xs);
|
|
229
229
|
--db-base-headline-icon-weight-3xs: var(--db-base-icon-weight-functional-tablet-headline-3xs);
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
--db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-functional-tablet-headline-3xl);
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
|
-
@media
|
|
257
|
+
@media (64em < width) {
|
|
258
258
|
.db-header-meta-navigation {
|
|
259
259
|
--db-type-headline-3xs: var(--db-typography-functional-desktop-headline-3xs);
|
|
260
260
|
--db-base-headline-icon-weight-3xs: var(--db-base-icon-weight-functional-desktop-headline-3xs);
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
300
300
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
301
301
|
}
|
|
302
|
-
@media
|
|
302
|
+
@media (width <= 48em) {
|
|
303
303
|
.db-header-meta-navigation {
|
|
304
304
|
--db-type-body-3xs: var(--db-typography-functional-mobile-body-3xs);
|
|
305
305
|
--db-base-body-icon-weight-3xs: var(--db-base-icon-weight-functional-mobile-body-3xs);
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
--db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-functional-mobile-body-3xl);
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
|
-
@media
|
|
333
|
+
@media (48em < width <= 64em) {
|
|
334
334
|
.db-header-meta-navigation {
|
|
335
335
|
--db-type-body-3xs: var(--db-typography-functional-tablet-body-3xs);
|
|
336
336
|
--db-base-body-icon-weight-3xs: var(--db-base-icon-weight-functional-tablet-body-3xs);
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
--db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-functional-tablet-body-3xl);
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
@media
|
|
364
|
+
@media (64em < width) {
|
|
365
365
|
.db-header-meta-navigation {
|
|
366
366
|
--db-type-body-3xs: var(--db-typography-functional-desktop-body-3xs);
|
|
367
367
|
--db-base-body-icon-weight-3xs: var(--db-base-icon-weight-functional-desktop-body-3xs);
|
|
@@ -410,7 +410,7 @@
|
|
|
410
410
|
.db-header:not([hidden]) {
|
|
411
411
|
display: flex;
|
|
412
412
|
}
|
|
413
|
-
@media
|
|
413
|
+
@media (min-width: 64em) {
|
|
414
414
|
.db-header:not([data-force-mobile]), .db-header[data-force-mobile=false] {
|
|
415
415
|
--db-drawer-max-width: 48em;
|
|
416
416
|
}
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
.db-header-navigation-bar:not([hidden]) {
|
|
459
459
|
display: flex;
|
|
460
460
|
}
|
|
461
|
-
@media
|
|
461
|
+
@media (min-width: 64em) {
|
|
462
462
|
.db-header-navigation-bar:not([data-force-mobile]), .db-header-navigation-bar[data-force-mobile=false] {
|
|
463
463
|
padding: var(--db-spacing-fixed-md) var(--db-spacing-fixed-lg);
|
|
464
464
|
}
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
@media
|
|
499
|
+
@media (min-width: 64em) {
|
|
500
500
|
.db-header-meta-navigation:not([data-force-mobile]), .db-header-meta-navigation[data-force-mobile=false] {
|
|
501
501
|
padding: var(--db-spacing-fixed-xs) var(--db-spacing-fixed-lg);
|
|
502
502
|
margin: 0;
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
.db-header-navigation-container:not([hidden]) {
|
|
526
526
|
display: inherit;
|
|
527
527
|
}
|
|
528
|
-
@media
|
|
528
|
+
@media (min-width: 64em) {
|
|
529
529
|
.db-header-navigation-container:not([data-force-mobile]), .db-header-navigation-container[data-force-mobile=false] {
|
|
530
530
|
--db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
|
|
531
531
|
position: var(--db-tooltip-parent-position, relative);
|
|
@@ -543,13 +543,13 @@
|
|
|
543
543
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
@media
|
|
546
|
+
@media (min-width: 64em) and (forced-colors: active) {
|
|
547
547
|
.db-header-navigation-container:not([data-force-mobile]), .db-header-navigation-container[data-force-mobile=false] {
|
|
548
548
|
/* stylelint-disable-next-line no-invalid-position-declaration, db-ux/use-border-color */
|
|
549
549
|
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
|
-
@media
|
|
552
|
+
@media (min-width: 64em) {
|
|
553
553
|
.db-header-navigation-container:not([data-force-mobile])::before, .db-header-navigation-container[data-force-mobile=false]::before {
|
|
554
554
|
position: inherit;
|
|
555
555
|
block-size: var(--db-sizing-md);
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
570
570
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
571
571
|
}
|
|
572
|
-
@media
|
|
572
|
+
@media (min-width: 64em) {
|
|
573
573
|
.db-header-action-container:has(> .db-header-secondary-action:empty):not([data-force-mobile]):not([hidden]), .db-header-action-container:has(> .db-header-secondary-action:empty)[data-force-mobile=false]:not([hidden]) {
|
|
574
574
|
display: none;
|
|
575
575
|
}
|
|
@@ -603,7 +603,7 @@
|
|
|
603
603
|
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
|
-
@media
|
|
606
|
+
@media (min-width: 64em) {
|
|
607
607
|
.db-header-action-container:not([data-force-mobile])::before, .db-header-action-container[data-force-mobile=false]::before {
|
|
608
608
|
margin-inline: var(--db-spacing-fixed-sm);
|
|
609
609
|
}
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
|
-
@media
|
|
659
|
+
@media (min-width: 64em) {
|
|
660
660
|
.db-header-secondary-action:not([data-force-mobile])::before, .db-header-secondary-action[data-force-mobile=false]::before {
|
|
661
661
|
display: none;
|
|
662
662
|
}
|
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
679
679
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
680
680
|
}
|
|
681
|
-
@media
|
|
681
|
+
@media (min-width: 64em) {
|
|
682
682
|
.db-header-navigation:not([data-force-mobile]), .db-header-navigation[data-force-mobile=false] {
|
|
683
683
|
margin-inline: var(--db-spacing-fixed-lg);
|
|
684
684
|
}
|
|
@@ -695,7 +695,7 @@
|
|
|
695
695
|
.db-header-secondary-action:not([hidden]) {
|
|
696
696
|
display: flex;
|
|
697
697
|
}
|
|
698
|
-
@media
|
|
698
|
+
@media (min-width: 64em) {
|
|
699
699
|
.db-header-navigation:not([data-force-mobile]), .db-header-navigation[data-force-mobile=false],
|
|
700
700
|
.db-header-secondary-action:not([data-force-mobile]),
|
|
701
701
|
.db-header-secondary-action[data-force-mobile=false] {
|
|
@@ -732,7 +732,7 @@
|
|
|
732
732
|
.db-header-action-container > .db-header-secondary-action:not([hidden]) {
|
|
733
733
|
display: none;
|
|
734
734
|
}
|
|
735
|
-
@media
|
|
735
|
+
@media (min-width: 64em) {
|
|
736
736
|
.db-header-meta-navigation:not([data-force-mobile]):not([hidden]), .db-header-meta-navigation[data-force-mobile=false]:not([hidden]),
|
|
737
737
|
.db-header-navigation-container > .db-header-navigation:not([data-force-mobile]):not([hidden]),
|
|
738
738
|
.db-header-navigation-container > .db-header-navigation[data-force-mobile=false]:not([hidden]),
|
|
@@ -752,7 +752,7 @@
|
|
|
752
752
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
753
753
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
754
754
|
}
|
|
755
|
-
@media
|
|
755
|
+
@media (min-width: 64em) {
|
|
756
756
|
.db-header-drawer:not([data-force-mobile]):not([hidden]), .db-header-drawer[data-force-mobile=false]:not([hidden]),
|
|
757
757
|
.db-header-burger-menu-container:not([data-force-mobile]):not([hidden]),
|
|
758
758
|
.db-header-burger-menu-container[data-force-mobile=false]:not([hidden]) {
|
|
@@ -526,7 +526,7 @@ input[type=radio]:checked) > label {
|
|
|
526
526
|
.db-input:has(datalist)::after {
|
|
527
527
|
pointer-events: none;
|
|
528
528
|
}
|
|
529
|
-
@media
|
|
529
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
530
530
|
.db-input:has(datalist)::after {
|
|
531
531
|
transition: transform var(--db-transition-straight-emotional);
|
|
532
532
|
}
|
|
@@ -657,7 +657,7 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
657
657
|
font-family: var(--db-font-family-sans);
|
|
658
658
|
font-style: italic;
|
|
659
659
|
}
|
|
660
|
-
@media
|
|
660
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
661
661
|
.db-input[data-variant=floating]:has(input:focus-within,
|
|
662
662
|
input:is(input, textarea):not(:placeholder-shown),
|
|
663
663
|
> select option:checked:not(.placeholder),
|
|
@@ -694,7 +694,7 @@ input[type=radio]:checked) input:is([type=date],
|
|
|
694
694
|
font-family: var(--db-font-family-sans);
|
|
695
695
|
font-style: italic;
|
|
696
696
|
}
|
|
697
|
-
@media
|
|
697
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
698
698
|
.db-input[data-variant=floating]:has(input:focus-within,
|
|
699
699
|
input:is(input, textarea):not(:placeholder-shown),
|
|
700
700
|
> select option:checked:not(.placeholder),
|
|
@@ -890,7 +890,7 @@ input[type=radio]:checked) input:is([type=date],
|
|
|
890
890
|
white-space: nowrap;
|
|
891
891
|
overflow: hidden;
|
|
892
892
|
}
|
|
893
|
-
@media
|
|
893
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
894
894
|
.db-input > label {
|
|
895
895
|
transition: font-size var(--db-transition-straight-emotional);
|
|
896
896
|
}
|
|
@@ -958,7 +958,7 @@ input[type=time]) {
|
|
|
958
958
|
.db-input:has(input[type=search])::after {
|
|
959
959
|
opacity: 0;
|
|
960
960
|
}
|
|
961
|
-
@media
|
|
961
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
962
962
|
.db-input:has(input[type=search])::after {
|
|
963
963
|
transition: opacity var(--db-transition-duration-fast);
|
|
964
964
|
}
|
|
@@ -1037,7 +1037,7 @@ input:focus-visible)::after {
|
|
|
1037
1037
|
outline-offset: var(--db-border-width-xs);
|
|
1038
1038
|
box-shadow: 0 0 0 var(--db-border-width-xs) var(--db-focus-box-shadow-bg-color, transparent);
|
|
1039
1039
|
}
|
|
1040
|
-
@media
|
|
1040
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1041
1041
|
.db-input input::-webkit-calendar-picker-indicator:focus-visible, .db-input input::-webkit-search-cancel-button:focus-visible {
|
|
1042
1042
|
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
|
|
1043
1043
|
}
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
position: absolute;
|
|
112
112
|
border-radius: var(--db-border-radius-xs);
|
|
113
113
|
}
|
|
114
|
-
@media
|
|
114
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
115
115
|
.db-navigation > menu .db-navigation-item::after {
|
|
116
116
|
transition: height var(--db-transition-duration-fast) var(--db-transition-timing-emotional), width var(--db-transition-duration-fast) var(--db-transition-timing-emotional);
|
|
117
117
|
}
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
background-color: var(--db-brand-on-bg-basic-emphasis-70-default);
|
|
130
130
|
inset-inline-start: calc(-1 * var(--db-spacing-fixed-xs));
|
|
131
131
|
}
|
|
132
|
-
@media
|
|
132
|
+
@media (min-width: 64em) {
|
|
133
133
|
.db-navigation > menu .db-navigation-item:not([data-force-mobile])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item::after {
|
|
134
134
|
block-size: var(--db-border-width-xs);
|
|
135
135
|
inline-size: 0;
|
|
@@ -148,18 +148,18 @@
|
|
|
148
148
|
block-size: 100%;
|
|
149
149
|
inline-size: var(--db-border-width-xs);
|
|
150
150
|
}
|
|
151
|
-
@media (forced-colors: active) {
|
|
151
|
+
@media (forced-colors: active), print {
|
|
152
152
|
.db-navigation > menu .db-navigation-item:has([aria-current=page])::after, .db-navigation > menu .db-navigation-item:has([data-active=true])::after, .db-navigation > menu .db-navigation-item[aria-current=page]::after, .db-navigation > menu .db-navigation-item[data-active=true]::after {
|
|
153
153
|
border: calc(var(--db-border-width-xs) - 1px) solid var(--db-adaptive-on-bg-basic-emphasis-100-default);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
@media
|
|
156
|
+
@media (min-width: 64em) {
|
|
157
157
|
.db-navigation > menu .db-navigation-item:not([data-force-mobile]):has([aria-current=page])::after, .db-navigation > menu .db-navigation-item:not([data-force-mobile]):has([data-active=true])::after, .db-navigation > menu .db-navigation-item[aria-current=page]:not([data-force-mobile])::after, .db-navigation > menu .db-navigation-item[data-active=true]:not([data-force-mobile])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item:has([aria-current=page])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item:has([data-active=true])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item[aria-current=page]::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item[data-active=true]::after {
|
|
158
158
|
block-size: var(--db-border-width-xs);
|
|
159
159
|
inline-size: 100%;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
@media
|
|
162
|
+
@media (min-width: 64em) and (forced-colors: active), print and (min-width: 64em) {
|
|
163
163
|
.db-navigation > menu .db-navigation-item:not([data-force-mobile]):has([aria-current=page])::after, .db-navigation > menu .db-navigation-item:not([data-force-mobile]):has([data-active=true])::after, .db-navigation > menu .db-navigation-item[aria-current=page]:not([data-force-mobile])::after, .db-navigation > menu .db-navigation-item[data-active=true]:not([data-force-mobile])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item:has([aria-current=page])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item:has([data-active=true])::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item[aria-current=page]::after, .db-navigation > menu [data-force-mobile=false].db-navigation-item[data-active=true]::after {
|
|
164
164
|
border: calc(var(--db-border-width-xs) - 1px) solid var(--db-adaptive-on-bg-basic-emphasis-100-default);
|
|
165
165
|
}
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
172
172
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
173
173
|
}
|
|
174
|
-
@media
|
|
174
|
+
@media (min-width: 64em) {
|
|
175
175
|
.db-navigation:not([data-force-mobile]), .db-navigation[data-force-mobile=false] {
|
|
176
176
|
-webkit-tap-highlight-color: inherit;
|
|
177
177
|
inline-size: auto;
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
187
187
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
188
188
|
}
|
|
189
|
-
@media
|
|
189
|
+
@media (min-width: 64em) {
|
|
190
190
|
.db-navigation > menu:not([data-force-mobile]), .db-navigation > menu[data-force-mobile=false] {
|
|
191
191
|
flex-direction: row;
|
|
192
192
|
}
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
197
197
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
198
198
|
}
|
|
199
|
-
@media
|
|
199
|
+
@media (min-width: 64em) {
|
|
200
200
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button):not([data-force-mobile])::after, .db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button)[data-force-mobile=false]::after,
|
|
201
201
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button > button:not([data-force-mobile])::after,
|
|
202
202
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button > button[data-force-mobile=false]::after {
|
|
@@ -204,14 +204,14 @@
|
|
|
204
204
|
--db-icon-trailing: "chevron_down";
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
@media
|
|
207
|
+
@media (min-width: 64em) and (prefers-reduced-motion: no-preference) {
|
|
208
208
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button):not([data-force-mobile])::after, .db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button)[data-force-mobile=false]::after,
|
|
209
209
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button > button:not([data-force-mobile])::after,
|
|
210
210
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button > button[data-force-mobile=false]::after {
|
|
211
211
|
transition: transform var(--db-transition-straight-emotional);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
@media
|
|
214
|
+
@media (min-width: 64em) {
|
|
215
215
|
.db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button):not([data-force-mobile]):is(:hover, :focus-visible)::after, .db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button):not([data-force-mobile]):has(~ .db-sub-navigation:is(:hover,
|
|
216
216
|
:focus-visible,
|
|
217
217
|
:focus-within))::after, .db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button)[data-force-mobile=false]:is(:hover, :focus-visible)::after, .db-navigation > menu .db-navigation-item .db-navigation-item-expand-button:is(button)[data-force-mobile=false]:has(~ .db-sub-navigation:is(:hover,
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
234
234
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
235
235
|
}
|
|
236
|
-
@media
|
|
236
|
+
@media (min-width: 64em) {
|
|
237
237
|
.db-navigation > menu .db-navigation-item > menu .db-navigation-item-expand-button:is(button):not([data-force-mobile])::after, .db-navigation > menu .db-navigation-item > menu .db-navigation-item-expand-button:is(button)[data-force-mobile=false]::after,
|
|
238
238
|
.db-navigation > menu .db-navigation-item > menu .db-navigation-item-expand-button > button:not([data-force-mobile])::after,
|
|
239
239
|
.db-navigation > menu .db-navigation-item > menu .db-navigation-item-expand-button > button[data-force-mobile=false]::after {
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
266
266
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
267
267
|
}
|
|
268
|
-
@media
|
|
268
|
+
@media (min-width: 64em) {
|
|
269
269
|
.db-navigation[data-force-close=true] > menu menu:not([data-force-mobile]):not([hidden]), .db-navigation[data-force-close=true] > menu menu[data-force-mobile=false]:not([hidden]) {
|
|
270
270
|
display: none;
|
|
271
271
|
}
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
--db-icon-margin-start: #{variables.$db-spacing-fixed-sm};
|
|
37
37
|
--db-icon-trailing: "chevron_down";
|
|
38
38
|
|
|
39
|
-
@media
|
|
39
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
40
40
|
transition: form-components.$dropdown-icon-transition;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
186
186
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
187
187
|
}
|
|
188
|
-
@media
|
|
188
|
+
@media (min-width: 64em) {
|
|
189
189
|
.db-navigation-item .db-navigation-item-expand-button:not([data-force-mobile]):is(:hover, :focus-visible):is(button) ~ .db-sub-navigation,
|
|
190
190
|
.db-navigation-item .db-navigation-item-expand-button > button:not([data-force-mobile]):is(:hover, :focus-visible) ~ .db-sub-navigation, .db-navigation-item [data-force-mobile=false].db-navigation-item-expand-button:is(:hover, :focus-visible):is(button) ~ .db-sub-navigation,
|
|
191
191
|
.db-navigation-item .db-navigation-item-expand-button > button[data-force-mobile=false]:is(:hover, :focus-visible) ~ .db-sub-navigation {
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
.db-navigation-item[data-force-mobile=true]:not([data-width=full]) .db-navigation-item-expand-button::after {
|
|
366
366
|
--db-icon-margin-start: auto;
|
|
367
367
|
}
|
|
368
|
-
@media
|
|
368
|
+
@media (max-width: 63.9375em) {
|
|
369
369
|
.db-navigation-item:not([data-width=full]) .db-navigation-item-expand-button::after {
|
|
370
370
|
--db-icon-margin-start: auto;
|
|
371
371
|
}
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
visibility: visible;
|
|
384
384
|
transform: translateX(0%);
|
|
385
385
|
}
|
|
386
|
-
@media
|
|
386
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
387
387
|
.db-navigation-item .db-navigation-item-expand-button[data-force-mobile=true][aria-expanded=true] ~ .db-sub-navigation {
|
|
388
388
|
transition: visibility 0ms linear 0ms, transform var(--db-transition-duration-extra-slow) var(--db-transition-timing-emotional);
|
|
389
389
|
}
|
|
@@ -394,23 +394,23 @@
|
|
|
394
394
|
.db-navigation-item .db-navigation-item-expand-button[data-force-mobile=true]:not(.db-navigation-item .db-navigation-item-expand-button[data-force-mobile=true][aria-expanded=true]) ~ .db-sub-navigation {
|
|
395
395
|
transform: translateX(110%);
|
|
396
396
|
}
|
|
397
|
-
@media
|
|
397
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
398
398
|
.db-navigation-item .db-navigation-item-expand-button[data-force-mobile=true]:not(.db-navigation-item .db-navigation-item-expand-button[data-force-mobile=true][aria-expanded=true]) ~ .db-sub-navigation {
|
|
399
399
|
transition: visibility 0ms linear 410ms, transform var(--db-transition-duration-slow) var(--db-transition-timing-emotional);
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
-
@media
|
|
402
|
+
@media (max-width: 63.9375em) {
|
|
403
403
|
.db-navigation-item .db-navigation-item-expand-button[aria-expanded=true] ~ .db-sub-navigation {
|
|
404
404
|
visibility: visible;
|
|
405
405
|
transform: translateX(0%);
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
@media
|
|
408
|
+
@media (max-width: 63.9375em) and (prefers-reduced-motion: no-preference) {
|
|
409
409
|
.db-navigation-item .db-navigation-item-expand-button[aria-expanded=true] ~ .db-sub-navigation {
|
|
410
410
|
transition: visibility 0ms linear 0ms, transform var(--db-transition-duration-extra-slow) var(--db-transition-timing-emotional);
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
|
-
@media
|
|
413
|
+
@media (max-width: 63.9375em) {
|
|
414
414
|
.db-navigation-item .db-navigation-item-expand-button[aria-expanded=true] ~ .db-sub-navigation .db-sub-navigation {
|
|
415
415
|
inset-block: 0;
|
|
416
416
|
}
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
transform: translateX(110%);
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
@media
|
|
421
|
+
@media (max-width: 63.9375em) and (prefers-reduced-motion: no-preference) {
|
|
422
422
|
.db-navigation-item .db-navigation-item-expand-button:not(.db-navigation-item .db-navigation-item-expand-button[aria-expanded=true]) ~ .db-sub-navigation {
|
|
423
423
|
transition: visibility 0ms linear 410ms, transform var(--db-transition-duration-slow) var(--db-transition-timing-emotional);
|
|
424
424
|
}
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
overflow: hidden auto;
|
|
480
480
|
inset-block: calc(calc(var(--db-sizing-md) + 2 * var(--db-spacing-fixed-xs)) + var(--db-spacing-fixed-3xs)) calc(var(--db-sizing-md) + var(--db-spacing-fixed-xs) * 2 + var(--db-spacing-fixed-3xs));
|
|
481
481
|
}
|
|
482
|
-
@media
|
|
482
|
+
@media (max-width: 63.9375em) {
|
|
483
483
|
.db-sub-navigation {
|
|
484
484
|
padding: var(--db-spacing-fixed-md);
|
|
485
485
|
inline-size: 100%;
|
|
@@ -488,12 +488,12 @@
|
|
|
488
488
|
inset-block: calc(calc(var(--db-sizing-md) + 2 * var(--db-spacing-fixed-xs)) + var(--db-spacing-fixed-3xs)) calc(var(--db-sizing-md) + var(--db-spacing-fixed-xs) * 2 + var(--db-spacing-fixed-3xs));
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
@media
|
|
491
|
+
@media (min-width: 64em) {
|
|
492
492
|
.db-sub-navigation:not([data-force-mobile]) .db-mobile-navigation-back:not([hidden]), .db-sub-navigation[data-force-mobile=false] .db-mobile-navigation-back:not([hidden]) {
|
|
493
493
|
display: none;
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
|
-
@media
|
|
496
|
+
@media (min-width: 64em) {
|
|
497
497
|
.db-sub-navigation:not([data-force-mobile]), .db-sub-navigation[data-force-mobile=false] {
|
|
498
498
|
border-radius: var(--db-border-radius-sm);
|
|
499
499
|
box-shadow: var(--db-elevation-md);
|