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

login
register
mail settings
Submitter Anton Shestakov
Date Nov. 10, 2017, 12:39 p.m.
Message ID <a78d4fc414f798adcbfc.1510317544@neuro>
Download mbox | patch
Permalink /patch/25459/
State Accepted
Headers show

Comments

Anton Shestakov - Nov. 10, 2017, 12:39 p.m.
# HG changeset patch
# User Anton Shestakov <av6@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.

Patch

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