Sha256: dbcca06b437104566558b805f614af379792a051b13020b59602b81af0567abe

Contents?: true

Size: 1.51 KB

Versions: 1

Compression:

Stored size: 1.51 KB

Contents

/*
 *= require_self
 */

@import "alchemy/variables";
@import "alchemy/mixins";

#alchemy_menubar {
  position: fixed;
  top: 0;
  left: -358px;
  width: 400px;
  z-index: 10000;
  background: $main-menu-bg-color;
  transition: left 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 0 0 1px $white;
  box-sizing: border-box;
  height: auto;
  padding: 8px 40px 8px 8px;
  overflow: hidden;
  font-family: $default-font-family;
  font-size: $base-font-size;

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  &:hover {
    left: 0;
  }

  &:after {
    content: '';
    width: 24px;
    height: 24px;
    position: absolute;
    right: 10px;
    top: 50%;
    background: image-url('alchemy/icon-white.svg') 1px 1px no-repeat;
    background-size: 24px 24px;
    transform: translateY(-50%);
  }

  ul {
    padding: 0;
    margin: 0;
    height: 100%;

    li {
      width: 33.333%;
      height: 100%;
      margin: 0;
      padding: 0 $default-padding;
      float: left;
      list-style-type: none;
      text-align: center;

      a, button {
        @include button-defaults(
          $background-color: $main-menu-bg-color,
          $hover-color: $blue,
          $hover-border-color: $white,
          $border: 1px solid $white,
          $padding: 0.5em 0,
          $margin: 0,
          $color: $white
        );
        width: 100%;
        text-decoration: none !important;
        text-transform: none;
        font-family: $default-font-family;

        &:after { display: none }
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alchemy_cms-4.1.0.rc1 app/assets/stylesheets/alchemy/menubar.scss