Initial coomit for AAI-UI(sparky-fe)
[aai/sparky-fe.git] / resources / scss / bootstrap-cust / _tables.scss
1 .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 .table-striped {
24         > tbody > tr:nth-of-type( odd ) {
25                 background-color: $background-gray;
26         }
27 }
28
29 .table-striped {
30         > tbody > tr:nth-of-type( even ) {
31                 background-color: $gray;
32         }
33 }
34
35 .table-hover {
36         > tbody > tr:hover {
37                 background-color: $tlv-hover;
38                 cursor: pointer;
39         }
40 }