_nav.scss 718 字节
Newer Older
C
chomik 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
.nav-tabs {
  .icon {
    color: $text-muted;
  }

  .nav-link {
    padding-right: $card-spacer-x;
    padding-left: $card-spacer-x;
    line-height: 20px;
    color: $text-muted-light;
    cursor: pointer;
    background: transparent;
    border: none;
    border-bottom: 1px solid transparent;
    transition: .3s color, .3s border-color;

    &:hover {
      color: $body-color;
      border-color: transparent;
    }

    &.disabled {
      color: rgba($text-muted, .2);
    }

    &.active {
      background: inherit;
      border-color: transparent;
      border-bottom-color: $primary;
    }
  }
}

.nav-tabs-alt {
  .nav-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
  }
}