| -rw-r--r-- | cgit.css | 20 | ||||
| -rw-r--r-- | ui-log.c | 5 | ||||
| -rw-r--r-- | ui-repolist.c | 2 |
3 files changed, 3 insertions, 24 deletions
@@ -134,34 +134,14 @@ 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; @@ -263,9 +263,8 @@ static void print_commit(struct commit *commit, struct rev_info *revs) html("</td></tr>\n"); - if ((revs->graph && !graph_is_commit_finished(revs->graph)) - || ctx.qry.showmsg) { /* Print a second table row */ - html("<tr class='nohover-highlight'>"); + if (revs->graph || ctx.qry.showmsg) { /* Print a second table row */ + html("<tr class='nohover'>"); if (ctx.qry.showmsg) { /* Concatenate commit message + notes in msgbuf */ diff --git a/ui-repolist.c b/ui-repolist.c index b57ea60..7158bf7 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -321,7 +321,7 @@ void cgit_print_repolist(void) (last_section != NULL && section == NULL) || (last_section != NULL && section != NULL && strcmp(section, last_section)))) { - htmlf("<tr class='nohover-highlight'><td colspan='%d' class='reposection'>", + htmlf("<tr class='nohover'><td colspan='%d' class='reposection'>", columns); html_txt(section); html("</td></tr>"); |