Initial coomit for AAI-UI(sparky-fe)
[aai/sparky-fe.git] / resources / scss / bootstrap-cust / _tables.scss
diff --git a/resources/scss/bootstrap-cust/_tables.scss b/resources/scss/bootstrap-cust/_tables.scss
new file mode 100644 (file)
index 0000000..dc2e0c2
--- /dev/null
@@ -0,0 +1,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;
+       }
+}