styles: Hide focus outline for active links.

We still want it everywhere for accessibility.
This commit is contained in:
Gittenburg 2020-07-15 21:23:56 +02:00 committed by Tim Abbott
parent 5d5434ec2f
commit 797fb00791
2 changed files with 2 additions and 2 deletions

View File

@ -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%);
}
}

View File

@ -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
}