Merge remote-tracking branch 'prototech/ticket/12125' into develop

* prototech/ticket/12125:
  [ticket/12125] Specify nth-child selectors separately - IE8 does not like them
This commit is contained in:
Joas Schilling 2014-01-24 13:35:34 +01:00
commit e91a45df33
2 changed files with 20 additions and 4 deletions

View file

@ -840,11 +840,19 @@ td.name {
text-align: right; text-align: right;
} }
.row1, table.zebra-table tbody tr:nth-child(odd) { .row1 {
background-color: #F9F9F9; background-color: #F9F9F9;
} }
.row2, table.zebra-table tbody tr:nth-child(even) { table.zebra-table tbody tr:nth-child(odd) {
background-color: #F9F9F9;
}
.row2 {
background-color: #DCEBFE;
}
table.zebra-table tbody tr:nth-child(even) {
background-color: #DCEBFE; background-color: #DCEBFE;
} }

View file

@ -76,11 +76,19 @@ hr {
color: #000000; color: #000000;
} }
table.zebra-list tr:nth-child(odd) td, ul.zebra-list li:nth-child(odd), .bg1 { .bg1 {
background-color: #ECF3F7; background-color: #ECF3F7;
} }
table.zebra-list tr:nth-child(even) td, ul.zebra-list li:nth-child(even), .bg2 { table.zebra-list tr:nth-child(odd) td, ul.zebra-list li:nth-child(odd) {
background-color: #ECF3F7;
}
.bg2 {
background-color: #e1ebf2;
}
table.zebra-list tr:nth-child(even) td, ul.zebra-list li:nth-child(even) {
background-color: #e1ebf2; background-color: #e1ebf2;
} }