Mercurial > hg-stable
comparison tests/test-hgweb.t @ 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 | 2b42fa1810c4 |
comparison
equal
deleted
inserted
replaced
29521:83147ff53112 | 29522:9c37df347485 |
---|---|
338 | 338 |
339 static file | 339 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: 6610 | 343 content-length: 6908 |
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; } |
347 a { color:#0000cc; } | 347 a { color:#0000cc; } |
348 a:hover, a:visited, a:active { color:#880000; } | 348 a:hover, a:visited, a:active { color:#880000; } |
397 div.diff_info { font-family:monospace; color:#000099; background-color:#edece6; font-style:italic; } | 397 div.diff_info { font-family:monospace; color:#000099; background-color:#edece6; font-style:italic; } |
398 div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; } | 398 div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; } |
399 div.search { margin:4px 8px; position:absolute; top:56px; right:12px } | 399 div.search { margin:4px 8px; position:absolute; top:56px; right:12px } |
400 tr.thisrev a { color:#999999; text-decoration: none; } | 400 tr.thisrev a { color:#999999; text-decoration: none; } |
401 tr.thisrev pre { color:#009900; } | 401 tr.thisrev pre { color:#009900; } |
402 div.annotate-info { | |
403 display: none; | |
404 position: absolute; | |
405 background-color: #FFFFFF; | |
406 border: 1px solid #000000; | |
407 text-align: left; | |
408 color: #000000; | |
409 padding: 5px; | |
410 } | |
411 div.annotate-info a { color: #0000FF; text-decoration: underline; } | |
412 td.annotate:hover div.annotate-info { display: inline; } | |
402 .linenr { color:#999999; text-decoration:none } | 413 .linenr { color:#999999; text-decoration:none } |
403 div.rss_logo { float: right; white-space: nowrap; } | 414 div.rss_logo { float: right; white-space: nowrap; } |
404 div.rss_logo a { | 415 div.rss_logo a { |
405 padding:3px 6px; line-height:10px; | 416 padding:3px 6px; line-height:10px; |
406 border:1px solid; border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e; | 417 border:1px solid; border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e; |