diff options
author | Jeff Smith | 2017-10-01 23:39:08 -0500 |
---|---|---|
committer | John Keeping | 2017-10-03 19:19:34 +0100 |
commit | c1cd290d1f83d3d1c2d081d734e8d213f12cc06b (patch) | |
tree | ad5027076d139912140c45b6baec2d390389f7a1 /cgit.css | |
parent | f6ffe40d1a2c985494e48dc2d36663ffde1e6044 (diff) | |
download | cgit-c1cd290d1f83d3d1c2d081d734e8d213f12cc06b.tar.gz cgit-c1cd290d1f83d3d1c2d081d734e8d213f12cc06b.tar.bz2 cgit-c1cd290d1f83d3d1c2d081d734e8d213f12cc06b.zip |
ui-blame: add blame UI
Implement a page which provides the blame view of a specified file.
This feature is controlled by a new config variable, "enable-blame",
which is disabled by default.
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Reviewed-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'cgit.css')
-rw-r--r-- | cgit.css | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -329,6 +329,14 @@ div#cgit table.ssdiff td.lineno a:hover { | |||
329 | color: black; | 329 | color: black; |
330 | } | 330 | } |
331 | 331 | ||
332 | div#cgit table.blame tr:nth-child(even) { | ||
333 | background: #eee; | ||
334 | } | ||
335 | |||
336 | div#cgit table.blame tr:nth-child(odd) { | ||
337 | background: white; | ||
338 | } | ||
339 | |||
332 | div#cgit table.bin-blob { | 340 | div#cgit table.bin-blob { |
333 | margin-top: 0.5em; | 341 | margin-top: 0.5em; |
334 | border: solid 1px black; | 342 | border: solid 1px black; |