Sha256: 57098d2df2fc84809333248c668f51f0992400d5e78e48b82d8d9d22b85d8d05

Contents?: true

Size: 571 Bytes

Versions: 5

Compression:

Stored size: 571 Bytes

Contents

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

$responsive: true !default;


@if $responsive {
  // desktop helpers
  .desktop-only { display: block; }
  .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

5 entries across 5 versions & 1 rubygems

Version Path
groundworkcss-2.2.1 app/assets/stylesheets/groundworkcss/responsive/_helpers-responsive.scss
groundworkcss-2.0.4 app/assets/stylesheets/groundworkcss/responsive/_helpers-responsive.scss
groundworkcss-2.0.2 app/assets/stylesheets/groundworkcss/responsive/_helpers-responsive.scss
groundworkcss-2.0.1 app/assets/stylesheets/groundworkcss/responsive/_helpers-responsive.scss
groundworkcss-2.0.0 app/assets/stylesheets/groundworkcss/responsive/_helpers-responsive.scss