Remove text shadow from default mediawiki.ui buttons
authorRob Moen <rmoen@wikimedia.org>
Thu, 26 Jun 2014 21:24:44 +0000 (14:24 -0700)
committerRobmoen <rmoen@wikimedia.org>
Thu, 26 Jun 2014 21:27:46 +0000 (21:27 +0000)
Place text-shadow on buttons with dark backgrounds

Bug: 61940
Change-Id: Ic497807555dd118b86e868933559d7b47cfdf3a2

resources/src/mediawiki.ui/components/default/buttons.less
resources/src/mediawiki.ui/mixins/effects.less

index 78b0b33..dce4cd0 100644 (file)
@@ -49,7 +49,6 @@
        // Content styling
        text-align: center;
        font-weight: bold;
-       text-shadow: 0 1px rgba(0, 0, 0, .1);
 
        // Interaction styling
        cursor: pointer;
index 52dbb05..9759f63 100644 (file)
@@ -52,6 +52,7 @@
        border: 1px solid @bgColor;
        border-left: none;
        border-right: none;
+       text-shadow: 0 1px rgba(0, 0, 0, .1);
 
        &:disabled {
                background: @colorGrayLight;