Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 1 | // Responsive utilities |
| 2 | |
| 3 | // |
| 4 | // More easily include all the states for responsive-utilities.less. |
| 5 | // [converter] $parent hack |
| 6 | @mixin responsive-visibility($parent) { |
| 7 | #{$parent} { |
| 8 | display: block !important; |
| 9 | } |
| 10 | table#{$parent} { |
| 11 | display: table !important; |
| 12 | } |
| 13 | tr#{$parent} { |
| 14 | display: table-row !important; |
| 15 | } |
| 16 | th#{$parent}, |
| 17 | td#{$parent} { |
| 18 | display: table-cell !important; |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | // [converter] $parent hack |
| 23 | @mixin responsive-invisibility($parent) { |
| 24 | #{$parent} { |
| 25 | display: none !important; |
| 26 | } |
| 27 | } |