Sha256: 94cf56996e137e6f985622af6bae009832e678231727359c4baf79925a19767c

Contents?: true

Size: 1.84 KB

Versions: 1

Compression:

Stored size: 1.84 KB

Contents

header {
  border-top: 0.4rem solid $primary;
  
  .navbar-light .navbar-brand{
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: $dark;

    @media (max-width: 767px) {
      font-size: 2.5rem;
    }
  }

  .subnav-item {
    border-bottom: 1px solid lighten($gray, 10%);
  }

  &.style-default{
    .main-logo{
      $size: 8rem;
      height: $size;
      width: $size;
      border-radius: 100%;
      background-color: $gray;
      display: inline-block;
    }

    .nav-item{
      margin: 0 0.7rem;

      .nav-link{
        color: $dark;
        font-weight: bold;
        font-size: 1.2rem;
        padding: 0.1rem 0.2rem;

        &.active {
          border-bottom: 2px solid $primary;
        }
      }
    }
  }
  
  &.style-1 {
    .nav-item{
      margin: 0 0.7rem;
  
      .nav-link{
        color: $dark;
        font-size: 1rem;
        padding: 0.1rem 0.2rem;
  
        &.active {
          color: $primary;
        }
      }
    }
  }

  .mobile-nav-handle{
    font-size: 1.5rem;
    padding: 0 0.5rem;
    z-index: 101;
  }

  @media (max-width: 767px) {
    .nav-mobile {
      @include transition(all, 0.4s);
      display: block;
      opacity: 0;
      position: fixed;
      top: 0;
      left: 0;
      background-color: rgba(255,255,255,0.95);
      width: 100%;
      height: 0;
      z-index: 100;
      padding-top: 5rem;
      overflow: hidden;

      &.active {
        // display: block;
        height: 100%;
        opacity: 1;
      }
      .nav-item{
        margin: 0 1rem;
    
        .nav-link{
          color: $dark;
          font-size: 1.3rem;
          padding: 0.5rem;
    
          &.active {
            color: $primary;
          }
        }
      }
    }
    .subnav-item {
      border-bottom: none;
      margin-left: 1rem;
      a {
        color: lighten($color: #333, $amount: 30%);
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hardpool-flat-2.0.0 _sass/theme/_header.scss