mediawiki.ui: Explicitly define input text color
authorjo12bar <johann.b@telus.net>
Mon, 26 Dec 2016 18:48:49 +0000 (10:48 -0800)
committerjo12bar <johann.b@telus.net>
Tue, 27 Dec 2016 02:51:31 +0000 (18:51 -0800)
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

resources/src/mediawiki.ui/components/inputs.less

index 8bddb3a..87ce7be 100644 (file)
@@ -23,6 +23,7 @@
 // Styleguide 1.1.
 .mw-ui-input {
        background-color: #fff;
+       color: @colorGray1;
        .box-sizing( border-box );
        display: block;
        width: 100%;