diff options
| author | Mark Otto <[email protected]> | 2014-07-07 00:56:06 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-07-07 00:56:06 -0700 |
| commit | 9ed9eb97ee09e514da942d680dac032628124816 (patch) | |
| tree | ba580ef453995d466e60e0084bb24b7e006da86c | |
| parent | 6f88238a6beb21dbcb817447e591030f839d11f8 (diff) | |
| download | bootstrap-9ed9eb97ee09e514da942d680dac032628124816.tar.xz bootstrap-9ed9eb97ee09e514da942d680dac032628124816.zip | |
Follow up to #13907: Add .focus styles for buttons
| -rw-r--r-- | less/buttons.less | 6 | ||||
| -rw-r--r-- | less/mixins/buttons.less | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/less/buttons.less b/less/buttons.less index cda87cb8c..05bd89d08 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 409f8f20a..92d8a056c 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; |
