diff --git a/less/buttons.less b/less/buttons.less index cda87cb8cb..05bd89d081 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -23,13 +23,15 @@ &, &:active, &.active { - &:focus { + &:focus, + &.focus { .tab-focus(); } } &:hover, - &:focus { + &:focus, + &.focus { color: @btn-default-color; text-decoration: none; } diff --git a/less/mixins/buttons.less b/less/mixins/buttons.less index 409f8f20a4..92d8a056cd 100644 --- a/less/mixins/buttons.less +++ b/less/mixins/buttons.less @@ -10,6 +10,7 @@ &:hover, &:focus, + &.focus, &:active, &.active, .open > .dropdown-toggle& { @@ -28,6 +29,7 @@ &, &:hover, &:focus, + &.focus, &:active, &.active { background-color: @background;