Feature #13746 » target_highlight.patch
| public/stylesheets/scm.css (working copy) | ||
|---|---|---|
|
font-family:"Liberation Mono", Courier, monospace; font-size:12px;
|
||
|
}
|
||
|
table.filecontent tr:target th.line-num { background-color:#E0E0E0; color: #777; }
|
||
|
table.filecontent tr:target td.line-code { background-color:#DDEEFF; }
|
||
|
/* 12 different colors for the annonate view */
|
||
|
table.annotate tr.bloc-0 {background: #FFFFBF;}
|
||
|
table.annotate tr.bloc-1 {background: #EABFFF;}
|
||
| app/views/common/_file.html.erb (working copy) | ||
|---|---|---|
|
<tbody>
|
||
|
<% line_num = 1 %>
|
||
|
<% syntax_highlight_lines(filename, Redmine::CodesetUtil.to_utf8_by_setting(content)).each do |line| %>
|
||
|
<tr>
|
||
|
<th class="line-num" id="L<%= line_num %>">
|
||
|
<tr id="L<%= line_num %>">
|
||
|
<th class="line-num">
|
||
|
<a href="#L<%= line_num %>"><%= line_num %></a>
|
||
|
</th>
|
||
|
<td class="line-code">
|
||
- « Previous
- 1
- 2
- Next »