mediawiki.ui: Remove remainder `text-shadow`
authorVolker E <volker.e@wikimedia.org>
Wed, 18 Oct 2017 20:45:11 +0000 (13:45 -0700)
committerVolker E <volker.e@wikimedia.org>
Wed, 18 Oct 2017 20:45:11 +0000 (13:45 -0700)
The `text-shadow` property on primary buttons was probably introduced
for a fake 3D effect and also because the colors were lighter in
order to set the white text apart. None of this is true with our
WikimediaUI color palette any more so let's remove this remainder.

Change-Id: I25e5ce7e6fafc19d8b925b6918c98dd61b423d64

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

index a0ff767..505aa61 100644 (file)
@@ -87,7 +87,6 @@
        // border of the same color as background so that light background and
        // dark background buttons are the same height and width
        border: 1px solid @bgColor;
-       text-shadow: 0 1px rgba( 0, 0, 0, 0.1 );
 
        &:hover {
                background-color: @highlightColor;