mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
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
4 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue