# HG changeset patch # User Anton Shestakov # Date 1510311044 -28800 # Node ID b445fc69b86cea1d0d81590dd6260bd3c513ed23 # Parent 7790c4243f8faea32c71af99bf01d190fbc115c3 gitweb: apply styles from annotate tooltip to followlines popup These new colors and styles are already used in the tooltip that gets shown when user hovers over line numbers on annotate page. The old styles, replaced in this patch, look completely unrelated to gitweb or any other hgweb theme. diff -r 7790c4243f8f -r b445fc69b86c mercurial/templates/static/style-gitweb.css --- a/mercurial/templates/static/style-gitweb.css Fri Nov 10 18:45:43 2017 +0800 +++ b/mercurial/templates/static/style-gitweb.css Fri Nov 10 18:50:44 2017 +0800 @@ -191,10 +191,9 @@ } div#followlines { - background-color: #B7B7B7; - border: 1px solid #CCC; - border-radius: 5px; - padding: 4px; + background-color: #FFF; + border: 1px solid #d9d8d1; + padding: 5px; position: fixed; } diff -r 7790c4243f8f -r b445fc69b86c tests/test-hgweb.t --- a/tests/test-hgweb.t Fri Nov 10 18:45:43 2017 +0800 +++ b/tests/test-hgweb.t Fri Nov 10 18:50:44 2017 +0800 @@ -340,7 +340,7 @@ $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server 200 Script output follows - content-length: 9066 + content-length: 9044 content-type: text/css body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; background: white; color: black; } @@ -536,10 +536,9 @@ } div#followlines { - background-color: #B7B7B7; - border: 1px solid #CCC; - border-radius: 5px; - padding: 4px; + background-color: #FFF; + border: 1px solid #d9d8d1; + padding: 5px; position: fixed; }