##// END OF EJS Templates
monoblue: visually highlight source lines when hovering over line numbers...
av6 -
r26668:ceb44643 default
parent child Browse files
Show More
@@ -89,7 +89,7 b' filediff = filediff.tmpl'
89 89 filecomparison = filecomparison.tmpl
90 90 filelog = filelog.tmpl
91 91 fileline = '
92 <span id="{lineid}">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
92 <a href="#{lineid}"></a><span id="{lineid}">{strip(line|escape, '\r\n')}</span>'
93 93 annotateline = '
94 94 <tr id="{lineid}" class="parity{parity}">
95 95 <td class="linenr">
@@ -102,13 +102,13 b" annotateline = '"
102 102 <td class="source">{line|escape}</td>
103 103 </tr>'
104 104 difflineplus = '
105 <span id="{lineid}" class="difflineplus">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
105 <a href="#{lineid}"></a><span id="{lineid}" class="difflineplus">{strip(line|escape, '\r\n')}</span>'
106 106 difflineminus = '
107 <span id="{lineid}" class="difflineminus">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
107 <a href="#{lineid}"></a><span id="{lineid}" class="difflineminus">{strip(line|escape, '\r\n')}</span>'
108 108 difflineat = '
109 <span id="{lineid}" class="difflineat">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
109 <a href="#{lineid}"></a><span id="{lineid}" class="difflineat">{strip(line|escape, '\r\n')}</span>'
110 110 diffline = '
111 <span id="{lineid}">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
111 <a href="#{lineid}"></a><span id="{lineid}">{strip(line|escape, '\r\n')}</span>'
112 112
113 113 comparisonblock ='
114 114 <tbody class="block">
@@ -300,11 +300,13 b' pre.sourcelines > a {'
300 300 height: 1em;
301 301 padding: 0.15em;
302 302 }
303 pre.sourcelines.stripes > :nth-child(4n+1) { background-color: #F1F6F7; }
304 pre.sourcelines.stripes > :nth-child(4n+3) { background-color: #FFFFFF; }
305 pre.sourcelines.stripes > :nth-child(4n+1):hover,
306 pre.sourcelines.stripes > :nth-child(4n+3):hover { background-color: #D5E1E6; }
307 tr:target td,
303 pre.sourcelines.stripes > :nth-child(4n+2) { background-color: #F1F6F7; }
304 pre.sourcelines.stripes > :nth-child(4n+4) { background-color: #FFFFFF; }
305 pre.sourcelines.stripes > :nth-child(4n+2):hover,
306 pre.sourcelines.stripes > :nth-child(4n+4):hover,
307 pre.sourcelines.stripes > :nth-child(4n+1):hover + :nth-child(4n+2),
308 pre.sourcelines.stripes > :nth-child(4n+3):hover + :nth-child(4n+4) { background-color: #D5E1E6; }
309
308 310 pre.sourcelines > span:target,
309 311 pre.sourcelines.stripes > span:target {
310 312 background-color: #bfdfff;
General Comments 0
You need to be logged in to leave comments. Login now