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
@ -634,16 +634,16 @@ body {
|
|||||||
.toggleButton {
|
.toggleButton {
|
||||||
display: inline;
|
display: inline;
|
||||||
|
|
||||||
&:is(:hover, :has(> input:focus-visible)) {
|
|
||||||
color: var(--toggled-btn-color);
|
|
||||||
background-color: var(--button-hover-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:has(> input:checked) {
|
&:has(> input:checked) {
|
||||||
color: var(--toggled-btn-color);
|
color: var(--toggled-btn-color);
|
||||||
background-color: var(--toggled-btn-bg-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 {
|
& > input {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user