Sha256: bd7f69a6ef7624892286711cca3a61c0eb88c78647f1702a14adb92b57e47828

Contents?: true

Size: 1.18 KB

Versions: 24

Compression:

Stored size: 1.18 KB

Contents

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

// Subheader
// ==================================================
.subheader {
  background: color(white);
  border-bottom: 1px solid color(haze);
  box-sizing: border-box;
  height: 48px;
  line-height: 1;
  padding: 7px 0;

  &.absolute,
  &.fixed { z-index: 1030; }
  &.absolute {
    position: absolute;
    width: inherit;
  }
  &.fixed {
    left: 0;
    position: fixed;
    right: 0;
    top: 76px;
  }
}
.subheader-switch {
  margin-top: 1px;
  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(xxl);
      height: 5px;
      margin-left: 17px;
      position: absolute;
      width: 5px;
    }
  }
}

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
active_frontend-17.0.3 vendor/assets/stylesheets/components/_subheader.scss
active_frontend-17.0.2 vendor/assets/stylesheets/components/_subheader.scss
active_frontend-17.0.1 vendor/assets/stylesheets/components/_subheader.scss
active_frontend-17.0.0 vendor/assets/stylesheets/components/_subheader.scss