From: Mark Otto Date: Mon, 7 Jul 2014 07:56:06 +0000 (-0700) Subject: Follow up to #13907: Add .focus styles for buttons X-Git-Tag: v3.3.0~372^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14058%2Fhead;p=thirdparty%2Fbootstrap.git Follow up to #13907: Add .focus styles for buttons --- 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;