Use consistent forced-colors
media-queries throughout the CSS files
Note how e.g. the `viewer.css` and `pdf_viewer.css` files already used this format.
This commit is contained in:
parent
67b1d15384
commit
4b5817f8ff
@ -35,7 +35,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media (forced-colors: active) {
|
||||
@media screen and (forced-colors: active) {
|
||||
:root {
|
||||
--focus-outline: solid 3px ButtonText;
|
||||
--hover-outline: dashed 3px ButtonText;
|
||||
|
@ -22,7 +22,7 @@
|
||||
--input-hover-border-color: black;
|
||||
}
|
||||
|
||||
@media (forced-colors: active) {
|
||||
@media screen and (forced-colors: active) {
|
||||
:root {
|
||||
--input-focus-border-color: CanvasText;
|
||||
--input-unfocused-border-color: ActiveText;
|
||||
|
@ -18,7 +18,7 @@
|
||||
--highlight-selected-bg-color: rgba(0, 100, 0, 1);
|
||||
}
|
||||
|
||||
@media (forced-colors: active) {
|
||||
@media screen and (forced-colors: active) {
|
||||
:root {
|
||||
--highlight-bg-color: Highlight;
|
||||
--highlight-selected-bg-color: ButtonText;
|
||||
|
@ -18,7 +18,7 @@
|
||||
--xfa-focus-outline: auto;
|
||||
}
|
||||
|
||||
@media (forced-colors: active) {
|
||||
@media screen and (forced-colors: active) {
|
||||
:root {
|
||||
--xfa-focus-outline: 2px solid CanvasText;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user