@db-ux/core-components 4.4.2 → 4.4.3
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 +10 -0
- package/build/components/accordion/accordion.css +0 -14
- package/build/components/accordion-item/accordion-item.css +0 -22
- package/build/components/badge/badge.css +0 -22
- package/build/components/brand/brand.css +0 -18
- package/build/components/button/button.css +0 -22
- package/build/components/card/card.css +0 -14
- package/build/components/checkbox/checkbox.css +0 -22
- package/build/components/custom-select/custom-select.css +0 -22
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +0 -22
- package/build/components/custom-select-form-field/custom-select-form-field.css +0 -22
- package/build/components/custom-select-list/custom-select-list.css +0 -22
- package/build/components/custom-select-list-item/custom-select-list-item.css +0 -22
- package/build/components/divider/divider.css +0 -10
- package/build/components/drawer/drawer.css +0 -14
- package/build/components/header/header.css +0 -22
- package/build/components/icon/icon.css +0 -10
- package/build/components/infotext/infotext.css +0 -18
- package/build/components/input/input.css +0 -22
- package/build/components/link/link.css +0 -22
- package/build/components/navigation/navigation.css +0 -22
- package/build/components/navigation-item/navigation-item.css +0 -22
- package/build/components/notification/notification.css +0 -22
- package/build/components/page/page.css +0 -10
- package/build/components/popover/popover.css +26 -14
- package/build/components/radio/radio.css +0 -22
- package/build/components/section/section.css +0 -14
- package/build/components/select/select.css +0 -22
- package/build/components/stack/stack-web-component.css +0 -10
- package/build/components/stack/stack.css +0 -10
- package/build/components/switch/switch.css +0 -22
- package/build/components/tab-item/tab-item.css +0 -22
- package/build/components/tab-list/tab-list.css +0 -22
- package/build/components/tab-panel/tab-panel.css +0 -10
- package/build/components/tabs/tabs.css +0 -22
- package/build/components/tag/tag.css +15 -37
- package/build/components/textarea/textarea.css +0 -22
- package/build/components/tooltip/tooltip.css +26 -22
- package/build/styles/absolute.css +3 -3
- package/build/styles/index.css +3 -3
- package/build/styles/internal/_popover-component.scss +15 -5
- package/build/styles/internal/_tag-components.scss +1 -0
- package/build/styles/relative.css +3 -3
- package/build/styles/rollup.css +3 -3
- package/build/styles/webpack.css +3 -3
- package/package.json +9 -8
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
/* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
|
|
2
|
-
/* Use fixed spacings for all kind of distances (margin, padding, ...) */
|
|
3
|
-
/* The primary use-case for responsive spacings are
|
|
4
|
-
paddings/gaps in an application e.g. the <main> should have a responsive padding. */
|
|
5
|
-
/* Elevation */
|
|
6
|
-
/* Border */
|
|
7
|
-
/* Opacity */
|
|
8
|
-
/* Transitions */
|
|
9
|
-
/* Screen sizes */
|
|
10
|
-
/* Container sizes */
|
|
11
1
|
.db-tag label, .db-tag a {
|
|
12
2
|
transition: outline var(--db-transition-duration-extra-fast), border-color var(--db-transition-straight-emotional), background-color var(--db-transition-straight-emotional);
|
|
13
3
|
}
|
|
@@ -827,12 +817,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
827
817
|
|
|
828
818
|
@layer variables {}
|
|
829
819
|
|
|
830
|
-
/**
|
|
831
|
-
Generates 3 types of placeholders, e.g:
|
|
832
|
-
- %db-component-variables-md
|
|
833
|
-
- %db-font-size-md
|
|
834
|
-
- %db-overwrite-font-size-md
|
|
835
|
-
*/
|
|
836
820
|
@layer variables {}
|
|
837
821
|
|
|
838
822
|
@layer variables {}
|
|
@@ -901,8 +885,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
901
885
|
|
|
902
886
|
@layer variables {}
|
|
903
887
|
|
|
904
|
-
/* Use for body tags like <p> */
|
|
905
|
-
/* Use for headline tags like <h1> */
|
|
906
888
|
.db-tag[data-show-check-state=true] label:not([data-show-icon-trailing=false])::after, .db-tag[data-show-check-state=true] label:has(input:checked):not([data-show-icon-trailing=false])::after {
|
|
907
889
|
color: var(--db-icon-color, inherit);
|
|
908
890
|
display: inline-block;
|
|
@@ -956,10 +938,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
956
938
|
display: inline-flex;
|
|
957
939
|
}
|
|
958
940
|
|
|
959
|
-
/**
|
|
960
|
-
* @mixin screen-min-max
|
|
961
|
-
* @param $data an object like (min:"sm", max:"lg") or (min: "sm")
|
|
962
|
-
*/
|
|
963
941
|
.db-tag {
|
|
964
942
|
border: var(--db-border-width-3xs) solid var(--db-adaptive-on-bg-basic-emphasis-100-default);
|
|
965
943
|
}
|
|
@@ -974,7 +952,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
974
952
|
border-radius: var(--db-border-radius-xs);
|
|
975
953
|
}
|
|
976
954
|
|
|
977
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:not(.db-tab-remove-button),
|
|
955
|
+
.db-tag:has(label, button:not(.db-tab-remove-button), a), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:not(.db-tab-remove-button),
|
|
978
956
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) dbbutton:not(.db-tab-remove-button) > button,
|
|
979
957
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) db-button > button,
|
|
980
958
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) a, .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak]:not(:has(dbbutton)) button:not(.db-tab-remove-button),
|
|
@@ -989,13 +967,13 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
989
967
|
color: var(--db-adaptive-on-bg-basic-emphasis-80-default);
|
|
990
968
|
/* stylelint-disable-next-line a11y/selector-pseudo-class-focus */
|
|
991
969
|
}
|
|
992
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:not(.db-tab-remove-button)::before,
|
|
970
|
+
.db-tag:has(label, button:not(.db-tab-remove-button), a)::before, .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:not(.db-tab-remove-button)::before,
|
|
993
971
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) dbbutton:not(.db-tab-remove-button) > button::before,
|
|
994
972
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) db-button > button::before,
|
|
995
973
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) a::before, .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak]:not(:has(dbbutton)) button:not(.db-tab-remove-button)::before,
|
|
996
974
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] dbbutton:not(.db-tab-remove-button) > button::before,
|
|
997
975
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] db-button > button::before,
|
|
998
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a::before, .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:has(input)::before, .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:has(input)::before, .db-tag[data-emphasis=strong]:has(label, button:not(.db-tab-remove-button), a):has(input):not(:has(input:checked))::before, .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:not(.db-tab-remove-button)::after,
|
|
976
|
+
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a::before, .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:has(input)::before, .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:has(input)::before, .db-tag[data-emphasis=strong]:has(label, button:not(.db-tab-remove-button), a):has(input):not(:has(input:checked))::before, .db-tag:has(label, button:not(.db-tab-remove-button), a)::after, .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:not(.db-tab-remove-button)::after,
|
|
999
977
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) dbbutton:not(.db-tab-remove-button) > button::after,
|
|
1000
978
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) db-button > button::after,
|
|
1001
979
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) a::after, .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak]:not(:has(dbbutton)) button:not(.db-tab-remove-button)::after,
|
|
@@ -1004,7 +982,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
1004
982
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a::after, .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:has(input)::after, .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:has(input)::after, .db-tag[data-emphasis=strong]:has(label, button:not(.db-tab-remove-button), a):has(input):not(:has(input:checked))::after {
|
|
1005
983
|
--db-icon-color: var(--db-adaptive-on-bg-basic-emphasis-80-default);
|
|
1006
984
|
}
|
|
1007
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):not(.db-tab-remove-button),
|
|
985
|
+
.db-tag:hover:not(:disabled, [aria-disabled=true]):has(label, button:not(.db-tab-remove-button), a), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):not(.db-tab-remove-button),
|
|
1008
986
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) dbbutton:not(.db-tab-remove-button) > button:hover:not(:disabled, [aria-disabled=true]),
|
|
1009
987
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) db-button > button:hover:not(:disabled, [aria-disabled=true]),
|
|
1010
988
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) a:hover:not(:disabled, [aria-disabled=true]), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak]:not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):not(.db-tab-remove-button),
|
|
@@ -1014,13 +992,13 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
1014
992
|
cursor: var(--db-overwrite-cursor, pointer);
|
|
1015
993
|
background-color: var(--db-adaptive-bg-basic-level-1-hovered);
|
|
1016
994
|
}
|
|
1017
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):is(textarea):not(.db-tab-remove-button),
|
|
995
|
+
.db-tag:hover:not(:disabled, [aria-disabled=true]):is(textarea):has(label, button:not(.db-tab-remove-button), a), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):is(textarea):not(.db-tab-remove-button),
|
|
1018
996
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) dbbutton:not(.db-tab-remove-button) > button:hover:not(:disabled, [aria-disabled=true]):is(textarea),
|
|
1019
997
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) db-button > button:hover:not(:disabled, [aria-disabled=true]):is(textarea),
|
|
1020
998
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) a:hover:not(:disabled, [aria-disabled=true]):is(textarea), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak]:not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):is(textarea):not(.db-tab-remove-button),
|
|
1021
999
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] dbbutton:not(.db-tab-remove-button) > button:hover:not(:disabled, [aria-disabled=true]):is(textarea),
|
|
1022
1000
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] db-button > button:hover:not(:disabled, [aria-disabled=true]):is(textarea),
|
|
1023
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:hover:not(:disabled, [aria-disabled=true]):is(textarea), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:hover:not(:disabled, [aria-disabled=true]):is(textarea):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:hover:not(:disabled, [aria-disabled=true]):is(textarea):has(input), .db-tag[data-emphasis=strong]:hover:not(:disabled, [aria-disabled=true]):is(textarea):has(label, button:not(.db-tab-remove-button), a):has(input):not(:has(input:checked)), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):is(input):not(.db-tab-remove-button),
|
|
1001
|
+
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:hover:not(:disabled, [aria-disabled=true]):is(textarea), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:hover:not(:disabled, [aria-disabled=true]):is(textarea):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:hover:not(:disabled, [aria-disabled=true]):is(textarea):has(input), .db-tag[data-emphasis=strong]:hover:not(:disabled, [aria-disabled=true]):is(textarea):has(label, button:not(.db-tab-remove-button), a):has(input):not(:has(input:checked)), .db-tag:hover:not(:disabled, [aria-disabled=true]):is(input):has(label, button:not(.db-tab-remove-button), a), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):is(input):not(.db-tab-remove-button),
|
|
1024
1002
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) dbbutton:not(.db-tab-remove-button) > button:hover:not(:disabled, [aria-disabled=true]):is(input),
|
|
1025
1003
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) db-button > button:hover:not(:disabled, [aria-disabled=true]):is(input),
|
|
1026
1004
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) a:hover:not(:disabled, [aria-disabled=true]):is(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak]:not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):is(input):not(.db-tab-remove-button),
|
|
@@ -1029,22 +1007,22 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
1029
1007
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:hover:not(:disabled, [aria-disabled=true]):is(input), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:hover:not(:disabled, [aria-disabled=true]):is(input):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:hover:not(:disabled, [aria-disabled=true]):is(input):has(input), .db-tag[data-emphasis=strong]:hover:not(:disabled, [aria-disabled=true]):is(input):has(label, button:not(.db-tab-remove-button), a):has(input):not(:has(input:checked)) {
|
|
1030
1008
|
cursor: initial;
|
|
1031
1009
|
}
|
|
1032
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):not(.db-tab-remove-button),
|
|
1010
|
+
.db-tag:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):has(label, button:not(.db-tab-remove-button), a), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):not(.db-tab-remove-button),
|
|
1033
1011
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) dbbutton:not(.db-tab-remove-button) > button:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]),
|
|
1034
1012
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) db-button > button:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]),
|
|
1035
1013
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) a:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak]:not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):not(.db-tab-remove-button),
|
|
1036
1014
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] dbbutton:not(.db-tab-remove-button) > button:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]),
|
|
1037
1015
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] db-button > button:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]),
|
|
1038
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):has(input), .db-tag
|
|
1016
|
+
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):has(input), .db-tag:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):has(label, button:not(.db-tab-remove-button), a), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):not(.db-tab-remove-button),
|
|
1039
1017
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) dbbutton:not(.db-tab-remove-button) > button:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)),
|
|
1040
1018
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) db-button > button:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)),
|
|
1041
1019
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) a:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak]:not(:has(dbbutton)) button:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):not(.db-tab-remove-button),
|
|
1042
1020
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] dbbutton:not(.db-tab-remove-button) > button:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)),
|
|
1043
1021
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] db-button > button:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)),
|
|
1044
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):has(input)
|
|
1022
|
+
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):has(input) {
|
|
1045
1023
|
cursor: pointer;
|
|
1046
1024
|
}
|
|
1047
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):not(.db-tab-remove-button),
|
|
1025
|
+
.db-tag:active:not(:disabled, [aria-disabled=true]):has(label, button:not(.db-tab-remove-button), a), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):not(.db-tab-remove-button),
|
|
1048
1026
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) dbbutton:not(.db-tab-remove-button) > button:active:not(:disabled, [aria-disabled=true]),
|
|
1049
1027
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) db-button > button:active:not(:disabled, [aria-disabled=true]),
|
|
1050
1028
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) a:active:not(:disabled, [aria-disabled=true]), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak]:not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):not(.db-tab-remove-button),
|
|
@@ -1054,13 +1032,13 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
1054
1032
|
cursor: var(--db-overwrite-cursor, pointer);
|
|
1055
1033
|
background-color: var(--db-adaptive-bg-basic-level-1-pressed);
|
|
1056
1034
|
}
|
|
1057
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):is(textarea):not(.db-tab-remove-button),
|
|
1035
|
+
.db-tag:active:not(:disabled, [aria-disabled=true]):is(textarea):has(label, button:not(.db-tab-remove-button), a), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):is(textarea):not(.db-tab-remove-button),
|
|
1058
1036
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) dbbutton:not(.db-tab-remove-button) > button:active:not(:disabled, [aria-disabled=true]):is(textarea),
|
|
1059
1037
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) db-button > button:active:not(:disabled, [aria-disabled=true]):is(textarea),
|
|
1060
1038
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) a:active:not(:disabled, [aria-disabled=true]):is(textarea), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak]:not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):is(textarea):not(.db-tab-remove-button),
|
|
1061
1039
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] dbbutton:not(.db-tab-remove-button) > button:active:not(:disabled, [aria-disabled=true]):is(textarea),
|
|
1062
1040
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] db-button > button:active:not(:disabled, [aria-disabled=true]):is(textarea),
|
|
1063
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:active:not(:disabled, [aria-disabled=true]):is(textarea), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:active:not(:disabled, [aria-disabled=true]):is(textarea):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:active:not(:disabled, [aria-disabled=true]):is(textarea):has(input), .db-tag[data-emphasis=strong]:active:not(:disabled, [aria-disabled=true]):is(textarea):has(label, button:not(.db-tab-remove-button), a):has(input):not(:has(input:checked)), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):is(input):not(.db-tab-remove-button),
|
|
1041
|
+
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:active:not(:disabled, [aria-disabled=true]):is(textarea), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:active:not(:disabled, [aria-disabled=true]):is(textarea):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:active:not(:disabled, [aria-disabled=true]):is(textarea):has(input), .db-tag[data-emphasis=strong]:active:not(:disabled, [aria-disabled=true]):is(textarea):has(label, button:not(.db-tab-remove-button), a):has(input):not(:has(input:checked)), .db-tag:active:not(:disabled, [aria-disabled=true]):is(input):has(label, button:not(.db-tab-remove-button), a), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):is(input):not(.db-tab-remove-button),
|
|
1064
1042
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) dbbutton:not(.db-tab-remove-button) > button:active:not(:disabled, [aria-disabled=true]):is(input),
|
|
1065
1043
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) db-button > button:active:not(:disabled, [aria-disabled=true]):is(input),
|
|
1066
1044
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) a:active:not(:disabled, [aria-disabled=true]):is(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak]:not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):is(input):not(.db-tab-remove-button),
|
|
@@ -1069,19 +1047,19 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
1069
1047
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:active:not(:disabled, [aria-disabled=true]):is(input), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:active:not(:disabled, [aria-disabled=true]):is(input):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:active:not(:disabled, [aria-disabled=true]):is(input):has(input), .db-tag[data-emphasis=strong]:active:not(:disabled, [aria-disabled=true]):is(input):has(label, button:not(.db-tab-remove-button), a):has(input):not(:has(input:checked)) {
|
|
1070
1048
|
cursor: initial;
|
|
1071
1049
|
}
|
|
1072
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):not(.db-tab-remove-button),
|
|
1050
|
+
.db-tag:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):has(label, button:not(.db-tab-remove-button), a), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):not(.db-tab-remove-button),
|
|
1073
1051
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) dbbutton:not(.db-tab-remove-button) > button:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]),
|
|
1074
1052
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) db-button > button:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]),
|
|
1075
1053
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) a:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak]:not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):not(.db-tab-remove-button),
|
|
1076
1054
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] dbbutton:not(.db-tab-remove-button) > button:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]),
|
|
1077
1055
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] db-button > button:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]),
|
|
1078
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):has(input), .db-tag
|
|
1056
|
+
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]):has(input), .db-tag:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):has(label, button:not(.db-tab-remove-button), a), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]):not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):not(.db-tab-remove-button),
|
|
1079
1057
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) dbbutton:not(.db-tab-remove-button) > button:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)),
|
|
1080
1058
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) db-button > button:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)),
|
|
1081
1059
|
.db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) a:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak]:not(:has(dbbutton)) button:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):not(.db-tab-remove-button),
|
|
1082
1060
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] dbbutton:not(.db-tab-remove-button) > button:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)),
|
|
1083
1061
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] db-button > button:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)),
|
|
1084
|
-
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):has(input)
|
|
1062
|
+
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] a:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)), .db-tag:has(label, button:not(.db-tab-remove-button), a):not([data-emphasis]) label:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):has(input), .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-emphasis=weak] label:active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)):has(input) {
|
|
1085
1063
|
cursor: pointer;
|
|
1086
1064
|
}
|
|
1087
1065
|
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
/* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
|
|
2
|
-
/* Use fixed spacings for all kind of distances (margin, padding, ...) */
|
|
3
|
-
/* The primary use-case for responsive spacings are
|
|
4
|
-
paddings/gaps in an application e.g. the <main> should have a responsive padding. */
|
|
5
|
-
/* Elevation */
|
|
6
|
-
/* Border */
|
|
7
|
-
/* Opacity */
|
|
8
|
-
/* Transitions */
|
|
9
|
-
/* Screen sizes */
|
|
10
|
-
/* Container sizes */
|
|
11
1
|
.db-textarea[data-hide-label=true] > label, .db-visually-hidden,
|
|
12
2
|
[data-visually-hidden=true] {
|
|
13
3
|
clip: rect(0, 0, 0, 0) !important;
|
|
@@ -62,12 +52,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
62
52
|
|
|
63
53
|
@layer variables {}
|
|
64
54
|
|
|
65
|
-
/**
|
|
66
|
-
Generates 3 types of placeholders, e.g:
|
|
67
|
-
- %db-component-variables-md
|
|
68
|
-
- %db-font-size-md
|
|
69
|
-
- %db-overwrite-font-size-md
|
|
70
|
-
*/
|
|
71
55
|
@layer variables {}
|
|
72
56
|
|
|
73
57
|
@layer variables {}
|
|
@@ -170,12 +154,6 @@ input[type=radio]:checked) > label {
|
|
|
170
154
|
|
|
171
155
|
@layer variables {}
|
|
172
156
|
|
|
173
|
-
/* Use for body tags like <p> */
|
|
174
|
-
/* Use for headline tags like <h1> */
|
|
175
|
-
/**
|
|
176
|
-
* @mixin screen-min-max
|
|
177
|
-
* @param $data an object like (min:"sm", max:"lg") or (min: "sm")
|
|
178
|
-
*/
|
|
179
157
|
.db-textarea textarea {
|
|
180
158
|
border: var(--db-border-width-3xs) solid var(--db-adaptive-on-bg-basic-emphasis-100-default);
|
|
181
159
|
}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
/* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
|
|
2
|
-
/* Use fixed spacings for all kind of distances (margin, padding, ...) */
|
|
3
|
-
/* The primary use-case for responsive spacings are
|
|
4
|
-
paddings/gaps in an application e.g. the <main> should have a responsive padding. */
|
|
5
|
-
/* Elevation */
|
|
6
|
-
/* Border */
|
|
7
|
-
/* Opacity */
|
|
8
|
-
/* Transitions */
|
|
9
|
-
/* Screen sizes */
|
|
10
|
-
/* Container sizes */
|
|
11
1
|
/* Variants for adaptive components like input, select, notification, ... */
|
|
12
2
|
@layer variables {}
|
|
13
3
|
|
|
@@ -43,12 +33,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
43
33
|
|
|
44
34
|
@layer variables {}
|
|
45
35
|
|
|
46
|
-
/**
|
|
47
|
-
Generates 3 types of placeholders, e.g:
|
|
48
|
-
- %db-component-variables-md
|
|
49
|
-
- %db-font-size-md
|
|
50
|
-
- %db-overwrite-font-size-md
|
|
51
|
-
*/
|
|
52
36
|
@layer variables {}
|
|
53
37
|
|
|
54
38
|
@layer variables {}
|
|
@@ -113,8 +97,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
113
97
|
|
|
114
98
|
@layer variables {}
|
|
115
99
|
|
|
116
|
-
/* Use for body tags like <p> */
|
|
117
|
-
/* Use for headline tags like <h1> */
|
|
118
100
|
@keyframes popover-animation {
|
|
119
101
|
0% {
|
|
120
102
|
opacity: 0;
|
|
@@ -130,10 +112,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
130
112
|
transform: rotate(1turn);
|
|
131
113
|
}
|
|
132
114
|
}
|
|
133
|
-
/**
|
|
134
|
-
* @mixin screen-min-max
|
|
135
|
-
* @param $data an object like (min:"sm", max:"lg") or (min: "sm")
|
|
136
|
-
*/
|
|
137
115
|
.db-tooltip[data-show-arrow=true]::after, .db-tooltip {
|
|
138
116
|
border: var(--db-border-width-3xs) solid var(--db-adaptive-on-bg-basic-emphasis-60-default);
|
|
139
117
|
}
|
|
@@ -146,10 +124,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
146
124
|
.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 {
|
|
147
125
|
--db-popover-center-x: -50%;
|
|
148
126
|
inset-inline-start: 50%;
|
|
127
|
+
transform: translateX(var(--db-popover-center-x, 0));
|
|
149
128
|
}
|
|
150
129
|
[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]) {
|
|
151
130
|
--db-popover-center-y: -50%;
|
|
152
131
|
inset-block-start: 50%;
|
|
132
|
+
transform: translateY(var(--db-popover-center-y, 0));
|
|
153
133
|
}
|
|
154
134
|
|
|
155
135
|
.db-tooltip {
|
|
@@ -246,6 +226,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
246
226
|
opacity: 1;
|
|
247
227
|
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
248
228
|
}
|
|
229
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
230
|
+
.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 {
|
|
231
|
+
opacity: 1;
|
|
232
|
+
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
233
|
+
}
|
|
234
|
+
}
|
|
249
235
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
250
236
|
.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 {
|
|
251
237
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
@@ -271,6 +257,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
271
257
|
opacity: 1;
|
|
272
258
|
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
273
259
|
}
|
|
260
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
261
|
+
[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 {
|
|
262
|
+
opacity: 1;
|
|
263
|
+
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
264
|
+
}
|
|
265
|
+
}
|
|
274
266
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
275
267
|
[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 {
|
|
276
268
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
@@ -296,6 +288,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
296
288
|
opacity: 1;
|
|
297
289
|
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
298
290
|
}
|
|
291
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
292
|
+
[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 {
|
|
293
|
+
opacity: 1;
|
|
294
|
+
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
295
|
+
}
|
|
296
|
+
}
|
|
299
297
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
300
298
|
[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 {
|
|
301
299
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|
|
@@ -321,6 +319,12 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
321
319
|
opacity: 1;
|
|
322
320
|
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
323
321
|
}
|
|
322
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
323
|
+
[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 {
|
|
324
|
+
opacity: 1;
|
|
325
|
+
transform: translate(var(--db-popover-center-x, 0), var(--db-popover-center-y, 0));
|
|
326
|
+
}
|
|
327
|
+
}
|
|
324
328
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
325
329
|
[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 {
|
|
326
330
|
animation: popover-animation var(--db-transition-straight-emotional) normal both;
|