Sha256: 87faceb1f84a3b3124a29b67aa2ccafbb34a8521fb50f6d33136976be08bf310

Contents?: true

Size: 1.28 KB

Versions: 3

Compression:

Stored size: 1.28 KB

Contents

.header #tabs {
  width: $header-width;
  height: calc(100% - 60px);
  position: fixed;
  top: 60px;
  background-color: $sidebar-background;
  border-right: 1px solid $sidebar-border-color;
  z-index: 1;

  @media screen and (min-width: $sm-width) {
    left: - $header-width;
  }

  @media screen and (min-width: $md-width) {
    left: 0px;
  }

  @media screen and (min-width: $lg-width) {
    width: $lg-header-width;
  }

  li {
    width: 100%;
    font-size: 14px;
    line-height: 38px;
    cursor: pointer;

    a {
      width: 100%;
      height: 100%;
      display: inline-block;
      color: $text-color;
      padding: 0 20px;

      &:hover {
        background-color: $sidebar-item-hover-background;
      }
    }

    &.current {
      a {
        color: $primary-color;
      }
    }

    &.has_nested {
      ul {
        border-top: 1px solid $sidebar-border-color;
        border-bottom: 1px solid $sidebar-border-color;
        background-color: $body-background;
        padding: 10px 0;
        cursor: auto;

        a {
          padding: 0px 15px 0px 40px;
          color: $text-color;

          &:hover {
            background-color: $sidebar-nested-item-hover-background;
          }
        }

        .current a {
          color: $primary-color;
        }
      }
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arctic_admin-1.1.2 app/assets/stylesheets/layouts/_sidebar.scss
arctic_admin-1.1.1 app/assets/stylesheets/layouts/_sidebar.scss
arctic_admin-1.1.0 app/assets/stylesheets/layouts/_sidebar.scss