[PATCH 1 of 3] paper: apply styles from annotate tooltip to followlines popup

Anton Shestakov av6 at dwimlabs.net
Fri Nov 10 07:39:04 EST 2017


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1510310743 -28800
#      Fri Nov 10 18:45:43 2017 +0800
# Node ID a78d4fc414f798adcbfcee3237ad71095158718c
# Parent  602c168c0207c443ac61f7a7c727b31cfb0b86ad
paper: 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 paper or any other hgweb theme.

diff --git a/mercurial/templates/static/style-paper.css b/mercurial/templates/static/style-paper.css
--- a/mercurial/templates/static/style-paper.css
+++ b/mercurial/templates/static/style-paper.css
@@ -295,10 +295,9 @@ pre.sourcelines > span.followlines-selec
 }
 
 div#followlines {
-  background-color: #B7B7B7;
-  border: 1px solid #CCC;
-  border-radius: 5px;
-  padding: 4px;
+  background-color: #FFF;
+  border: 1px solid #999;
+  padding: 5px;
   position: fixed;
 }
 


More information about the Mercurial-devel mailing list