summaryrefslogtreecommitdiffstats
path: root/resources/scss/bootstrap-cust/_tables.scss
blob: cf0288cbac491be62f6b408aabd979aa8d559e75 (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
43
44
45
46
47
48
49
.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 {
		-webkit-border-horizontal-spacing: 0px !important;
		-webkit-border-vertical-spacing:0px !important;
	}
}

.table-striped {
	> tbody > tr:nth-of-type( odd ) {
		background-color: $background-color1;
	}
}

.table-striped {
	> tbody > tr:nth-of-type( even ) {
		background-color: $neutral-gray;
	}
}

.table-hover {
	> tbody > tr:hover {
		background-color: $background-color12;
		cursor: pointer;
	}
}

table {
	-webkit-border-horizontal-spacing: 0px !important;
	-webkit-border-vertical-spacing:0px !important;
}