mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-27 05:01:23 +01:00
21 lines
503 B
SCSS
21 lines
503 B
SCSS
// Responsive utilities
|
|
|
|
//
|
|
// More easily include all the states for responsive-utilities.less.
|
|
// [converter] $parent hack
|
|
@mixin responsive-visibility($parent) {
|
|
#{$parent} {
|
|
display: block !important;
|
|
}
|
|
table#{$parent} { display: table; }
|
|
tr#{$parent} { display: table-row !important; }
|
|
th#{$parent},
|
|
td#{$parent} { display: table-cell !important; }
|
|
}
|
|
|
|
// [converter] $parent hack
|
|
@mixin responsive-invisibility($parent) {
|
|
#{$parent} {
|
|
display: none !important;
|
|
}
|
|
}
|