2014-03-10 06:18:48 +00:00
|
|
|
// WebKit-style focus
|
|
|
|
|
2014-12-02 22:02:35 +00:00
|
|
|
@mixin tab-focus() {
|
2016-07-12 03:50:27 +00:00
|
|
|
// WebKit-specific. Other browsers will keep their default outline style.
|
|
|
|
// (Initially tried to also force default via `outline: initial`,
|
|
|
|
// but that seems to erroneously remove the outline in Firefox altogether.)
|
2014-03-10 06:18:48 +00:00
|
|
|
outline: 5px auto -webkit-focus-ring-color;
|
|
|
|
outline-offset: -2px;
|
|
|
|
}
|