Sha256: d8cc7072546cc7dd6bdb4b0592bb69af3b48ec5113fb1659646152c64c2ef78b

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 KB

Contents

$header_dropdown_background_color: #383838;
$header_dropdown_hovered_background_color: #2f2f2f;
$header_dropdown_link_color: #999;
$header_dropdown_hovered_link_color: #fff;

.account-menu-wrapper {
  > li.dropdown {
    & > a {
      font-family: $alt-font-family-sans-serif;
      font-size: $font-size-base - 1;
      line-height: 20px;
      color: rgba($header_default_color, 1.0);
      outline: none;

      &:hover,
      &:focus {
        color: rgba($header_default_color, 1.0);
      }

      img {
        width: 35px;
        margin-right: 10px;
      }

      .caret {
        margin-left: 10px;
      }
    }

    &.open > a,
    &.open > a:hover,
    &.open > a:focus {
      color: rgba($header_default_color, 1.0) !important;
      background: $navbar-default-bg;
    }

    ul.dropdown-menu {
      @include box-shadow(none);
      right: 15px;
      background: $header_dropdown_background_color;
      border-radius: 3px;

      li.divider {
        background-color: $header_dropdown_hovered_background_color;
      }

      li:before {
        right: 15px !important;
        left: auto !important;
      }

      a {
        font-size: $font-size-base - 1;
        color: $header_dropdown_link_color;

        &:hover {
          color: $header_dropdown_hovered_link_color;
          background: $header_dropdown_hovered_background_color;
        }
      }
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
locomotivecms-3.0.1 app/assets/stylesheets/locomotive/components/header/_account.scss
locomotivecms-3.0.0 app/assets/stylesheets/locomotive/components/header/_account.scss
locomotivecms-3.0.0.rc7 app/assets/stylesheets/locomotive/components/header/_account.scss