* remove top and bottom borders from all the line numbers
* remove top and bottom borders from groups of violations
* remove the margin before source code. It can be mixed up with real whitespaces or tabulations in source code
<% end
end
%>
- <td class="lid <%= ' section' if line.violations? -%>" id="L<%= index+1 -%>"><a name="L<%= index+1 -%>" href="#L<%= index+1 -%>"><%= index + 1 -%></a></td>
+ <td class="lid" id="L<%= index+1 -%>"><a name="L<%= index+1 -%>" href="#L<%= index+1 -%>"><%= index + 1 -%></a></td>
<% if @display_coverage %>
<% if line.highlighted? %>
<% if @scm_available %>
<td class="scm"></td>
<% end %>
- <td class="lid section"></td>
+ <td class="lid"></td>
<td class="violations">
<% line.violations.each_with_index do |violation, index| %>
<%= render :partial => 'violation', :locals => {:violation => violation} -%>
-o-user-select: none;
user-select: none;
}
-
.sources2 td.lid a {
text-decoration: none;
color: #AAA;
.sources2 td.line pre {
font-size: 12px;
font-family: monospace;
- margin-left: 1em;
+}
+.sources2 td.line:hover {
+ background-color: #ECECEC;
}
.sources2 td.ind {
border-right: 1px solid #DDD;
.sources2 td.violations {
background-color: #FFF;
padding: 10px;
- border-bottom: 1px solid #DDD;
border-right: 1px solid #DDD;
- border-top: 1px solid #DDD;
}
#source_title {