Sha256: e5ebbe0a345e8a59105706bc2dc36e5e35dc88b0f048b5e43560dc3977d1d135

Contents?: true

Size: 1.66 KB

Versions: 2

Compression:

Stored size: 1.66 KB

Contents

// Menus and Navs
// --------------------------------------------------

// Basic menu blocks
// --------------------------------------------------
ul.menu > li > ul.menu {
  margin-left: 1em; /* LTR */
}

// Nav
// --------------------------------------------------
ul.nav {
  > li {
    &.dropdown {
      &:after {
        width: 100%;
        height: 2px;
        background: none;
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        content: '';
      }
    }
  }
}

// Nav expanded
// --------------------------------------------------
.nav-expanded {
  .caret {
    display: none;
  }
  > li {
    > a {
      font-size: 1.2em;
      text-align: left;
      font-weight: 700;
      color: $text-color;
      &:hover, &:focus, &.active, &.active-trail {
        color: $link-hover-color;
        background: none;
      }
    }
    ul.dropdown-menu {
      background: none;
      display: block;
      border: 0;
      padding: 0;
      position: static;
      float: none;
      @include border-radius(0);
      @include box-shadow(none);
      li {
        a {
          padding: 3px 15px;
          color: $text-color;
          &:hover, &:focus, &.active, &.active-trail {
            color: $link-hover-color;
            background: none;
          }
        }
      }
      ul {
        display: none !important;
      }
    }
    @media (max-width: $screen-xs-max) {
      float: none;
      margin-bottom: 18px;
    }
    &.open {
      > a {
        color: $text-color;
        background: none;
        &:hover, &:focus, &.active, &.active-trail {
          color: $link-hover-color;
          background: none;
        }
      }
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
compass_radix-3.2.0 stylesheets/compass_radix/_menu.scss
compass_radix-3.1.6 stylesheets/compass_radix/_menu.scss