@db-ux/core-components 2.1.2 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/checkbox/checkbox.css +1 -1
- package/build/components/custom-select/custom-select.css +9 -34
- package/build/components/custom-select/custom-select.scss +0 -48
- package/build/components/input/input.css +9 -0
- package/build/components/navigation/navigation.css +0 -7
- package/build/components/navigation/navigation.scss +0 -10
- package/build/components/popover/popover.css +95 -47
- package/build/components/popover/popover.scss +1 -0
- package/build/components/radio/radio.css +1 -1
- package/build/components/select/select.css +9 -0
- package/build/components/switch/switch.css +1 -1
- package/build/components/tab-list/tab-list.css +6 -0
- package/build/components/textarea/textarea.css +22 -4
- package/build/components/textarea/textarea.scss +16 -9
- package/build/components/tooltip/tooltip.css +102 -55
- package/build/components/tooltip/tooltip.scss +13 -13
- package/build/styles/absolute.css +7 -7
- package/build/styles/index.css +7 -7
- package/build/styles/internal/_form-components.scss +12 -1
- package/build/styles/internal/_popover-component.scss +129 -92
- package/build/styles/internal/_scrollbar.scss +9 -0
- package/build/styles/relative.css +7 -7
- package/build/styles/rollup.css +7 -7
- package/build/styles/webpack.css +7 -7
- package/package.json +3 -3
|
@@ -226,7 +226,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
226
226
|
display: flex;
|
|
227
227
|
align-items: flex-start;
|
|
228
228
|
position: relative;
|
|
229
|
-
gap: var(--db-spacing-fixed-xs);
|
|
230
229
|
color: var(--db-check-element-label-color, var(--db-adaptive-on-bg-basic-emphasis-100-default));
|
|
231
230
|
}
|
|
232
231
|
.db-checkbox input {
|
|
@@ -239,6 +238,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
239
238
|
block-size: var(--db-icon-font-size);
|
|
240
239
|
inline-size: var(--db-icon-font-size);
|
|
241
240
|
padding: 0;
|
|
241
|
+
margin-inline-end: var(--db-spacing-fixed-xs);
|
|
242
242
|
}
|
|
243
243
|
.db-checkbox[data-size=small] input {
|
|
244
244
|
margin-inline-end: var(--db-spacing-fixed-2xs);
|
|
@@ -778,40 +778,6 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
|
|
|
778
778
|
background-color: color(from var(--db-adaptive-on-bg-basic-emphasis-100-default) srgb r g b/var(--db-opacity-sm));
|
|
779
779
|
}
|
|
780
780
|
|
|
781
|
-
[data-placement^=top].db-custom-select .db-custom-select-dropdown:not([data-outside-vy=top]), .db-custom-select:not([data-placement]) .db-custom-select-dropdown[data-outside-vy=bottom], [data-placement^=bottom].db-custom-select .db-custom-select-dropdown[data-outside-vy=bottom] {
|
|
782
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
783
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
784
|
-
}
|
|
785
|
-
@media screen and (min-width: 45em) {
|
|
786
|
-
[data-placement^=top].db-custom-select .db-custom-select-dropdown:not([data-force-mobile]):not([data-outside-vy=top]), .db-custom-select:not([data-placement]) .db-custom-select-dropdown[data-outside-vy=bottom]:not([data-force-mobile]), [data-placement^=bottom].db-custom-select .db-custom-select-dropdown[data-outside-vy=bottom]:not([data-force-mobile]), [data-placement^=top].db-custom-select [data-force-mobile=false].db-custom-select-dropdown:not([data-outside-vy=top]), .db-custom-select:not([data-placement]) [data-force-mobile=false].db-custom-select-dropdown[data-outside-vy=bottom], [data-placement^=bottom].db-custom-select [data-force-mobile=false].db-custom-select-dropdown[data-outside-vy=bottom] {
|
|
787
|
-
inset-block-end: 100%;
|
|
788
|
-
margin-block-start: var(--db-spacing-fixed-md);
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
[data-placement^=top].db-custom-select, .db-custom-select:not([data-placement]), [data-placement^=bottom].db-custom-select {
|
|
793
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
794
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
795
|
-
}
|
|
796
|
-
@media screen and (min-width: 45em) {
|
|
797
|
-
[data-placement^=top].db-custom-select:not([data-force-mobile])[data-placement$=end] .db-custom-select-dropdown:not([data-outside-vx=right]), .db-custom-select:not([data-force-mobile])[data-placement$=end]:not([data-placement]) .db-custom-select-dropdown:not([data-outside-vx=right]), [data-placement^=bottom].db-custom-select:not([data-force-mobile])[data-placement$=end] .db-custom-select-dropdown:not([data-outside-vx=right]), [data-force-mobile=false][data-placement$=end][data-placement^=top].db-custom-select .db-custom-select-dropdown:not([data-outside-vx=right]), [data-force-mobile=false][data-placement$=end].db-custom-select:not([data-placement]) .db-custom-select-dropdown:not([data-outside-vx=right]), [data-force-mobile=false][data-placement$=end][data-placement^=bottom].db-custom-select .db-custom-select-dropdown:not([data-outside-vx=right]) {
|
|
798
|
-
inset-inline-end: 0;
|
|
799
|
-
}
|
|
800
|
-
[data-placement^=top].db-custom-select:not([data-force-mobile]) .db-custom-select-dropdown[data-outside-vx=right], .db-custom-select:not([data-force-mobile]):not([data-placement]) .db-custom-select-dropdown[data-outside-vx=right], [data-placement^=bottom].db-custom-select:not([data-force-mobile]) .db-custom-select-dropdown[data-outside-vx=right], [data-force-mobile=false][data-placement^=top].db-custom-select .db-custom-select-dropdown[data-outside-vx=right], [data-force-mobile=false].db-custom-select:not([data-placement]) .db-custom-select-dropdown[data-outside-vx=right], [data-force-mobile=false][data-placement^=bottom].db-custom-select .db-custom-select-dropdown[data-outside-vx=right] {
|
|
801
|
-
inset-inline-end: 0;
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
.db-custom-select:not([data-placement]) .db-custom-select-dropdown:not([data-outside-vy=bottom]), [data-placement^=bottom].db-custom-select .db-custom-select-dropdown:not([data-outside-vy=bottom]) {
|
|
806
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
807
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
808
|
-
}
|
|
809
|
-
@media screen and (min-width: 45em) {
|
|
810
|
-
.db-custom-select:not([data-placement]) .db-custom-select-dropdown:not([data-outside-vy=bottom]):not([data-force-mobile]), .db-custom-select:not([data-placement]) .db-custom-select-dropdown:not([data-outside-vy=bottom])[data-force-mobile=false], [data-placement^=bottom].db-custom-select .db-custom-select-dropdown:not([data-outside-vy=bottom]):not([data-force-mobile]), [data-placement^=bottom].db-custom-select .db-custom-select-dropdown:not([data-outside-vy=bottom])[data-force-mobile=false] {
|
|
811
|
-
inset-block-start: 100%;
|
|
812
|
-
margin-block-end: var(--db-spacing-fixed-md);
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
781
|
.db-custom-select {
|
|
816
782
|
--db-form-component-padding-inline-end: calc(
|
|
817
783
|
calc(var(--db-icon-font-size) + var(--db-spacing-fixed-sm) + var(--db-spacing-fixed-xs)) + var(--db-sizing-sm) +
|
|
@@ -1055,6 +1021,15 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
1055
1021
|
.db-custom-select summary:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-custom-select summary:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)) {
|
|
1056
1022
|
cursor: pointer;
|
|
1057
1023
|
}
|
|
1024
|
+
.db-custom-select summary:is(input, textarea) {
|
|
1025
|
+
/* see https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing */
|
|
1026
|
+
}
|
|
1027
|
+
.db-custom-select summary:is(input, textarea)[data-field-sizing=content] {
|
|
1028
|
+
field-sizing: content;
|
|
1029
|
+
}
|
|
1030
|
+
.db-custom-select summary:is(input, textarea)[data-field-sizing=fixed] {
|
|
1031
|
+
field-sizing: fixed;
|
|
1032
|
+
}
|
|
1058
1033
|
.db-custom-select summary:is(input, textarea):not(:disabled):read-only {
|
|
1059
1034
|
background-color: var(--db-textarea-read-only, var(--db-adaptive-bg-basic-level-1-default)) !important;
|
|
1060
1035
|
}
|
|
@@ -7,53 +7,6 @@
|
|
|
7
7
|
@use "../../styles/internal/select-components";
|
|
8
8
|
@use "../../styles/dialog-init";
|
|
9
9
|
|
|
10
|
-
%custom-select-placement-top {
|
|
11
|
-
@include screen-sizes.screen("sm") {
|
|
12
|
-
inset-block-end: 100%;
|
|
13
|
-
margin-block-start: variables.$db-spacing-fixed-md;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
%custom-select-placement-vertical {
|
|
18
|
-
@include screen-sizes.screen("sm") {
|
|
19
|
-
&[data-placement$="end"] {
|
|
20
|
-
.db-custom-select-dropdown:not([data-outside-vx="right"]) {
|
|
21
|
-
inset-inline-end: 0;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.db-custom-select-dropdown[data-outside-vx="right"] {
|
|
26
|
-
inset-inline-end: 0;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
%custom-select-placement {
|
|
32
|
-
&:not([data-placement]),
|
|
33
|
-
&[data-placement^="bottom"] {
|
|
34
|
-
@extend %custom-select-placement-vertical;
|
|
35
|
-
|
|
36
|
-
.db-custom-select-dropdown:not([data-outside-vy="bottom"]) {
|
|
37
|
-
@include screen-sizes.screen("sm") {
|
|
38
|
-
inset-block-start: 100%;
|
|
39
|
-
margin-block-end: variables.$db-spacing-fixed-md;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.db-custom-select-dropdown[data-outside-vy="bottom"] {
|
|
44
|
-
@extend %custom-select-placement-top;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&[data-placement^="top"] {
|
|
49
|
-
@extend %custom-select-placement-vertical;
|
|
50
|
-
|
|
51
|
-
.db-custom-select-dropdown:not([data-outside-vy="top"]) {
|
|
52
|
-
@extend %custom-select-placement-top;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
10
|
.db-custom-select {
|
|
58
11
|
--db-form-component-padding-inline-end: calc(
|
|
59
12
|
#{select-components.$select-icon-padding} + #{variables.$db-sizing-sm} +
|
|
@@ -67,7 +20,6 @@
|
|
|
67
20
|
|
|
68
21
|
@extend %select-icon;
|
|
69
22
|
@extend %select-placeholder;
|
|
70
|
-
@extend %custom-select-placement;
|
|
71
23
|
|
|
72
24
|
position: relative;
|
|
73
25
|
|
|
@@ -777,6 +777,15 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
777
777
|
.db-input input:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-input input:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)) {
|
|
778
778
|
cursor: pointer;
|
|
779
779
|
}
|
|
780
|
+
.db-input input:is(input, textarea) {
|
|
781
|
+
/* see https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing */
|
|
782
|
+
}
|
|
783
|
+
.db-input input:is(input, textarea)[data-field-sizing=content] {
|
|
784
|
+
field-sizing: content;
|
|
785
|
+
}
|
|
786
|
+
.db-input input:is(input, textarea)[data-field-sizing=fixed] {
|
|
787
|
+
field-sizing: fixed;
|
|
788
|
+
}
|
|
780
789
|
.db-input input:is(input, textarea):not(:disabled):read-only {
|
|
781
790
|
background-color: var(--db-textarea-read-only, var(--db-adaptive-bg-basic-level-1-default)) !important;
|
|
782
791
|
}
|
|
@@ -276,13 +276,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
276
276
|
transform: none;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
.db-navigation > menu .db-navigation-item:has([aria-current=page]) menu :has([aria-current=page])::after,
|
|
280
|
-
.db-navigation > menu .db-navigation-item:has([aria-current=page]) menu [aria-current=page]::after, .db-navigation > menu .db-navigation-item:has([data-active=true]) menu :has([aria-current=page])::after,
|
|
281
|
-
.db-navigation > menu .db-navigation-item:has([data-active=true]) menu [aria-current=page]::after, .db-navigation > menu .db-navigation-item[aria-current=page] menu :has([aria-current=page])::after,
|
|
282
|
-
.db-navigation > menu .db-navigation-item[aria-current=page] menu [aria-current=page]::after, .db-navigation > menu .db-navigation-item[data-active=true] menu :has([aria-current=page])::after,
|
|
283
|
-
.db-navigation > menu .db-navigation-item[data-active=true] menu [aria-current=page]::after {
|
|
284
|
-
display: none;
|
|
285
|
-
}
|
|
286
279
|
.db-navigation > menu .db-navigation-item .db-navigation-item::after {
|
|
287
280
|
display: none;
|
|
288
281
|
}
|
|
@@ -86,16 +86,6 @@
|
|
|
86
86
|
&[aria-current="page"],
|
|
87
87
|
&[data-active="true"] {
|
|
88
88
|
@extend %show-db-puls-auto;
|
|
89
|
-
|
|
90
|
-
menu {
|
|
91
|
-
// hide puls for non navigation items
|
|
92
|
-
:has([aria-current="page"]),
|
|
93
|
-
[aria-current="page"] {
|
|
94
|
-
&::after {
|
|
95
|
-
display: none;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
89
|
}
|
|
100
90
|
|
|
101
91
|
// angular workaround: as no direct-child selector can be used, the pulse is hidden from the second level onwards
|
|
@@ -133,26 +133,43 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
133
133
|
border-radius: var(--default-card-border-radius, var(--db-border-radius-sm));
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.db-popover > article:not([data-placement]), .db-popover > article[data-placement=bottom]:not([data-
|
|
137
|
-
[data-placement$=end],
|
|
138
|
-
[data-placement$=start]) {
|
|
136
|
+
.db-popover > article:not([data-placement], [data-corrected-placement]), .db-popover > article[data-placement=bottom]:not([data-corrected-placement]), .db-popover > article[data-placement=top]:not([data-corrected-placement]), .db-popover > article[data-corrected-placement=bottom], .db-popover > article[data-corrected-placement=top] {
|
|
139
137
|
--db-popover-center-x: -50%;
|
|
140
138
|
inset-inline-start: 50%;
|
|
141
139
|
}
|
|
142
|
-
.db-popover > article[data-placement=left]
|
|
143
|
-
[data-placement$=start]), .db-popover > article[data-outside-vx=right]:not([data-placement$=end],
|
|
144
|
-
[data-placement$=start]) {
|
|
140
|
+
.db-popover > article[data-corrected-placement=left], .db-popover > article[data-corrected-placement=right], .db-popover > article[data-placement=left]:not([data-corrected-placement]), .db-popover > article[data-placement=right]:not([data-corrected-placement]) {
|
|
145
141
|
--db-popover-center-y: -50%;
|
|
146
142
|
inset-block-start: 50%;
|
|
147
143
|
}
|
|
148
144
|
|
|
149
145
|
.db-popover > article {
|
|
150
146
|
--db-popover-distance: var(--db-spacing-fixed-2xs);
|
|
147
|
+
/* This is for pure html css without using JS */
|
|
151
148
|
}
|
|
152
149
|
.db-popover > article::before {
|
|
153
150
|
content: "";
|
|
154
151
|
position: absolute;
|
|
155
152
|
}
|
|
153
|
+
.db-popover > article:not([data-placement], [data-corrected-placement])::before, .db-popover > article[data-placement^=bottom]:not([data-corrected-placement])::before, .db-popover > article[data-corrected-placement^=bottom]::before {
|
|
154
|
+
inset-block-end: 100%;
|
|
155
|
+
inset-inline: 0;
|
|
156
|
+
block-size: var(--db-popover-distance);
|
|
157
|
+
}
|
|
158
|
+
.db-popover > article[data-placement^=top]:not([data-corrected-placement])::before, .db-popover > article[data-corrected-placement^=top]::before {
|
|
159
|
+
inset-block-start: 100%;
|
|
160
|
+
inset-inline: 0;
|
|
161
|
+
block-size: var(--db-popover-distance);
|
|
162
|
+
}
|
|
163
|
+
.db-popover > article[data-placement^=right]:not([data-corrected-placement])::before, .db-popover > article[data-corrected-placement^=right]::before {
|
|
164
|
+
inset-inline-end: 100%;
|
|
165
|
+
inset-block: 0;
|
|
166
|
+
inline-size: var(--db-popover-distance);
|
|
167
|
+
}
|
|
168
|
+
.db-popover > article[data-placement^=left]:not([data-corrected-placement])::before, .db-popover > article[data-corrected-placement^=left]::before {
|
|
169
|
+
inset-inline-start: 100%;
|
|
170
|
+
inset-block: 0;
|
|
171
|
+
inline-size: var(--db-popover-distance);
|
|
172
|
+
}
|
|
156
173
|
.db-popover > article[data-gap=true] {
|
|
157
174
|
--db-popover-gap: 1;
|
|
158
175
|
--db-popover-distance: var(--db-spacing-fixed-md);
|
|
@@ -160,49 +177,49 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
160
177
|
.db-popover > article:is(.db-tooltip) {
|
|
161
178
|
--db-popover-distance: var(--db-spacing-fixed-sm);
|
|
162
179
|
}
|
|
163
|
-
.db-popover > article
|
|
180
|
+
.db-popover > article:not([data-corrected-placement])[data-placement^=bottom][data-placement$=end], .db-popover > article:not([data-corrected-placement])[data-placement^=top][data-placement$=end] {
|
|
164
181
|
inset-inline-end: 0;
|
|
165
182
|
}
|
|
166
|
-
.db-popover > article
|
|
183
|
+
.db-popover > article:not([data-corrected-placement])[data-placement^=bottom][data-placement$=start], .db-popover > article:not([data-corrected-placement])[data-placement^=top][data-placement$=start] {
|
|
167
184
|
inset-inline-start: 0;
|
|
168
185
|
}
|
|
169
|
-
.db-popover > article
|
|
186
|
+
.db-popover > article:not([data-corrected-placement])[data-placement^=left][data-placement$=end], .db-popover > article:not([data-corrected-placement])[data-placement^=right][data-placement$=end] {
|
|
170
187
|
inset-block-end: 0;
|
|
171
188
|
}
|
|
172
|
-
.db-popover > article
|
|
189
|
+
.db-popover > article:not([data-corrected-placement])[data-placement^=left][data-placement$=start], .db-popover > article:not([data-corrected-placement])[data-placement^=right][data-placement$=start] {
|
|
173
190
|
inset-block-start: 0;
|
|
174
191
|
}
|
|
175
|
-
.db-popover > article:not([data-placement]
|
|
192
|
+
.db-popover > article:not([data-corrected-placement]):not([data-placement]), .db-popover > article:not([data-corrected-placement])[data-placement^=bottom] {
|
|
176
193
|
inset-block-start: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
|
|
177
194
|
}
|
|
178
|
-
.db-popover > article:not([data-placement]
|
|
195
|
+
.db-popover > article:not([data-corrected-placement]):not([data-placement])::before, .db-popover > article:not([data-corrected-placement])[data-placement^=bottom]::before {
|
|
179
196
|
inset-inline-start: 0;
|
|
180
197
|
inline-size: 100%;
|
|
181
198
|
block-size: var(--db-popover-distance);
|
|
182
199
|
inset-block-start: calc(-1 * var(--db-popover-distance));
|
|
183
200
|
}
|
|
184
|
-
.db-popover > article
|
|
201
|
+
.db-popover > article:not([data-corrected-placement])[data-placement^=top] {
|
|
185
202
|
inset-block-end: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
|
|
186
203
|
}
|
|
187
|
-
.db-popover > article
|
|
204
|
+
.db-popover > article:not([data-corrected-placement])[data-placement^=top]::before {
|
|
188
205
|
inset-inline-end: 0;
|
|
189
206
|
inline-size: 100%;
|
|
190
207
|
block-size: var(--db-popover-distance);
|
|
191
208
|
inset-block-end: calc(-1 * var(--db-popover-distance));
|
|
192
209
|
}
|
|
193
|
-
.db-popover > article
|
|
210
|
+
.db-popover > article:not([data-corrected-placement])[data-placement^=left] {
|
|
194
211
|
inset-inline-end: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
|
|
195
212
|
}
|
|
196
|
-
.db-popover > article
|
|
213
|
+
.db-popover > article:not([data-corrected-placement])[data-placement^=left]::before {
|
|
197
214
|
inset-block-end: 0;
|
|
198
215
|
block-size: 100%;
|
|
199
216
|
inline-size: var(--db-popover-distance);
|
|
200
217
|
inset-inline-end: calc(-1 * var(--db-popover-distance));
|
|
201
218
|
}
|
|
202
|
-
.db-popover > article
|
|
219
|
+
.db-popover > article:not([data-corrected-placement])[data-placement^=right] {
|
|
203
220
|
inset-inline-start: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
|
|
204
221
|
}
|
|
205
|
-
.db-popover > article
|
|
222
|
+
.db-popover > article:not([data-corrected-placement])[data-placement^=right]::before {
|
|
206
223
|
inset-block-start: 0;
|
|
207
224
|
block-size: 100%;
|
|
208
225
|
inline-size: var(--db-popover-distance);
|
|
@@ -210,78 +227,106 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
210
227
|
}
|
|
211
228
|
|
|
212
229
|
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-open=false]), .db-popover > article[data-open=true] {
|
|
213
|
-
|
|
230
|
+
visibility: var(--db-show-popover-visibility, visible);
|
|
214
231
|
}
|
|
215
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-
|
|
232
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement]):not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement]):not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom]:not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-open=true] {
|
|
216
233
|
--db-popover-translate-y: -25%;
|
|
217
234
|
}
|
|
218
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-
|
|
235
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement]):not([data-animation]):not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement])[data-animation=false]:not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement]):not([data-animation]):not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement])[data-animation=false]:not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom]:not([data-animation]):not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-open=true]:not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom][data-animation=false]:not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-animation=false][data-open=true] {
|
|
219
236
|
opacity: 1;
|
|
220
237
|
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
221
238
|
}
|
|
222
239
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
223
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-
|
|
240
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom][data-animation=true]:not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-animation=true][data-open=true] {
|
|
224
241
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
242
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
243
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
225
244
|
}
|
|
226
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-
|
|
245
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom][data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-animation=true][data-delay=slow][data-open=true] {
|
|
227
246
|
animation-delay: var(--db-transition-duration-extra-slow);
|
|
228
247
|
}
|
|
229
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-
|
|
230
|
-
animation-delay:
|
|
248
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom][data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-animation=true][data-delay=fast][data-open=true] {
|
|
249
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
@media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
|
|
253
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article:not([data-placement], [data-corrected-placement])[data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-open=true]:not([data-placement], [data-corrected-placement])[data-animation=true]:not([data-delay]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=bottom]:not([data-corrected-placement])[data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-placement^=bottom][data-open=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=bottom][data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-corrected-placement^=bottom][data-animation=true][data-open=true]:not([data-delay]) {
|
|
254
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
231
255
|
}
|
|
232
256
|
}
|
|
233
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-
|
|
257
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement]):not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top]:not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-open=true] {
|
|
234
258
|
--db-popover-translate-y: 25%;
|
|
235
259
|
}
|
|
236
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-
|
|
260
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement]):not([data-animation]):not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement])[data-animation=false]:not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top]:not([data-animation]):not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-open=true]:not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top][data-animation=false]:not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-animation=false][data-open=true] {
|
|
237
261
|
opacity: 1;
|
|
238
262
|
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
239
263
|
}
|
|
240
264
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
241
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-
|
|
265
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top][data-animation=true]:not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-animation=true][data-open=true] {
|
|
242
266
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
267
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
268
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
243
269
|
}
|
|
244
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-
|
|
270
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top][data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-animation=true][data-delay=slow][data-open=true] {
|
|
245
271
|
animation-delay: var(--db-transition-duration-extra-slow);
|
|
246
272
|
}
|
|
247
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-
|
|
248
|
-
animation-delay:
|
|
273
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top][data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-animation=true][data-delay=fast][data-open=true] {
|
|
274
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
249
275
|
}
|
|
250
276
|
}
|
|
251
|
-
|
|
277
|
+
@media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
|
|
278
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=top]:not([data-corrected-placement])[data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-placement^=top][data-open=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=top][data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-corrected-placement^=top][data-animation=true][data-open=true]:not([data-delay]) {
|
|
279
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement]):not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right]:not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-open=true] {
|
|
252
283
|
--db-popover-translate-x: -25%;
|
|
253
284
|
}
|
|
254
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-
|
|
285
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement]):not([data-animation]):not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement])[data-animation=false]:not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right]:not([data-animation]):not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-open=true]:not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right][data-animation=false]:not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-animation=false][data-open=true] {
|
|
255
286
|
opacity: 1;
|
|
256
287
|
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
257
288
|
}
|
|
258
289
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
259
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-
|
|
290
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right][data-animation=true]:not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-animation=true][data-open=true] {
|
|
260
291
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
292
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
293
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
261
294
|
}
|
|
262
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-
|
|
295
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right][data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-animation=true][data-delay=slow][data-open=true] {
|
|
263
296
|
animation-delay: var(--db-transition-duration-extra-slow);
|
|
264
297
|
}
|
|
265
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-
|
|
266
|
-
animation-delay:
|
|
298
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right][data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-animation=true][data-delay=fast][data-open=true] {
|
|
299
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
267
300
|
}
|
|
268
301
|
}
|
|
269
|
-
|
|
302
|
+
@media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
|
|
303
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=right]:not([data-corrected-placement])[data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-placement^=right][data-open=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=right][data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-corrected-placement^=right][data-animation=true][data-open=true]:not([data-delay]) {
|
|
304
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement]):not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left]:not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-open=true] {
|
|
270
308
|
--db-popover-translate-x: 25%;
|
|
271
309
|
}
|
|
272
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-
|
|
310
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement]):not([data-animation]):not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement]):not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement])[data-animation=false]:not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement])[data-animation=false], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left]:not([data-animation]):not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-open=true]:not([data-animation]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left][data-animation=false]:not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-animation=false][data-open=true] {
|
|
273
311
|
opacity: 1;
|
|
274
312
|
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
275
313
|
}
|
|
276
314
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
277
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-
|
|
315
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement])[data-animation=true]:not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement])[data-animation=true], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left][data-animation=true]:not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-animation=true][data-open=true] {
|
|
278
316
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
317
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
318
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
279
319
|
}
|
|
280
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-
|
|
320
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement])[data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left][data-animation=true][data-delay=slow]:not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-animation=true][data-delay=slow][data-open=true] {
|
|
281
321
|
animation-delay: var(--db-transition-duration-extra-slow);
|
|
282
322
|
}
|
|
283
|
-
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-
|
|
284
|
-
animation-delay:
|
|
323
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement])[data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left][data-animation=true][data-delay=fast]:not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-animation=true][data-delay=fast][data-open=true] {
|
|
324
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
@media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
|
|
328
|
+
.db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-placement^=left]:not([data-corrected-placement])[data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-placement^=left][data-open=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), .db-popover:is([data-e2e-hover=true], :hover, :focus-within) > article[data-corrected-placement^=left][data-animation=true]:not([data-delay]):not([data-open=false]), .db-popover > article[data-corrected-placement^=left][data-animation=true][data-open=true]:not([data-delay]) {
|
|
329
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
285
330
|
}
|
|
286
331
|
}
|
|
287
332
|
|
|
@@ -289,20 +334,23 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
289
334
|
position: absolute;
|
|
290
335
|
background-color: var(--db-adaptive-bg-basic-level-1-default);
|
|
291
336
|
box-shadow: var(--db-elevation-md);
|
|
292
|
-
|
|
337
|
+
visibility: hidden;
|
|
293
338
|
z-index: 1337;
|
|
294
|
-
white-space:
|
|
339
|
+
white-space: normal;
|
|
340
|
+
max-inline-size: calc(100vw - 2 * var(--db-spacing-fixed-md));
|
|
341
|
+
block-size: fit-content;
|
|
342
|
+
inline-size: fit-content;
|
|
295
343
|
}
|
|
296
344
|
.db-popover > article[data-width=fixed] {
|
|
297
345
|
inline-size: max-content;
|
|
298
|
-
max-inline-size: var(--db-sizing-3xl);
|
|
299
|
-
white-space: normal;
|
|
346
|
+
max-inline-size: min(var(--db-sizing-3xl), calc(100vw - 2 * var(--db-spacing-fixed-md)));
|
|
300
347
|
text-align: initial;
|
|
301
348
|
}
|
|
302
349
|
|
|
303
350
|
.db-popover {
|
|
304
351
|
position: relative;
|
|
305
352
|
display: flex;
|
|
353
|
+
block-size: fit-content;
|
|
306
354
|
inline-size: fit-content;
|
|
307
355
|
}
|
|
308
356
|
.db-popover > article {
|
|
@@ -170,7 +170,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
170
170
|
display: flex;
|
|
171
171
|
align-items: flex-start;
|
|
172
172
|
position: relative;
|
|
173
|
-
gap: var(--db-spacing-fixed-xs);
|
|
174
173
|
color: var(--db-check-element-label-color, var(--db-adaptive-on-bg-basic-emphasis-100-default));
|
|
175
174
|
}
|
|
176
175
|
.db-radio input {
|
|
@@ -183,6 +182,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
183
182
|
block-size: var(--db-icon-font-size);
|
|
184
183
|
inline-size: var(--db-icon-font-size);
|
|
185
184
|
padding: 0;
|
|
185
|
+
margin-inline-end: var(--db-spacing-fixed-xs);
|
|
186
186
|
}
|
|
187
187
|
.db-radio[data-size=small] input {
|
|
188
188
|
margin-inline-end: var(--db-spacing-fixed-2xs);
|
|
@@ -825,6 +825,15 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
825
825
|
.db-select select:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-select select:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)) {
|
|
826
826
|
cursor: pointer;
|
|
827
827
|
}
|
|
828
|
+
.db-select select:is(input, textarea) {
|
|
829
|
+
/* see https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing */
|
|
830
|
+
}
|
|
831
|
+
.db-select select:is(input, textarea)[data-field-sizing=content] {
|
|
832
|
+
field-sizing: content;
|
|
833
|
+
}
|
|
834
|
+
.db-select select:is(input, textarea)[data-field-sizing=fixed] {
|
|
835
|
+
field-sizing: fixed;
|
|
836
|
+
}
|
|
828
837
|
.db-select select:is(input, textarea):not(:disabled):read-only {
|
|
829
838
|
background-color: var(--db-textarea-read-only, var(--db-adaptive-bg-basic-level-1-default)) !important;
|
|
830
839
|
}
|
|
@@ -521,7 +521,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
521
521
|
display: flex;
|
|
522
522
|
align-items: flex-start;
|
|
523
523
|
position: relative;
|
|
524
|
-
gap: var(--db-spacing-fixed-xs);
|
|
525
524
|
color: var(--db-check-element-label-color, var(--db-adaptive-on-bg-basic-emphasis-100-default));
|
|
526
525
|
}
|
|
527
526
|
.db-switch input {
|
|
@@ -534,6 +533,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
534
533
|
block-size: var(--db-icon-font-size);
|
|
535
534
|
inline-size: var(--db-icon-font-size);
|
|
536
535
|
padding: 0;
|
|
536
|
+
margin-inline-end: var(--db-spacing-fixed-xs);
|
|
537
537
|
}
|
|
538
538
|
.db-switch[data-size=small] input {
|
|
539
539
|
margin-inline-end: var(--db-spacing-fixed-2xs);
|
|
@@ -224,6 +224,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
224
224
|
/* Left */
|
|
225
225
|
/* Right */
|
|
226
226
|
}
|
|
227
|
+
@supports (field-sizing: content) {
|
|
228
|
+
.db-tab-list > ul[data-field-sizing=content]:is([data-hide-resizer=true], [data-resize=none]) {
|
|
229
|
+
/* We don't show a scrollbar if we use field-sizing: content and no resizer is available */
|
|
230
|
+
scrollbar-width: none;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
227
233
|
.db-tab-list > ul::-webkit-scrollbar {
|
|
228
234
|
z-index: 3;
|
|
229
235
|
inline-size: 0.5rem;
|