##// 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 filecomparison = filecomparison.tmpl
89 filecomparison = filecomparison.tmpl
90 filelog = filelog.tmpl
90 filelog = filelog.tmpl
91 fileline = '
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 annotateline = '
93 annotateline = '
94 <tr id="{lineid}" class="parity{parity}">
94 <tr id="{lineid}" class="parity{parity}">
95 <td class="linenr">
95 <td class="linenr">
@@ -102,13 +102,13 b" annotateline = '"
102 <td class="source">{line|escape}</td>
102 <td class="source">{line|escape}</td>
103 </tr>'
103 </tr>'
104 difflineplus = '
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 difflineminus = '
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 difflineat = '
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 diffline = '
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 comparisonblock ='
113 comparisonblock ='
114 <tbody class="block">
114 <tbody class="block">
@@ -300,11 +300,13 b' pre.sourcelines > a {'
300 height: 1em;
300 height: 1em;
301 padding: 0.15em;
301 padding: 0.15em;
302 }
302 }
303 pre.sourcelines.stripes > :nth-child(4n+1) { background-color: #F1F6F7; }
303 pre.sourcelines.stripes > :nth-child(4n+2) { background-color: #F1F6F7; }
304 pre.sourcelines.stripes > :nth-child(4n+3) { background-color: #FFFFFF; }
304 pre.sourcelines.stripes > :nth-child(4n+4) { background-color: #FFFFFF; }
305 pre.sourcelines.stripes > :nth-child(4n+1):hover,
305 pre.sourcelines.stripes > :nth-child(4n+2):hover,
306 pre.sourcelines.stripes > :nth-child(4n+3):hover { background-color: #D5E1E6; }
306 pre.sourcelines.stripes > :nth-child(4n+4):hover,
307 tr:target td,
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 pre.sourcelines > span:target,
310 pre.sourcelines > span:target,
309 pre.sourcelines.stripes > span:target {
311 pre.sourcelines.stripes > span:target {
310 background-color: #bfdfff;
312 background-color: #bfdfff;
General Comments 0
You need to be logged in to leave comments. Login now