]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
ui-blame: Distinguish hashes column from lines column
[ps-cgit] / cgit.css
index a4331f8afc04d717c642697629b7450c811778ea..893ebeb4038bc5d64d918a21930b950ea5c68b0a 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -134,14 +134,34 @@ div#cgit table.list tr.logheader {
        background: #eee;
 }
 
        background: #eee;
 }
 
+div#cgit table.list tr:nth-child(even) {
+       background: #f7f7f7;
+}
+
+div#cgit table.list tr:nth-child(odd) {
+       background: white;
+}
+
 div#cgit table.list tr:hover {
        background: #eee;
 }
 
 div#cgit table.list tr:hover {
        background: #eee;
 }
 
+div#cgit table.list tr.nohover {
+       background: white;
+}
+
 div#cgit table.list tr.nohover:hover {
        background: white;
 }
 
 div#cgit table.list tr.nohover:hover {
        background: white;
 }
 
+div#cgit table.list tr.nohover-highlight:hover:nth-child(even) {
+       background: #f7f7f7;
+}
+
+div#cgit table.list tr.nohover-highlight:hover:nth-child(odd) {
+       background: white;
+}
+
 div#cgit table.list th {
        font-weight: bold;
        /* color: #888;
 div#cgit table.list th {
        font-weight: bold;
        /* color: #888;
@@ -280,6 +300,7 @@ div#cgit table.blob {
        border-top: solid 1px black;
 }
 
        border-top: solid 1px black;
 }
 
+div#cgit table.blob td.hashes,
 div#cgit table.blob td.lines {
        margin: 0; padding: 0 0 0 0.5em;
        vertical-align: top;
 div#cgit table.blob td.lines {
        margin: 0; padding: 0 0 0 0.5em;
        vertical-align: top;
@@ -309,6 +330,14 @@ div#cgit table.ssdiff td.lineno a:hover {
        color: black;
 }
 
        color: black;
 }
 
+div#cgit table.blame tr:nth-child(even) {
+       background: #eee;
+}
+
+div#cgit table.blame tr:nth-child(odd) {
+       background: white;
+}
+
 div#cgit table.bin-blob {
        margin-top: 0.5em;
        border: solid 1px black;
 div#cgit table.bin-blob {
        margin-top: 0.5em;
        border: solid 1px black;