mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/12055] Alternate table row background colors using nth-child rule.
PHPBB3-12055
This commit is contained in:
@@ -840,8 +840,14 @@ td.name {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.row1 { background-color: #F9F9F9; }
|
||||
.row2 { background-color: #DCEBFE; }
|
||||
.row1, table.zebra-table tbody tr:nth-child(odd) {
|
||||
background-color: #F9F9F9;
|
||||
}
|
||||
|
||||
.row2, table.zebra-table tbody tr:nth-child(even) {
|
||||
background-color: #DCEBFE;
|
||||
}
|
||||
|
||||
.row3 { background-color: #DBDFE2; }
|
||||
.row4 { background-color: #E4E8EB; }
|
||||
.col1 { background-color: #DCEBFE; }
|
||||
|
Reference in New Issue
Block a user