Skip to content

Commit

Permalink
(less) Use outline: 0 consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
Zlatan Vasović committed Mar 10, 2014
1 parent 78b1f67 commit 8eafe99
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion button-groups.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
&:focus {
// Remove focus outline when dropdown JS adds it after closing the menu
outline: none;
outline: 0;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion carousel.less
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
// Hover/focus state
&:hover,
&:focus {
outline: none;
outline: 0;
color: @carousel-control-color;
text-decoration: none;
.opacity(.9);
Expand Down
2 changes: 1 addition & 1 deletion modals.less
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
.box-shadow(0 3px 9px rgba(0,0,0,.5));
background-clip: padding-box;
// Remove focus outline from opened modal
outline: none;
outline: 0;
}

// Modal background
Expand Down
2 changes: 1 addition & 1 deletion navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
// We remove the `outline` here, but later compensate by attaching `:hover`
// styles to `:focus`.
&:focus {
outline: none;
outline: 0;
}

// Bars
Expand Down

0 comments on commit 8eafe99

Please sign in to comment.