@db-ux/core-components 2.1.1 → 2.2.0
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/accordion/accordion.css +1 -0
- package/build/components/accordion-item/accordion-item.css +2 -1
- package/build/components/accordion-item/accordion-item.scss +1 -1
- package/build/components/badge/badge.css +1 -0
- package/build/components/brand/brand.css +1 -0
- package/build/components/button/button.css +2 -1
- package/build/components/button/button.scss +1 -1
- package/build/components/card/card.css +1 -0
- package/build/components/checkbox/checkbox.css +2 -1
- package/build/components/custom-select/custom-select.css +21 -46
- package/build/components/custom-select/custom-select.scss +2 -50
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +1 -0
- package/build/components/custom-select-form-field/custom-select-form-field.css +1 -0
- package/build/components/custom-select-list/custom-select-list.css +1 -0
- package/build/components/custom-select-list-item/custom-select-list-item.css +1 -0
- package/build/components/divider/divider.css +1 -0
- package/build/components/drawer/drawer.css +4 -4
- package/build/components/header/header.css +1 -0
- package/build/components/icon/icon.css +1 -0
- package/build/components/infotext/infotext.css +1 -0
- package/build/components/input/input.css +14 -4
- package/build/components/link/link.css +2 -1
- package/build/components/navigation/navigation.css +1 -7
- package/build/components/navigation/navigation.scss +0 -10
- package/build/components/navigation-item/navigation-item.css +2 -1
- package/build/components/navigation-item/navigation-item.scss +1 -1
- package/build/components/notification/notification.css +2 -1
- package/build/components/page/page.css +1 -0
- package/build/components/popover/popover.css +80 -82
- package/build/components/popover/popover.scss +0 -1
- package/build/components/radio/radio.css +2 -1
- package/build/components/section/section.css +1 -0
- package/build/components/select/select.css +14 -4
- package/build/components/stack/stack-web-component.css +1 -0
- package/build/components/stack/stack.css +1 -0
- package/build/components/switch/switch.css +2 -1
- package/build/components/tab-item/tab-item.css +2 -1
- package/build/components/tab-item/tab-item.scss +1 -1
- package/build/components/tab-list/tab-list.css +7 -0
- package/build/components/tab-panel/tab-panel.css +1 -0
- package/build/components/tabs/tabs.css +1 -0
- package/build/components/tag/tag.css +2 -1
- package/build/components/tag/tag.scss +1 -1
- package/build/components/textarea/textarea.css +27 -8
- package/build/components/textarea/textarea.scss +16 -9
- package/build/components/tooltip/tooltip.css +88 -89
- package/build/components/tooltip/tooltip.scss +13 -13
- package/build/styles/absolute.css +7 -7
- package/build/styles/dialog-init.css +1 -1
- package/build/styles/dialog-init.scss +12 -7
- package/build/styles/index.css +7 -7
- package/build/styles/internal/_component.scss +0 -3
- package/build/styles/internal/_form-components.scss +16 -5
- package/build/styles/internal/_link-components.scss +1 -1
- package/build/styles/internal/_popover-component.scss +69 -106
- 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
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
paddings/gaps in an application e.g. the <main> should have a responsive padding. */
|
|
5
5
|
/* Elevation */
|
|
6
6
|
/* Border */
|
|
7
|
+
/* Opacity */
|
|
7
8
|
/* Transitions */
|
|
8
9
|
.db-textarea[data-hide-label=true] > label, .db-visually-hidden,
|
|
9
10
|
[data-visually-hidden=true] {
|
|
@@ -282,6 +283,12 @@ input[type=radio]:checked) > label {
|
|
|
282
283
|
/* Left */
|
|
283
284
|
/* Right */
|
|
284
285
|
}
|
|
286
|
+
@supports (field-sizing: content) {
|
|
287
|
+
.db-textarea textarea[data-field-sizing=content]:is([data-hide-resizer=true], [data-resize=none]) {
|
|
288
|
+
/* We don't show a scrollbar if we use field-sizing: content and no resizer is available */
|
|
289
|
+
scrollbar-width: none;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
285
292
|
.db-textarea textarea::-webkit-scrollbar {
|
|
286
293
|
z-index: 3;
|
|
287
294
|
inline-size: 0.5rem;
|
|
@@ -345,16 +352,19 @@ input[type=radio]:checked) > label {
|
|
|
345
352
|
border-end-end-radius: var(--db-border-radius-xs);
|
|
346
353
|
}
|
|
347
354
|
|
|
348
|
-
.db-textarea textarea[data-
|
|
355
|
+
.db-textarea textarea[data-hide-resizer=true] {
|
|
356
|
+
resize: none;
|
|
357
|
+
}
|
|
358
|
+
.db-textarea textarea:not([data-hide-resizer=true])[data-resize=none] {
|
|
349
359
|
resize: none;
|
|
350
360
|
}
|
|
351
|
-
.db-textarea textarea[data-resize=both] {
|
|
361
|
+
.db-textarea textarea:not([data-hide-resizer=true])[data-resize=both] {
|
|
352
362
|
resize: both;
|
|
353
363
|
}
|
|
354
|
-
.db-textarea textarea[data-resize=horizontal] {
|
|
364
|
+
.db-textarea textarea:not([data-hide-resizer=true])[data-resize=horizontal] {
|
|
355
365
|
resize: horizontal;
|
|
356
366
|
}
|
|
357
|
-
.db-textarea textarea[data-resize=vertical] {
|
|
367
|
+
.db-textarea textarea:not([data-hide-resizer=true])[data-resize=vertical] {
|
|
358
368
|
resize: vertical;
|
|
359
369
|
}
|
|
360
370
|
|
|
@@ -372,7 +382,7 @@ input[type=radio]:checked) > label {
|
|
|
372
382
|
--db-label-visible-above: 0;
|
|
373
383
|
}
|
|
374
384
|
.db-textarea[data-variant=floating] > label {
|
|
375
|
-
opacity:
|
|
385
|
+
opacity: var(--db-opacity-xl);
|
|
376
386
|
position: absolute;
|
|
377
387
|
z-index: 2;
|
|
378
388
|
inset-block-start: calc((var(--db-sizing-md) - var(--db-icon-font-size)) / 2);
|
|
@@ -411,7 +421,7 @@ textarea:is(input, textarea):not(:placeholder-shown),
|
|
|
411
421
|
> select option:checked:not([hidden]),
|
|
412
422
|
input[type=checkbox]:checked,
|
|
413
423
|
input[type=radio]:checked) [id$=-placeholder] {
|
|
414
|
-
opacity:
|
|
424
|
+
opacity: var(--db-opacity-xl);
|
|
415
425
|
font-family: var(--db-font-family-sans);
|
|
416
426
|
font-style: italic;
|
|
417
427
|
}
|
|
@@ -623,7 +633,7 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
623
633
|
}
|
|
624
634
|
.db-textarea textarea::placeholder,
|
|
625
635
|
.db-textarea [id$=-placeholder] {
|
|
626
|
-
opacity:
|
|
636
|
+
opacity: var(--db-opacity-xl);
|
|
627
637
|
font-family: var(--db-font-family-sans);
|
|
628
638
|
font-style: italic;
|
|
629
639
|
}
|
|
@@ -648,6 +658,15 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
648
658
|
.db-textarea textarea:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-textarea textarea:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)) {
|
|
649
659
|
cursor: pointer;
|
|
650
660
|
}
|
|
661
|
+
.db-textarea textarea:is(input, textarea) {
|
|
662
|
+
/* see https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing */
|
|
663
|
+
}
|
|
664
|
+
.db-textarea textarea:is(input, textarea)[data-field-sizing=content] {
|
|
665
|
+
field-sizing: content;
|
|
666
|
+
}
|
|
667
|
+
.db-textarea textarea:is(input, textarea)[data-field-sizing=fixed] {
|
|
668
|
+
field-sizing: fixed;
|
|
669
|
+
}
|
|
651
670
|
.db-textarea textarea:is(input, textarea):not(:disabled):read-only {
|
|
652
671
|
background-color: var(--db-textarea-read-only, var(--db-adaptive-bg-basic-level-1-default)) !important;
|
|
653
672
|
}
|
|
@@ -669,7 +688,7 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
669
688
|
.db-textarea:has(textarea:disabled,
|
|
670
689
|
textarea[data-disabled=true],
|
|
671
690
|
textarea[aria-disabled=true]) {
|
|
672
|
-
opacity:
|
|
691
|
+
opacity: var(--db-opacity-md);
|
|
673
692
|
pointer-events: none;
|
|
674
693
|
}
|
|
675
694
|
.db-textarea::after, .db-textarea::before {
|
|
@@ -8,20 +8,27 @@
|
|
|
8
8
|
@use "../../styles/internal/scrollbar";
|
|
9
9
|
|
|
10
10
|
%resize-textarea {
|
|
11
|
-
&[data-
|
|
11
|
+
&[data-hide-resizer="true"] {
|
|
12
12
|
resize: none;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
// TODO: Consolidate data-hide-resizer and data-resize attributes in the future
|
|
16
|
+
&:not([data-hide-resizer="true"]) {
|
|
17
|
+
&[data-resize="none"] {
|
|
18
|
+
resize: none;
|
|
19
|
+
}
|
|
18
20
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
&[data-resize="both"] {
|
|
22
|
+
resize: both;
|
|
23
|
+
}
|
|
22
24
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
+
&[data-resize="horizontal"] {
|
|
26
|
+
resize: horizontal;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&[data-resize="vertical"] {
|
|
30
|
+
resize: vertical;
|
|
31
|
+
}
|
|
25
32
|
}
|
|
26
33
|
}
|
|
27
34
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
paddings/gaps in an application e.g. the <main> should have a responsive padding. */
|
|
5
5
|
/* Elevation */
|
|
6
6
|
/* Border */
|
|
7
|
+
/* Opacity */
|
|
7
8
|
/* Transitions */
|
|
8
9
|
/* Variants for adaptive components like input, select, notification, ... */
|
|
9
10
|
@layer variables {}
|
|
@@ -202,15 +203,11 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
202
203
|
border-radius: var(--default-card-border-radius, var(--db-border-radius-sm));
|
|
203
204
|
}
|
|
204
205
|
|
|
205
|
-
.db-tooltip:not([data-placement]), [data-placement=bottom].db-tooltip:not([data-
|
|
206
|
-
[data-placement$=end],
|
|
207
|
-
[data-placement$=start]) {
|
|
206
|
+
.db-tooltip:not([data-placement], [data-corrected-placement]), [data-placement=bottom].db-tooltip:not([data-corrected-placement]), [data-placement=top].db-tooltip:not([data-corrected-placement]), [data-corrected-placement=bottom].db-tooltip, [data-corrected-placement=top].db-tooltip {
|
|
208
207
|
--db-popover-center-x: -50%;
|
|
209
208
|
inset-inline-start: 50%;
|
|
210
209
|
}
|
|
211
|
-
[data-placement=left].db-tooltip
|
|
212
|
-
[data-placement$=start]), [data-outside-vx=right].db-tooltip:not([data-placement$=end],
|
|
213
|
-
[data-placement$=start]) {
|
|
210
|
+
[data-corrected-placement=left].db-tooltip, [data-corrected-placement=right].db-tooltip, [data-placement=left].db-tooltip:not([data-corrected-placement]), [data-placement=right].db-tooltip:not([data-corrected-placement]) {
|
|
214
211
|
--db-popover-center-y: -50%;
|
|
215
212
|
inset-block-start: 50%;
|
|
216
213
|
}
|
|
@@ -222,135 +219,135 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
222
219
|
content: "";
|
|
223
220
|
position: absolute;
|
|
224
221
|
}
|
|
225
|
-
[data-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
}
|
|
229
|
-
.db-tooltip:is(.db-tooltip) {
|
|
230
|
-
--db-popover-distance: var(--db-spacing-fixed-sm);
|
|
231
|
-
}
|
|
232
|
-
[data-placement^=bottom].db-tooltip:not([data-outside-vy])[data-placement$=end], [data-placement^=top].db-tooltip:not([data-outside-vy])[data-placement$=end], [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-placement$=end], [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-placement$=end] {
|
|
233
|
-
inset-inline-end: 0;
|
|
234
|
-
}
|
|
235
|
-
[data-placement^=bottom].db-tooltip:not([data-outside-vy])[data-placement$=start], [data-placement^=top].db-tooltip:not([data-outside-vy])[data-placement$=start], [data-outside-vy=bottom].db-tooltip:not([data-outside-vx])[data-placement$=start], [data-outside-vy=top].db-tooltip:not([data-outside-vx])[data-placement$=start] {
|
|
236
|
-
inset-inline-start: 0;
|
|
237
|
-
}
|
|
238
|
-
[data-placement^=left].db-tooltip:not([data-outside-vx])[data-placement$=end], [data-placement^=right].db-tooltip:not([data-outside-vx])[data-placement$=end], [data-outside-vx=left][data-placement$=end].db-tooltip, [data-outside-vx=right][data-placement$=end].db-tooltip {
|
|
239
|
-
inset-block-end: 0;
|
|
240
|
-
}
|
|
241
|
-
[data-placement^=left].db-tooltip:not([data-outside-vx])[data-placement$=start], [data-placement^=right].db-tooltip:not([data-outside-vx])[data-placement$=start], [data-outside-vx=left][data-placement$=start].db-tooltip, [data-outside-vx=right][data-placement$=start].db-tooltip {
|
|
242
|
-
inset-block-start: 0;
|
|
243
|
-
}
|
|
244
|
-
.db-tooltip:not([data-placement], [data-outside-vy]), [data-placement^=bottom].db-tooltip:not([data-outside-vy]), [data-outside-vy=top].db-tooltip:not([data-outside-vx]) {
|
|
245
|
-
inset-block-start: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
|
|
246
|
-
}
|
|
247
|
-
.db-tooltip:not([data-placement], [data-outside-vy])::before, [data-placement^=bottom].db-tooltip:not([data-outside-vy])::before, [data-outside-vy=top].db-tooltip:not([data-outside-vx])::before {
|
|
248
|
-
inset-inline-start: 0;
|
|
249
|
-
inline-size: 100%;
|
|
222
|
+
.db-tooltip:not([data-placement], [data-corrected-placement])::before, [data-placement^=bottom].db-tooltip:not([data-corrected-placement])::before, [data-corrected-placement^=bottom].db-tooltip::before {
|
|
223
|
+
inset-block-end: 100%;
|
|
224
|
+
inset-inline: 0;
|
|
250
225
|
block-size: var(--db-popover-distance);
|
|
251
|
-
inset-block-start: calc(-1 * var(--db-popover-distance));
|
|
252
|
-
}
|
|
253
|
-
[data-placement^=top].db-tooltip:not([data-outside-vy]), [data-outside-vy=bottom].db-tooltip:not([data-outside-vx]) {
|
|
254
|
-
inset-block-end: calc(100% + var(--db-popover-distance) * var(--db-popover-gap, 0));
|
|
255
226
|
}
|
|
256
|
-
[data-placement^=top].db-tooltip:not([data-
|
|
257
|
-
inset-
|
|
258
|
-
inline
|
|
227
|
+
[data-placement^=top].db-tooltip:not([data-corrected-placement])::before, [data-corrected-placement^=top].db-tooltip::before {
|
|
228
|
+
inset-block-start: 100%;
|
|
229
|
+
inset-inline: 0;
|
|
259
230
|
block-size: var(--db-popover-distance);
|
|
260
|
-
inset-block-end: calc(-1 * var(--db-popover-distance));
|
|
261
231
|
}
|
|
262
|
-
[data-placement^=
|
|
263
|
-
inset-inline-end:
|
|
232
|
+
[data-placement^=right].db-tooltip:not([data-corrected-placement])::before, [data-corrected-placement^=right].db-tooltip::before {
|
|
233
|
+
inset-inline-end: 100%;
|
|
234
|
+
inset-block: 0;
|
|
235
|
+
inline-size: var(--db-popover-distance);
|
|
264
236
|
}
|
|
265
|
-
[data-placement^=left].db-tooltip:not([data-
|
|
266
|
-
inset-
|
|
267
|
-
block
|
|
237
|
+
[data-placement^=left].db-tooltip:not([data-corrected-placement])::before, [data-corrected-placement^=left].db-tooltip::before {
|
|
238
|
+
inset-inline-start: 100%;
|
|
239
|
+
inset-block: 0;
|
|
268
240
|
inline-size: var(--db-popover-distance);
|
|
269
|
-
inset-inline-end: calc(-1 * var(--db-popover-distance));
|
|
270
241
|
}
|
|
271
|
-
[data-
|
|
272
|
-
|
|
242
|
+
[data-gap=true].db-tooltip {
|
|
243
|
+
--db-popover-gap: 1;
|
|
244
|
+
--db-popover-distance: var(--db-spacing-fixed-md);
|
|
273
245
|
}
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
block-size: 100%;
|
|
277
|
-
inline-size: var(--db-popover-distance);
|
|
278
|
-
inset-inline-start: calc(-1 * var(--db-popover-distance));
|
|
246
|
+
.db-tooltip:is(.db-tooltip) {
|
|
247
|
+
--db-popover-distance: var(--db-spacing-fixed-sm);
|
|
279
248
|
}
|
|
280
249
|
|
|
281
250
|
.db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover .db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:first-of-type {
|
|
282
|
-
|
|
251
|
+
visibility: var(--db-show-popover-visibility, visible);
|
|
283
252
|
}
|
|
284
|
-
.db-tooltip[data-e2e-hover=true]:not([data-placement], [data-
|
|
253
|
+
.db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement]), [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement]):first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement]):first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]), [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement]):first-of-type, [data-corrected-placement^=bottom].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=bottom].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom].db-tooltip:first-of-type {
|
|
285
254
|
--db-popover-translate-y: -25%;
|
|
286
255
|
}
|
|
287
|
-
.db-tooltip[data-e2e-hover=true]:not([data-placement], [data-
|
|
256
|
+
.db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement]):not([data-animation]), [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement]):not([data-animation]):first-of-type, .db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement])[data-animation=false], [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=false]:first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]):not([data-animation]), [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=false], [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-corrected-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-animation]), [data-has-tooltip=true]:hover [data-corrected-placement^=bottom].db-tooltip:not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom].db-tooltip:not([data-animation]):first-of-type, [data-corrected-placement^=bottom][data-animation=false].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=bottom][data-animation=false].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom][data-animation=false].db-tooltip:first-of-type {
|
|
288
257
|
opacity: 1;
|
|
289
258
|
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
290
259
|
}
|
|
291
260
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
292
|
-
.db-tooltip[data-e2e-hover=true]:not([data-placement], [data-
|
|
261
|
+
.db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement])[data-animation=true], [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true]:first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true], [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-corrected-placement^=bottom][data-animation=true].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=bottom][data-animation=true].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom][data-animation=true].db-tooltip:first-of-type {
|
|
293
262
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
263
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
264
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
294
265
|
}
|
|
295
|
-
.db-tooltip[data-e2e-hover=true]:not([data-placement], [data-
|
|
266
|
+
.db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-corrected-placement^=bottom][data-animation=true][data-delay=slow].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=bottom][data-animation=true][data-delay=slow].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom][data-animation=true][data-delay=slow].db-tooltip:first-of-type {
|
|
296
267
|
animation-delay: var(--db-transition-duration-extra-slow);
|
|
297
268
|
}
|
|
298
|
-
.db-tooltip[data-e2e-hover=true]:not([data-placement], [data-
|
|
299
|
-
animation-delay:
|
|
269
|
+
.db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-corrected-placement^=bottom][data-animation=true][data-delay=fast].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=bottom][data-animation=true][data-delay=fast].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom][data-animation=true][data-delay=fast].db-tooltip:first-of-type {
|
|
270
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
@media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
|
|
274
|
+
.db-tooltip[data-e2e-hover=true]:not([data-placement], [data-corrected-placement])[data-animation=true]:not([data-delay]), [data-has-tooltip=true]:hover .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible .db-tooltip:not([data-placement], [data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-placement^=bottom].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=bottom].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-corrected-placement^=bottom][data-animation=true].db-tooltip[data-e2e-hover=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-corrected-placement^=bottom][data-animation=true].db-tooltip:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=bottom][data-animation=true].db-tooltip:not([data-delay]):first-of-type {
|
|
275
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
300
276
|
}
|
|
301
277
|
}
|
|
302
|
-
[data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-
|
|
278
|
+
[data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]), [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement]):first-of-type, [data-corrected-placement^=top].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=top].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top].db-tooltip:first-of-type {
|
|
303
279
|
--db-popover-translate-y: 25%;
|
|
304
280
|
}
|
|
305
|
-
[data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-
|
|
281
|
+
[data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]):not([data-animation]), [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=false], [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-corrected-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-animation]), [data-has-tooltip=true]:hover [data-corrected-placement^=top].db-tooltip:not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top].db-tooltip:not([data-animation]):first-of-type, [data-corrected-placement^=top][data-animation=false].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=top][data-animation=false].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top][data-animation=false].db-tooltip:first-of-type {
|
|
306
282
|
opacity: 1;
|
|
307
283
|
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
308
284
|
}
|
|
309
285
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
310
|
-
[data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-
|
|
286
|
+
[data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true], [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-corrected-placement^=top][data-animation=true].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=top][data-animation=true].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top][data-animation=true].db-tooltip:first-of-type {
|
|
311
287
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
288
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
289
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
312
290
|
}
|
|
313
|
-
[data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-
|
|
291
|
+
[data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-corrected-placement^=top][data-animation=true][data-delay=slow].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=top][data-animation=true][data-delay=slow].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top][data-animation=true][data-delay=slow].db-tooltip:first-of-type {
|
|
314
292
|
animation-delay: var(--db-transition-duration-extra-slow);
|
|
315
293
|
}
|
|
316
|
-
[data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-
|
|
317
|
-
animation-delay:
|
|
294
|
+
[data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-corrected-placement^=top][data-animation=true][data-delay=fast].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=top][data-animation=true][data-delay=fast].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top][data-animation=true][data-delay=fast].db-tooltip:first-of-type {
|
|
295
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
@media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
|
|
299
|
+
[data-placement^=top].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=top].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-corrected-placement^=top][data-animation=true].db-tooltip[data-e2e-hover=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-corrected-placement^=top][data-animation=true].db-tooltip:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=top][data-animation=true].db-tooltip:not([data-delay]):first-of-type {
|
|
300
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
318
301
|
}
|
|
319
302
|
}
|
|
320
|
-
[data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-
|
|
303
|
+
[data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]), [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement]):first-of-type, [data-corrected-placement^=right].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=right].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right].db-tooltip:first-of-type {
|
|
321
304
|
--db-popover-translate-x: -25%;
|
|
322
305
|
}
|
|
323
|
-
[data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-
|
|
306
|
+
[data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]):not([data-animation]), [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=false], [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-corrected-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-animation]), [data-has-tooltip=true]:hover [data-corrected-placement^=right].db-tooltip:not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right].db-tooltip:not([data-animation]):first-of-type, [data-corrected-placement^=right][data-animation=false].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=right][data-animation=false].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right][data-animation=false].db-tooltip:first-of-type {
|
|
324
307
|
opacity: 1;
|
|
325
308
|
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
326
309
|
}
|
|
327
310
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
328
|
-
[data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-
|
|
311
|
+
[data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true], [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-corrected-placement^=right][data-animation=true].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=right][data-animation=true].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right][data-animation=true].db-tooltip:first-of-type {
|
|
329
312
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
313
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
314
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
330
315
|
}
|
|
331
|
-
[data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-
|
|
316
|
+
[data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-corrected-placement^=right][data-animation=true][data-delay=slow].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=right][data-animation=true][data-delay=slow].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right][data-animation=true][data-delay=slow].db-tooltip:first-of-type {
|
|
332
317
|
animation-delay: var(--db-transition-duration-extra-slow);
|
|
333
318
|
}
|
|
334
|
-
[data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-
|
|
335
|
-
animation-delay:
|
|
319
|
+
[data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-corrected-placement^=right][data-animation=true][data-delay=fast].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=right][data-animation=true][data-delay=fast].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right][data-animation=true][data-delay=fast].db-tooltip:first-of-type {
|
|
320
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
336
321
|
}
|
|
337
322
|
}
|
|
338
|
-
|
|
323
|
+
@media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
|
|
324
|
+
[data-placement^=right].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=right].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-corrected-placement^=right][data-animation=true].db-tooltip[data-e2e-hover=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-corrected-placement^=right][data-animation=true].db-tooltip:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=right][data-animation=true].db-tooltip:not([data-delay]):first-of-type {
|
|
325
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
[data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]), [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement]):first-of-type, [data-corrected-placement^=left].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=left].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left].db-tooltip:first-of-type {
|
|
339
329
|
--db-popover-translate-x: 25%;
|
|
340
330
|
}
|
|
341
|
-
[data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-
|
|
331
|
+
[data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement]):not([data-animation]), [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement]):not([data-animation]):first-of-type, [data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=false], [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=false]:first-of-type, [data-corrected-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-animation]), [data-has-tooltip=true]:hover [data-corrected-placement^=left].db-tooltip:not([data-animation]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left].db-tooltip:not([data-animation]):first-of-type, [data-corrected-placement^=left][data-animation=false].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=left][data-animation=false].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left][data-animation=false].db-tooltip:first-of-type {
|
|
342
332
|
opacity: 1;
|
|
343
333
|
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
344
334
|
}
|
|
345
335
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
346
|
-
[data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-
|
|
336
|
+
[data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true], [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true]:first-of-type, [data-corrected-placement^=left][data-animation=true].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=left][data-animation=true].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left][data-animation=true].db-tooltip:first-of-type {
|
|
347
337
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
338
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
339
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
348
340
|
}
|
|
349
|
-
[data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-
|
|
341
|
+
[data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=slow], [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=slow]:first-of-type, [data-corrected-placement^=left][data-animation=true][data-delay=slow].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=left][data-animation=true][data-delay=slow].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left][data-animation=true][data-delay=slow].db-tooltip:first-of-type {
|
|
350
342
|
animation-delay: var(--db-transition-duration-extra-slow);
|
|
351
343
|
}
|
|
352
|
-
[data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-
|
|
353
|
-
animation-delay:
|
|
344
|
+
[data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true][data-delay=fast], [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true][data-delay=fast]:first-of-type, [data-corrected-placement^=left][data-animation=true][data-delay=fast].db-tooltip[data-e2e-hover=true], [data-has-tooltip=true]:hover [data-corrected-placement^=left][data-animation=true][data-delay=fast].db-tooltip:first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left][data-animation=true][data-delay=fast].db-tooltip:first-of-type {
|
|
345
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
@media screen and (prefers-reduced-motion: no-preference) and (width <= 64em) {
|
|
349
|
+
[data-placement^=left].db-tooltip[data-e2e-hover=true]:not([data-corrected-placement])[data-animation=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-placement^=left].db-tooltip:not([data-corrected-placement])[data-animation=true]:not([data-delay]):first-of-type, [data-corrected-placement^=left][data-animation=true].db-tooltip[data-e2e-hover=true]:not([data-delay]), [data-has-tooltip=true]:hover [data-corrected-placement^=left][data-animation=true].db-tooltip:not([data-delay]):first-of-type, [data-has-tooltip=true]:focus-visible [data-corrected-placement^=left][data-animation=true].db-tooltip:not([data-delay]):first-of-type {
|
|
350
|
+
animation-delay: var(--db-transition-duration-medium);
|
|
354
351
|
}
|
|
355
352
|
}
|
|
356
353
|
|
|
@@ -358,14 +355,16 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
358
355
|
position: absolute;
|
|
359
356
|
background-color: var(--db-adaptive-bg-basic-level-1-default);
|
|
360
357
|
box-shadow: var(--db-elevation-md);
|
|
361
|
-
|
|
358
|
+
visibility: hidden;
|
|
362
359
|
z-index: 1337;
|
|
363
|
-
white-space:
|
|
360
|
+
white-space: normal;
|
|
361
|
+
max-inline-size: calc(100vw - 2 * var(--db-spacing-fixed-md));
|
|
362
|
+
block-size: fit-content;
|
|
363
|
+
inline-size: fit-content;
|
|
364
364
|
}
|
|
365
365
|
[data-width=fixed].db-tooltip {
|
|
366
366
|
inline-size: max-content;
|
|
367
|
-
max-inline-size: var(--db-sizing-3xl);
|
|
368
|
-
white-space: normal;
|
|
367
|
+
max-inline-size: min(var(--db-sizing-3xl), calc(100vw - 2 * var(--db-spacing-fixed-md)));
|
|
369
368
|
text-align: initial;
|
|
370
369
|
}
|
|
371
370
|
|
|
@@ -393,26 +392,26 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
393
392
|
border-radius: 0 2px;
|
|
394
393
|
transform: skew(-8deg, -8deg);
|
|
395
394
|
}
|
|
396
|
-
.db-tooltip:not([data-placement], [data-
|
|
397
|
-
inset-inline-start: 50
|
|
395
|
+
.db-tooltip:not([data-placement], [data-corrected-placement])::after, .db-tooltip[data-placement^=bottom]:not([data-corrected-placement])::after, .db-tooltip[data-corrected-placement^=bottom]::after {
|
|
396
|
+
inset-inline-start: var(--db-tooltip-arrow-inline-start, 50%);
|
|
398
397
|
inset-block-start: 0;
|
|
399
398
|
translate: -50% -50%;
|
|
400
399
|
rotate: 315deg;
|
|
401
400
|
}
|
|
402
|
-
.db-tooltip[data-placement^=top]:not([data-
|
|
403
|
-
inset-inline-start: 50
|
|
401
|
+
.db-tooltip[data-placement^=top]:not([data-corrected-placement])::after, .db-tooltip[data-corrected-placement^=top]::after {
|
|
402
|
+
inset-inline-start: var(--db-tooltip-arrow-inline-start, 50%);
|
|
404
403
|
inset-block-end: 0;
|
|
405
404
|
translate: -50% 50%;
|
|
406
405
|
rotate: 135deg;
|
|
407
406
|
}
|
|
408
|
-
.db-tooltip[data-placement^=right]:not([data-
|
|
409
|
-
inset-block-start: 50
|
|
407
|
+
.db-tooltip[data-placement^=right]:not([data-corrected-placement])::after, .db-tooltip[data-corrected-placement^=right]::after {
|
|
408
|
+
inset-block-start: var(--db-tooltip-arrow-block-start, 50%);
|
|
410
409
|
inset-inline-start: 0;
|
|
411
410
|
translate: -50% -50%;
|
|
412
411
|
rotate: 225deg;
|
|
413
412
|
}
|
|
414
|
-
.db-tooltip[data-placement^=left]:not([data-
|
|
415
|
-
inset-block-start: 50
|
|
413
|
+
.db-tooltip[data-placement^=left]:not([data-corrected-placement])::after, .db-tooltip[data-corrected-placement^=left]::after {
|
|
414
|
+
inset-block-start: var(--db-tooltip-arrow-block-start, 50%);
|
|
416
415
|
inset-inline-end: 0;
|
|
417
416
|
translate: 50% -50%;
|
|
418
417
|
rotate: 45deg;
|
|
@@ -59,41 +59,41 @@ $tooltip-arrow-shadow-size: variables.$db-sizing-2xs;
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
&:not([data-placement], [data-
|
|
63
|
-
&[data-placement^="bottom"]:not([data-
|
|
64
|
-
&[data-
|
|
62
|
+
&:not([data-placement], [data-corrected-placement]),
|
|
63
|
+
&[data-placement^="bottom"]:not([data-corrected-placement]),
|
|
64
|
+
&[data-corrected-placement^="bottom"] {
|
|
65
65
|
&::after {
|
|
66
|
-
inset-inline-start: 50
|
|
66
|
+
inset-inline-start: var(--db-tooltip-arrow-inline-start, 50%);
|
|
67
67
|
inset-block-start: 0;
|
|
68
68
|
translate: -50% -50%;
|
|
69
69
|
rotate: 315deg;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
&[data-placement^="top"]:not([data-
|
|
74
|
-
&[data-
|
|
73
|
+
&[data-placement^="top"]:not([data-corrected-placement]),
|
|
74
|
+
&[data-corrected-placement^="top"] {
|
|
75
75
|
&::after {
|
|
76
|
-
inset-inline-start: 50
|
|
76
|
+
inset-inline-start: var(--db-tooltip-arrow-inline-start, 50%);
|
|
77
77
|
inset-block-end: 0;
|
|
78
78
|
translate: -50% 50%;
|
|
79
79
|
rotate: 135deg;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
&[data-placement^="right"]:not([data-
|
|
84
|
-
&[data-
|
|
83
|
+
&[data-placement^="right"]:not([data-corrected-placement]),
|
|
84
|
+
&[data-corrected-placement^="right"] {
|
|
85
85
|
&::after {
|
|
86
|
-
inset-block-start: 50
|
|
86
|
+
inset-block-start: var(--db-tooltip-arrow-block-start, 50%);
|
|
87
87
|
inset-inline-start: 0;
|
|
88
88
|
translate: -50% -50%;
|
|
89
89
|
rotate: 225deg;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
&[data-placement^="left"]:not([data-
|
|
94
|
-
&[data-
|
|
93
|
+
&[data-placement^="left"]:not([data-corrected-placement]),
|
|
94
|
+
&[data-corrected-placement^="left"] {
|
|
95
95
|
&::after {
|
|
96
|
-
inset-block-start: 50
|
|
96
|
+
inset-block-start: var(--db-tooltip-arrow-block-start, 50%);
|
|
97
97
|
inset-inline-end: 0;
|
|
98
98
|
translate: 50% -50%;
|
|
99
99
|
rotate: 45deg;
|