From: Michał Kiedrowicz Date: Fri, 10 Feb 2012 09:18:13 GMT Subject: [PATCH 7/8] gitweb: Use different colors to present marked changes Message-ID: <1328865494-24415-8-git-send-email-michal.kiedrowicz@gmail.com> In-Reply-To: <1328865494-24415-1-git-send-email-michal.kiedrowicz@gmail.com> This makes use of the highlight diff feature. Signed-off-by: Michał Kiedrowicz --- I decided to split mechanism (generate HTML page with elements that mark interesting fragments of diff output) from politics (use these particular colors for this elements), but otherwise this commit may be squashed with the previous one. These colors work for me but if someone comes out with better ones, I'd be happy. gitweb/static/gitweb.css | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css index c7827e8..4f87d16 100644 --- a/gitweb/static/gitweb.css +++ b/gitweb/static/gitweb.css @@ -438,6 +438,10 @@ div.diff.add { color: #008800; } +div.diff.add span.marked { + background-color: #77ff77; +} + div.diff.from_file a.path, div.diff.from_file { color: #aa0000; @@ -447,6 +451,10 @@ div.diff.rem { color: #cc0000; } +div.diff.rem span.marked { + background-color: #ff7777; +} + div.diff.chunk_header a, div.diff.chunk_header { color: #990099; -- 1.7.3.4