zebra styling

This commit is contained in:
Shish 2009-08-24 03:57:18 +01:00
parent 8a53cecbd7
commit 30ee7f4129

View File

@ -51,11 +51,11 @@ TD>INPUT[type="text"] {width: 100%;}
TD>INPUT[type="password"] {width: 100%;} TD>INPUT[type="password"] {width: 100%;}
TD>SELECT {width: 100%;} TD>SELECT {width: 100%;}
TABLE.zebra {border-spacing: 0px;} TABLE.zebra {border-spacing: 0px; border: 2px solid #CCC;}
TABLE.zebra TD, TABLE.zebra TH {vertical-align: middle; padding: 4px;} TABLE.zebra TD, TABLE.zebra TH {vertical-align: middle; padding: 4px;}
TABLE.zebra THEAD TD, TABLE.zebra THEAD TH {border-bottom: 2px solid #CCC;} TABLE.zebra THEAD TD, TABLE.zebra THEAD TH {border-bottom: 2px solid #CCC;}
TABLE.zebra TFOOT TD, TABLE.zebra TFOOT TH {border-top: 2px solid #CCC;} TABLE.zebra TFOOT TD, TABLE.zebra TFOOT TH {border-top: 2px solid #CCC;}
TABLE.zebra TR {border-bottom: 1px solid #DDD;} TABLE.zebra TR TD {border-bottom: 1px solid #DDD;}
TABLE.zebra TR.odd {background: #EFEFEF;} TABLE.zebra TR.odd {background: #EFEFEF;}
TABLE.zebra TR.even {background: #E0E0E0;} TABLE.zebra TR.even {background: #E0E0E0;}