From 7ab69a21d18c70d06de741ca990ebfa35f20362f Mon Sep 17 00:00:00 2001 From: Steve Losh Date: Fri, 30 Jan 2009 22:23:44 -0500 Subject: [PATCH] Table striping. --- static/style/cfbe.css | 5 +++-- templates/base.html | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/static/style/cfbe.css b/static/style/cfbe.css index 3458c26..8bcd357 100644 --- a/static/style/cfbe.css +++ b/static/style/cfbe.css @@ -26,7 +26,8 @@ a:hover { color: #60b305; } table#bug-list { width: 100%; } table#bug-list th { text-align: left; } -table tr td, table tr th { padding: 0px 5px; border: 0.084em solid black; line-height: 2.917em; } +table tr td, table tr th { padding: 0px 5px; border: 0em; line-height: 2em; } table { margin-bottom: 1.417em; } +tr.stripe { background-color: #f5e5f0; } -div#assignees { display: none; } \ No newline at end of file +div#assignees { display: none; } diff --git a/templates/base.html b/templates/base.html index e0ca02b..97fa453 100644 --- a/templates/base.html +++ b/templates/base.html @@ -23,6 +23,8 @@ $('#external-pane-content').html($('#assignees').html()); $('#external-pane').fadeIn('fast'); }); + + $('table tr:odd').addClass('stripe'); }); -- 2.26.2