From: Serhan Apaydın Date: Wed, 11 Mar 2015 12:24:16 +0000 (+0200) Subject: Make .text-emphasis-variant adjust :focus color in addition to :hover color X-Git-Tag: v3.3.5~184 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba2d556455c6dad083d31bf052e1f1d09a7da99a;p=thirdparty%2Fbootstrap.git Make .text-emphasis-variant adjust :focus color in addition to :hover color Closes #16047 by merging a tweaked version of it. --- diff --git a/less/mixins/text-emphasis.less b/less/mixins/text-emphasis.less index 0868ef9f2c..9e8a77a698 100644 --- a/less/mixins/text-emphasis.less +++ b/less/mixins/text-emphasis.less @@ -2,7 +2,8 @@ .text-emphasis-variant(@color) { color: @color; - a&:hover { + a&:hover, + a&:focus { color: darken(@color, 10%); } }