Patchwork [3,of,3,RFC,V4] hgweb: color line which is linked to in file source view

login
register
mail settings
Submitter Alexander Plavin
Date July 4, 2013, 10:36 a.m.
Message ID <6523a9ae22264f886260.1372934190@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1792/
State Superseded, archived
Headers show

Comments

Alexander Plavin - July 4, 2013, 10:36 a.m.
# HG changeset patch
# User Alexander Plavin <me@aplavin.ru>
# Date 1372933183 -14400
#      Thu Jul 04 14:19:43 2013 +0400
# Node ID 6523a9ae22264f886260ef356f6b2d0b666206b9
# Parent  4d90a3b8abbb3898e2c6f6f1c27d0306b6b37f64
hgweb: color line which is linked to in file source view

Patch

diff -r 4d90a3b8abbb -r 6523a9ae2226 mercurial/templates/static/style-paper.css
--- a/mercurial/templates/static/style-paper.css	Thu Jul 04 14:19:13 2013 +0400
+++ b/mercurial/templates/static/style-paper.css	Thu Jul 04 14:19:43 2013 +0400
@@ -240,6 +240,10 @@ 
 .sourcelines > span:nth-child(4n+1) { background-color: #f0f0f0; }
 .sourcelines > span:nth-child(4n+3) { background-color: white; }
 
+.sourcelines > span:target {
+  background-color: #ffff99;
+}
+
 .sourcelines > a {
     display: inline-block;
     position: absolute;