Krinkle has uploaded a new change for review.
https://gerrit.wikimedia.org/r/174145
Change subject: diff: Fill background of transparent cells with white
......................................................................
diff: Fill background of transparent cells with white
In Vector the page background is white by default, so the
'addedline' and 'deletedline' cells being transparent usually looks
fine.
However, this module makes assumptions about the background by
using a light grey color for the 'context' cells, and by using
a certain tet and border color inside these cells. In different
skins or on wikis that change the page background color, these
would become less readable.
Change-Id: Ibb4d50cf3aeb7ac42e51959b6ba3c62ca71498a6
---
M resources/src/mediawiki.action/mediawiki.action.history.diff.css
1 file changed, 4 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/45/174145/1
diff --git a/resources/src/mediawiki.action/mediawiki.action.history.diff.css
b/resources/src/mediawiki.action/mediawiki.action.history.diff.css
index 092a597..911bb1f 100644
--- a/resources/src/mediawiki.action/mediawiki.action.history.diff.css
+++ b/resources/src/mediawiki.action/mediawiki.action.history.diff.css
@@ -1,6 +1,5 @@
-/*
-** Diff rendering
-*/
+/* Styles for diff rendering as output from TableDiffFormatter */
+
table.diff {
border: none;
border-spacing: 4px;
@@ -62,10 +61,12 @@
}
td.diff-addedline {
+ background: #fff;
border-color: #a3d3ff;
}
td.diff-deletedline {
+ background: #fff;
border-color: #ffe49c;
}
--
To view, visit https://gerrit.wikimedia.org/r/174145
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb4d50cf3aeb7ac42e51959b6ba3c62ca71498a6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Krinkle <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits