Sha256: 847eb0595bda9a9a2a7d11bcf881cda72d25fee4369e5d50b536ef03b1f56030

Contents?: true

Size: 1.89 KB

Versions: 7

Compression:

Stored size: 1.89 KB

Contents

$header_brand_color:          $header_default_color;
$header_brand_font_size:      15px;
$header_site_arrow_color:     #349cb0;

.navbar-header {
  width: 30%;

  .navbar-brand, .navbar-site, .navbar-text {
    margin-left: 0px;
    margin-right: 0px;
  }

  .navbar-site {
    margin-top: 2px;
    margin-bottom: 0px;
    width: 100%;
    text-align: center;
  }

  .navbar-brand {
    font-size: $font-size-base + 2;
    color: $header_brand_color;

    padding-top: 15px;
    padding-bottom: 15px;

    img {
      vertical-align: baseline;
      width: 16px;
      margin-right: 3px;
    }

    span.default, span.default a {
      font-family: $alt-font-family-sans-serif;
      color: rgba($header_brand_color, 1);
      font-size: $font-size-base + 2;

      &:hover {
        text-decoration: none;
      }
    }
  }

}

.navbar-collapse {
  padding: 0px;

  .navbar-right {
    width: 30%;

    > li {
      float: right
    }
  }

  .navbar-nav > li > a {
    line-height: 35px;
    padding-top: 8px;
    padding-bottom: 7px;
  }
}

.navbar-site {
  width: 40%;
  @include display-flex;
  @include flex-justify-content(center);

  li {
    a {
      display: inline-block;

      &:first-child {
        padding-right: 0px;
      }

      span.arrow {
        position: relative;
        top: 1px;

        i {
          font-size: 14px;
          font-weight: bold;
          color: $header_site_arrow_color;
        }
      }

      &:hover {
        // TODO: cf Mathieu
      }
    }
  }
}

.navbar-default {
  .navbar-toggle {
    z-index: 10;
    border-color: transparent;
    background-color: rgba(#000, 0.2);

    &:focus, &:active {
      background-color: rgba(#000, 0.2);
    }

    .icon-bar {
      background-color: rgba(#fff, 0.6);
      @include transition(all 0.3s ease-in-out);
    }

    &:hover {
      background-color: rgba(#000, 0.2);

      .icon-bar {
        background-color: #fff;
      }
    }
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
locomotivecms-3.0.0.rc6 app/assets/stylesheets/locomotive/components/header/_base.scss
locomotivecms-3.0.0.rc5 app/assets/stylesheets/locomotive/components/header/_base.scss
locomotivecms-3.0.0.rc4 app/assets/stylesheets/locomotive/components/header/_base.scss
locomotivecms-3.0.0.rc3 app/assets/stylesheets/locomotive/components/header/_base.scss
locomotivecms-3.0.0.rc2 app/assets/stylesheets/locomotive/components/header/_base.scss
locomotivecms-3.0.0.rc1 app/assets/stylesheets/locomotive/components/header/_base.scss
locomotivecms-3.0.0.pre.beta.1 app/assets/stylesheets/locomotive/components/header/_base.scss