Sha256: efaf0d95177f39f0c324b60a458c67774923d11f5e034db4d9455b7dede02548

Contents?: true

Size: 974 Bytes

Versions: 5

Compression:

Stored size: 974 Bytes

Contents

/*------------------------------------*\
    #BOX
\*------------------------------------*/

$box-background-color: $background-color-component !default;

$box-padding: ($spacing-unit * 3) ($spacing-unit * 3) 0 !default;

$box-heading-font-size: 18px !default;
$box-heading-font-size-wide: 20px !default;


.box {
    margin-bottom: $spacing-unit * 2;
    background-color: $box-background-color;
}


    .box__header {
        @extend %clearfix;
        padding: $box-padding;
    }

        /**
         * 1. approximate the height of a button
         */
        .box__heading {
            margin-bottom: 0;
            font-size: $box-heading-font-size;
            line-height: 1.7; /* [1] */

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

        .box__action {
            float: right;
        }


    .box__body {
        padding: ($spacing-unit * 2) ($spacing-unit * 3);
    }

Version data entries

5 entries across 5 versions & 1 rubygems

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