Even more over/even/odd simplify

This commit is contained in:
Michal Čihař
2011-02-08 19:49:34 +01:00
parent 3496dded6a
commit 00013c2efd

View File

@@ -192,14 +192,12 @@ button.mult_submit {
} }
/* odd items 1,3,5,7,... */ /* odd items 1,3,5,7,... */
tr.odd th, tr.odd {
.odd {
background: <?php echo $GLOBALS['cfg']['BgOne']; ?>; background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
} }
/* even items 2,4,6,8,... */ /* even items 2,4,6,8,... */
tr.even th, tr.even {
.even {
background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>; background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
} }
tr.even th, tr.odd th, fieldset th { tr.even th, tr.odd th, fieldset th {
@@ -207,9 +205,7 @@ tr.even th, tr.odd th, fieldset th {
} }
/* odd table rows 1,3,5,7,... */ /* odd table rows 1,3,5,7,... */
tr.odd th,
tr.odd, tr.odd,
tr.even th,
tr.even { tr.even {
text-align: <?php echo $left; ?>; text-align: <?php echo $left; ?>;
} }
@@ -224,9 +220,6 @@ tr.marked {
<?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?> <?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
/* hovered items */ /* hovered items */
.odd:hover,
.even:hover,
.hover,
.structure_actions_dropdown { .structure_actions_dropdown {
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>; background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>; color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;