Sha256: de066a79596d88aa3f4fba818a4484e0bd6f1a74b19ee56ad8fb783fab661a37

Contents?: true

Size: 918 Bytes

Versions: 62

Compression:

Stored size: 918 Bytes

Contents

/*------------------------------------*\
    #ADMIN-TOOLBAR
\*------------------------------------*/

$admin-toolbar-bg-color:  $white !default;


/**
 * This component is dynamically injected via JavaScript when a user is logged
 * in as an administrator.
 *
 * 1. only display for devices that are wide enough to accommodate the design.
 * 2. saves us from overcomplicated JavaScript, but must always match the height
 *    of the header in the admin.
 */
.admin-toolbar {
    display: none;

    @include respond-to($medium-breakpoint) { /* [1] */
        display: block;
        position: fixed;
        top: 0;
        z-index: index($components, admin-toolbar);
        width: 100%;
        height: $global-admin-toolbar-height; /* [2] */
        background: $admin-toolbar-bg-color;
        border: 0;
        box-shadow: 0 0 5px 0 $overlay-shadow-color;
    }
}

.admin-toolbar--expanded {
    height: 100%;
}

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.4.13 app/assets/stylesheets/workarea/storefront/components/_admin_toolbar.scss
workarea-storefront-3.4.12 app/assets/stylesheets/workarea/storefront/components/_admin_toolbar.scss