From: Steve Losh Date: Sat, 31 Jan 2009 03:23:44 +0000 (-0500) Subject: Table striping. X-Git-Tag: 1.0.0~53^2~4^2~43 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7ab69a21d18c70d06de741ca990ebfa35f20362f;p=be.git Table striping. --- 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'); });