Sha256: 551f5e9ed3bb4df95560ea150a0848a4e97ef04c870bfbdc7c82fc47b78717bb

Contents?: true

Size: 699 Bytes

Versions: 6

Compression:

Stored size: 699 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 {}
  // 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

6 entries across 6 versions & 1 rubygems

Version Path
groundworkcss-2.3.7 app/assets/stylesheets/groundworkcss/responsive/_helpers-responsive.scss
groundworkcss-2.3.6 app/assets/stylesheets/groundworkcss/responsive/_helpers-responsive.scss
groundworkcss-2.3.5 app/assets/stylesheets/groundworkcss/responsive/_helpers-responsive.scss
groundworkcss-2.3.4 app/assets/stylesheets/groundworkcss/responsive/_helpers-responsive.scss
groundworkcss-2.3.3 app/assets/stylesheets/groundworkcss/responsive/_helpers-responsive.scss
groundworkcss-2.3.2 app/assets/stylesheets/groundworkcss/responsive/_helpers-responsive.scss