summaryrefslogtreecommitdiffstats
path: root/resources/scss/bootstrap-cust/_tables.scss
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scss/bootstrap-cust/_tables.scss')
-rw-r--r--resources/scss/bootstrap-cust/_tables.scss40
1 files changed, 40 insertions, 0 deletions
diff --git a/resources/scss/bootstrap-cust/_tables.scss b/resources/scss/bootstrap-cust/_tables.scss
new file mode 100644
index 0000000..dc2e0c2
--- /dev/null
+++ b/resources/scss/bootstrap-cust/_tables.scss
@@ -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;
+ }
+}