Sha256: b1613aa409996afa997b2e80be72b305f5a7c36ccc5d8e0d29beb3cdaa3c5eb0

Contents?: true

Size: 715 Bytes

Versions: 1

Compression:

Stored size: 715 Bytes

Contents

// =============================================
//        Conditional Content Helpers
//          Last Updated:2013-8-16
// =============================================

$responsive: true !default;
$inline-conditional-helpers: false !default;


@if $responsive {
  // desktop helpers
  .desktop-only { display: block; }
  @if $inline-conditional-helpers {
    span.desktop-only { display: inline; }
  }
  .hide-on-desktop { display: none; }
  // ipad helpers
  .ipad-only { display: none !important; }
  .hide-on-ipad {}
  // small tablet helpers
  .small-tablet-only { display: none !important; }
  .hide-on-small-tablet {}
  // mobile helpers
  .mobile-only { display: none !important; }
  .hide-on-mobile {}
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
groundworkcss-2.3.1 app/assets/stylesheets/groundworkcss/responsive/_helpers-responsive.scss