]> granicus.if.org Git - cgit/commitdiff
gitweb ripoff: set tr:hover to highligt current row
authorLars Hjemli <hjemli@gmail.com>
Sat, 16 Dec 2006 00:00:12 +0000 (01:00 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sat, 16 Dec 2006 00:05:58 +0000 (01:05 +0100)
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.css

index 382964a0418f45e299b79e4b3d56fd53ec12c120..94372d60c895b5a3b24277055c2e3681500ab54a 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -27,7 +27,12 @@ table.list {
        border-collapse: collapse;
        border: solid 1px #aaa;
 }
-
+table.list tr {
+       background: white;
+}
+table.list tr:hover {
+       background: #eee;
+}
 table.list th {
        font-weight: bold;
        background: #ddd;
@@ -38,9 +43,7 @@ table.list th {
 table.list td {
        border: none;
        padding: 0.1em 0.5em 0.1em 0.5em;
-       background: white;
 }
-
 img {
        border: none;
 }
@@ -85,6 +88,7 @@ td.blob {
        white-space: pre;
        font-family: courier;
        font-size: 100%;
+       background-color: white;
 }
 
 table.log td {