Skip to content

Commit

Permalink
Use consistent forced-colors media-queries throughout the CSS files
Browse files Browse the repository at this point in the history
Note how e.g. the `viewer.css` and `pdf_viewer.css` files already used this format.
  • Loading branch information
Snuffleupagus authored and pull[bot] committed Oct 20, 2024
1 parent 6cef2b1 commit 1858715
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion web/annotation_editor_layer_builder.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion web/annotation_layer_builder.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion web/text_layer_builder.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion web/xfa_layer_builder.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1858715

Please sign in to comment.