Sha256: cd0bc1f633d3d81faf406520f4260f43bab8b6057e7dc0b95e0844126bd29051

Contents?: true

Size: 703 Bytes

Versions: 62

Compression:

Stored size: 703 Bytes

Contents

/*------------------------------------*\
    #PAGE-CONTAINER
\*------------------------------------*/

$page-container-max-width:  100% !default;
$page-container-min-width:  320px !default;

/**
 * 1. in case `$page-container-max-width` isn't set to 100%.
 * 2. the admin-toolbar only appears for medium+ devices.
 */
.page-container {
    position: relative;
    right: 0;
    left:  0;
    z-index: index($components, page-container);
    margin:  0 auto; /* [1] */
    max-width: $page-container-max-width;
    min-width: $page-container-min-width;

    .admin-toolbar ~ & {
        @include respond-to($medium-breakpoint) { /* [2] */
            top: $global-admin-toolbar-height;
        }
    }
}

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.4.27 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.5.4 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.4.26 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.5.3 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.4.25 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.5.2 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.4.24 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.5.1 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.4.23 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.4.22 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.5.0 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.4.21 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.5.0.beta.1 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.4.20 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.4.19 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.4.18 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.4.17 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.4.16 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.4.15 app/assets/stylesheets/workarea/storefront/components/_page_container.scss
workarea-storefront-3.4.14 app/assets/stylesheets/workarea/storefront/components/_page_container.scss