Sha256: 0a403c881a7cc36052c6b846f91d1ebaf4b6078d9d544f5b338f6d6ddbaa7e32

Contents?: true

Size: 1.24 KB

Versions: 25

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(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: color(primary);
          color: text-color-on(primary);
        }
      }
    }

    > 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

25 entries across 25 versions & 1 rubygems

Version Path
active_frontend-16.0.24 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.23 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.22 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.21 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.20 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.19 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.18 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.17 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.16 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.15 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.14 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.13 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.12 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.11 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.10 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.9 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.8 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.7 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.6 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-16.0.5 vendor/assets/stylesheets/components/_navbar.scss