css: Limit recent focus handler change to popovers.

In 9648e64d23, we added a clear outline
around focused link elements in popovers.

This was a good fix for popovers, but it's distracting for the
experience of clicking links in the sidebars and message feed.
This commit is contained in:
Tim Abbott 2020-07-15 12:10:36 -07:00
parent 90e7621bbe
commit 5150e1f8cf
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. */
}
}
a:focus {
div.popover-content a: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 */
a:focus {
div.popover-content a:focus {
outline: 2px solid hsl(215, 47%, 50%);
// TODO: change solid to auto once the Chromium bug #1105822 is fixed
}