Defect #2071 » change_issue_color_mechanism_for_alternate_theme.diff
| app/views/issues/_list.rhtml (working copy) | ||
|---|---|---|
|
</tr></thead>
|
||
|
<tbody>
|
||
|
<% issues.each do |issue| -%>
|
||
|
<tr id="issue-<%= issue.id %>" class="issue hascontextmenu <%= cycle('odd', 'even') %> <%= "status-#{issue.status.position} priority-#{issue.priority.position}" %>">
|
||
|
<tr id="issue-<%= issue.id %>" class="issue hascontextmenu <%= cycle('odd', 'even') %> <%= "status-#{issue.status.position} priority-#{issue.priority.id}" %>">
|
||
|
<td class="checkbox"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td>
|
||
|
<td><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td>
|
||
|
<% query.columns.each do |column| %><%= content_tag 'td', column_content(column, issue), :class => column.name %><% end %>
|
||
| app/views/issues/_list_simple.rhtml (working copy) | ||
|---|---|---|
|
</tr></thead>
|
||
|
<tbody>
|
||
|
<% for issue in issues %>
|
||
|
<tr id="issue-<%= issue.id %>" class="issue hascontextmenu <%= cycle('odd', 'even') %> <%= "status-#{issue.status.position} priority-#{issue.priority.position}" %>">
|
||
|
<tr id="issue-<%= issue.id %>" class="issue hascontextmenu <%= cycle('odd', 'even') %> <%= "status-#{issue.status.position} priority-#{issue.priority.id}" %>">
|
||
|
<td class="id">
|
||
|
<%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;') %>
|
||
|
<%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %>
|
||
| public/themes/alternate/stylesheets/application.css (working copy) | ||
|---|---|---|
|
/* Issues grid styles by priorities (provided by Wynn Netherland) */
|
||
|
table.list tr.issue a { color: #666; }
|
||
|
tr.odd.priority-5, table.list tbody tr.odd.priority-5:hover { color: #900; font-weight: bold; }
|
||
|
tr.odd.priority-5 { background: #ffc4c4; }
|
||
|
tr.even.priority-5, table.list tbody tr.even.priority-5:hover { color: #900; font-weight: bold; }
|
||
|
tr.even.priority-5 { background: #ffd4d4; }
|
||
|
tr.priority-5 a, tr.priority-5:hover a { color: #900; }
|
||
|
tr.odd.priority-5 td, tr.even.priority-5 td { border-color: #ffb4b4; }
|
||
|
tr.odd.priority-7, table.list tbody tr.odd.priority-7:hover { color: #900; font-weight: bold; }
|
||
|
tr.odd.priority-7 { background: #ffc4c4; }
|
||
|
tr.even.priority-7, table.list tbody tr.even.priority-7:hover { color: #900; font-weight: bold; }
|
||
|
tr.even.priority-7 { background: #ffd4d4; }
|
||
|
tr.priority-7 a, tr.priority-7:hover a { color: #900; }
|
||
|
tr.odd.priority-7 td, tr.even.priority-7 td { border-color: #ffb4b4; }
|
||
|
tr.odd.priority-4, table.list tbody tr.odd.priority-4:hover { color: #900; }
|
||
|
tr.odd.priority-4 { background: #ffc4c4; }
|
||
|
tr.even.priority-4, table.list tbody tr.even.priority-4:hover { color: #900; }
|
||
|
tr.even.priority-4 { background: #ffd4d4; }
|
||
|
tr.priority-4 a { color: #900; }
|
||
|
tr.odd.priority-4 td, tr.even.priority-4 td { border-color: #ffb4b4; }
|
||
|
tr.odd.priority-6, table.list tbody tr.odd.priority-6:hover { color: #900; }
|
||
|
tr.odd.priority-6 { background: #ffc4c4; }
|
||
|
tr.even.priority-6, table.list tbody tr.even.priority-6:hover { color: #900; }
|
||
|
tr.even.priority-6 { background: #ffd4d4; }
|
||
|
tr.priority-6 a { color: #900; }
|
||
|
tr.odd.priority-6 td, tr.even.priority-6 td { border-color: #ffb4b4; }
|
||
|
tr.odd.priority-3, table.list tbody tr.odd.priority-3:hover { color: #900; }
|
||
|
tr.odd.priority-3 { background: #fee; }
|
||
|
tr.even.priority-3, table.list tbody tr.even.priority-3:hover { color: #900; }
|
||
|
tr.even.priority-3 { background: #fff2f2; }
|
||
|
tr.priority-3 a { color: #900; }
|
||
|
tr.odd.priority-3 td, tr.even.priority-3 td { border-color: #fcc; }
|
||
|
tr.odd.priority-5, table.list tbody tr.odd.priority-5:hover { color: #900; }
|
||
|
tr.odd.priority-5 { background: #fee; }
|
||
|
tr.even.priority-5, table.list tbody tr.even.priority-5:hover { color: #900; }
|
||
|
tr.even.priority-5 { background: #fff2f2; }
|
||
|
tr.priority-5 a { color: #900; }
|
||
|
tr.odd.priority-5 td, tr.even.priority-5 td { border-color: #fcc; }
|
||
|
tr.odd.priority-1, table.list tbody tr.odd.priority-1:hover { color: #559; }
|
||
|
tr.odd.priority-1 { background: #eaf7ff; }
|
||
|
tr.even.priority-1, table.list tbody tr.even.priority-1:hover { color: #559; }
|
||
|
tr.even.priority-1 { background: #f2faff; }
|
||
|
tr.priority-1 a { color: #559; }
|
||
|
tr.odd.priority-1 td, tr.even.priority-1 td { border-color: #add7f3; }
|
||
|
tr.odd.priority-3, table.list tbody tr.odd.priority-3:hover { color: #559; }
|
||
|
tr.odd.priority-3 { background: #eaf7ff; }
|
||
|
tr.even.priority-3, table.list tbody tr.even.priority-3:hover { color: #559; }
|
||
|
tr.even.priority-3 { background: #f2faff; }
|
||
|
tr.priority-3 a { color: #559; }
|
||
|
tr.odd.priority-3 td, tr.even.priority-3 td { border-color: #add7f3; }
|
||
|
/* Buttons */
|
||
|
input[type="button"], input[type="submit"], input[type="reset"] { background-color: #f2f2f2; color: #222222; border: 1px outset #cccccc; }
|
||