mirror of https://github.com/zulip/zulip.git
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:
parent
90e7621bbe
commit
5150e1f8cf
|
@ -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%);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue