From: jo12bar Date: Mon, 26 Dec 2016 18:48:49 +0000 (-0800) Subject: mediawiki.ui: Explicitly define input text color X-Git-Tag: 1.31.0-rc.0~4459^2 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=bae4bdcc3176b9f28646cfc63b45e294f43c53d9;p=lhc%2Fweb%2Fwiklou.git mediawiki.ui: Explicitly define input text color This fixes an issue where certain system themes (i.e. custom Gnome themes) would set a default & often unreadable text color for any .mw-ui-input's. The text color is now explicity set to `@colorGray1`, fixing this issue. Bug: T148457 Change-Id: I5b31fab317948d231bce5c242af65d6cc7d3f4aa --- diff --git a/resources/src/mediawiki.ui/components/inputs.less b/resources/src/mediawiki.ui/components/inputs.less index 8bddb3a169..87ce7bebe1 100644 --- a/resources/src/mediawiki.ui/components/inputs.less +++ b/resources/src/mediawiki.ui/components/inputs.less @@ -23,6 +23,7 @@ // Styleguide 1.1. .mw-ui-input { background-color: #fff; + color: @colorGray1; .box-sizing( border-box ); display: block; width: 100%;