Table striping.
authorSteve Losh <steve@stevelosh.com>
Sat, 31 Jan 2009 03:23:44 +0000 (22:23 -0500)
committerSteve Losh <steve@stevelosh.com>
Sat, 31 Jan 2009 03:23:44 +0000 (22:23 -0500)
static/style/cfbe.css
templates/base.html

index 3458c26c42b7bfc40cd2001defe4339a5c67e136..8bcd35748848d8cf23e91d100977708dd78bbdb4 100644 (file)
@@ -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; }
index e0ca02bfa7dc967a9491280e34aa7d78dc37ff44..97fa453e0e346a2cc5f9f05eba7925f2be98eb83 100644 (file)
@@ -23,6 +23,8 @@
                     $('#external-pane-content').html($('#assignees').html());
                     $('#external-pane').fadeIn('fast');
                 });
+                
+                $('table tr:odd').addClass('stripe');
             });
         </script>
     </head>