aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--less/buttons.less6
-rw-r--r--less/mixins/buttons.less2
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;