_nav.scss 908 字节
Newer Older
C
chomik 已提交
1 2 3 4 5 6
.nav-tabs {
  .icon {
    color: $text-muted;
  }

  .nav-link {
C
codecalm 已提交
7
    padding: $card-spacer-y $card-spacer-x;
C
chomik 已提交
8
    line-height: 20px;
C
codecalm 已提交
9
    color: $text-muted;
C
chomik 已提交
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
    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 {
C
codecalm 已提交
26
      color: $body-color;
C
chomik 已提交
27 28 29 30 31 32 33 34 35 36 37 38 39 40
      background: inherit;
      border-color: transparent;
      border-bottom-color: $primary;
    }
  }
}

.nav-tabs-alt {
  .nav-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
  }
}
C
codecalm 已提交
41 42 43 44

.nav-icon {
  line-height: 1;
  margin-right: .25rem;
C
codecalm 已提交
45 46 47

  .icon {
    display: block;
C
codecalm 已提交
48
    stroke-width: 1.5;
C
codecalm 已提交
49
  }
C
codecalm 已提交
50 51 52 53 54 55 56
}

.nav-link {
  display: flex;
  align-items: center;
  transition: .3s color;
}