removing outlines on buttons and links

This commit is contained in:
John Mitchell 2015-04-24 13:02:09 -04:00
parent bfb4ccf266
commit be7f27af0d
2 changed files with 13 additions and 4 deletions

View File

@ -30,10 +30,7 @@
// WebKit-style focus
.tab-focus() {
// Default
outline: thin dotted;
// WebKit
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
outline: 0;
}
// Center-align a block level element

View File

@ -1951,4 +1951,16 @@ tr td button i {
padding-right: 15px;
}
// removing all the pesky outlines on buttons/links/etc.
a:focus,
a:active,
button:focus,
button:active,
i:focus,
i:active,
.btn:focus,
.btn:active:focus {
outline: 0;
}
}