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 | +} |
6 | 8 | td.diff-otitle, |
7 | 9 | td.diff-ntitle { |
8 | 10 | text-align: center; |
9 | 11 | } |
10 | | - |
11 | 12 | td.diff-marker { |
12 | 13 | text-align: right; |
13 | 14 | } |
14 | | - |
15 | 15 | td.diff-lineno { |
16 | 16 | font-weight: bold; |
17 | 17 | } |
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 | | - |
28 | 18 | td.diff-addedline { |
29 | | - background: #E0ECFF; |
| 19 | + background: #cfc; |
| 20 | + font-size: smaller; |
30 | 21 | } |
31 | | - |
32 | 22 | td.diff-deletedline { |
33 | | - background: #FCF8CC; |
| 23 | + background: #ffa; |
| 24 | + font-size: smaller; |
34 | 25 | } |
35 | | - |
36 | 26 | td.diff-context { |
37 | | - background: #F2F2F2; |
| 27 | + background: #eee; |
| 28 | + font-size: smaller; |
38 | 29 | } |
39 | | - |
40 | 30 | .diffchange { |
| 31 | + color: red; |
41 | 32 | font-weight: bold; |
| 33 | + white-space: -moz-pre-wrap; |
| 34 | + white-space: pre-wrap; |
42 | 35 | text-decoration: none; |
43 | 36 | } |
44 | 37 | |
45 | | -td.diff-addedline .diffchange { |
46 | | - background: #B0C8FF; |
47 | | -} |
48 | | - |
49 | | -td.diff-deletedline .diffchange { |
50 | | - background: #FFD084; |
51 | | -} |
52 | | - |
53 | 38 | table.diff { |
54 | 39 | border: none; |
55 | 40 | width: 98%; |
— | — | @@ -57,25 +42,20 @@ |
58 | 43 | /* Ensure that colums are of equal width */ |
59 | 44 | table-layout: fixed; |
60 | 45 | } |
61 | | - |
62 | 46 | table.diff td { |
63 | 47 | padding: 0; |
64 | 48 | } |
65 | | - |
66 | 49 | table.diff col.diff-marker { |
67 | 50 | width: 2%; |
68 | 51 | } |
69 | | - |
70 | 52 | table.diff col.diff-content { |
71 | 53 | width: 48%; |
72 | 54 | } |
73 | | - |
74 | 55 | table.diff td div { |
75 | 56 | /* Force-wrap very long lines such as URLs or page-widening char strings.*/ |
76 | 57 | word-wrap: break-word; |
77 | 58 | |
78 | 59 | /* 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 */ |
81 | 61 | overflow: auto; |
82 | 62 | } |
Property changes on: branches/wmf/1.19wmf1 |
___________________________________________________________________ |
Modified: svn:mergeinfo |
83 | 63 | Merged /trunk/phase3:r112750 |