Mercurial > hg
comparison mercurial/templates/static/style-paper.css @ 29522:9c37df347485
hgweb: add link to parents of annotated revision in annotate view
The link is embedded into a div with class="annotate-info" that only shows up
upon hover of the annotate column. To avoid duplicate hover-overs (this new
one and the one coming from link's title), drop "title" attribute from a
element and put it in the annotate-info element.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Tue, 28 Jun 2016 11:42:42 +0200 |
parents | 6b77adc2c7b5 |
children | 6e4da488f955 |
comparison
equal
deleted
inserted
replaced
29521:83147ff53112 | 29522:9c37df347485 |
---|---|
208 .bigtable .annotate { text-align: right; } | 208 .bigtable .annotate { text-align: right; } |
209 .bigtable td.annotate { font-size: smaller; } | 209 .bigtable td.annotate { font-size: smaller; } |
210 .bigtable td.source { font-size: inherit; } | 210 .bigtable td.source { font-size: inherit; } |
211 tr.thisrev a { color:#999999; text-decoration: none; } | 211 tr.thisrev a { color:#999999; text-decoration: none; } |
212 tr.thisrev td.source { color:#009900; } | 212 tr.thisrev td.source { color:#009900; } |
213 div.annotate-info { | |
214 display: none; | |
215 position: absolute; | |
216 background-color: #FFFFFF; | |
217 border: 1px solid #000000; | |
218 text-align: left; | |
219 color: #000000; | |
220 padding: 5px; | |
221 } | |
222 div.annotate-info a { color: #0000FF; } | |
223 td.annotate:hover div.annotate-info { display: inline; } | |
213 | 224 |
214 .source, .sourcefirst { | 225 .source, .sourcefirst { |
215 font-family: monospace; | 226 font-family: monospace; |
216 white-space: pre; | 227 white-space: pre; |
217 padding: 1px 4px; | 228 padding: 1px 4px; |