[Jifty-commit] r7461 - jifty/trunk/share/web/static/css
Jifty commits
jifty-commit at lists.jifty.org
Thu Aug 27 04:18:55 EDT 2009
Author: sartak
Date: Thu Aug 27 04:18:55 2009
New Revision: 7461
Modified:
jifty/trunk/share/web/static/css/crud.css
Log:
Work in progress for a more robust zebra table
Modified: jifty/trunk/share/web/static/css/crud.css
==============================================================================
--- jifty/trunk/share/web/static/css/crud.css (original)
+++ jifty/trunk/share/web/static/css/crud.css Thu Aug 27 04:18:55 2009
@@ -24,14 +24,22 @@
padding-right: .2em;
}
-.crud-list .even {
+.crud-list {
background: #FFFFFF;
}
-.crud-list .odd {
+/* this is the fallback for when you do not have css 3 */
+.crud-list div.odd {
background: #DDFFFF;
}
+/* this is more robust as it permits adding/removing rows */
+/* XXX: it's not ready yet because there are intermittent script tags only
+ * in the original CRUD, not in region updates. argh */
+/*.crud-list > div:nth-child(odd) {
+ background: #DDFFFF;
+}*/
+
.crud-list {
display: table-row-group;
}
More information about the Jifty-commit
mailing list