X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=scss%2Fbootstrap%2F_tables.scss;h=5fd77a4eb0d692a657e5a0ef8040fc7e65a9e70e;hp=92d4ec9b5b9a79f52d814edd89c4efdb1cc0e2f3;hb=a278c52cabf7cbc21171385a53f89c1584093647;hpb=0a809d0ab05f5ad906a757d65865cfdc4474ad81 diff --git a/scss/bootstrap/_tables.scss b/scss/bootstrap/_tables.scss index 92d4ec9b5b..5fd77a4eb0 100644 --- a/scss/bootstrap/_tables.scss +++ b/scss/bootstrap/_tables.scss @@ -5,6 +5,7 @@ .table { width: 100%; margin-bottom: $spacer; + color: $table-color; background-color: $table-bg; // Reset for nesting within parents with `background-color`. th, @@ -22,10 +23,6 @@ tbody + tbody { border-top: (2 * $table-border-width) solid $table-border-color; } - - .table { - background-color: $body-bg; - } } @@ -56,7 +53,7 @@ thead { th, td { - border-bottom-width: (2 * $table-border-width); + border-bottom-width: 2 * $table-border-width; } } } @@ -87,7 +84,8 @@ .table-hover { tbody tr { - @include hover { + @include hover() { + color: $table-hover-color; background-color: $table-hover-bg; } } @@ -144,14 +142,15 @@ } &.table-striped { - tbody tr:nth-of-type(odd) { + tbody tr:nth-of-type(#{$table-striped-order}) { background-color: $table-dark-accent-bg; } } &.table-hover { tbody tr { - @include hover { + @include hover() { + color: $table-dark-hover-color; background-color: $table-dark-hover-bg; } } @@ -175,7 +174,6 @@ width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; - -ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057 // Prevent double border on horizontal scroll due to use of `display: block;` > .table-bordered {