Sha256: 338dca5ae41b77cb503a25c71afe5bed6893bcf81560f8bd465856c98139e20f

Contents?: true

Size: 1.24 KB

Versions: 7

Compression:

Stored size: 1.24 KB

Contents

// Table of Contents
// ==================================================
// Navbar
// Media Queries

// scss-lint:disable NestingDepth

// Navbar
// ==================================================
.navbar {
  background: color(white);
  border-collapse: separate;
  border-top: 1px solid color(dark-haze);
  box-sizing: border-box;
  display: table;
  height: 54px;
  line-height: 1;
  table-layout: fixed;
  width: 100%;

  > a {
    display: table-cell;
    float: none;
    font-size: text-size(xxs);
    font-weight: text-weight(semibold);
    text-align: center;
    vertical-align: middle;
    width: 1%;

    @if ($pseudo-elements) {
      &:hover,
      &.active,
      &:active,
      &:focus { color: color(primary); }

      &.primary {
        &:hover,
        &.active,
        &:active,
        &:focus {
          background: darkish-color(primary);
          color: color(white);
        }
      }
    }

    > i {
      font-size: text-size(l);
      display: block;
      margin-bottom: 3px;
    }
  }

  &.fixed {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    z-index: 1040;
  }
}

// Media Queries
// ==================================================
@media only screen and (min-width: 768px) {
  .navbar { display: none; }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_frontend-15.1.6 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-15.1.5 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-15.1.4 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-15.1.3 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-15.1.2 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-15.1.1 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-15.1.0 vendor/assets/stylesheets/components/_navbar.scss