Sha256: 999efe7c69fd2be9d67650efac7e608f9f25982d0081a35f7c34576b3e69eef6

Contents?: true

Size: 1.16 KB

Versions: 62

Compression:

Stored size: 1.16 KB

Contents

/*------------------------------------*\
    #VISIBLE
\*------------------------------------*/

/**
 * Reveal a block-level element.
 */
.visible,
%visible {
    display: block;
}


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

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

.visible--for-wide,
%visible--for-wide {
    display: none;

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


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

.visible--for-medium-only,
%visible--for-medium-only {
    display: none;

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

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

.visible--for-wide-only,
%visible--for-wide-only {
    display: none;

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

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

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.5.15 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.4.36 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.5.14 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.4.35 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.5.13 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.4.34 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.5.12 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.4.33 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.5.11 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.5.10 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.4.32 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.5.9 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.4.31 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.5.8 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.4.30 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.5.7 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.4.29 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.5.6 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.4.28 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.5.5 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss