##// END OF EJS Templates
gitweb: make different blocks of annotated lines have different colors
av6 -
r29573:2b42fa18 default
parent child Browse files
Show More
@@ -96,7 +96,7 b" fileline = '"
96 96 <a href="#{lineid}"></a><span id="{lineid}">{strip(line|escape, '\r\n')}</span>'
97 97 annotateline = '
98 98 <tr id="{lineid}" style="font-family:monospace" class="parity{parity}{ifeq(node, originalnode, ' thisrev')}">
99 <td class="annotate linenr" style="text-align: right;">
99 <td class="annotate linenr parity{blockparity}" style="text-align: right;">
100 100 {if(blockhead,
101 101 '<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}">
102 102 {rev}
@@ -29,6 +29,7 b' a.list { text-decoration:none; color:#00'
29 29 a.list:hover { text-decoration:underline; color:#880000; }
30 30 table { padding:8px 4px; }
31 31 th { padding:2px 5px; font-size:12px; text-align:left; }
32 .parity0 { background-color:#ffffff; }
32 33 tr.dark, .parity1, pre.sourcelines.stripes > :nth-child(4n+4) { background-color:#f6f6f0; }
33 34 tr.light:hover, .parity0:hover, tr.dark:hover, .parity1:hover,
34 35 pre.sourcelines.stripes > :nth-child(4n+2):hover,
@@ -340,7 +340,7 b' static file'
340 340
341 341 $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server
342 342 200 Script output follows
343 content-length: 6908
343 content-length: 6947
344 344 content-type: text/css
345 345
346 346 body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; background: white; color: black; }
@@ -374,6 +374,7 b' static file'
374 374 a.list:hover { text-decoration:underline; color:#880000; }
375 375 table { padding:8px 4px; }
376 376 th { padding:2px 5px; font-size:12px; text-align:left; }
377 .parity0 { background-color:#ffffff; }
377 378 tr.dark, .parity1, pre.sourcelines.stripes > :nth-child(4n+4) { background-color:#f6f6f0; }
378 379 tr.light:hover, .parity0:hover, tr.dark:hover, .parity1:hover,
379 380 pre.sourcelines.stripes > :nth-child(4n+2):hover,
General Comments 0
You need to be logged in to leave comments. Login now