Index: trunk/extensions/CodeReview/codereview.css |
— | — | @@ -42,44 +42,56 @@ |
43 | 43 | padding-left: 48px; |
44 | 44 | } |
45 | 45 | |
| 46 | +.mw-codereview-status-new, |
46 | 47 | .mw-codereview-status-new td { |
47 | 48 | background: #ffffc0 !important; |
48 | 49 | } |
| 50 | + |
| 51 | +.mw-codereview-status-new:hover, |
49 | 52 | .mw-codereview-status-new:hover td { |
50 | 53 | background: #dfdfa0 !important; |
51 | 54 | } |
52 | 55 | |
| 56 | +.mw-codereview-status-fixme, |
53 | 57 | .mw-codereview-status-fixme td { |
54 | 58 | background: #ff9999 !important; |
55 | 59 | } |
| 60 | +.mw-codereview-status-fixme:hover, |
56 | 61 | .mw-codereview-status-fixme:hover td { |
57 | 62 | background: #df0000 !important; |
58 | 63 | color: white; |
59 | 64 | } |
| 65 | +.mw-codereview-status-fixme:hover a, |
60 | 66 | .mw-codereview-status-fixme:hover td a { |
61 | 67 | color: #ff0 !important; |
62 | 68 | } |
63 | 69 | |
| 70 | +.mw-codereview-status-resolved, |
64 | 71 | .mw-codereview-status-resolved td { |
65 | 72 | background: #c0ffc0 !important; |
66 | 73 | } |
| 74 | +.mw-codereview-status-resolved:hover, |
67 | 75 | .mw-codereview-status-resolved:hover td { |
68 | 76 | background: #a0dfa0 !important; |
69 | 77 | } |
70 | 78 | |
| 79 | +.mw-codereview-status-reverted, |
71 | 80 | .mw-codereview-status-reverted td { |
72 | 81 | background: #ddd !important; |
73 | 82 | color: #666 !important; |
74 | 83 | text-decoration: line-through !important; |
75 | 84 | } |
| 85 | +.mw-codereview-status-reverted:hover, |
76 | 86 | .mw-codereview-status-reverted:hover td { |
77 | 87 | background: #aaa !important; |
78 | 88 | text-decoration: line-through !important; |
79 | 89 | } |
| 90 | +.mw-codereview-status-deferred, |
80 | 91 | .mw-codereview-status-deferred td { |
81 | 92 | color: #666; |
82 | 93 | } |
83 | 94 | |
| 95 | +.mw-codereview-status-old, |
84 | 96 | .mw-codereview-status-old td { |
85 | 97 | color: #666; |
86 | 98 | } |
Index: trunk/extensions/CodeReview/ui/CodeStatusListView.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | SpecialPage::getTitleFor( 'Code', $name . "/status/$state" ), |
21 | 21 | wfMsg( "code-status-".$state ) |
22 | 22 | ); |
23 | | - $table_rows .= "<tr><td>$link</td>" |
| 23 | + $table_rows .= "<tr><td class=\"mw-codereview-status-$state\">$link</td>" |
24 | 24 | . "<td>" . wfMsg( "code-status-desc-" . $state ) . "</td></tr>\n" ; |
25 | 25 | } |
26 | 26 | $wgOut->addHTML( '<table class="TablePager">' |
Index: trunk/extensions/CodeReview/ui/CodeRepoStatsView.php |
— | — | @@ -35,8 +35,8 @@ |
36 | 36 | SpecialPage::getTitleFor( 'Code', $repoName . '/status/' . $state ), |
37 | 37 | htmlspecialchars( $this->statusDesc( $state ) ) |
38 | 38 | ); |
39 | | - $wgOut->addHTML( "<tr class=\"mw-codereview-status-$state\"><td>$link</td>" |
40 | | - . "<td>$count</td></tr>" ); |
| 39 | + $wgOut->addHTML( "<tr><td>$link</td>" |
| 40 | + . "<td class=\"mw-codereview-status-$state\">$count</td></tr>" ); |
41 | 41 | } |
42 | 42 | $wgOut->addHTML( '</table>' ); |
43 | 43 | } |
— | — | @@ -58,4 +58,4 @@ |
59 | 59 | $wgOut->addHTML( '</table>' ); |
60 | 60 | } |
61 | 61 | } |
62 | | -} |
\ No newline at end of file |
| 62 | +} |