blob: 6902914f355b95b349a8aa0f683ecba2290d7e1a [file] [log] [blame]
Michael Landoefa037d2017-02-19 12:57:33 +02001.table {
2 // Cells
3 > thead,
4 > tbody,
5 > tfoot {
6 > tr {
7 > th,
8 > td {
9 border-top: none;
10 }
11 }
12 }
13 // Bottom align for column headings
14 > thead > tr > th {
15 border-bottom: none;
16 }
17 // Account for multiple tbody instances
18 > tbody + tbody {
19 border-top: none;
20 }
21
22
23}
24
25.table-striped {
26 > tbody > tr:nth-of-type( odd ) {
27 background-color: $background-gray;
28 }
29}
30
31.table-striped {
32 > tbody > tr:nth-of-type( even ) {
33 background-color: $gray;
34 }
35}
36
37.table-hover {
38 > tbody > tr:hover {
39 background-color: $tlv-hover;
40 cursor: pointer;
41 }
42}