Sha256: 9809529e14391d1bb55b535812428fe276b76b727e9bc11ef8eacdf166e0af3a

Contents?: true

Size: 1011 Bytes

Versions: 4

Compression:

Stored size: 1011 Bytes

Contents

html {
  height: 100%;
}

body {
  position: relative;
  min-height: 100%;

  &.new-layout {
    padding-left: $width-sidebar;
  }
}

.admin-nav {
  @include position(absolute, 0 null 0 0);
  width: $width-sidebar;
  img {
    max-width: 100%;
  }
  @media print { display: none }
}

.content-wrapper {
  body:not(.new-layout) & {
    margin-left: $width-sidebar;
    @media print { margin-left: 0 }
  }

  body.new-layout & {
    @include padding(1rem $grid-gutter-width null);
  }

  &.centered {
    @include margin(null auto);
    max-width: map-get($container-max-widths, "xl");
  }
}

.content {
  @include make-row();
}

.content-main {
  @include make-col();
  @include make-col-span(12);
  overflow-x: hidden; // makes sure that the tabs are able to resize

  .has-sidebar & {
    @include make-col-span(9);
  }
}

.content-sidebar {
  @include make-col();
  @include make-col-span(3);
}

#content {
  background-color: $color-1;
  position: relative;
  z-index: 0;
  padding: 0;
  margin-top: 15px;
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_backend-2.1.1 app/assets/stylesheets/spree/backend/shared/_layout.scss
solidus_backend-2.1.0 app/assets/stylesheets/spree/backend/shared/_layout.scss
solidus_backend-2.1.0.rc1 app/assets/stylesheets/spree/backend/shared/_layout.scss
solidus_backend-2.1.0.beta1 app/assets/stylesheets/spree/backend/shared/_layout.scss