https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112836
Revision: 112836
Author: tparscal
Date: 2012-03-01 21:27:52 +0000 (Thu, 01 Mar 2012)
Log Message:
-----------
Resolves bug #11374 and improves on r94429, r94461, r101147, r105280, r106884,
r107127, r108975 and r109932 which were reverted by r112750.
Modified Paths:
--------------
trunk/phase3/resources/mediawiki.action/mediawiki.action.history.diff.css
Modified:
trunk/phase3/resources/mediawiki.action/mediawiki.action.history.diff.css
===================================================================
--- trunk/phase3/resources/mediawiki.action/mediawiki.action.history.diff.css
2012-03-01 21:13:10 UTC (rev 112835)
+++ trunk/phase3/resources/mediawiki.action/mediawiki.action.history.diff.css
2012-03-01 21:27:52 UTC (rev 112836)
@@ -4,33 +4,48 @@
table.diff, td.diff-otitle, td.diff-ntitle {
background-color: white;
}
+
td.diff-otitle,
td.diff-ntitle {
text-align: center;
}
+
td.diff-marker {
text-align: right;
+ font-weight: bold;
+ font-size: 1.25em;
}
+
td.diff-lineno {
font-weight: bold;
}
+
+td.diff-addedline,
+td.diff-deletedline,
+td.diff-context {
+ font-size: 88%;
+ vertical-align: top;
+ white-space: -moz-pre-wrap;
+ white-space: pre-wrap;
+}
+
td.diff-addedline {
- background: #cfc;
- font-size: smaller;
+ border: solid 4px #a3d3ff;
+ border-radius: 0.33em;
}
+
td.diff-deletedline {
- background: #ffa;
- font-size: smaller;
+ border: solid 4px #ffe49c;
+ border-radius: 0.33em;
}
+
td.diff-context {
- background: #eee;
- font-size: smaller;
+ background: #F2F2F2;
+ color: #333333;
}
+
.diffchange {
- color: red;
font-weight: bold;
- white-space: -moz-pre-wrap;
- white-space: pre-wrap;
text-decoration: none;
}
@@ -42,20 +57,39 @@
/* Ensure that colums are of equal width */
table-layout: fixed;
}
+
+td.diff-addedline .diffchange {
+ background: #eaf5ff;
+ padding: 0.125em 0.25em;
+ border: solid 1px #5698d6;
+ border-radius: 0.33em;
+}
+
+td.diff-deletedline .diffchange {
+ background: #feeec8;
+ padding: 0.125em 0.25em;
+ border: solid 1px #e0b141;
+ border-radius: 0.33em;
+}
+
table.diff td {
- padding: 0;
+ padding: 0.33em 0.66em;
}
+
table.diff col.diff-marker {
width: 2%;
}
+
table.diff col.diff-content {
width: 48%;
}
+
table.diff td div {
/* Force-wrap very long lines such as URLs or page-widening char
strings.*/
word-wrap: break-word;
/* As fallback (FF<3.5, Opera <10.5), scrollbars will be added for very
wide cells
- instead of text overflowing or widening */
+ instead of text overflowing or widening
+ */
overflow: auto;
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs