From c070cf9fc4c5b05dc0851901153e3593ddb82780 Mon Sep 17 00:00:00 2001 From: Rob Moen Date: Thu, 26 Jun 2014 14:24:44 -0700 Subject: [PATCH] Remove text shadow from default mediawiki.ui buttons Place text-shadow on buttons with dark backgrounds Bug: 61940 Change-Id: Ic497807555dd118b86e868933559d7b47cfdf3a2 --- resources/src/mediawiki.ui/components/default/buttons.less | 1 - resources/src/mediawiki.ui/mixins/effects.less | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/src/mediawiki.ui/components/default/buttons.less b/resources/src/mediawiki.ui/components/default/buttons.less index 78b0b33864..dce4cd04d2 100644 --- a/resources/src/mediawiki.ui/components/default/buttons.less +++ b/resources/src/mediawiki.ui/components/default/buttons.less @@ -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; diff --git a/resources/src/mediawiki.ui/mixins/effects.less b/resources/src/mediawiki.ui/mixins/effects.less index 52dbb05eb1..9759f63469 100644 --- a/resources/src/mediawiki.ui/mixins/effects.less +++ b/resources/src/mediawiki.ui/mixins/effects.less @@ -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; -- 2.20.1