From: Max Semenik Date: Sat, 13 Aug 2011 20:57:24 +0000 (+0000) Subject: (bug 11374) Red .diffchange text in the green 'added' area may be hard to read for... X-Git-Tag: 1.31.0-rc.0~28285 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=fec0c1a6c25fef821f984c1deb14de5a7f4bf212;p=lhc%2Fweb%2Fwiklou.git (bug 11374) Red .diffchange text in the green 'added' area may be hard to read for colorblind users This should REALLY REALLY be fixed with colors from French Wikipedia, but since some people think that we should preserve yellow/green colors, I've simply made change text black instead of red, and made its background different for better reading by people with other problems with vision. --- diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index 3e3de41d25..158f2a36a4 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -46,6 +46,7 @@ production. instead require() for included extensions. * Do not convert text in the user interface language to another script. * (bug 26283) Previewing user JS/CSS pages doesn't load other user JS/CSS pages +* (bug 11374) Improved diff readability for colorblind people. === API changes in 1.19 === * (bug 19838) siprop=interwikimap can now use the interwiki cache. diff --git a/resources/mediawiki.action/mediawiki.action.history.diff.css b/resources/mediawiki.action/mediawiki.action.history.diff.css index 3907a5f45c..23ba847dd3 100644 --- a/resources/mediawiki.action/mediawiki.action.history.diff.css +++ b/resources/mediawiki.action/mediawiki.action.history.diff.css @@ -27,13 +27,20 @@ td.diff-context { font-size: smaller; } .diffchange { - color: red; font-weight: bold; white-space: -moz-pre-wrap; white-space: pre-wrap; text-decoration: none; } +td.diff-addedline .diffchange { + background: #0c0; +} + +td.diff-deletedline .diffchange { + background: #cc0; +} + table.diff { border: none; width: 98%;