0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00

Merge pull request #12999 from ZDroid/outline-zero

Use `outline: 0` consistently
This commit is contained in:
Mark Otto 2014-03-09 23:57:17 -07:00
commit c4bc0d2311
4 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@
} }
&:focus { &:focus {
// Remove focus outline when dropdown JS adds it after closing the menu // Remove focus outline when dropdown JS adds it after closing the menu
outline: none; outline: 0;
} }
} }
} }

View File

@ -91,7 +91,7 @@
// Hover/focus state // Hover/focus state
&:hover, &:hover,
&:focus { &:focus {
outline: none; outline: 0;
color: @carousel-control-color; color: @carousel-control-color;
text-decoration: none; text-decoration: none;
.opacity(.9); .opacity(.9);

View File

@ -54,7 +54,7 @@
.box-shadow(0 3px 9px rgba(0,0,0,.5)); .box-shadow(0 3px 9px rgba(0,0,0,.5));
background-clip: padding-box; background-clip: padding-box;
// Remove focus outline from opened modal // Remove focus outline from opened modal
outline: none; outline: 0;
} }
// Modal background // Modal background

View File

@ -200,7 +200,7 @@
// We remove the `outline` here, but later compensate by attaching `:hover` // We remove the `outline` here, but later compensate by attaching `:hover`
// styles to `:focus`. // styles to `:focus`.
&:focus { &:focus {
outline: none; outline: 0;
} }
// Bars // Bars