mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #19172 from Snuffleupagus/toggleButton-hover
Ensure that the `.toggleButton`, as used in the findbar, always have visible hover/focus state (issue 19165)
This commit is contained in:
commit
28d801e081
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