]> git.armaanb.net Git - stagit.git/commitdiff
index: highlight row on mouseover
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 26 Dec 2015 11:54:09 +0000 (12:54 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 26 Dec 2015 11:54:09 +0000 (12:54 +0100)
style.css
urmoms-index.c

index 54a9a5619009eb0f62899773f834aa076052689d..17d92e8cd542afa1816275029bd33f0a26068b33 100644 (file)
--- a/style.css
+++ b/style.css
@@ -38,7 +38,7 @@ table td {
        padding: 0 0.4em;
 }
 
-#log tr:hover td, #files tr:hover td {
+#index tr:hover td, #log tr:hover td, #files tr:hover td {
        background-color: #eee;
 }
 
index 89729e65de8640aa1d7c6aa97502cdfe8b406b29..356f08c316733a61d5bee911f5faef9c3436ef17 100644 (file)
@@ -108,7 +108,7 @@ writeheader(FILE *fp)
                "<td><h1>%s</h1><span class=\"desc\">%s</span></td></tr><tr><td></td><td>\n",
                relpath, name, description);
        fputs("</td></tr>\n</table>\n<hr/><div id=\"content\">\n"
-             "<table><thead>\n"
+             "<table id=\"index\"><thead>\n"
              "<tr><td>Name</td><td>Description</td><td>Owner</td><td>Last commit</td></tr>"
              "</thead><tbody>\n", fp);