Sha256: 630ed836502001123076c9df0a676716336279b4ecab18211c86c86cbe8f0944

Contents?: true

Size: 1.25 KB

Versions: 4

Compression:

Stored size: 1.25 KB

Contents

// Table of Contents
// ==================================================
// Subheader
// Media Queries

// Subheader
// ==================================================
.subheader,
.subheader-buffer {
  border-bottom: 1px solid color(transparent);
  box-sizing: border-box;
  height: 49px;
  line-height: 1;
  padding: 7px 0;
}
.subheader {
  background: color(white);
  border-bottom-color: color(dark-haze);

  &.absolute,
  &.fixed { z-index: 1030; }
  &.absolute {
    position: absolute;
    width: inherit;
  }
  &.fixed {
    left: 0;
    position: fixed;
    right: 0;
    top: 76px;
  }
}
.subheader-switch {
  margin-top: 2px;
  line-height: 30px;
}
.subheader-nav {
  list-style: none;
  margin-top: 9px;
  padding: 0;

  > li {
    float: left;
    margin-right: 15px;

    &:last-child { margin-right: 0; }

    &.btn-group + .btn-group { margin-left: 0; }

    .indicator {
      background: color(red);
      border-radius: border-radius(xl);
      height: 5px;
      margin-left: 17px;
      position: absolute;
      width: 5px;
    }
  }
}

// Media Queries
// ==================================================
@media only screen and (max-width: 767px) {
  .subheader {
    &.absolute,
    &.fixed {
      position: fixed;
      top: 54px;
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_frontend-15.1.6 vendor/assets/stylesheets/components/_subheader.scss
active_frontend-15.1.5 vendor/assets/stylesheets/components/_subheader.scss
active_frontend-15.1.4 vendor/assets/stylesheets/components/_subheader.scss
active_frontend-15.1.3 vendor/assets/stylesheets/components/_subheader.scss