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.
--- 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;
}
--- 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;
}