blob: 6902914f355b95b349a8aa0f683ecba2290d7e1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
.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;
}
}
|