r112763 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112762‎ | r112763 | r112764 >
Date:02:01, 1 March 2012
Author:reedy
Status:ok
Tags:
Comment:
Modified paths:
  • /branches/wmf/1.19wmf1 (modified) (history)
  • /branches/wmf/1.19wmf1/resources/mediawiki.action/mediawiki.action.history.diff.css (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/resources/mediawiki.action/mediawiki.action.history.diff.css
@@ -1,54 +1,39 @@
2 -/**
3 - * Diff rendering
4 - */
5 -
 2+/*
 3+** Diff rendering
 4+*/
 5+table.diff, td.diff-otitle, td.diff-ntitle {
 6+ background-color: white;
 7+}
68 td.diff-otitle,
79 td.diff-ntitle {
810 text-align: center;
911 }
10 -
1112 td.diff-marker {
1213 text-align: right;
1314 }
14 -
1515 td.diff-lineno {
1616 font-weight: bold;
1717 }
18 -
19 -td.diff-addedline,
20 -td.diff-deletedline,
21 -td.diff-context {
22 - font-size: 88%;
23 - vertical-align: top;
24 - white-space: -moz-pre-wrap;
25 - white-space: pre-wrap;
26 -}
27 -
2818 td.diff-addedline {
29 - background: #E0ECFF;
 19+ background: #cfc;
 20+ font-size: smaller;
3021 }
31 -
3222 td.diff-deletedline {
33 - background: #FCF8CC;
 23+ background: #ffa;
 24+ font-size: smaller;
3425 }
35 -
3626 td.diff-context {
37 - background: #F2F2F2;
 27+ background: #eee;
 28+ font-size: smaller;
3829 }
39 -
4030 .diffchange {
 31+ color: red;
4132 font-weight: bold;
 33+ white-space: -moz-pre-wrap;
 34+ white-space: pre-wrap;
4235 text-decoration: none;
4336 }
4437
45 -td.diff-addedline .diffchange {
46 - background: #B0C8FF;
47 -}
48 -
49 -td.diff-deletedline .diffchange {
50 - background: #FFD084;
51 -}
52 -
5338 table.diff {
5439 border: none;
5540 width: 98%;
@@ -57,25 +42,20 @@
5843 /* Ensure that colums are of equal width */
5944 table-layout: fixed;
6045 }
61 -
6246 table.diff td {
6347 padding: 0;
6448 }
65 -
6649 table.diff col.diff-marker {
6750 width: 2%;
6851 }
69 -
7052 table.diff col.diff-content {
7153 width: 48%;
7254 }
73 -
7455 table.diff td div {
7556 /* Force-wrap very long lines such as URLs or page-widening char strings.*/
7657 word-wrap: break-word;
7758
7859 /* As fallback (FF<3.5, Opera <10.5), scrollbars will be added for very wide cells
79 - * instead of text overflowing or widening
80 - */
 60+ instead of text overflowing or widening */
8161 overflow: auto;
8262 }
Property changes on: branches/wmf/1.19wmf1
___________________________________________________________________
Modified: svn:mergeinfo
8363 Merged /trunk/phase3:r112750

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112750[mediawiki.action.history.diff.css] Revert 1.19 style changes back to how it ...krinkle01:07, 1 March 2012

Status & tagging log