]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
ui-blame: add blame UI
[ps-cgit] / cgit.css
index a4331f8afc04d717c642697629b7450c811778ea..836f8ae19fe405ca1d23f87fa4963a91db2b0f79 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -134,14 +134,34 @@ div#cgit table.list tr.logheader {
        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.nohover {
+       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;
@@ -309,6 +329,14 @@ div#cgit table.ssdiff td.lineno a:hover {
        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;