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 {
|
:root {
|
||||||
--focus-outline: solid 3px ButtonText;
|
--focus-outline: solid 3px ButtonText;
|
||||||
--hover-outline: dashed 3px ButtonText;
|
--hover-outline: dashed 3px ButtonText;
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
--input-hover-border-color: black;
|
--input-hover-border-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (forced-colors: active) {
|
@media screen and (forced-colors: active) {
|
||||||
:root {
|
:root {
|
||||||
--input-focus-border-color: CanvasText;
|
--input-focus-border-color: CanvasText;
|
||||||
--input-unfocused-border-color: ActiveText;
|
--input-unfocused-border-color: ActiveText;
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
--highlight-selected-bg-color: rgba(0, 100, 0, 1);
|
--highlight-selected-bg-color: rgba(0, 100, 0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (forced-colors: active) {
|
@media screen and (forced-colors: active) {
|
||||||
:root {
|
:root {
|
||||||
--highlight-bg-color: Highlight;
|
--highlight-bg-color: Highlight;
|
||||||
--highlight-selected-bg-color: ButtonText;
|
--highlight-selected-bg-color: ButtonText;
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
--xfa-focus-outline: auto;
|
--xfa-focus-outline: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (forced-colors: active) {
|
@media screen and (forced-colors: active) {
|
||||||
:root {
|
:root {
|
||||||
--xfa-focus-outline: 2px solid CanvasText;
|
--xfa-focus-outline: 2px solid CanvasText;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user