summaryrefslogtreecommitdiffstats
path: root/resources/scss/bootstrap-cust/_tables.scss
blob: dc2e0c2a50841c34dec5d2f3cd0a94841884596d (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
.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;
	}
}