comparison tests/test-hgweb.t @ 26363:f29ee23bf361

gitweb, monoblue: port highlighting linked lines from paper This is adapted from 41c4bdd1d585, fbfe5748ef3e and f3393d458bf5.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 25 Sep 2015 12:38:20 +0800
parents 3bfc473f4d33
children 4b0fc75f9403
comparison
equal deleted inserted replaced
26362:3bfc473f4d33 26363:f29ee23bf361
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: 6264 343 content-length: 6379
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; } 346 body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; }
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; }
462 position: absolute; 462 position: absolute;
463 left: 0px; 463 left: 0px;
464 width: 4em; 464 width: 4em;
465 height: 1em; 465 height: 1em;
466 } 466 }
467 tr:target td,
468 pre.sourcelines > span:target,
469 pre.sourcelines.stripes > span:target {
470 background-color: #bfdfff;
471 }
467 472
468 /* Graph */ 473 /* Graph */
469 div#wrapper { 474 div#wrapper {
470 position: relative; 475 position: relative;
471 margin: 0; 476 margin: 0;