diff mercurial/templates/static/style-paper.css @ 29522:9c37df347485

hgweb: add link to parents of annotated revision in annotate view The link is embedded into a div with class="annotate-info" that only shows up upon hover of the annotate column. To avoid duplicate hover-overs (this new one and the one coming from link's title), drop "title" attribute from a element and put it in the annotate-info element.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Tue, 28 Jun 2016 11:42:42 +0200
parents 6b77adc2c7b5
children 6e4da488f955
line wrap: on
line diff
--- a/mercurial/templates/static/style-paper.css	Mon Jul 11 13:53:35 2016 +0200
+++ b/mercurial/templates/static/style-paper.css	Tue Jun 28 11:42:42 2016 +0200
@@ -210,6 +210,17 @@
 .bigtable td.source { font-size: inherit; }
 tr.thisrev a { color:#999999; text-decoration: none; }
 tr.thisrev td.source { color:#009900; }
+div.annotate-info {
+  display: none;
+  position: absolute;
+  background-color: #FFFFFF;
+  border: 1px solid #000000;
+  text-align: left;
+  color: #000000;
+  padding: 5px;
+}
+div.annotate-info a { color: #0000FF; }
+td.annotate:hover div.annotate-info { display: inline; }
 
 .source, .sourcefirst {
   font-family: monospace;