add alternating backgrounds to table rows (#14458)

This commit is contained in:
Frédéric Péters 2016-12-29 14:19:38 +01:00
parent 612d8b8082
commit 34789d6b15
1 changed files with 3 additions and 2 deletions

View File

@ -330,7 +330,7 @@ table.main th {
font-weight: normal;
padding: 1em 1ex;
border-bottom: 1px solid #bcbcbc;
background: #FCFCFC;
background: #f0f0f0;
}
table.main td {
@ -343,7 +343,8 @@ table.main tr td.checkbox {
width: 1em;
}
table.main tr:nth-child(odd) td {
table.main tr:nth-child(even) td {
background: #f5f5f5;
}
table.main tr:hover td {