_responsive-visibility.scss 514 B

123456789101112131415161718192021
  1. // Responsive utilities
  2. //
  3. // More easily include all the states for responsive-utilities.less.
  4. // [converter] $parent hack
  5. @mixin responsive-visibility($parent) {
  6. #{$parent} {
  7. display: block !important;
  8. }
  9. table#{$parent} { display: table !important; }
  10. tr#{$parent} { display: table-row !important; }
  11. th#{$parent},
  12. td#{$parent} { display: table-cell !important; }
  13. }
  14. // [converter] $parent hack
  15. @mixin responsive-invisibility($parent) {
  16. #{$parent} {
  17. display: none !important;
  18. }
  19. }