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:
commit
c4bc0d2311
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user