##// END OF EJS Templates
Added an alternate theme which provides issue list colorization based on issues priority....
Jean-Philippe Lang -
r899:bb2de53d93ad
parent child
Show More
@@ -0,0 +1,68
1 @import url(../../../stylesheets/application.css);
2
3 body { background-color:#EEEEEE; }
4 #header, #top-menu { margin: 0px 10px 0px 11px; }
5 #main { background: #EEEEEE; margin: 8px 10px 0px 10px; }
6 #content { background: #fff; border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; border-left: 1px solid #d7d7d7; border-top: 1px solid #d7d7d7; }
7 #footer { background-color:#EEEEEE; border: 0px; }
8
9 /* Headers */
10 h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;}
11
12 /* Menu */
13 #main-menu li a { background-color: #507AAA; font-weight: bold;}
14 #main-menu li a:hover { background: #507AAA; text-decoration: underline; }
15
16 /* Tables */
17 table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; }
18 table.list thead th {
19 border-width: 1px;
20 border-style: solid;
21 border-top-color: #d7d7d7;
22 border-right-color: #d7d7d7;
23 border-left-color: #d7d7d7;
24 border-bottom-color: #999999;
25 }
26
27 /* Issues grid styles by priorities (provided by Wynn Netherland) */
28 table.list tr.issue a { color: #666; }
29
30 tr.odd.priority-5, table.list tbody tr.odd.priority-5:hover { color: #900; font-weight: bold; }
31 tr.odd.priority-5 { background: #ffc4c4; }
32 tr.even.priority-5, table.list tbody tr.even.priority-5:hover { color: #900; font-weight: bold; }
33 tr.even.priority-5 { background: #ffd4d4; }
34 tr.priority-5 a, tr.priority-5:hover a { color: #900; }
35 tr.odd.priority-5 td, tr.even.priority-5 td { border-color: #ffb4b4; }
36
37 tr.odd.priority-4, table.list tbody tr.odd.priority-4:hover { color: #900; }
38 tr.odd.priority-4 { background: #ffc4c4; }
39 tr.even.priority-4, table.list tbody tr.even.priority-4:hover { color: #900; }
40 tr.even.priority-4 { background: #ffd4d4; }
41 tr.priority-4 a { color: #900; }
42 tr.odd.priority-4 td, tr.even.priority-4 td { border-color: #ffb4b4; }
43
44 tr.odd.priority-3, table.list tbody tr.odd.priority-3:hover { color: #900; }
45 tr.odd.priority-3 { background: #fee; }
46 tr.even.priority-3, table.list tbody tr.even.priority-3:hover { color: #900; }
47 tr.even.priority-3 { background: #fff2f2; }
48 tr.priority-3 a { color: #900; }
49 tr.odd.priority-3 td, tr.even.priority-3 td { border-color: #fcc; }
50
51 tr.odd.priority-1, table.list tbody tr.odd.priority-1:hover { color: #559; }
52 tr.odd.priority-1 { background: #eaf7ff; }
53 tr.even.priority-1, table.list tbody tr.even.priority-1:hover { color: #559; }
54 tr.even.priority-1 { background: #f2faff; }
55 tr.priority-1 a { color: #559; }
56 tr.odd.priority-1 td, tr.even.priority-1 td { border-color: #add7f3; }
57
58 /* Buttons */
59 input[type="button"], input[type="submit"], input[type="reset"] { background-color: #f2f2f2; color: #222222; border: 1px outset #cccccc; }
60 input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover { background-color: #ccccbb; }
61
62 /* Fields */
63 input[type="text"], textarea, select { padding: 2px; border: 1px solid #d7d7d7; }
64 input[type="text"] { padding: 3px; }
65 input[type="text"]:focus, textarea:focus, select:focus { border: 1px solid #888866; }
66
67 /* Misc */
68 .box { background-color: #fcfcfc; }
@@ -10,7 +10,7
10
10
11 <h2><%= @issue.tracker.name %> #<%= @issue.id %></h2>
11 <h2><%= @issue.tracker.name %> #<%= @issue.id %></h2>
12
12
13 <div class="issue">
13 <div class="issue <%= "status-#{@issue.status.position} priority-#{@issue.priority.position}" %>">
14 <h3><%=h @issue.subject %></h3>
14 <h3><%=h @issue.subject %></h3>
15 <p class="author">
15 <p class="author">
16 <%= authoring @issue.created_on, @issue.author %>.
16 <%= authoring @issue.created_on, @issue.author %>.
General Comments 0
You need to be logged in to leave comments. Login now