.table { | |
// Cells | |
> thead, | |
> tbody, | |
> tfoot { | |
> tr { | |
> th, | |
> td { | |
border-top: none; | |
} | |
} | |
} | |
// Bottom align for column headings | |
> thead > tr > th { | |
border-bottom: none; | |
} | |
// Account for multiple tbody instances | |
> tbody + tbody { | |
border-top: none; | |
} | |
} | |
.table-striped { | |
> tbody > tr:nth-of-type( odd ) { | |
background-color: $background-gray; | |
} | |
} | |
.table-striped { | |
> tbody > tr:nth-of-type( even ) { | |
background-color: $gray; | |
} | |
} | |
.table-hover { | |
> tbody > tr:hover { | |
background-color: $tlv-hover; | |
cursor: pointer; | |
} | |
} |