Tweak timesheet styles, to give rows alternating background color

This commit is contained in:
Lance Edgar 2016-05-06 11:39:45 -05:00
parent 10f1c34a75
commit 3e6c1f28b9

View file

@ -4,6 +4,7 @@
**********************************************************************/ **********************************************************************/
.timesheet-header { .timesheet-header {
overflow: auto;
position: relative; position: relative;
} }
@ -29,6 +30,14 @@
border-top: 1px solid black; border-top: 1px solid black;
} }
.timesheet tbody {
background-color: white;
}
.timesheet tbody tr:nth-child(odd) {
background-color: #e0e0e0;
}
.timesheet tbody td { .timesheet tbody td {
padding: 5px; padding: 5px;
text-align: center; text-align: center;