nav.scss 1.8 KB
Newer Older
1 2 3 4
.nav-links {
  padding: 0;
  margin: 0;
  list-style: none;
5
  height: auto;
6 7 8 9 10 11 12
  border-bottom: 1px solid $border-color;

  li {
    display: inline-block;

    a {
      display: inline-block;
13
      padding: 14px;
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
      padding-top: $gl-padding;
      padding-bottom: 11px;
      margin-bottom: -1px;
      font-size: 15px;
      line-height: 28px;
      color: #959494;
      border-bottom: 2px solid transparent;

      &:hover, &:active, &:focus {
        text-decoration: none;
        outline: none;
      }
    }

    &.active a {
29
      color: #000000;
30 31 32 33 34 35 36 37 38 39
      border-bottom: 2px solid #4688f1;
    }

    .badge {
      font-weight: normal;
      background-color: #eee;
      color: #78a;
    }
  }
}
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101

.top-area {
  border-bottom: 1px solid #EEE;

  .nav-text {
    padding-top: 16px;
    padding-bottom: 11px;
    display: inline-block;
    width: 50%;
    line-height: 28px;
  }

  .nav-links {
    display: inline-block;
    width: 50%;
    margin-bottom: 0px;
    border-bottom: none;
  }

  .nav-controls {
    width: 50%;
    display: inline-block;
    float: right;
    text-align: right;
    padding: 11px 0;
    margin-bottom: 0px;

    > .dropdown {
      display: inline-block;
    }

    input {
      display: inline-block;
      width: calc(100% - 151px);

      /* Small devices (tablets, 768px and up) */
      @media (min-width: $screen-sm-min) { width: 150px; }

      /* Medium devices (desktops, 992px and up) */
      @media (min-width: $screen-md-min) { width: 200px; }

      /* Large devices (large desktops, 1200px and up) */
      @media (min-width: $screen-lg-min) { width: 300px; }
    }

    .btn-new {
      width: 135px;
      margin-left: 10px;
      float: right;
    }

    .dropdown-toggle.btn {
      margin-top: -3px;
    }
  }

  @media (max-width: $screen-xs-max) {
    .nav-controls {
      padding-top: 15px;
    }
  }
}