vendor/assets/stylesheets/furatto/_tables.scss in furatto-1.0.5 vs vendor/assets/stylesheets/furatto/_tables.scss in furatto-1.1.5
- old
+ new
@@ -26,13 +26,11 @@
$table-striped-background-color: #f9f9f9 !default;
$table-bordered-border-width: 1px !default;
$table-bordered-border-style: solid !default;
//Media queries
-$media-display: "only screen" !default;
-$media-max-width: 768px !default; //~ 768px
-$media-table-responsive-query: "#{$media-display} and (max-width: #{$media-max-width})" !default;
+$table-media-width: 768px !default; //~ 768px
//Responsive tables
$include-responsive-tables: true !default;
$table-responsive-pinned-background: #FFF !default;
$table-responsive-pinned-border-right: 1px solid #CCC !default;
@@ -103,10 +101,10 @@
}
}
@if($include-responsive-tables) {
//Responsive tables
- @media #{$media-table-responsive-query} {
+ @include max-screen($table-media-width) {
table.responsive {
margin-bottom: 0;
td, th {
position: relative;