mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Merge pull request #15921 from fchasen/forced-colors-highlights
Update highlight background when forced colors are active (bug 1759886)
This commit is contained in:
commit
e9c8aa63e3
1 changed files with 9 additions and 0 deletions
|
@ -72,6 +72,15 @@
|
||||||
background-color: rgba(0, 100, 0, 1);
|
background-color: rgba(0, 100, 0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (forced-colors: active) {
|
||||||
|
.textLayer .highlight {
|
||||||
|
background-color: Highlight;
|
||||||
|
}
|
||||||
|
.textLayer .highlight.selected {
|
||||||
|
background-color: ButtonText;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.textLayer ::selection {
|
.textLayer ::selection {
|
||||||
/*#if !MOZCENTRAL*/
|
/*#if !MOZCENTRAL*/
|
||||||
background: blue;
|
background: blue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue