Skip to content
Snippets Groups Projects
Commit 0484dfa1e972 authored by Anton Shestakov's avatar Anton Shestakov
Browse files

monoblue: make different blocks of annotated lines have different colors

parent 2b42fa1810c4
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@
<a href="#{lineid}"></a><span id="{lineid}">{strip(line|escape, '\r\n')}</span>'
annotateline = '
<tr id="{lineid}" class="parity{parity}{ifeq(node, originalnode, ' thisrev')}">
<td class="annotate linenr">
<td class="annotate linenr parity{blockparity}">
{if(blockhead,
'<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}">
{rev}
......
......@@ -210,6 +210,7 @@
background: #D5E1E6;
}
*/
table tr.parity0 {
table tr.parity0,
table td.annotate.parity0 {
background: #F1F6F7;
}
......@@ -214,6 +215,7 @@
background: #F1F6F7;
}
table tr.parity1 {
table tr.parity1,
table td.annotate.parity1 {
background: #FFFFFF;
}
table tr td {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment