aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Losh <steve@stevelosh.com>2009-01-30 22:23:44 -0500
committerSteve Losh <steve@stevelosh.com>2009-01-30 22:23:44 -0500
commit7ab69a21d18c70d06de741ca990ebfa35f20362f (patch)
tree0a43a39fedb9d69e43deb2b74024efb480d4f4aa
parent222237e0745861ec081678f8d23de12982e2bc76 (diff)
downloadbugseverywhere-7ab69a21d18c70d06de741ca990ebfa35f20362f.tar.gz
Table striping.
-rw-r--r--static/style/cfbe.css5
-rw-r--r--templates/base.html2
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');
});
</script>
</head>