diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-04-24 14:41:01 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-24 14:41:01 -0700 |
commit | c6cfa5bbbba9eb4fb8d45d2ab942b1ebcb2bcb73 (patch) | |
tree | 88b9c04d63e90189863baa55aefc79a093e2021e /gitweb/static/gitweb.css | |
parent | 77cab8af4ad6c25995e40a5ababc7a17dc369fe0 (diff) | |
parent | 51ef7a6e80013c9131c8751fca7c11b0b4bfba85 (diff) | |
download | git-c6cfa5bbbba9eb4fb8d45d2ab942b1ebcb2bcb73.tar.gz git-c6cfa5bbbba9eb4fb8d45d2ab942b1ebcb2bcb73.tar.xz |
Merge branch 'mk/gitweb-diff-hl'
"gitweb" learns to highlight the patch it outputs even more.
By Michał Kiedrowicz (7) and Jakub Narębski (1)
* mk/gitweb-diff-hl:
gitweb: Refinement highlightning in combined diffs
gitweb: Highlight interesting parts of diff
gitweb: Push formatting diff lines to print_diff_chunk()
gitweb: Use print_diff_chunk() for both side-by-side and inline diffs
gitweb: Extract print_sidebyside_diff_lines()
gitweb: Pass esc_html_hl_regions() options to esc_html()
gitweb: esc_html_hl_regions(): Don't create empty <span> elements
gitweb: Use descriptive names in esc_html_hl_regions()
Diffstat (limited to 'gitweb/static/gitweb.css')
-rw-r--r-- | 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 c530355a7..cb86d2d02 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: #aaffaa; +} + 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: #ffaaaa; +} + div.diff.chunk_header a, div.diff.chunk_header { color: #990099; |