Skip to content
Browse files

added even / odd row colors for tables, C.R.U.D. control elements

  • Loading branch information...
1 parent 125c5a0 commit 1f7e109dd1e8daf9b9fcb0296178f187509e5fb4 docunext committed with Dec 13, 2009
Showing with 8 additions and 0 deletions.
  1. +8 −0 css/yuiapp.css
View
8 css/yuiapp.css
@@ -67,13 +67,21 @@ table thead { background-color:#262626; color:#fff; font-weight:bold; }
table thead a { text-decoration:none; color:#fff; }
table thead a:hover { text-decoration:underline; }
table tbody a { text-decoration:underline; }
+table tbody tr:nth-child(even) { background: #eee; }
+table tbody tr:nth-child(odd) { background: #fff; }
/* Pager control*/
ul.pager { text-align:right; }
ul.pager li { display:inline; }
ul.pager li a { padding:0.1em 0.3em; margin-right:0.3em; border:1px solid #000; text-decoration:none; color:#000; }
ul.pager li.active a, ul.pager li a:hover { background-color:#000; color:#fff; }
+/* Create / Delete control*/
+ul.crud li { display:inline; }
+ul.crud li a { padding:0.1em 0.3em; margin: 0 0.5em; border:1px solid #ccc; text-decoration:none; color:#eee; background-color:#444; }
+ul.crud li a:hover { background-color:#ccc; color:#fff; }
+
+
/* Forms */
form label { font-weight:bold; }
form label span { font-weight:normal; color:#f00; font-size:85%; }

0 comments on commit 1f7e109

Please sign in to comment.
Something went wrong with that request. Please try again.