mirror of https://github.com/zulip/zulip.git
search: Hide outline unless focus-visible.
Followup to https://github.com/zulip/zulip/pull/31647#discussion_r1767352535
This commit is contained in:
parent
d73044ee57
commit
50b43421f1
|
@ -43,16 +43,14 @@
|
||||||
/* Reset iOS button defaults. */
|
/* Reset iOS button defaults. */
|
||||||
color: var(--color-search-icons);
|
color: var(--color-search-icons);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
outline: none;
|
||||||
&:not(:focus-visible) {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus-visible {
|
&:focus-visible {
|
||||||
|
outline: 2px solid var(--color-outline-focus);
|
||||||
outline-offset: -3px;
|
outline-offset: -3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue