Sha256: cf4197ee96a2a52b3d1351ca77635cb0bd156661df599f0c358bff7b43c14321

Contents?: true

Size: 1.15 KB

Versions: 62

Compression:

Stored size: 1.15 KB

Contents

/*------------------------------------*\
    #HIDDEN
\*------------------------------------*/

/**
 * Hide a block-level element.
 */
.hidden,
%hidden {
    display: none;
}


/**
 * Hide a block-level element for greater-than or equal-to the breakpoint.
 */
.hidden--for-medium,
%hidden--for-medium {
    display: block;

    @include respond-to($medium-breakpoint) {
        display: none;
    }
}

.hidden--for-wide,
%hidden--for-wide {
    display: block;

    @include respond-to($wide-breakpoint) {
        display: none;
    }
}


/**
 * Hide a block-level element for the breakpoint.
 */
.hidden--for-small-only,
%hidden--for-small-only {
    @include respond-to($medium-breakpoint) {
        display: block;
    }
}

.hidden--for-medium-only,
%hidden--for-medium-only {
    display: block;

    @include respond-to($medium-breakpoint) {
        display: none;
    }

    @include respond-to($wide-breakpoint) {
        display: block;
    }
}

.hidden--for-wide-only,
%hidden--for-wide-only {
    display: block;

    @include respond-to($wide-breakpoint) {
        display: none;
    }

    @include respond-to($x-wide-breakpoint) {
        display: block;
    }
}

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.5.27 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.5.26 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.4.45 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.5.25 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.5.23 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.4.44 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.5.22 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.4.43 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.5.21 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.4.42 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.5.20 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.4.41 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.5.19 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.4.40 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.5.18 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.4.39 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.5.17 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.4.38 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.5.16 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss
workarea-storefront-3.4.37 app/assets/stylesheets/workarea/storefront/trumps/_hidden.scss