1
0
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:
Cesar G
2013-12-04 14:51:54 -08:00
parent e3a0540fa6
commit 03509f2f97
18 changed files with 56 additions and 57 deletions

View File

@@ -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; }