Sha256: 6acb3b650ed3148fe184d51984f7831ff81bed4d4f8f46e4c846964d792f2c63

Contents?: true

Size: 1.19 KB

Versions: 118

Compression:

Stored size: 1.19 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: 50px;
  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%;

    &:hover,
    &.active,
    &:active,
    &:focus { color: color(primary); }

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

  &.primary {
    > a {
      &:hover,
      &.active,
      &:active,
      &:focus {
        background: darkish-color(primary);
        color: color(white);
      }
    }
  }
  &.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

118 entries across 118 versions & 1 rubygems

Version Path
active_frontend-14.0.86 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.85 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.84 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.83 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.82 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.81 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.80 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.79 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.78 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.77 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.76 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.75 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.74 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.73 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.72 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.71 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.70 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.69 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.68 vendor/assets/stylesheets/components/_navbar.scss
active_frontend-14.0.67 vendor/assets/stylesheets/components/_navbar.scss