]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Make .text-emphasis-variant adjust :focus color in addition to :hover color
authorSerhan Apaydın <zerhan@gmail.com>
Wed, 11 Mar 2015 12:24:16 +0000 (14:24 +0200)
committerChris Rebert <code@rebertia.com>
Thu, 26 Mar 2015 05:08:36 +0000 (22:08 -0700)
Closes #16047 by merging a tweaked version of it.

less/mixins/text-emphasis.less

index 0868ef9f2caaf05c2fdbe9f3f3da1616fe221080..9e8a77a6985f01eb51fb5eea7e809349c52cb804 100644 (file)
@@ -2,7 +2,8 @@
 
 .text-emphasis-variant(@color) {
   color: @color;
-  a&:hover {
+  a&:hover,
+  a&:focus {
     color: darken(@color, 10%);
   }
 }