@db-ux/core-components 4.6.1 → 4.7.0-tabs-34782eb
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 +28 -16
- package/build/components/accordion-item/accordion-item.css +5 -3
- package/build/components/badge/badge.css +13 -7
- package/build/components/brand/brand.css +3 -3
- package/build/components/button/button.css +3 -1
- package/build/components/card/card.css +10 -6
- package/build/components/checkbox/checkbox.css +25 -21
- package/build/components/custom-button/custom-button.css +3 -1
- package/build/components/custom-select/custom-select.css +19 -15
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +11 -3
- package/build/components/custom-select-form-field/custom-select-form-field.css +8 -6
- package/build/components/custom-select-list/custom-select-list.css +4 -2
- package/build/components/custom-select-list-item/custom-select-list-item.css +7 -5
- package/build/components/drawer/drawer.css +3 -3
- package/build/components/header/header.css +115 -60
- package/build/components/icon/icon.css +4 -2
- package/build/components/infotext/infotext.css +15 -15
- package/build/components/input/input.css +12 -10
- package/build/components/navigation/navigation.css +28 -12
- package/build/components/navigation-item/navigation-item.css +39 -19
- package/build/components/notification/notification.css +5 -5
- package/build/components/notification/notification.scss +1 -1
- package/build/components/page/page.css +13 -11
- package/build/components/popover/popover.css +25 -13
- package/build/components/radio/radio.css +10 -8
- package/build/components/section/section.css +3 -3
- package/build/components/select/select.css +11 -11
- package/build/components/select/select.scss +4 -4
- package/build/components/stack/stack-web-component.css +3 -3
- package/build/components/stack/stack.css +3 -3
- package/build/components/switch/switch.css +30 -20
- package/build/components/tab-item/tab-item.css +133 -157
- package/build/components/tab-item/tab-item.scss +105 -103
- package/build/components/tab-list/tab-list.css +46 -36
- package/build/components/tab-list/tab-list.scss +11 -9
- package/build/components/tab-panel/tab-panel.css +1 -2
- package/build/components/tab-panel/tab-panel.scss +2 -5
- package/build/components/tabs/tabs.css +227 -236
- package/build/components/tabs/tabs.scss +214 -234
- package/build/components/tag/tag.css +32 -11
- package/build/components/textarea/textarea.css +27 -17
- package/build/components/tooltip/tooltip.css +19 -9
- package/build/styles/absolute.css +32 -18
- package/build/styles/bundle.css +32 -18
- package/build/styles/index.css +31 -17
- package/build/styles/relative.css +32 -18
- package/build/styles/rollup.css +32 -18
- package/build/styles/webpack.css +32 -18
- package/package.json +6 -6
|
@@ -26,11 +26,6 @@
|
|
|
26
26
|
--db-spacing-fixed-2xl: var(--db-spacing-fixed-functional-2xl);
|
|
27
27
|
--db-spacing-fixed-3xl: var(--db-spacing-fixed-functional-3xl);
|
|
28
28
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
29
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
30
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
31
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
32
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
33
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
34
29
|
}
|
|
35
30
|
@media (width <= 48em) {
|
|
36
31
|
.db-header-meta-navigation {
|
|
@@ -45,6 +40,10 @@
|
|
|
45
40
|
--db-spacing-responsive-3xl: var(--db-spacing-responsive-functional-mobile-3xl);
|
|
46
41
|
}
|
|
47
42
|
}
|
|
43
|
+
.db-header-meta-navigation {
|
|
44
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
45
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
46
|
+
}
|
|
48
47
|
@media (48em < width <= 64em) {
|
|
49
48
|
.db-header-meta-navigation {
|
|
50
49
|
--db-spacing-responsive-3xs: var(--db-spacing-responsive-functional-tablet-3xs);
|
|
@@ -58,6 +57,10 @@
|
|
|
58
57
|
--db-spacing-responsive-3xl: var(--db-spacing-responsive-functional-tablet-3xl);
|
|
59
58
|
}
|
|
60
59
|
}
|
|
60
|
+
.db-header-meta-navigation {
|
|
61
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
62
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
63
|
+
}
|
|
61
64
|
@media (64em < width) {
|
|
62
65
|
.db-header-meta-navigation {
|
|
63
66
|
--db-spacing-responsive-3xs: var(--db-spacing-responsive-functional-desktop-3xs);
|
|
@@ -71,14 +74,12 @@
|
|
|
71
74
|
--db-spacing-responsive-3xl: var(--db-spacing-responsive-functional-desktop-3xl);
|
|
72
75
|
}
|
|
73
76
|
}
|
|
74
|
-
|
|
75
77
|
.db-header-meta-navigation {
|
|
76
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
77
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
78
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
79
78
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.db-header-meta-navigation {
|
|
80
82
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
81
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
82
83
|
}
|
|
83
84
|
@media (width <= 48em) {
|
|
84
85
|
.db-header-meta-navigation {
|
|
@@ -111,6 +112,10 @@
|
|
|
111
112
|
--db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-functional-mobile-headline-3xl);
|
|
112
113
|
}
|
|
113
114
|
}
|
|
115
|
+
.db-header-meta-navigation {
|
|
116
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
117
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
118
|
+
}
|
|
114
119
|
@media (48em < width <= 64em) {
|
|
115
120
|
.db-header-meta-navigation {
|
|
116
121
|
--db-type-headline-3xs: var(--db-typography-functional-tablet-headline-3xs);
|
|
@@ -142,6 +147,10 @@
|
|
|
142
147
|
--db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-functional-tablet-headline-3xl);
|
|
143
148
|
}
|
|
144
149
|
}
|
|
150
|
+
.db-header-meta-navigation {
|
|
151
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
152
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
153
|
+
}
|
|
145
154
|
@media (64em < width) {
|
|
146
155
|
.db-header-meta-navigation {
|
|
147
156
|
--db-type-headline-3xs: var(--db-typography-functional-desktop-headline-3xs);
|
|
@@ -173,14 +182,12 @@
|
|
|
173
182
|
--db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-functional-desktop-headline-3xl);
|
|
174
183
|
}
|
|
175
184
|
}
|
|
176
|
-
|
|
177
185
|
.db-header-meta-navigation {
|
|
178
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
179
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
180
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
181
186
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.db-header-meta-navigation {
|
|
182
190
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
183
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
184
191
|
}
|
|
185
192
|
@media (width <= 48em) {
|
|
186
193
|
.db-header-meta-navigation {
|
|
@@ -213,6 +220,10 @@
|
|
|
213
220
|
--db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-functional-mobile-body-3xl);
|
|
214
221
|
}
|
|
215
222
|
}
|
|
223
|
+
.db-header-meta-navigation {
|
|
224
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
225
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
226
|
+
}
|
|
216
227
|
@media (48em < width <= 64em) {
|
|
217
228
|
.db-header-meta-navigation {
|
|
218
229
|
--db-type-body-3xs: var(--db-typography-functional-tablet-body-3xs);
|
|
@@ -244,6 +255,10 @@
|
|
|
244
255
|
--db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-functional-tablet-body-3xl);
|
|
245
256
|
}
|
|
246
257
|
}
|
|
258
|
+
.db-header-meta-navigation {
|
|
259
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
260
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
261
|
+
}
|
|
247
262
|
@media (64em < width) {
|
|
248
263
|
.db-header-meta-navigation {
|
|
249
264
|
--db-type-body-3xs: var(--db-typography-functional-desktop-body-3xs);
|
|
@@ -275,6 +290,9 @@
|
|
|
275
290
|
--db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-functional-desktop-body-3xl);
|
|
276
291
|
}
|
|
277
292
|
}
|
|
293
|
+
.db-header-meta-navigation {
|
|
294
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
295
|
+
}
|
|
278
296
|
|
|
279
297
|
.db-header-meta-navigation {
|
|
280
298
|
--db-density-functional: 1;
|
|
@@ -282,21 +300,25 @@
|
|
|
282
300
|
|
|
283
301
|
.db-header {
|
|
284
302
|
background-color: var(--db-adaptive-bg-basic-level-1-default);
|
|
303
|
+
}
|
|
304
|
+
.db-header:not([hidden]) {
|
|
305
|
+
display: flex;
|
|
306
|
+
}
|
|
307
|
+
.db-header {
|
|
285
308
|
flex-direction: column;
|
|
286
309
|
position: relative;
|
|
287
310
|
min-block-size: calc(var(--db-sizing-md) + 2 * var(--db-spacing-fixed-xs));
|
|
288
311
|
border-block-end: var(--db-border-width-3xs) solid var(--db-adaptive-on-bg-basic-emphasis-60-default);
|
|
289
312
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
290
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
291
|
-
}
|
|
292
|
-
.db-header:not([hidden]) {
|
|
293
|
-
display: flex;
|
|
294
313
|
}
|
|
295
314
|
@media (min-width: 64em) {
|
|
296
315
|
.db-header:not([data-force-mobile]), .db-header[data-force-mobile=false] {
|
|
297
316
|
--db-drawer-max-width: 48em;
|
|
298
317
|
}
|
|
299
318
|
}
|
|
319
|
+
.db-header {
|
|
320
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
321
|
+
}
|
|
300
322
|
.db-header[data-width=small] {
|
|
301
323
|
margin-inline: auto;
|
|
302
324
|
max-inline-size: 48em;
|
|
@@ -329,23 +351,28 @@
|
|
|
329
351
|
display: none;
|
|
330
352
|
}
|
|
331
353
|
|
|
354
|
+
.db-header-navigation-bar:not([hidden]) {
|
|
355
|
+
display: flex;
|
|
356
|
+
}
|
|
332
357
|
.db-header-navigation-bar {
|
|
333
358
|
position: relative;
|
|
334
359
|
padding: var(--db-spacing-fixed-xs) var(--db-spacing-fixed-md);
|
|
335
360
|
inline-size: 100%;
|
|
336
361
|
align-items: center;
|
|
337
362
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
338
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
339
|
-
}
|
|
340
|
-
.db-header-navigation-bar:not([hidden]) {
|
|
341
|
-
display: flex;
|
|
342
363
|
}
|
|
343
364
|
@media (min-width: 64em) {
|
|
344
365
|
.db-header-navigation-bar:not([data-force-mobile]), .db-header-navigation-bar[data-force-mobile=false] {
|
|
345
366
|
padding: var(--db-spacing-fixed-md) var(--db-spacing-fixed-lg);
|
|
346
367
|
}
|
|
347
368
|
}
|
|
369
|
+
.db-header-navigation-bar {
|
|
370
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
371
|
+
}
|
|
348
372
|
|
|
373
|
+
.db-header-meta-navigation:not([hidden]) {
|
|
374
|
+
display: flex;
|
|
375
|
+
}
|
|
349
376
|
.db-header-meta-navigation {
|
|
350
377
|
flex-direction: column;
|
|
351
378
|
gap: var(--db-spacing-fixed-sm);
|
|
@@ -354,11 +381,6 @@
|
|
|
354
381
|
padding: var(--db-spacing-fixed-md);
|
|
355
382
|
--db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
|
|
356
383
|
position: var(--db-tooltip-parent-position, relative);
|
|
357
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
358
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
359
|
-
}
|
|
360
|
-
.db-header-meta-navigation:not([hidden]) {
|
|
361
|
-
display: flex;
|
|
362
384
|
}
|
|
363
385
|
.db-header-meta-navigation[data-emphasis=strong] {
|
|
364
386
|
--db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-70-default);
|
|
@@ -378,6 +400,9 @@
|
|
|
378
400
|
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
379
401
|
}
|
|
380
402
|
}
|
|
403
|
+
.db-header-meta-navigation {
|
|
404
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
405
|
+
}
|
|
381
406
|
@media (min-width: 64em) {
|
|
382
407
|
.db-header-meta-navigation:not([data-force-mobile]), .db-header-meta-navigation[data-force-mobile=false] {
|
|
383
408
|
padding: var(--db-spacing-fixed-xs) var(--db-spacing-fixed-lg);
|
|
@@ -392,20 +417,22 @@
|
|
|
392
417
|
display: none;
|
|
393
418
|
}
|
|
394
419
|
}
|
|
420
|
+
.db-header-meta-navigation {
|
|
421
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
422
|
+
}
|
|
395
423
|
.db-header-meta-navigation:empty:not([hidden]) {
|
|
396
424
|
display: none;
|
|
397
425
|
}
|
|
398
426
|
|
|
427
|
+
.db-header-navigation-container:not([hidden]) {
|
|
428
|
+
display: inherit;
|
|
429
|
+
}
|
|
399
430
|
.db-header-navigation-container {
|
|
400
431
|
flex: 1 1 auto;
|
|
401
432
|
inline-size: 100%;
|
|
402
433
|
align-items: center;
|
|
403
434
|
block-size: 100%;
|
|
404
435
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
405
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
406
|
-
}
|
|
407
|
-
.db-header-navigation-container:not([hidden]) {
|
|
408
|
-
display: inherit;
|
|
409
436
|
}
|
|
410
437
|
@media (min-width: 64em) {
|
|
411
438
|
.db-header-navigation-container:not([data-force-mobile]), .db-header-navigation-container[data-force-mobile=false] {
|
|
@@ -438,6 +465,9 @@
|
|
|
438
465
|
margin-inline-start: var(--db-spacing-fixed-lg);
|
|
439
466
|
}
|
|
440
467
|
}
|
|
468
|
+
.db-header-navigation-container {
|
|
469
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
470
|
+
}
|
|
441
471
|
|
|
442
472
|
.db-header-primary-action {
|
|
443
473
|
margin-inline-start: auto;
|
|
@@ -449,13 +479,15 @@
|
|
|
449
479
|
|
|
450
480
|
.db-header-action-container:has(> .db-header-secondary-action:empty) {
|
|
451
481
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
452
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
453
482
|
}
|
|
454
483
|
@media (min-width: 64em) {
|
|
455
484
|
.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]) {
|
|
456
485
|
display: none;
|
|
457
486
|
}
|
|
458
487
|
}
|
|
488
|
+
.db-header-action-container:has(> .db-header-secondary-action:empty) {
|
|
489
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
490
|
+
}
|
|
459
491
|
|
|
460
492
|
.db-header-brand-container {
|
|
461
493
|
min-block-size: var(--db-sizing-md);
|
|
@@ -464,8 +496,6 @@
|
|
|
464
496
|
.db-header-action-container {
|
|
465
497
|
--db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
|
|
466
498
|
position: var(--db-tooltip-parent-position, relative);
|
|
467
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
468
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
469
499
|
}
|
|
470
500
|
.db-header-action-container[data-emphasis=strong] {
|
|
471
501
|
--db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-70-default);
|
|
@@ -485,11 +515,17 @@
|
|
|
485
515
|
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
486
516
|
}
|
|
487
517
|
}
|
|
518
|
+
.db-header-action-container {
|
|
519
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
520
|
+
}
|
|
488
521
|
@media (min-width: 64em) {
|
|
489
522
|
.db-header-action-container:not([data-force-mobile])::before, .db-header-action-container[data-force-mobile=false]::before {
|
|
490
523
|
margin-inline: var(--db-spacing-fixed-sm);
|
|
491
524
|
}
|
|
492
525
|
}
|
|
526
|
+
.db-header-action-container {
|
|
527
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
528
|
+
}
|
|
493
529
|
.db-header-action-container::before {
|
|
494
530
|
margin-inline: var(--db-spacing-fixed-xs);
|
|
495
531
|
position: inherit;
|
|
@@ -500,15 +536,18 @@
|
|
|
500
536
|
.db-header-action-container {
|
|
501
537
|
align-items: center;
|
|
502
538
|
block-size: 100%;
|
|
503
|
-
gap: inherit;
|
|
504
|
-
flex: 0 1 auto;
|
|
505
|
-
flex-grow: 0;
|
|
506
|
-
flex-shrink: 0;
|
|
507
539
|
}
|
|
508
540
|
.db-header-brand-container:not([hidden]),
|
|
509
541
|
.db-header-action-container:not([hidden]) {
|
|
510
542
|
display: inherit;
|
|
511
543
|
}
|
|
544
|
+
.db-header-brand-container,
|
|
545
|
+
.db-header-action-container {
|
|
546
|
+
gap: inherit;
|
|
547
|
+
flex: 0 1 auto;
|
|
548
|
+
flex-grow: 0;
|
|
549
|
+
flex-shrink: 0;
|
|
550
|
+
}
|
|
512
551
|
|
|
513
552
|
.db-header-secondary-action {
|
|
514
553
|
flex: 0 1 auto;
|
|
@@ -517,8 +556,6 @@
|
|
|
517
556
|
padding-block-start: var(--db-spacing-fixed-xs);
|
|
518
557
|
--db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
|
|
519
558
|
position: var(--db-tooltip-parent-position, relative);
|
|
520
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
521
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
522
559
|
}
|
|
523
560
|
.db-header-secondary-action[data-emphasis=strong] {
|
|
524
561
|
--db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-70-default);
|
|
@@ -538,12 +575,21 @@
|
|
|
538
575
|
border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
|
|
539
576
|
}
|
|
540
577
|
}
|
|
578
|
+
.db-header-secondary-action {
|
|
579
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
580
|
+
}
|
|
541
581
|
@media (min-width: 64em) {
|
|
542
582
|
.db-header-secondary-action:not([data-force-mobile])::before, .db-header-secondary-action[data-force-mobile=false]::before {
|
|
543
583
|
display: none;
|
|
544
584
|
}
|
|
545
585
|
}
|
|
586
|
+
.db-header-secondary-action {
|
|
587
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
588
|
+
}
|
|
546
589
|
|
|
590
|
+
.db-header-drawer-navigation:not([hidden]) {
|
|
591
|
+
display: flex;
|
|
592
|
+
}
|
|
547
593
|
.db-header-drawer-navigation {
|
|
548
594
|
flex-direction: column;
|
|
549
595
|
flex: 1 1 auto;
|
|
@@ -551,31 +597,29 @@
|
|
|
551
597
|
overflow: auto;
|
|
552
598
|
justify-content: space-between;
|
|
553
599
|
}
|
|
554
|
-
.db-header-drawer-navigation:not([hidden]) {
|
|
555
|
-
display: flex;
|
|
556
|
-
}
|
|
557
600
|
|
|
558
601
|
.db-header-navigation {
|
|
559
602
|
padding-block: var(--db-spacing-fixed-md);
|
|
560
603
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
561
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
562
604
|
}
|
|
563
605
|
@media (min-width: 64em) {
|
|
564
606
|
.db-header-navigation:not([data-force-mobile]), .db-header-navigation[data-force-mobile=false] {
|
|
565
607
|
margin-inline: var(--db-spacing-fixed-lg);
|
|
566
608
|
}
|
|
567
609
|
}
|
|
610
|
+
.db-header-navigation {
|
|
611
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
612
|
+
}
|
|
568
613
|
|
|
614
|
+
.db-header-navigation:not([hidden]),
|
|
615
|
+
.db-header-secondary-action:not([hidden]) {
|
|
616
|
+
display: flex;
|
|
617
|
+
}
|
|
569
618
|
.db-header-navigation,
|
|
570
619
|
.db-header-secondary-action {
|
|
571
620
|
gap: var(--db-spacing-fixed-sm);
|
|
572
621
|
padding-inline: var(--db-spacing-fixed-md);
|
|
573
622
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
574
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
575
|
-
}
|
|
576
|
-
.db-header-navigation:not([hidden]),
|
|
577
|
-
.db-header-secondary-action:not([hidden]) {
|
|
578
|
-
display: flex;
|
|
579
623
|
}
|
|
580
624
|
@media (min-width: 64em) {
|
|
581
625
|
.db-header-navigation:not([data-force-mobile]), .db-header-navigation[data-force-mobile=false],
|
|
@@ -585,6 +629,10 @@
|
|
|
585
629
|
padding: 0;
|
|
586
630
|
}
|
|
587
631
|
}
|
|
632
|
+
.db-header-navigation,
|
|
633
|
+
.db-header-secondary-action {
|
|
634
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
635
|
+
}
|
|
588
636
|
|
|
589
637
|
.db-header-drawer {
|
|
590
638
|
--db-drawer-content-padding-inline: 0;
|
|
@@ -593,27 +641,26 @@
|
|
|
593
641
|
);
|
|
594
642
|
padding-block-end: 0;
|
|
595
643
|
}
|
|
644
|
+
.db-header-drawer .db-drawer-content:not([hidden]) {
|
|
645
|
+
display: flex;
|
|
646
|
+
}
|
|
596
647
|
.db-header-drawer .db-drawer-content {
|
|
597
648
|
flex-direction: column;
|
|
598
649
|
block-size: 100%;
|
|
599
650
|
overflow: hidden;
|
|
600
651
|
}
|
|
601
|
-
.db-header-drawer .db-drawer-content:not([hidden]) {
|
|
602
|
-
display: flex;
|
|
603
|
-
}
|
|
604
652
|
|
|
605
653
|
/* Only for Desktop */
|
|
606
|
-
.db-header-meta-navigation,
|
|
607
|
-
.db-header-navigation-container > .db-header-navigation,
|
|
608
|
-
.db-header-action-container > .db-header-secondary-action {
|
|
609
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
610
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
611
|
-
}
|
|
612
654
|
.db-header-meta-navigation:not([hidden]),
|
|
613
655
|
.db-header-navigation-container > .db-header-navigation:not([hidden]),
|
|
614
656
|
.db-header-action-container > .db-header-secondary-action:not([hidden]) {
|
|
615
657
|
display: none;
|
|
616
658
|
}
|
|
659
|
+
.db-header-meta-navigation,
|
|
660
|
+
.db-header-navigation-container > .db-header-navigation,
|
|
661
|
+
.db-header-action-container > .db-header-secondary-action {
|
|
662
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
663
|
+
}
|
|
617
664
|
@media (min-width: 64em) {
|
|
618
665
|
.db-header-meta-navigation:not([data-force-mobile]):not([hidden]), .db-header-meta-navigation[data-force-mobile=false]:not([hidden]),
|
|
619
666
|
.db-header-navigation-container > .db-header-navigation:not([data-force-mobile]):not([hidden]),
|
|
@@ -623,6 +670,11 @@
|
|
|
623
670
|
display: inherit;
|
|
624
671
|
}
|
|
625
672
|
}
|
|
673
|
+
.db-header-meta-navigation,
|
|
674
|
+
.db-header-navigation-container > .db-header-navigation,
|
|
675
|
+
.db-header-action-container > .db-header-secondary-action {
|
|
676
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
677
|
+
}
|
|
626
678
|
|
|
627
679
|
/* Only for Mobile */
|
|
628
680
|
.db-header-drawer-navigation > .db-header-meta-navigation:not(:empty):not([hidden]) {
|
|
@@ -632,7 +684,6 @@
|
|
|
632
684
|
.db-header-drawer,
|
|
633
685
|
.db-header-burger-menu-container {
|
|
634
686
|
/* stylelint-disable-next-line media-query-no-invalid */
|
|
635
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
636
687
|
}
|
|
637
688
|
@media (min-width: 64em) {
|
|
638
689
|
.db-header-drawer:not([data-force-mobile]):not([hidden]), .db-header-drawer[data-force-mobile=false]:not([hidden]),
|
|
@@ -641,3 +692,7 @@
|
|
|
641
692
|
display: none;
|
|
642
693
|
}
|
|
643
694
|
}
|
|
695
|
+
.db-header-drawer,
|
|
696
|
+
.db-header-burger-menu-container {
|
|
697
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
698
|
+
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/* Variants for adaptive components like input, select, notification, ... */
|
|
2
2
|
.db-icon {
|
|
3
3
|
font-size: 0 !important;
|
|
4
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
5
|
-
/* Safari hack */
|
|
6
4
|
}
|
|
7
5
|
.db-icon::before {
|
|
8
6
|
--db-icon-margin-end: 0;
|
|
9
7
|
}
|
|
8
|
+
.db-icon {
|
|
9
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
10
|
+
/* Safari hack */
|
|
11
|
+
}
|
|
10
12
|
@supports (-webkit-hyphens: none) {
|
|
11
13
|
.db-icon:not([hidden]) {
|
|
12
14
|
display: inline-block;
|
|
@@ -80,60 +80,60 @@
|
|
|
80
80
|
.db-infotext[data-wrap=false] {
|
|
81
81
|
white-space: nowrap;
|
|
82
82
|
}
|
|
83
|
-
.db-infotext[data-semantic=neutral] {
|
|
84
|
-
color: var(--db-neutral-on-bg-basic-emphasis-80-default);
|
|
85
|
-
}
|
|
86
83
|
.db-infotext[data-semantic=neutral]:not([data-icon])::before {
|
|
87
84
|
--db-icon: "information_circle";
|
|
88
85
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
89
86
|
}
|
|
87
|
+
.db-infotext[data-semantic=neutral] {
|
|
88
|
+
color: var(--db-neutral-on-bg-basic-emphasis-80-default);
|
|
89
|
+
}
|
|
90
90
|
.db-infotext[data-semantic=neutral]::before {
|
|
91
91
|
--db-icon-color: var(
|
|
92
92
|
--db-neutral-on-bg-basic-emphasis-70-default
|
|
93
93
|
);
|
|
94
94
|
}
|
|
95
|
-
.db-infotext[data-semantic=critical] {
|
|
96
|
-
color: var(--db-critical-on-bg-basic-emphasis-80-default);
|
|
97
|
-
}
|
|
98
95
|
.db-infotext[data-semantic=critical]:not([data-icon])::before {
|
|
99
96
|
--db-icon: "exclamation_mark_circle";
|
|
100
97
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
101
98
|
}
|
|
99
|
+
.db-infotext[data-semantic=critical] {
|
|
100
|
+
color: var(--db-critical-on-bg-basic-emphasis-80-default);
|
|
101
|
+
}
|
|
102
102
|
.db-infotext[data-semantic=critical]::before {
|
|
103
103
|
--db-icon-color: var(
|
|
104
104
|
--db-critical-on-bg-basic-emphasis-70-default
|
|
105
105
|
);
|
|
106
106
|
}
|
|
107
|
-
.db-infotext[data-semantic=successful] {
|
|
108
|
-
color: var(--db-successful-on-bg-basic-emphasis-80-default);
|
|
109
|
-
}
|
|
110
107
|
.db-infotext[data-semantic=successful]:not([data-icon])::before {
|
|
111
108
|
--db-icon: "check_circle";
|
|
112
109
|
}
|
|
110
|
+
.db-infotext[data-semantic=successful] {
|
|
111
|
+
color: var(--db-successful-on-bg-basic-emphasis-80-default);
|
|
112
|
+
}
|
|
113
113
|
.db-infotext[data-semantic=successful]::before {
|
|
114
114
|
--db-icon-color: var(
|
|
115
115
|
--db-successful-on-bg-basic-emphasis-70-default
|
|
116
116
|
);
|
|
117
117
|
}
|
|
118
|
-
.db-infotext[data-semantic=warning] {
|
|
119
|
-
color: var(--db-warning-on-bg-basic-emphasis-80-default);
|
|
120
|
-
}
|
|
121
118
|
.db-infotext[data-semantic=warning]:not([data-icon])::before {
|
|
122
119
|
--db-icon: "exclamation_mark_triangle";
|
|
123
120
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
124
121
|
}
|
|
122
|
+
.db-infotext[data-semantic=warning] {
|
|
123
|
+
color: var(--db-warning-on-bg-basic-emphasis-80-default);
|
|
124
|
+
}
|
|
125
125
|
.db-infotext[data-semantic=warning]::before {
|
|
126
126
|
--db-icon-color: var(
|
|
127
127
|
--db-warning-on-bg-basic-emphasis-70-default
|
|
128
128
|
);
|
|
129
129
|
}
|
|
130
|
-
.db-infotext[data-semantic=informational] {
|
|
131
|
-
color: var(--db-informational-on-bg-basic-emphasis-80-default);
|
|
132
|
-
}
|
|
133
130
|
.db-infotext[data-semantic=informational]:not([data-icon])::before {
|
|
134
131
|
--db-icon: "information_circle";
|
|
135
132
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
136
133
|
}
|
|
134
|
+
.db-infotext[data-semantic=informational] {
|
|
135
|
+
color: var(--db-informational-on-bg-basic-emphasis-80-default);
|
|
136
|
+
}
|
|
137
137
|
.db-infotext[data-semantic=informational]::before {
|
|
138
138
|
--db-icon-color: var(
|
|
139
139
|
--db-informational-on-bg-basic-emphasis-70-default
|
|
@@ -619,14 +619,14 @@ input[type=radio]:checked) input:is([type=date],
|
|
|
619
619
|
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid) input {
|
|
620
620
|
border-color: var(--db-successful-on-bg-basic-emphasis-70-default);
|
|
621
621
|
}
|
|
622
|
-
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid) > db-infotext > .db-infotext,
|
|
623
|
-
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid) > .db-infotext {
|
|
624
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
625
|
-
}
|
|
626
622
|
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid) > db-infotext > .db-infotext[data-semantic=successful]:not([hidden]),
|
|
627
623
|
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid) > .db-infotext[data-semantic=successful]:not([hidden]) {
|
|
628
624
|
display: flex;
|
|
629
625
|
}
|
|
626
|
+
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid) > db-infotext > .db-infotext,
|
|
627
|
+
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid) > .db-infotext {
|
|
628
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
629
|
+
}
|
|
630
630
|
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid) > db-infotext > .db-infotext:not([data-semantic]):not([hidden]),
|
|
631
631
|
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid) > .db-infotext:not([data-semantic]):not([hidden]) {
|
|
632
632
|
display: none;
|
|
@@ -644,16 +644,16 @@ input[type=radio]:checked) input:is([type=date],
|
|
|
644
644
|
.db-input:has(input[data-custom-validity=valid]) input, .db-input[data-custom-validity=valid] input {
|
|
645
645
|
border-color: var(--db-successful-on-bg-basic-emphasis-70-default);
|
|
646
646
|
}
|
|
647
|
-
.db-input:has(input[data-custom-validity=valid]) > db-infotext > .db-infotext,
|
|
648
|
-
.db-input:has(input[data-custom-validity=valid]) > .db-infotext, .db-input[data-custom-validity=valid] > db-infotext > .db-infotext,
|
|
649
|
-
.db-input[data-custom-validity=valid] > .db-infotext {
|
|
650
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
651
|
-
}
|
|
652
647
|
.db-input:has(input[data-custom-validity=valid]) > db-infotext > .db-infotext[data-semantic=successful]:not([hidden]),
|
|
653
648
|
.db-input:has(input[data-custom-validity=valid]) > .db-infotext[data-semantic=successful]:not([hidden]), .db-input[data-custom-validity=valid] > db-infotext > .db-infotext[data-semantic=successful]:not([hidden]),
|
|
654
649
|
.db-input[data-custom-validity=valid] > .db-infotext[data-semantic=successful]:not([hidden]) {
|
|
655
650
|
display: flex;
|
|
656
651
|
}
|
|
652
|
+
.db-input:has(input[data-custom-validity=valid]) > db-infotext > .db-infotext,
|
|
653
|
+
.db-input:has(input[data-custom-validity=valid]) > .db-infotext, .db-input[data-custom-validity=valid] > db-infotext > .db-infotext,
|
|
654
|
+
.db-input[data-custom-validity=valid] > .db-infotext {
|
|
655
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
656
|
+
}
|
|
657
657
|
.db-input:has(input[data-custom-validity=valid]) > db-infotext > .db-infotext:not([data-semantic]):not([hidden]),
|
|
658
658
|
.db-input:has(input[data-custom-validity=valid]) > .db-infotext:not([data-semantic]):not([hidden]), .db-input[data-custom-validity=valid] > db-infotext > .db-infotext:not([data-semantic]):not([hidden]),
|
|
659
659
|
.db-input[data-custom-validity=valid] > .db-infotext:not([data-semantic]):not([hidden]) {
|
|
@@ -737,7 +737,6 @@ input[type=radio]:checked) input:is([type=date],
|
|
|
737
737
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
738
738
|
padding-inline: var(--db-form-component-padding-inline-start, var(--db-spacing-fixed-sm)) var(--db-form-component-padding-inline-end, var(--db-spacing-fixed-sm));
|
|
739
739
|
/* stylelint-disable-next-line a11y/selector-pseudo-class-focus */
|
|
740
|
-
/* see https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing */
|
|
741
740
|
}
|
|
742
741
|
.db-input input:hover:not(:disabled,
|
|
743
742
|
[aria-disabled=true],
|
|
@@ -764,6 +763,9 @@ input[type=radio]:checked) input:is([type=date],
|
|
|
764
763
|
:has(:disabled)):is(input[type=radio]:not(:checked)) {
|
|
765
764
|
cursor: pointer;
|
|
766
765
|
}
|
|
766
|
+
.db-input input {
|
|
767
|
+
/* see https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing */
|
|
768
|
+
}
|
|
767
769
|
.db-input input[data-field-sizing=content] {
|
|
768
770
|
field-sizing: content;
|
|
769
771
|
}
|