From: Rob Lanphier Date: Fri, 23 Dec 2011 00:22:01 +0000 (+0000) Subject: Applying patch from bug 33335 (from Erwin Dokter). Followup to r105280 X-Git-Tag: 1.31.0-rc.0~25795 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=61cbf1bf9a13068794431ded4c78ac59197536ee;p=lhc%2Fweb%2Fwiklou.git Applying patch from bug 33335 (from Erwin Dokter). Followup to r105280 and r106884. * td.diff-deletedline gets a softer yellow background * td.diff-addedline gets a lighter blue background, * td.diff-context gets slightly lighter grey background. * Instead of only the changed text being displayed with white-space:pre-wrap, the entire line in a cell is. * The font-size is changed from 'smaller' to 88% --- diff --git a/resources/mediawiki.action/mediawiki.action.history.diff.css b/resources/mediawiki.action/mediawiki.action.history.diff.css index 4a191174da..622e98e298 100644 --- a/resources/mediawiki.action/mediawiki.action.history.diff.css +++ b/resources/mediawiki.action/mediawiki.action.history.diff.css @@ -2,7 +2,6 @@ ** Diff rendering */ table.diff, -td.diff-context, td.diff-otitle, td.diff-ntitle { background-color: transparent; @@ -21,35 +20,37 @@ td.diff-lineno { font-weight: bold; } +td.diff-addedline, +td.diff-deletedline, +td.diff-context { + font-size: 88%; + white-space: -moz-pre-wrap; + white-space: pre-wrap; +} + td.diff-addedline { - background: #e0ecff; + background: #E0ECFF; } td.diff-deletedline { - background: #ffffaa; + background: #FCF8CC; } td.diff-context { - background: #EEE; + background: #F2F2F2; } .diffchange { font-weight: bold; - white-space: -moz-pre-wrap; - white-space: pre-wrap; text-decoration: none; } td.diff-addedline .diffchange { - background: #c4d3ff; - color: #222222; - font-weight: bold; + background: #B0C8FF; } td.diff-deletedline .diffchange { - background: #ffd89d; - color: #000000; - font-weight: bold; + background: #FFD084; } table.diff {