Style visited links correctly
authorFlorianschmidtwelzow <florian.schmidt.welzow@t-online.de>
Fri, 28 Nov 2014 17:04:40 +0000 (18:04 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Fri, 28 Nov 2014 18:46:50 +0000 (18:46 +0000)
If a link is styled as a neutral button, the text color will change
if the link is already visited. Style the text like a real button (same
color for visited and not visited links)

Bug: T76240
Change-Id: I18d985c1ada10becee15888b7f31d56976c7a2eb

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

index 1f21b41..40a5c41 100644 (file)
@@ -63,7 +63,8 @@
        border: 1px solid @colorGray12;
 
        &:hover,
-       &:active {
+       &:active,
+       &:visited {
                // make sure that is isn't inheriting from a general rule
                color: @colorButtonText;
        }