comparison tests/test-hgweb.t @ 30074:8f34e217338b

hgweb: avoid line wrap between revision and annotate-info (issue5398) Add white-space: nowrap to td.annotate to avoid wrapping div.annotate-info into next line if there is revision number in the same cell, as it is hard to mouse over div.annotate-info if it's wrapped into next line.
author Tooru Fujisawa <arai.unmht@gmail.com>
date Sat, 08 Oct 2016 19:32:54 +0900
parents 4317aa562580
children eb7de21b15be
comparison
equal deleted inserted replaced
30073:aa23c93e636d 30074:8f34e217338b
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: 6947 343 content-length: 6986
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; }
398 div.diff_info { font-family:monospace; color:#000099; background-color:#edece6; font-style:italic; } 398 div.diff_info { font-family:monospace; color:#000099; background-color:#edece6; font-style:italic; }
399 div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; } 399 div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; }
400 div.search { margin:4px 8px; position:absolute; top:56px; right:12px } 400 div.search { margin:4px 8px; position:absolute; top:56px; right:12px }
401 tr.thisrev a { color:#999999; text-decoration: none; } 401 tr.thisrev a { color:#999999; text-decoration: none; }
402 tr.thisrev pre { color:#009900; } 402 tr.thisrev pre { color:#009900; }
403 td.annotate {
404 white-space: nowrap;
405 }
403 div.annotate-info { 406 div.annotate-info {
404 display: none; 407 display: none;
405 position: absolute; 408 position: absolute;
406 background-color: #FFFFFF; 409 background-color: #FFFFFF;
407 border: 1px solid #d9d8d1; 410 border: 1px solid #d9d8d1;