mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 14:18:24 -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;
|
display: inline;
|
||||||
margin-bottom: -$gutter;
|
margin-bottom: -$gutter;
|
||||||
padding-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 {
|
&-separator {
|
||||||
|
|||||||
Reference in New Issue
Block a user