@db-ux/core-components 4.12.1 → 4.13.0-shell-f221975
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 +4 -0
- package/agent/Best-Practise_Common-AI-Mistakes.md +3 -3
- package/build/components/accordion/accordion.css +13 -6
- package/build/components/accordion-item/accordion-item.css +6 -11
- package/build/components/badge/badge.css +1 -1
- package/build/components/badge/badge.scss +1 -1
- package/build/components/button/button.css +0 -8
- package/build/components/button/button.scss +0 -11
- package/build/components/checkbox/checkbox.css +6 -11
- package/build/components/control-panel-brand/control-panel-brand.css +53 -0
- package/build/components/control-panel-brand/control-panel-brand.scss +48 -0
- package/build/components/control-panel-desktop/control-panel-desktop.css +579 -0
- package/build/components/control-panel-desktop/control-panel-desktop.scss +30 -0
- package/build/components/control-panel-flat-icon/control-panel-flat-icon.css +258 -0
- package/build/components/control-panel-flat-icon/control-panel-flat-icon.scss +239 -0
- package/build/components/control-panel-meta/control-panel-meta.css +14 -0
- package/build/components/control-panel-meta/control-panel-meta.scss +15 -0
- package/build/components/control-panel-mobile/control-panel-mobile.css +438 -0
- package/build/components/control-panel-mobile/control-panel-mobile.scss +116 -0
- package/build/components/control-panel-navigation/control-panel-navigation.css +390 -0
- package/build/components/control-panel-navigation/control-panel-navigation.scss +186 -0
- package/build/components/control-panel-navigation-item/control-panel-navigation-item.css +87 -0
- package/build/components/control-panel-navigation-item/control-panel-navigation-item.scss +39 -0
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-popover.css +21 -0
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-popover.scss +125 -0
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-tree.css +35 -0
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-tree.scss +36 -0
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group.css +158 -0
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group.scss +80 -0
- package/build/components/control-panel-primary-actions/control-panel-primary-actions.css +12 -0
- package/build/components/control-panel-primary-actions/control-panel-primary-actions.scss +7 -0
- package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.css +12 -0
- package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.scss +7 -0
- package/build/components/control-panel-skip-navigation/control-panel-skip-navigation.css +23 -0
- package/build/components/control-panel-skip-navigation/control-panel-skip-navigation.scss +25 -0
- package/build/components/custom-button/custom-button.css +11 -19
- package/build/components/custom-select/custom-select.css +17 -16
- package/build/components/custom-select/custom-select.scss +1 -1
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +39 -26
- package/build/components/custom-select-form-field/custom-select-form-field.css +6 -11
- package/build/components/custom-select-list/custom-select-list.css +6 -11
- package/build/components/custom-select-list-item/custom-select-list-item.css +24 -19
- package/build/components/divider/divider.css +18 -8
- package/build/components/drawer/drawer.css +78 -156
- package/build/components/drawer/drawer.scss +124 -167
- package/build/components/drawer-footer/drawer-footer.css +34 -0
- package/build/components/drawer-footer/drawer-footer.scss +11 -0
- package/build/components/drawer-header/drawer-header.css +38 -0
- package/build/components/drawer-header/drawer-header.scss +17 -0
- package/build/components/input/input.css +6 -11
- package/build/components/link/link.css +7 -1
- package/build/components/notification/notification.css +7 -1
- package/build/components/radio/radio.css +6 -11
- package/build/components/select/select.css +6 -11
- package/build/components/shell/shell-desktop.css +475 -0
- package/build/components/shell/shell-desktop.scss +105 -0
- package/build/components/shell/shell-mobile.css +441 -0
- package/build/components/shell/shell-mobile.scss +148 -0
- package/build/components/shell/shell.css +1670 -0
- package/build/components/shell/shell.scss +70 -0
- package/build/components/shell-content/shell-content.css +31 -0
- package/build/components/shell-content/shell-content.scss +49 -0
- package/build/components/shell-sub-navigation/shell-sub-navigation.css +51 -0
- package/build/components/shell-sub-navigation/shell-sub-navigation.scss +184 -0
- package/build/components/stack/stack-web-component.css +1 -0
- package/build/components/stack/stack.css +1 -0
- package/build/components/switch/switch.css +6 -11
- package/build/components/tab-item/tab-item.css +6 -11
- package/build/components/tab-item/tab-item.scss +0 -1
- package/build/components/tab-list/tab-list.css +6 -11
- package/build/components/table/table.css +6 -11
- package/build/components/tabs/tabs.css +55 -39
- package/build/components/tabs/tabs.scss +25 -70
- package/build/components/tag/tag.css +5 -10
- package/build/components/tag/tag.scss +1 -5
- package/build/components/textarea/textarea.css +6 -11
- package/build/styles/absolute.css +7 -7
- package/build/styles/bundle.css +7 -7
- package/build/styles/index.css +6 -6
- package/build/styles/index.scss +16 -5
- package/build/styles/internal/_component.scss +4 -0
- package/build/styles/internal/_control-panel-actions.scss +11 -0
- package/build/styles/internal/_control-panel-desktop.scss +412 -0
- package/build/styles/internal/_control-panel-mobile.scss +107 -0
- package/build/styles/internal/_custom-elements.scss +31 -7
- package/build/styles/internal/_icon-passing.scss +18 -10
- package/build/styles/internal/{_db-puls.scss → _indicator.scss} +37 -16
- package/build/styles/internal/_link-components.scss +7 -1
- package/build/styles/internal/_navigation-item.scss +122 -0
- package/build/styles/internal/_scrollbar.scss +71 -0
- package/build/styles/relative.css +7 -7
- package/build/styles/rollup.css +7 -7
- package/build/styles/visually-hidden.css +1 -1
- package/build/styles/wc-workarounds.css +1 -1
- package/build/styles/wc-workarounds.scss +11 -0
- package/build/styles/webpack.css +7 -7
- package/package.json +6 -7
- package/build/components/brand/brand.css +0 -32
- package/build/components/brand/brand.scss +0 -35
- package/build/components/header/header.css +0 -700
- package/build/components/header/header.scss +0 -274
- package/build/components/navigation/navigation.css +0 -202
- package/build/components/navigation/navigation.scss +0 -108
- package/build/components/navigation-item/navigation-item.css +0 -447
- package/build/components/navigation-item/navigation-item.scss +0 -337
- package/build/components/page/page.css +0 -61
- package/build/components/page/page.scss +0 -61
|
@@ -3,19 +3,14 @@
|
|
|
3
3
|
/* Variants for adaptive components like input, select, notification, ... */
|
|
4
4
|
.db-visually-hidden,
|
|
5
5
|
[data-visually-hidden=true] {
|
|
6
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
7
|
-
overflow: hidden !important;
|
|
8
|
-
white-space: nowrap !important;
|
|
9
|
-
font-size: 0 !important;
|
|
10
|
-
all: initial;
|
|
11
|
-
inset-block-start: 0 !important;
|
|
12
|
-
block-size: 1px !important;
|
|
13
6
|
position: absolute !important;
|
|
7
|
+
inset-block-start: 0 !important;
|
|
14
8
|
inline-size: 1px !important;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
block-size: 1px !important;
|
|
10
|
+
overflow: hidden !important;
|
|
11
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
12
|
+
white-space: nowrap !important;
|
|
13
|
+
border: 0 !important;
|
|
19
14
|
padding: 0 !important;
|
|
20
15
|
pointer-events: none !important;
|
|
21
16
|
}
|
|
@@ -24,6 +19,7 @@
|
|
|
24
19
|
content: "";
|
|
25
20
|
position: absolute;
|
|
26
21
|
border-radius: var(--db-border-radius-xs);
|
|
22
|
+
background: linear-gradient(135deg, var(--db-pride-red, var(--db-brand-on-bg-basic-emphasis-70-default)) 16.7%, var(--db-pride-orange, var(--db-brand-on-bg-basic-emphasis-70-default)) 0, var(--db-pride-orange, var(--db-brand-on-bg-basic-emphasis-70-default)) 33.4%, var(--db-pride-yellow, var(--db-brand-on-bg-basic-emphasis-70-default)) 0, var(--db-pride-yellow, var(--db-brand-on-bg-basic-emphasis-70-default)) 50.1%, var(--db-pride-green, var(--db-brand-on-bg-basic-emphasis-70-default)) 0, var(--db-pride-green, var(--db-brand-on-bg-basic-emphasis-70-default)) 66.8%, var(--db-pride-blue, var(--db-brand-on-bg-basic-emphasis-70-default)) 0, var(--db-pride-blue, var(--db-brand-on-bg-basic-emphasis-70-default)) 83.5%, var(--db-pride-violet, var(--db-brand-on-bg-basic-emphasis-70-default)) 0);
|
|
27
23
|
}
|
|
28
24
|
@media (prefers-reduced-motion: no-preference) {
|
|
29
25
|
.db-tabs .db-tab-item::after {
|
|
@@ -31,6 +27,23 @@
|
|
|
31
27
|
}
|
|
32
28
|
}
|
|
33
29
|
|
|
30
|
+
@keyframes popover-animation {
|
|
31
|
+
0% {
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
opacity: 0;
|
|
34
|
+
transform: translate(var(--db-popover-center-x, var(--db-popover-translate-x, 0%)), var(--db-popover-center-y, var(--db-popover-translate-y, 0%)));
|
|
35
|
+
}
|
|
36
|
+
100% {
|
|
37
|
+
pointer-events: auto;
|
|
38
|
+
opacity: 1;
|
|
39
|
+
transform: translate(var(--db-popover-center-x, 0%), var(--db-popover-center-y, 0%));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
@keyframes rotate {
|
|
43
|
+
100% {
|
|
44
|
+
transform: rotate(1turn);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
34
47
|
.db-tabs db-tab-list:has([id$=-tab-0]:checked) ~ dbtabpanel > [id$=-tab-panel-0]:not([hidden]),
|
|
35
48
|
.db-tabs db-tab-list:has([id$=-tab-0]:checked) ~ db-tab-panel > [id$=-tab-panel-0]:not([hidden]),
|
|
36
49
|
.db-tabs dbtablist:has([id$=-tab-0]:checked) ~ dbtabpanel > [id$=-tab-panel-0]:not([hidden]),
|
|
@@ -103,7 +116,6 @@
|
|
|
103
116
|
inline-size: 0;
|
|
104
117
|
transform: translate(-50%, 0);
|
|
105
118
|
inset-inline-start: 50%;
|
|
106
|
-
background-color: var(--db-brand-on-bg-basic-emphasis-70-default);
|
|
107
119
|
inset-block: auto calc(-1 * var(--db-spacing-fixed-xs));
|
|
108
120
|
}
|
|
109
121
|
.db-tabs:not([data-orientation=vertical]) .db-tab-list > ul .db-tab-item:has(input:checked)::after {
|
|
@@ -123,8 +135,7 @@
|
|
|
123
135
|
block-size: 0;
|
|
124
136
|
inline-size: var(--db-border-width-xs);
|
|
125
137
|
transform: translate(0, -50%);
|
|
126
|
-
inset-block: 50% auto;
|
|
127
|
-
background-color: var(--db-brand-on-bg-basic-emphasis-70-default);
|
|
138
|
+
inset-block: var(--indicator-vertical-inset-block-start, 50%) auto;
|
|
128
139
|
inset-inline-start: calc(-1 * var(--db-spacing-fixed-xs));
|
|
129
140
|
}
|
|
130
141
|
.db-tabs[data-orientation=vertical] .db-tab-list > ul .db-tab-item::after {
|
|
@@ -132,7 +143,7 @@
|
|
|
132
143
|
z-index: -2;
|
|
133
144
|
}
|
|
134
145
|
.db-tabs[data-orientation=vertical] .db-tab-list > ul .db-tab-item:has(input:checked)::after {
|
|
135
|
-
block-size: 100
|
|
146
|
+
block-size: var(--indicator-vertical-block-size, 100%);
|
|
136
147
|
inline-size: var(--db-border-width-xs);
|
|
137
148
|
}
|
|
138
149
|
@media (forced-colors: active), print {
|
|
@@ -207,7 +218,7 @@
|
|
|
207
218
|
inline-size: 100%;
|
|
208
219
|
}
|
|
209
220
|
.db-tabs:not([data-orientation=vertical]) .db-tab-list {
|
|
210
|
-
/* horizontal track for
|
|
221
|
+
/* horizontal track for indicator */
|
|
211
222
|
}
|
|
212
223
|
.db-tabs:not([data-orientation=vertical]) .db-tab-list::before {
|
|
213
224
|
block-size: var(--db-border-width-xs);
|
|
@@ -272,7 +283,7 @@
|
|
|
272
283
|
overflow: visible;
|
|
273
284
|
}
|
|
274
285
|
.db-tabs[data-orientation=vertical] .db-tab-list {
|
|
275
|
-
/* vertical track for
|
|
286
|
+
/* vertical track for indicator */
|
|
276
287
|
}
|
|
277
288
|
.db-tabs[data-orientation=vertical] .db-tab-list::before {
|
|
278
289
|
inline-size: var(--db-border-width-xs);
|
|
@@ -314,13 +325,36 @@
|
|
|
314
325
|
text-align: center;
|
|
315
326
|
justify-content: center;
|
|
316
327
|
}
|
|
328
|
+
.db-tabs[data-scroll-behavior=arrows] {
|
|
329
|
+
/*
|
|
330
|
+
* Scroll left / right buttons
|
|
331
|
+
*/
|
|
332
|
+
}
|
|
333
|
+
.db-tabs[data-scroll-behavior=arrows] .overflow-scroll-left-button > .db-button, .db-tabs[data-scroll-behavior=arrows] .overflow-scroll-left-button:is(.db-button) {
|
|
334
|
+
inset-inline-start: var(--db-overflow-scroll-button-inset-inline-start, 0);
|
|
335
|
+
}
|
|
336
|
+
.db-tabs[data-scroll-behavior=arrows] .overflow-scroll-right-button > .db-button, .db-tabs[data-scroll-behavior=arrows] .overflow-scroll-right-button:is(.db-button) {
|
|
337
|
+
inset-inline-end: 0;
|
|
338
|
+
}
|
|
339
|
+
.db-tabs[data-scroll-behavior=arrows] .overflow-scroll-left-button > .db-button, .db-tabs[data-scroll-behavior=arrows] .overflow-scroll-left-button:is(.db-button),
|
|
340
|
+
.db-tabs[data-scroll-behavior=arrows] .overflow-scroll-right-button > .db-button,
|
|
341
|
+
.db-tabs[data-scroll-behavior=arrows] .overflow-scroll-right-button:is(.db-button) {
|
|
342
|
+
position: absolute;
|
|
343
|
+
z-index: 22;
|
|
344
|
+
inset-block: var(--db-overflow-scroll-button-inset-block, var(--db-spacing-fixed-xs));
|
|
345
|
+
}
|
|
346
|
+
@supports (scrollbar-width: none) {
|
|
347
|
+
.db-tabs[data-scroll-behavior=arrows] .db-tab-list > ul {
|
|
348
|
+
scrollbar-width: none;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
317
351
|
.db-tabs[data-scroll-behavior=arrows] .db-tab-list > ul::-webkit-scrollbar {
|
|
318
352
|
display: none;
|
|
319
353
|
}
|
|
320
|
-
.db-tabs[data-scroll-behavior=arrows]:has(.
|
|
354
|
+
.db-tabs[data-scroll-behavior=arrows]:has(.overflow-scroll-left-button)::before {
|
|
321
355
|
content: "";
|
|
322
356
|
}
|
|
323
|
-
.db-tabs[data-scroll-behavior=arrows]:has(.
|
|
357
|
+
.db-tabs[data-scroll-behavior=arrows]:has(.overflow-scroll-right-button)::after {
|
|
324
358
|
content: "";
|
|
325
359
|
}
|
|
326
360
|
.db-tabs[data-scroll-behavior=arrows]:has(.db-button)::before, .db-tabs[data-scroll-behavior=arrows]:has(.db-button)::after {
|
|
@@ -328,30 +362,12 @@
|
|
|
328
362
|
z-index: 21;
|
|
329
363
|
background-color: var(--db-adaptive-bg-basic-level-1-default);
|
|
330
364
|
inline-size: var(--db-sizing-md);
|
|
331
|
-
block-size: calc(var(--db-spacing-fixed-sm) + var(--db-sizing-md));
|
|
365
|
+
block-size: calc(var(--db-overflow-scroll-button-background-block-size, var(--db-spacing-fixed-sm)) + var(--db-sizing-md));
|
|
332
366
|
flex: 0 0 auto;
|
|
333
367
|
}
|
|
334
368
|
.db-tabs[data-scroll-behavior=arrows]:has(.db-button)::before {
|
|
335
|
-
inset-inline-start: 0;
|
|
369
|
+
inset-inline-start: var(--db-overflow-scroll-button-inset-inline-start, 0);
|
|
336
370
|
}
|
|
337
371
|
.db-tabs[data-scroll-behavior=arrows]:has(.db-button)::after {
|
|
338
372
|
inset-inline-end: 0;
|
|
339
373
|
}
|
|
340
|
-
.db-tabs[data-scroll-behavior=arrows] {
|
|
341
|
-
/*
|
|
342
|
-
* Scroll left / right buttons
|
|
343
|
-
*/
|
|
344
|
-
}
|
|
345
|
-
.db-tabs[data-scroll-behavior=arrows] .tabs-scroll-left > .db-button, .db-tabs[data-scroll-behavior=arrows] .tabs-scroll-left:is(.db-button) {
|
|
346
|
-
inset-inline-start: 0;
|
|
347
|
-
}
|
|
348
|
-
.db-tabs[data-scroll-behavior=arrows] .tabs-scroll-right > .db-button, .db-tabs[data-scroll-behavior=arrows] .tabs-scroll-right:is(.db-button) {
|
|
349
|
-
inset-inline-end: 0;
|
|
350
|
-
}
|
|
351
|
-
.db-tabs[data-scroll-behavior=arrows] .tabs-scroll-left > .db-button, .db-tabs[data-scroll-behavior=arrows] .tabs-scroll-left:is(.db-button),
|
|
352
|
-
.db-tabs[data-scroll-behavior=arrows] .tabs-scroll-right > .db-button,
|
|
353
|
-
.db-tabs[data-scroll-behavior=arrows] .tabs-scroll-right:is(.db-button) {
|
|
354
|
-
position: absolute;
|
|
355
|
-
z-index: 22;
|
|
356
|
-
inset-block: var(--db-spacing-fixed-xs);
|
|
357
|
-
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@use "@db-ux/core-foundations/build/styles/variables";
|
|
2
2
|
@use "@db-ux/core-foundations/build/styles/colors";
|
|
3
3
|
@use "../../styles/internal/form-components";
|
|
4
|
-
@use "../../styles/internal/
|
|
4
|
+
@use "../../styles/internal/indicator";
|
|
5
|
+
@use "../../styles/internal/scrollbar";
|
|
5
6
|
@use "@db-ux/core-foundations/build/styles/helpers";
|
|
6
7
|
|
|
7
8
|
$max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
@@ -20,12 +21,12 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
%horizontal-
|
|
24
|
+
%horizontal-indicator {
|
|
24
25
|
.db-tab-item {
|
|
25
|
-
@include
|
|
26
|
+
@include indicator.set-indicator-horizontal;
|
|
26
27
|
|
|
27
28
|
&:has(input:checked) {
|
|
28
|
-
@include
|
|
29
|
+
@include indicator.show-indicator-horizontal;
|
|
29
30
|
|
|
30
31
|
&::after {
|
|
31
32
|
inset-block-end: calc(
|
|
@@ -40,9 +41,9 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
|
|
43
|
-
%vertical-
|
|
44
|
+
%vertical-indicator {
|
|
44
45
|
.db-tab-item {
|
|
45
|
-
@include
|
|
46
|
+
@include indicator.set-indicator-vertical;
|
|
46
47
|
|
|
47
48
|
&::after {
|
|
48
49
|
inset-inline-start: 0;
|
|
@@ -50,29 +51,20 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
&:has(input:checked) {
|
|
53
|
-
@include
|
|
54
|
+
@include indicator.show-indicator-vertical;
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
|
|
58
|
-
%
|
|
59
|
+
%indicator-track {
|
|
59
60
|
background-color: colors.$db-adaptive-bg-basic-transparent-semi-default;
|
|
60
61
|
content: "";
|
|
61
62
|
border-radius: variables.$db-border-radius-xs;
|
|
62
63
|
position: absolute;
|
|
63
64
|
}
|
|
64
65
|
|
|
65
|
-
@mixin angular-button-workaround() {
|
|
66
|
-
> .db-button,
|
|
67
|
-
&:is(.db-button) {
|
|
68
|
-
@content;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
66
|
.db-tabs {
|
|
73
67
|
$db-tabs-z-index-tab-list: 20;
|
|
74
|
-
$db-tabs-z-index-button-background: 21;
|
|
75
|
-
$db-tabs-z-index-button: 22;
|
|
76
68
|
|
|
77
69
|
@extend %angular-workaround;
|
|
78
70
|
@include helpers.display(flex);
|
|
@@ -97,7 +89,7 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
97
89
|
}
|
|
98
90
|
|
|
99
91
|
.db-tab-item {
|
|
100
|
-
@extend %
|
|
92
|
+
@extend %indicator;
|
|
101
93
|
}
|
|
102
94
|
|
|
103
95
|
/*
|
|
@@ -111,9 +103,9 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
111
103
|
}
|
|
112
104
|
|
|
113
105
|
.db-tab-list {
|
|
114
|
-
/* horizontal track for
|
|
106
|
+
/* horizontal track for indicator */
|
|
115
107
|
&::before {
|
|
116
|
-
@extend %
|
|
108
|
+
@extend %indicator-track;
|
|
117
109
|
|
|
118
110
|
block-size: variables.$db-border-width-xs;
|
|
119
111
|
inset-inline: variables.$db-spacing-fixed-xs;
|
|
@@ -127,7 +119,7 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
127
119
|
}
|
|
128
120
|
|
|
129
121
|
> ul {
|
|
130
|
-
@extend %horizontal-
|
|
122
|
+
@extend %horizontal-indicator;
|
|
131
123
|
|
|
132
124
|
overflow: auto hidden;
|
|
133
125
|
inline-size: 100%;
|
|
@@ -217,9 +209,9 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
217
209
|
}
|
|
218
210
|
}
|
|
219
211
|
|
|
220
|
-
/* vertical track for
|
|
212
|
+
/* vertical track for indicator */
|
|
221
213
|
&::before {
|
|
222
|
-
@extend %
|
|
214
|
+
@extend %indicator-track;
|
|
223
215
|
|
|
224
216
|
inline-size: variables.$db-border-width-xs;
|
|
225
217
|
inset-block: variables.$db-spacing-fixed-xs;
|
|
@@ -227,7 +219,7 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
227
219
|
}
|
|
228
220
|
|
|
229
221
|
> ul {
|
|
230
|
-
@extend %vertical-
|
|
222
|
+
@extend %vertical-indicator;
|
|
231
223
|
|
|
232
224
|
flex-direction: column;
|
|
233
225
|
block-size: 100%;
|
|
@@ -294,71 +286,34 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
294
286
|
}
|
|
295
287
|
|
|
296
288
|
&[data-scroll-behavior="arrows"] {
|
|
289
|
+
@include scrollbar.set-overflow-scroll-buttons;
|
|
290
|
+
|
|
297
291
|
.db-tab-list {
|
|
298
292
|
> ul {
|
|
293
|
+
@supports (scrollbar-width: none) {
|
|
294
|
+
scrollbar-width: none;
|
|
295
|
+
}
|
|
296
|
+
|
|
299
297
|
&::-webkit-scrollbar {
|
|
300
298
|
display: none;
|
|
301
299
|
}
|
|
302
300
|
}
|
|
303
301
|
}
|
|
304
302
|
|
|
305
|
-
&:has(.
|
|
303
|
+
&:has(.overflow-scroll-left-button) {
|
|
306
304
|
&::before {
|
|
307
305
|
content: "";
|
|
308
306
|
}
|
|
309
307
|
}
|
|
310
308
|
|
|
311
|
-
&:has(.
|
|
309
|
+
&:has(.overflow-scroll-right-button) {
|
|
312
310
|
&::after {
|
|
313
311
|
content: "";
|
|
314
312
|
}
|
|
315
313
|
}
|
|
316
314
|
|
|
317
315
|
&:has(.db-button) {
|
|
318
|
-
|
|
319
|
-
&::after {
|
|
320
|
-
position: absolute;
|
|
321
|
-
z-index: $db-tabs-z-index-button-background;
|
|
322
|
-
background-color: colors.$db-adaptive-bg-basic-level-1-default;
|
|
323
|
-
inline-size: variables.$db-sizing-md;
|
|
324
|
-
block-size: calc(
|
|
325
|
-
#{variables.$db-spacing-fixed-sm} +
|
|
326
|
-
#{variables.$db-sizing-md}
|
|
327
|
-
);
|
|
328
|
-
flex: 0 0 auto;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
&::before {
|
|
332
|
-
inset-inline-start: 0;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
&::after {
|
|
336
|
-
inset-inline-end: 0;
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
/*
|
|
341
|
-
* Scroll left / right buttons
|
|
342
|
-
*/
|
|
343
|
-
.tabs-scroll-left {
|
|
344
|
-
@include angular-button-workaround {
|
|
345
|
-
inset-inline-start: 0;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.tabs-scroll-right {
|
|
350
|
-
@include angular-button-workaround {
|
|
351
|
-
inset-inline-end: 0;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.tabs-scroll-left,
|
|
356
|
-
.tabs-scroll-right {
|
|
357
|
-
@include angular-button-workaround {
|
|
358
|
-
position: absolute;
|
|
359
|
-
z-index: $db-tabs-z-index-button;
|
|
360
|
-
inset-block: variables.$db-spacing-fixed-xs;
|
|
361
|
-
}
|
|
316
|
+
@include scrollbar.set-overflow-scroll-button-backgrounds;
|
|
362
317
|
}
|
|
363
318
|
}
|
|
364
319
|
}
|
|
@@ -973,9 +973,7 @@
|
|
|
973
973
|
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
974
974
|
}
|
|
975
975
|
.db-tag:not([data-no-text=true]) {
|
|
976
|
-
|
|
977
|
-
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
978
|
-
padding-inline: var(--db-padding-inline-start) var(--db-spacing-fixed-2xs);
|
|
976
|
+
padding-inline: var(--db-spacing-fixed-2xs);
|
|
979
977
|
}
|
|
980
978
|
.db-tag:not([data-no-text=true]):has(.db-tab-remove-button) {
|
|
981
979
|
padding-inline-end: 0;
|
|
@@ -1119,17 +1117,14 @@
|
|
|
1119
1117
|
}
|
|
1120
1118
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-icon-leading]:not([data-show-icon-leading=false])::before, .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-icon]:not([data-show-icon=false])::before {
|
|
1121
1119
|
position: absolute;
|
|
1122
|
-
inset-block-start: calc(50% - 0.5em);
|
|
1123
|
-
inset-inline-start: var(--db-icon-passing-inline-start, var(--db-spacing-fixed-2xs));
|
|
1120
|
+
inset-block-start: var(--db-icon-passing-inset-block-start, calc(50% - 0.5em));
|
|
1121
|
+
inset-inline-start: var(--db-icon-passing-inset-inline-start, var(--db-spacing-fixed-2xs));
|
|
1124
1122
|
pointer-events: none;
|
|
1125
1123
|
z-index: 1;
|
|
1126
1124
|
}
|
|
1127
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-icon-leading]:not([data-show-icon-leading=false])
|
|
1128
|
-
--db-padding-inline-start: calc(
|
|
1129
|
-
var(--db-spacing-fixed-2xs) + var(--db-icon-margin-end, var(--db-spacing-fixed-xs)) + 1lh
|
|
1130
|
-
);
|
|
1125
|
+
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-icon-leading]:not([data-show-icon-leading=false]) > :is(label, button, a), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-icon]:not([data-show-icon=false]) > :is(label, button, a) {
|
|
1131
1126
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
1132
|
-
padding-inline-start: var(--db-padding-inline-start);
|
|
1127
|
+
padding-inline-start: var(--db-icon-passing-padding-inline-start, calc(var(--db-spacing-fixed-2xs) + var(--db-icon-margin-end, var(--db-spacing-fixed-xs)) + var(--db-icon-font-size)));
|
|
1133
1128
|
}
|
|
1134
1129
|
.db-tag:has(label, button:not(.db-tab-remove-button), a) input:checked {
|
|
1135
1130
|
background-color: transparent;
|
|
@@ -25,11 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&:not([data-no-text="true"]) {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
31
|
-
padding-inline: var(--db-padding-inline-start)
|
|
32
|
-
#{variables.$db-spacing-fixed-2xs};
|
|
28
|
+
padding-inline: variables.$db-spacing-fixed-2xs;
|
|
33
29
|
|
|
34
30
|
&:has(.db-tab-remove-button) {
|
|
35
31
|
padding-inline-end: 0;
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
.db-textarea[data-hide-label=true] > label, .db-visually-hidden,
|
|
2
2
|
[data-visually-hidden=true] {
|
|
3
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
4
|
-
overflow: hidden !important;
|
|
5
|
-
white-space: nowrap !important;
|
|
6
|
-
font-size: 0 !important;
|
|
7
|
-
all: initial;
|
|
8
|
-
inset-block-start: 0 !important;
|
|
9
|
-
block-size: 1px !important;
|
|
10
3
|
position: absolute !important;
|
|
4
|
+
inset-block-start: 0 !important;
|
|
11
5
|
inline-size: 1px !important;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
block-size: 1px !important;
|
|
7
|
+
overflow: hidden !important;
|
|
8
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
9
|
+
white-space: nowrap !important;
|
|
10
|
+
border: 0 !important;
|
|
16
11
|
padding: 0 !important;
|
|
17
12
|
pointer-events: none !important;
|
|
18
13
|
}
|