mirror of https://github.com/zulip/zulip.git
styles: Hide focus outline for active links.
We still want it everywhere for accessibility.
This commit is contained in:
parent
5d5434ec2f
commit
797fb00791
|
@ -978,7 +978,7 @@ on a dark background, and don't change the dark labels dark either. */
|
|||
}
|
||||
}
|
||||
|
||||
div.popover-content a:focus {
|
||||
a:not(:active):focus {
|
||||
outline-color: hsl(0, 0%, 100%);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -380,7 +380,7 @@ label {
|
|||
}
|
||||
|
||||
/* Bootstrap's focus outline uses -webkit-focus-ring-color which doesn't exist in Firefox */
|
||||
div.popover-content a:focus {
|
||||
a:not(:active):focus {
|
||||
outline: 2px solid hsl(215, 47%, 50%);
|
||||
// TODO: change solid to auto once the Chromium bug #1105822 is fixed
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue