#18652: Adding background alternate colors on lists

Work Items: 18652

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2012-07-02 15:22:46 -07:00
parent 4ec7cb38ff
commit 9b01b302b5

View File

@@ -979,6 +979,25 @@ table.items td .add
}
/* Alternating styles */
#main .contentItems > ul > li:nth-child(odd),
ul.contentItems > li:nth-child(odd) ,
table.items tr:nth-child(odd) {
background-color: #fff;
}
#main .contentItems > ul > li:nth-child(even),
ul.contentItems > li:nth-child(even) ,
table.items tr:nth-child(even) {
background-color: #f9f9f9;
}
#main .contentItems > ul > li:hover,
ul.contentItems > li:hover,
table.items tr:hover {
background-color: #EDF9F5;
}
/* Pager
***************************************************************/