Sha256: 666e50d882a55260091d3e7282e1942c78668a9be51610ede44cfbe090a8b62b

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 KB

Contents

/*------------------------------------*\
    #CONTENT-BLOCK
\*------------------------------------*/

$content-block-font-size: 16px !default;
$content-block-font-size-wide: 18px !default;
$page-header-promo-font-size: 12px !default;

.content-block {
    font-size: $content-block-font-size;

    @include respond-to($medium-breakpoint) {
        font-size: $content-block-font-size-wide;
    }

    .page-header__promo & {
        font-size: $page-header-promo-font-size;

        @include respond-to($wide-breakpoint) {
            font-size: $content-block-font-size;
        }
    }
}

.content-block--hidden-for-small {
    display: none;

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

.content-block--hidden-for-medium {
    @include respond-to($medium-breakpoint) {
        display: none;
    }

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

.content-block--hidden-for-wide {
    @include respond-to($wide-breakpoint) {
        display: none;
    }

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

.content-block--hidden-for-x-wide {
    @include respond-to($x-wide-breakpoint) {
        display: none;
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
workarea-nvy_theme-1.2.1 app/assets/stylesheets/workarea/storefront/components/_content_block.scss
workarea-nvy_theme-1.2.0 app/assets/stylesheets/workarea/storefront/components/_content_block.scss
workarea-nvy_theme-1.1.4 app/assets/stylesheets/workarea/storefront/components/_content_block.scss
workarea-nvy_theme-1.1.3 app/assets/stylesheets/workarea/storefront/components/_content_block.scss
workarea-nvy_theme-1.1.2 app/assets/stylesheets/workarea/storefront/components/_content_block.scss