mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Collect the forced-colors CSS rules for linkAnnotation
in one spot
This commit is contained in:
parent
b779e418a5
commit
7d5b970eee
1 changed files with 11 additions and 11 deletions
|
@ -36,14 +36,18 @@
|
|||
outline: 1.5px solid selectedItem;
|
||||
}
|
||||
|
||||
.linkAnnotation:hover {
|
||||
backdrop-filter: var(--hcm-highligh-filter);
|
||||
}
|
||||
.linkAnnotation {
|
||||
outline: var(--link-outline);
|
||||
|
||||
.linkAnnotation > a:hover {
|
||||
opacity: 0 !important;
|
||||
background: none !important;
|
||||
box-shadow: none;
|
||||
&:hover {
|
||||
backdrop-filter: var(--hcm-highligh-filter);
|
||||
}
|
||||
|
||||
& > a:hover {
|
||||
opacity: 0 !important;
|
||||
background: none !important;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
.popupAnnotation .popup {
|
||||
|
@ -100,10 +104,6 @@
|
|||
transform-origin: 0 0;
|
||||
}
|
||||
|
||||
.linkAnnotation {
|
||||
outline: var(--link-outline);
|
||||
}
|
||||
|
||||
:is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a {
|
||||
position: absolute;
|
||||
font-size: 1em;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue