Mercurial > hg
diff mercurial/templates/static/style-paper.css @ 32996:1c97df5e3b46
hgweb: plug followlines action in annotate view
Add the followlines.js script and corresponding parameters as data attribute
on <tbody class="sourcelines"> element.
Extend CSS rules so that they also match the DOM structure of annotate view.
As previously, only address paper and gitweb styles (other styles do not have
followlines at all).
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Wed, 21 Jun 2017 17:17:17 +0200 |
parents | 5c1abb4bd3ee |
children | 32331f54930c |
line wrap: on
line diff
--- a/mercurial/templates/static/style-paper.css Wed Jun 21 17:07:51 2017 +0200 +++ b/mercurial/templates/static/style-paper.css Wed Jun 21 17:17:17 2017 +0200 @@ -280,10 +280,12 @@ background-color: #bfdfff; } +div.overflow table tbody.sourcelines > tr.followlines-select:hover, div.overflow pre.sourcelines > span.followlines-select:hover { cursor: cell; } +tbody.sourcelines > tr.followlines-selected, pre.sourcelines > span.followlines-selected { background-color: #99C7E9; }