[diffoscope] 01/01: Highlight lines via HTML/CSS when hovering over a line to make it easier to visually track.

Chris Lamb chris at chris-lamb.co.uk
Sat Aug 6 00:50:13 CEST 2016


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository diffoscope.

commit 0d6ddf74785c53c1f05640493b5f2504bfca8a7b
Author: Chris Lamb <lamby at debian.org>
Date:   Fri Aug 5 23:50:04 2016 +0100

    Highlight lines via HTML/CSS when hovering over a line to make it easier to visually track.
---
 diffoscope/presenters/html.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/diffoscope/presenters/html.py b/diffoscope/presenters/html.py
index 47fb5e1..9166cf6 100644
--- a/diffoscope/presenters/html.py
+++ b/diffoscope/presenters/html.py
@@ -94,6 +94,9 @@ HEADER = """<!DOCTYPE html>
       font-size:0.75em;
       font-family: Lucida Console, monospace;
     }
+    table.diff tr:hover td {
+      background: #FFFF00;
+    }
     td.line {
       color:#8080a0
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list