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.4.13 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss
workarea-storefront-3.4.12 app/assets/stylesheets/workarea/storefront/trumps/_visible.scss