From f695f21d81bb76e069c0e0074c81f22958880d71 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Mon, 12 May 2014 18:19:53 -0700 Subject: [PATCH] Specify an explicit text colour on some components that change the background colour MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit These components separate themselves from the default colouring of the content area by specifying a dedicated – typically light grey – background colour. However they leave text colour unspecified and as a result if the skin should be white on black instead of black on white this results in these components becoming white on white or white on light grey and becoming unreadable. Fix this by explicitly specifying a text colour to use where the background colour is set. Bug: T66732 Change-Id: I12584de40a18929b610d46dceaea73f06fdc6541 --- .../src/mediawiki.action/mediawiki.action.history.styles.css | 1 + resources/src/mediawiki.skinning/interface.css | 1 + resources/src/mediawiki/mediawiki.notification.css | 1 + 3 files changed, 3 insertions(+) diff --git a/resources/src/mediawiki.action/mediawiki.action.history.styles.css b/resources/src/mediawiki.action/mediawiki.action.history.styles.css index cad530bf12..73ec1a777c 100644 --- a/resources/src/mediawiki.action/mediawiki.action.history.styles.css +++ b/resources/src/mediawiki.action/mediawiki.action.history.styles.css @@ -11,6 +11,7 @@ #pagehistory li.selected { background-color: #f8f9fa; + color: #252525; border: 1px dashed #a2a9b1; } diff --git a/resources/src/mediawiki.skinning/interface.css b/resources/src/mediawiki.skinning/interface.css index 3e0d2b9475..8cd25d86d6 100644 --- a/resources/src/mediawiki.skinning/interface.css +++ b/resources/src/mediawiki.skinning/interface.css @@ -22,6 +22,7 @@ textarea { .editOptions { background-color: #eaecf0; + color: #252525; border: 1px solid #c8ccd1; border-top: 0; padding: 1em 1em 1.5em 1em; diff --git a/resources/src/mediawiki/mediawiki.notification.css b/resources/src/mediawiki/mediawiki.notification.css index 633798d9c9..481980fc7b 100644 --- a/resources/src/mediawiki/mediawiki.notification.css +++ b/resources/src/mediawiki/mediawiki.notification.css @@ -15,6 +15,7 @@ margin-bottom: 0.5em; border: solid 1px #ddd; background-color: #fcfcfc; + color: #252525; /* Click handler in mediawiki.notification.js */ cursor: pointer; -- 2.20.1