Mercurial > hg
comparison tests/test-hgweb.t @ 29387:6b77adc2c7b5
hgweb: highlight data of the current revision in annotate view
* Distinguish the /annotate/<revision>/<file>#<linenumber> link when it would
lead to the current page (i.e. <revision> is the current revision) (style it
gray and undecorated). This indicates more clearly that this is a "dead-end"
in blame navigation.
* Display lines changed in current revision in green.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Thu, 02 Jun 2016 16:26:50 +0200 |
parents | e01bd7385f4f |
children | 9c37df347485 |
comparison
equal
deleted
inserted
replaced
29386:63fad6235369 | 29387:6b77adc2c7b5 |
---|---|
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: 6521 | 343 content-length: 6610 |
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; } |
395 td.indexlinks a:hover { background-color: #6666aa; } | 395 td.indexlinks a:hover { background-color: #6666aa; } |
396 div.pre { font-family:monospace; font-size:12px; white-space:pre; } | 396 div.pre { font-family:monospace; font-size:12px; white-space:pre; } |
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; } | |
401 tr.thisrev pre { color:#009900; } | |
400 .linenr { color:#999999; text-decoration:none } | 402 .linenr { color:#999999; text-decoration:none } |
401 div.rss_logo { float: right; white-space: nowrap; } | 403 div.rss_logo { float: right; white-space: nowrap; } |
402 div.rss_logo a { | 404 div.rss_logo a { |
403 padding:3px 6px; line-height:10px; | 405 padding:3px 6px; line-height:10px; |
404 border:1px solid; border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e; | 406 border:1px solid; border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e; |