##// END OF EJS Templates
gitweb: visually highlight source lines when hovering over line numbers...
av6 -
r26670:ab2cd800 default
parent child Browse files
Show More
@@ -93,7 +93,7 b' filediff = filediff.tmpl'
93 filecomparison = filecomparison.tmpl
93 filecomparison = filecomparison.tmpl
94 filelog = filelog.tmpl
94 filelog = filelog.tmpl
95 fileline = '
95 fileline = '
96 <span id="{lineid}">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
96 <a href="#{lineid}"></a><span id="{lineid}">{strip(line|escape, '\r\n')}</span>'
97 annotateline = '
97 annotateline = '
98 <tr id="{lineid}" style="font-family:monospace" class="parity{parity}">
98 <tr id="{lineid}" style="font-family:monospace" class="parity{parity}">
99 <td class="linenr" style="text-align: right;">
99 <td class="linenr" style="text-align: right;">
@@ -104,13 +104,13 b" annotateline = '"
104 <td><pre>{line|escape}</pre></td>
104 <td><pre>{line|escape}</pre></td>
105 </tr>'
105 </tr>'
106 difflineplus = '
106 difflineplus = '
107 <span id="{lineid}" class="difflineplus">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
107 <a href="#{lineid}"></a><span id="{lineid}" class="difflineplus">{strip(line|escape, '\r\n')}</span>'
108 difflineminus = '
108 difflineminus = '
109 <span id="{lineid}" class="difflineminus">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
109 <a href="#{lineid}"></a><span id="{lineid}" class="difflineminus">{strip(line|escape, '\r\n')}</span>'
110 difflineat = '
110 difflineat = '
111 <span id="{lineid}" class="difflineat">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
111 <a href="#{lineid}"></a><span id="{lineid}" class="difflineat">{strip(line|escape, '\r\n')}</span>'
112 diffline = '
112 diffline = '
113 <span id="{lineid}">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
113 <a href="#{lineid}"></a><span id="{lineid}">{strip(line|escape, '\r\n')}</span>'
114
114
115 comparisonblock ='
115 comparisonblock ='
116 <tbody class="block">
116 <tbody class="block">
@@ -29,9 +29,12 b' a.list { text-decoration:none; color:#00'
29 a.list:hover { text-decoration:underline; color:#880000; }
29 a.list:hover { text-decoration:underline; color:#880000; }
30 table { padding:8px 4px; }
30 table { padding:8px 4px; }
31 th { padding:2px 5px; font-size:12px; text-align:left; }
31 th { padding:2px 5px; font-size:12px; text-align:left; }
32 tr.light:hover, .parity0:hover, pre.sourcelines.stripes > :nth-child(4n+1):hover { background-color:#edece6; }
32 tr.dark, .parity1, pre.sourcelines.stripes > :nth-child(4n+4) { background-color:#f6f6f0; }
33 tr.dark, .parity1, pre.sourcelines.stripes > :nth-child(4n+3) { background-color:#f6f6f0; }
33 tr.light:hover, .parity0:hover, tr.dark:hover, .parity1:hover,
34 tr.dark:hover, .parity1:hover, pre.sourcelines.stripes > :nth-child(4n+3):hover { background-color:#edece6; }
34 pre.sourcelines.stripes > :nth-child(4n+2):hover,
35 pre.sourcelines.stripes > :nth-child(4n+4):hover,
36 pre.sourcelines.stripes > :nth-child(4n+1):hover + :nth-child(4n+2),
37 pre.sourcelines.stripes > :nth-child(4n+3):hover + :nth-child(4n+4) { background-color:#edece6; }
35 td { padding:2px 5px; font-size:12px; vertical-align:top; }
38 td { padding:2px 5px; font-size:12px; vertical-align:top; }
36 td.closed { background-color: #99f; }
39 td.closed { background-color: #99f; }
37 td.link { padding:2px 5px; font-family:sans-serif; font-size:10px; }
40 td.link { padding:2px 5px; font-family:sans-serif; font-size:10px; }
@@ -340,7 +340,7 b' static file'
340
340
341 $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server
341 $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server
342 200 Script output follows
342 200 Script output follows
343 content-length: 6412
343 content-length: 6521
344 content-type: text/css
344 content-type: text/css
345
345
346 body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; background: white; color: black; }
346 body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; background: white; color: black; }
@@ -374,9 +374,12 b' static file'
374 a.list:hover { text-decoration:underline; color:#880000; }
374 a.list:hover { text-decoration:underline; color:#880000; }
375 table { padding:8px 4px; }
375 table { padding:8px 4px; }
376 th { padding:2px 5px; font-size:12px; text-align:left; }
376 th { padding:2px 5px; font-size:12px; text-align:left; }
377 tr.light:hover, .parity0:hover, pre.sourcelines.stripes > :nth-child(4n+1):hover { background-color:#edece6; }
377 tr.dark, .parity1, pre.sourcelines.stripes > :nth-child(4n+4) { background-color:#f6f6f0; }
378 tr.dark, .parity1, pre.sourcelines.stripes > :nth-child(4n+3) { background-color:#f6f6f0; }
378 tr.light:hover, .parity0:hover, tr.dark:hover, .parity1:hover,
379 tr.dark:hover, .parity1:hover, pre.sourcelines.stripes > :nth-child(4n+3):hover { background-color:#edece6; }
379 pre.sourcelines.stripes > :nth-child(4n+2):hover,
380 pre.sourcelines.stripes > :nth-child(4n+4):hover,
381 pre.sourcelines.stripes > :nth-child(4n+1):hover + :nth-child(4n+2),
382 pre.sourcelines.stripes > :nth-child(4n+3):hover + :nth-child(4n+4) { background-color:#edece6; }
380 td { padding:2px 5px; font-size:12px; vertical-align:top; }
383 td { padding:2px 5px; font-size:12px; vertical-align:top; }
381 td.closed { background-color: #99f; }
384 td.closed { background-color: #99f; }
382 td.link { padding:2px 5px; font-family:sans-serif; font-size:10px; }
385 td.link { padding:2px 5px; font-family:sans-serif; font-size:10px; }
General Comments 0
You need to be logged in to leave comments. Login now