mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Ensure that the .toggleButton
, as used in the findbar, always have visible hover/focus state (issue 19165)
Similar to the regular toolbarButtons that can be toggled, this ensure that it's always possible to tell when the findbar "buttons" are hovered/focused.
This commit is contained in:
parent
2ad8f6155c
commit
61e2eceff6
1 changed files with 5 additions and 5 deletions
|
@ -634,16 +634,16 @@ body {
|
|||
.toggleButton {
|
||||
display: inline;
|
||||
|
||||
&:is(:hover, :has(> input:focus-visible)) {
|
||||
color: var(--toggled-btn-color);
|
||||
background-color: var(--button-hover-color);
|
||||
}
|
||||
|
||||
&:has(> input:checked) {
|
||||
color: var(--toggled-btn-color);
|
||||
background-color: var(--toggled-btn-bg-color);
|
||||
}
|
||||
|
||||
&:is(:hover, :has(> input:focus-visible)) {
|
||||
color: var(--toggled-btn-color);
|
||||
background-color: var(--button-hover-color);
|
||||
}
|
||||
|
||||
& > input {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue