mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-22 18:20:57 -04:00
Render selected links with box shadow not outline
Because there’s a mystery 2px gap between the outline and the element in Firefox.
This commit is contained in:
@@ -8,6 +8,20 @@
|
||||
display: inline;
|
||||
margin-bottom: -$gutter;
|
||||
padding-bottom: $gutter;
|
||||
|
||||
&:focus {
|
||||
|
||||
// Use box shadow instead of outline to avoid buggy outline
|
||||
// rendering in Firefox
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 3px $yellow;
|
||||
|
||||
@include ie-lte(8) {
|
||||
// Box shadow is not supported in IE8
|
||||
outline: 3px solid $yellow;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
&-separator {
|
||||
|
||||
Reference in New Issue
Block a user