@db-ux/core-components 4.6.1 → 4.7.0-tabs-34782eb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -16
- package/build/components/accordion-item/accordion-item.css +5 -3
- package/build/components/badge/badge.css +13 -7
- package/build/components/brand/brand.css +3 -3
- package/build/components/button/button.css +3 -1
- package/build/components/card/card.css +10 -6
- package/build/components/checkbox/checkbox.css +25 -21
- package/build/components/custom-button/custom-button.css +3 -1
- package/build/components/custom-select/custom-select.css +19 -15
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +11 -3
- package/build/components/custom-select-form-field/custom-select-form-field.css +8 -6
- package/build/components/custom-select-list/custom-select-list.css +4 -2
- package/build/components/custom-select-list-item/custom-select-list-item.css +7 -5
- package/build/components/drawer/drawer.css +3 -3
- package/build/components/header/header.css +115 -60
- package/build/components/icon/icon.css +4 -2
- package/build/components/infotext/infotext.css +15 -15
- package/build/components/input/input.css +12 -10
- package/build/components/navigation/navigation.css +28 -12
- package/build/components/navigation-item/navigation-item.css +39 -19
- package/build/components/notification/notification.css +5 -5
- package/build/components/notification/notification.scss +1 -1
- package/build/components/page/page.css +13 -11
- package/build/components/popover/popover.css +25 -13
- package/build/components/radio/radio.css +10 -8
- package/build/components/section/section.css +3 -3
- package/build/components/select/select.css +11 -11
- package/build/components/select/select.scss +4 -4
- package/build/components/stack/stack-web-component.css +3 -3
- package/build/components/stack/stack.css +3 -3
- package/build/components/switch/switch.css +30 -20
- package/build/components/tab-item/tab-item.css +133 -157
- package/build/components/tab-item/tab-item.scss +105 -103
- package/build/components/tab-list/tab-list.css +46 -36
- package/build/components/tab-list/tab-list.scss +11 -9
- package/build/components/tab-panel/tab-panel.css +1 -2
- package/build/components/tab-panel/tab-panel.scss +2 -5
- package/build/components/tabs/tabs.css +227 -236
- package/build/components/tabs/tabs.scss +214 -234
- package/build/components/tag/tag.css +32 -11
- package/build/components/textarea/textarea.css +27 -17
- package/build/components/tooltip/tooltip.css +19 -9
- package/build/styles/absolute.css +32 -18
- package/build/styles/bundle.css +32 -18
- package/build/styles/index.css +31 -17
- package/build/styles/relative.css +32 -18
- package/build/styles/rollup.css +32 -18
- package/build/styles/webpack.css +32 -18
- package/package.json +6 -6
|
@@ -92,13 +92,6 @@ input[type=radio]:checked) > label {
|
|
|
92
92
|
transform: rotate(1turn);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
.db-textarea textarea {
|
|
96
|
-
/* Buttons */
|
|
97
|
-
/* Up */
|
|
98
|
-
/* Down */
|
|
99
|
-
/* Left */
|
|
100
|
-
/* Right */
|
|
101
|
-
}
|
|
102
95
|
@supports (field-sizing: content) {
|
|
103
96
|
.db-textarea textarea[data-field-sizing=content]:is([data-hide-resizer=true], [data-resize=none]) {
|
|
104
97
|
/* We don't show a scrollbar if we use field-sizing: content and no resizer is available */
|
|
@@ -124,6 +117,9 @@ input[type=radio]:checked) > label {
|
|
|
124
117
|
.db-textarea textarea::-webkit-scrollbar-thumb {
|
|
125
118
|
background-color: var(--db-adaptive-bg-basic-transparent-full-pressed);
|
|
126
119
|
}
|
|
120
|
+
.db-textarea textarea {
|
|
121
|
+
/* Buttons */
|
|
122
|
+
}
|
|
127
123
|
.db-textarea textarea::-webkit-scrollbar-button:single-button {
|
|
128
124
|
background-color: var(--db-adaptive-bg-basic-transparent-semi-default);
|
|
129
125
|
background-size: 0.5rem;
|
|
@@ -137,16 +133,28 @@ input[type=radio]:checked) > label {
|
|
|
137
133
|
.db-textarea textarea::-webkit-scrollbar-button:single-button:active {
|
|
138
134
|
background-color: var(--db-adaptive-bg-basic-transparent-full-pressed);
|
|
139
135
|
}
|
|
136
|
+
.db-textarea textarea {
|
|
137
|
+
/* Up */
|
|
138
|
+
}
|
|
140
139
|
.db-textarea textarea::-webkit-scrollbar-button:single-button:vertical:decrement {
|
|
141
140
|
border-start-end-radius: var(--db-border-radius-xs);
|
|
142
141
|
background-image: var(--db-scrollbar-button-vertical-decrement);
|
|
143
142
|
}
|
|
143
|
+
.db-textarea textarea {
|
|
144
|
+
/* Down */
|
|
145
|
+
}
|
|
144
146
|
.db-textarea textarea::-webkit-scrollbar-button:single-button:vertical:increment {
|
|
145
147
|
background-image: var(--db-scrollbar-button-vertical-increment);
|
|
146
148
|
}
|
|
149
|
+
.db-textarea textarea {
|
|
150
|
+
/* Left */
|
|
151
|
+
}
|
|
147
152
|
.db-textarea textarea::-webkit-scrollbar-button:single-button:horizontal:decrement {
|
|
148
153
|
background-image: var(--db-scrollbar-button-horizontal-decrement);
|
|
149
154
|
}
|
|
155
|
+
.db-textarea textarea {
|
|
156
|
+
/* Right */
|
|
157
|
+
}
|
|
150
158
|
.db-textarea textarea::-webkit-scrollbar-button:single-button:horizontal:increment {
|
|
151
159
|
background-image: var(--db-scrollbar-button-horizontal-increment);
|
|
152
160
|
}
|
|
@@ -385,14 +393,14 @@ input[type=radio]:checked) textarea:is([type=date],
|
|
|
385
393
|
.db-textarea:has(textarea:not([data-custom-validity]):is(:required, [minlength], [maxlength]):user-valid) textarea {
|
|
386
394
|
border-color: var(--db-successful-on-bg-basic-emphasis-70-default);
|
|
387
395
|
}
|
|
388
|
-
.db-textarea:has(textarea:not([data-custom-validity]):is(:required, [minlength], [maxlength]):user-valid) > db-infotext > .db-infotext,
|
|
389
|
-
.db-textarea:has(textarea:not([data-custom-validity]):is(:required, [minlength], [maxlength]):user-valid) > .db-infotext {
|
|
390
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
391
|
-
}
|
|
392
396
|
.db-textarea:has(textarea:not([data-custom-validity]):is(:required, [minlength], [maxlength]):user-valid) > db-infotext > .db-infotext[data-semantic=successful]:not([hidden]),
|
|
393
397
|
.db-textarea:has(textarea:not([data-custom-validity]):is(:required, [minlength], [maxlength]):user-valid) > .db-infotext[data-semantic=successful]:not([hidden]) {
|
|
394
398
|
display: flex;
|
|
395
399
|
}
|
|
400
|
+
.db-textarea:has(textarea:not([data-custom-validity]):is(:required, [minlength], [maxlength]):user-valid) > db-infotext > .db-infotext,
|
|
401
|
+
.db-textarea:has(textarea:not([data-custom-validity]):is(:required, [minlength], [maxlength]):user-valid) > .db-infotext {
|
|
402
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
403
|
+
}
|
|
396
404
|
.db-textarea:has(textarea:not([data-custom-validity]):is(:required, [minlength], [maxlength]):user-valid) > db-infotext > .db-infotext:not([data-semantic]):not([hidden]),
|
|
397
405
|
.db-textarea:has(textarea:not([data-custom-validity]):is(:required, [minlength], [maxlength]):user-valid) > .db-infotext:not([data-semantic]):not([hidden]) {
|
|
398
406
|
display: none;
|
|
@@ -436,16 +444,16 @@ input[type=radio]:checked) textarea:is([type=date],
|
|
|
436
444
|
.db-textarea:has(textarea[data-custom-validity=valid]) textarea, .db-textarea[data-custom-validity=valid] textarea {
|
|
437
445
|
border-color: var(--db-successful-on-bg-basic-emphasis-70-default);
|
|
438
446
|
}
|
|
439
|
-
.db-textarea:has(textarea[data-custom-validity=valid]) > db-infotext > .db-infotext,
|
|
440
|
-
.db-textarea:has(textarea[data-custom-validity=valid]) > .db-infotext, .db-textarea[data-custom-validity=valid] > db-infotext > .db-infotext,
|
|
441
|
-
.db-textarea[data-custom-validity=valid] > .db-infotext {
|
|
442
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
443
|
-
}
|
|
444
447
|
.db-textarea:has(textarea[data-custom-validity=valid]) > db-infotext > .db-infotext[data-semantic=successful]:not([hidden]),
|
|
445
448
|
.db-textarea:has(textarea[data-custom-validity=valid]) > .db-infotext[data-semantic=successful]:not([hidden]), .db-textarea[data-custom-validity=valid] > db-infotext > .db-infotext[data-semantic=successful]:not([hidden]),
|
|
446
449
|
.db-textarea[data-custom-validity=valid] > .db-infotext[data-semantic=successful]:not([hidden]) {
|
|
447
450
|
display: flex;
|
|
448
451
|
}
|
|
452
|
+
.db-textarea:has(textarea[data-custom-validity=valid]) > db-infotext > .db-infotext,
|
|
453
|
+
.db-textarea:has(textarea[data-custom-validity=valid]) > .db-infotext, .db-textarea[data-custom-validity=valid] > db-infotext > .db-infotext,
|
|
454
|
+
.db-textarea[data-custom-validity=valid] > .db-infotext {
|
|
455
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
456
|
+
}
|
|
449
457
|
.db-textarea:has(textarea[data-custom-validity=valid]) > db-infotext > .db-infotext:not([data-semantic]):not([hidden]),
|
|
450
458
|
.db-textarea:has(textarea[data-custom-validity=valid]) > .db-infotext:not([data-semantic]):not([hidden]), .db-textarea[data-custom-validity=valid] > db-infotext > .db-infotext:not([data-semantic]):not([hidden]),
|
|
451
459
|
.db-textarea[data-custom-validity=valid] > .db-infotext:not([data-semantic]):not([hidden]) {
|
|
@@ -581,7 +589,6 @@ input[type=radio]:checked) textarea:is([type=date],
|
|
|
581
589
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
582
590
|
padding-inline: var(--db-form-component-padding-inline-start, var(--db-spacing-fixed-sm)) var(--db-form-component-padding-inline-end, var(--db-spacing-fixed-sm));
|
|
583
591
|
/* stylelint-disable-next-line a11y/selector-pseudo-class-focus */
|
|
584
|
-
/* see https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing */
|
|
585
592
|
}
|
|
586
593
|
.db-textarea textarea:hover:not(:disabled,
|
|
587
594
|
[aria-disabled=true],
|
|
@@ -608,6 +615,9 @@ input[type=radio]:checked) textarea:is([type=date],
|
|
|
608
615
|
:has(:disabled)):is(input[type=radio]:not(:checked)) {
|
|
609
616
|
cursor: pointer;
|
|
610
617
|
}
|
|
618
|
+
.db-textarea textarea {
|
|
619
|
+
/* see https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing */
|
|
620
|
+
}
|
|
611
621
|
.db-textarea textarea[data-field-sizing=content] {
|
|
612
622
|
field-sizing: content;
|
|
613
623
|
}
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
|
|
46
46
|
.db-tooltip {
|
|
47
47
|
--db-popover-distance: var(--db-spacing-fixed-2xs);
|
|
48
|
-
/* This is for pure html css without using JS */
|
|
49
48
|
}
|
|
50
49
|
.db-tooltip::before {
|
|
51
50
|
content: "";
|
|
@@ -78,6 +77,9 @@
|
|
|
78
77
|
.db-tooltip:is(.db-tooltip) {
|
|
79
78
|
--db-popover-distance: var(--db-spacing-fixed-sm);
|
|
80
79
|
}
|
|
80
|
+
.db-tooltip {
|
|
81
|
+
/* This is for pure html css without using JS */
|
|
82
|
+
}
|
|
81
83
|
.db-tooltip:not([data-corrected-placement])[data-placement^=bottom][data-placement$=end], .db-tooltip:not([data-corrected-placement])[data-placement^=top][data-placement$=end] {
|
|
82
84
|
inset-inline-end: 0;
|
|
83
85
|
}
|
|
@@ -146,8 +148,6 @@
|
|
|
146
148
|
@media (prefers-reduced-motion: no-preference) {
|
|
147
149
|
.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 {
|
|
148
150
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
149
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
150
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
151
151
|
}
|
|
152
152
|
.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 {
|
|
153
153
|
animation-delay: var(--db-transition-duration-extra-slow);
|
|
@@ -155,6 +155,10 @@
|
|
|
155
155
|
.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 {
|
|
156
156
|
animation-delay: var(--db-transition-duration-medium);
|
|
157
157
|
}
|
|
158
|
+
.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 {
|
|
159
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
160
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
161
|
+
}
|
|
158
162
|
}
|
|
159
163
|
@media (prefers-reduced-motion: no-preference) and (width <= 64em) {
|
|
160
164
|
.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 {
|
|
@@ -177,8 +181,6 @@
|
|
|
177
181
|
@media (prefers-reduced-motion: no-preference) {
|
|
178
182
|
[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 {
|
|
179
183
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
180
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
181
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
182
184
|
}
|
|
183
185
|
[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 {
|
|
184
186
|
animation-delay: var(--db-transition-duration-extra-slow);
|
|
@@ -186,6 +188,10 @@
|
|
|
186
188
|
[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 {
|
|
187
189
|
animation-delay: var(--db-transition-duration-medium);
|
|
188
190
|
}
|
|
191
|
+
[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 {
|
|
192
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
193
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
194
|
+
}
|
|
189
195
|
}
|
|
190
196
|
@media (prefers-reduced-motion: no-preference) and (width <= 64em) {
|
|
191
197
|
[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 {
|
|
@@ -208,8 +214,6 @@
|
|
|
208
214
|
@media (prefers-reduced-motion: no-preference) {
|
|
209
215
|
[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 {
|
|
210
216
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
211
|
-
/* stylelint-disable-next-line media-query-no-invalid */
|
|
212
|
-
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
213
217
|
}
|
|
214
218
|
[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 {
|
|
215
219
|
animation-delay: var(--db-transition-duration-extra-slow);
|
|
@@ -217,6 +221,10 @@
|
|
|
217
221
|
[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 {
|
|
218
222
|
animation-delay: var(--db-transition-duration-medium);
|
|
219
223
|
}
|
|
224
|
+
[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 {
|
|
225
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
226
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
227
|
+
}
|
|
220
228
|
}
|
|
221
229
|
@media (prefers-reduced-motion: no-preference) and (width <= 64em) {
|
|
222
230
|
[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 {
|
|
@@ -239,8 +247,6 @@
|
|
|
239
247
|
@media (prefers-reduced-motion: no-preference) {
|
|
240
248
|
[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 {
|
|
241
249
|
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 */
|
|
244
250
|
}
|
|
245
251
|
[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 {
|
|
246
252
|
animation-delay: var(--db-transition-duration-extra-slow);
|
|
@@ -248,6 +254,10 @@
|
|
|
248
254
|
[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 {
|
|
249
255
|
animation-delay: var(--db-transition-duration-medium);
|
|
250
256
|
}
|
|
257
|
+
[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 {
|
|
258
|
+
/* stylelint-disable-next-line media-query-no-invalid */
|
|
259
|
+
/* stylelint-disable-next-line at-rule-empty-line-before */
|
|
260
|
+
}
|
|
251
261
|
}
|
|
252
262
|
@media (prefers-reduced-motion: no-preference) and (width <= 64em) {
|
|
253
263
|
[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 {
|