mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Follow up to #13907: Add .focus styles for buttons
This commit is contained in:
parent
6f88238a6b
commit
9ed9eb97ee
2 changed files with 6 additions and 2 deletions
|
@ -23,13 +23,15 @@
|
|||
&,
|
||||
&:active,
|
||||
&.active {
|
||||
&:focus {
|
||||
&:focus,
|
||||
&.focus {
|
||||
.tab-focus();
|
||||
}
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
&:focus,
|
||||
&.focus {
|
||||
color: @btn-default-color;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.focus,
|
||||
&:active,
|
||||
&.active,
|
||||
.open > .dropdown-toggle& {
|
||||
|
@ -28,6 +29,7 @@
|
|||
&,
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.focus,
|
||||
&:active,
|
||||
&.active {
|
||||
background-color: @background;
|
||||
|
|
Loading…
Add table
Reference in a new issue