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:
Jonas Jenwald 2023-01-18 10:49:52 +01:00
parent 67b1d15384
commit 4b5817f8ff
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;
}