mediawiki.ui: button: Add specific hover and active rule for color
authorPrateek Saxena <prtksxna@gmail.com>
Wed, 19 Nov 2014 09:15:15 +0000 (14:45 +0530)
committerPrateek Saxena <prtksxna@gmail.com>
Wed, 19 Nov 2014 09:15:15 +0000 (14:45 +0530)
Overrides general a:active and a:hover rules.

Bug: 73587
Change-Id: I36fa7d66d21f0133ea5525962a8b8e8ffab90494

resources/src/mediawiki.less/mediawiki.ui/mixins.less

index 5d0fefb..1f21b41 100644 (file)
        color: @colorButtonText;
        border: 1px solid @colorGray12;
 
+       &:hover,
+       &:active {
+               // make sure that is isn't inheriting from a general rule
+               color: @colorButtonText;
+       }
+
        &:disabled {
                color: @colorDisabledText;