aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-01-11 17:27:34 -0800
committerChris Rebert <[email protected]>2014-01-12 13:51:03 -0800
commit4787a69efbe0fcd81228781b3c91dfe198aa0f1b (patch)
tree18b847f28bd4740c7c09b362b05e3b422763f095 /less
parente2908975ad9beebb2b9bfd2ab8dbaa59577b1a0f (diff)
downloadbootstrap-4787a69efbe0fcd81228781b3c91dfe198aa0f1b.tar.xz
bootstrap-4787a69efbe0fcd81228781b3c91dfe198aa0f1b.zip
fix #12154
Diffstat (limited to 'less')
-rw-r--r--less/buttons.less9
1 files changed, 7 insertions, 2 deletions
diff --git a/less/buttons.less b/less/buttons.less
index 4858a8aea..bf932eda5 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -19,8 +19,13 @@
.button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);
.user-select(none);
- &:focus {
- .tab-focus();
+ &,
+ &:active,
+ &.active
+ {
+ &:focus {
+ .tab-focus();
+ }
}
&:hover,