.lh-tab {
  &.with-border {
    border: solid #e4e8eb 1px;
  }
  width: 100%;
  .lh-tab-content {
    &.disabled {
      cursor: no-drop !important;
    }
  }
  //类别n1
  .lh-tab-div-n1 {
    .lh-tab-content {
      border: solid 1px @color_b5;
      height: 32px;
      line-height: 30px;
      display: inline-block;
      float: left;
      margin-left: -1px;
      padding-left: 16px;
      padding-right: 16px;
      color: @color_b1;
      font-size: 14px;
      cursor: pointer;
      position: relative;
      &:hover {
        color: @color_theme5;
      }
      &.active {
        color: @color_theme6;
        border-color: @color_theme6;
        z-index: 2;
      }
      &.disabled {
        color: @color_b4;
      }
      &:first-child {
        border-radius: 2px 0 0 2px;
      }
      &:last-child {
        border-radius: 0 2px 2px 0;
      }
    }
    &.mini {
      .lh-tab-content {
        height: 24px;
        line-height: 22px;
        padding-left: 8px;
        padding-right: 8px;
        font-size: 12px;
      }
    }
  }
  //类别n2
  .lh-tab-div-n2 {
    height: 100%;
    .lh-tab-content {
      display: inline-block;
      float: left;
      color: @color_b1;
      font-size: 18px;
      cursor: pointer;
      margin-right: 32px;
      line-height: 40px;
      position: relative;
      &:hover {
        font-weight: bold;
      }
      &.active {
        font-weight: bold;
        border-bottom: solid 2px @color_theme6;
      }
      &.disabled {
        color: @color_b4;
        font-weight: normal;
      }
      &:last-child {
        margin-right: 0;
      }
    }
  }
  //类别n3
  .lh-tab-div-n3 {
    .lh-tab-content {
      height: 32px;
      line-height: 30px;
      display: inline-block;
      float: left;
      margin-left: -1px;
      padding-left: 16px;
      padding-right: 16px;
      color: @color_b1;
      font-size: 14px;
      cursor: pointer;
      position: relative;
      & + .lh-tab-content{
        margin-left: 7px;
      }
      border: 1px solid transparent;
      &:hover {
        color: @color_theme5;
        border: 1px solid @color_theme5;
        border-radius: 16px;
      }
      &.active {
        color: white;
        background-color: @color_theme6;
        border:none;
        line-height: 32px;
        border-radius: 16px;
        z-index: 2;
      }
      &.disabled {
        color: @color_b4;
        border:none;
      }
    }
    &.mini {
      .lh-tab-content {
        height: 24px;
        line-height: 22px;
        padding-left: 12px;
        padding-right: 12px;
        font-size: 12px;
        &.active {
          line-height: 24px;
        }
      }
    }
  }
  //类别n4
  .lh-tab-div-n4 {
    &:after{
      content: "";
      display: block;
      clear: both;
    }
    .lh-tab-content {
      display: inline-block;
      float: left;
      color: @color_b1;
      font-size: 14px;
      cursor: pointer;
      margin-right: 32px;
      padding-bottom: 8px;
      line-height: 19px;
      //position: relative;
      //bottom: -1px;
      &:hover{
        color:@color_theme5
      }
      &.active {
        color: @color_theme6;
        border-bottom: solid 2px @color_theme6;
      }
      &.disabled {
        color: @color_b4;
      }
      &:last-child {
        margin-right: 0;
      }
    }
    &.mini{
      .lh-tab-content {
        font-size: 12px;
      }
      .more-wrap {
        font-size: 12px;
      }
    }
    &.big{
      .lh-tab-content{
        margin-right: 40px;
        line-height: 21px;
        font-size: 16px;
      }
      .more-wrap {
        font-size:16px;
      }
    }
    .more-wrap{
      position: relative;
      font-size: 14px;
      .more{
        color: @color_b1;
      }
      &:hover{
        .drop-down-wrap{
          display: block!important;
        }
        .dropdown-icon{
          -webkit-transform:rotate(-180deg);
          transform:rotate(-180deg);
        }
      }
      .li-span {
        border:none;
        line-height: 32px;
        height: 32px;
      }
      .dropdown-icon{
        display: inline-block;
        transition: All 0.3s ease-in-out;
        color: @color_b3;
        font-size: 10px;
      }
      .drop-down-wrap {
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        min-height: 10px;
        padding-bottom: 5px;
        z-index: 999;
        &.mini {
          ul {
            padding: 0 0 0 0;

            li {
              font-size: 12px;
              height: 20px;
              line-height: 19px;
              padding-left: 4px;
              padding-right: 4px;
            }
          }
        }
        &.big {
          ul {
            li {
              font-size: 16px;
            }
          }
        }
        ul {
          width: 100%;
          padding: 8px 0;
          overflow-y: auto;
          border-radius: 2px;
          box-shadow: 0 4px 8px 0 @color_b5;
          background-color: #ffffff;
          li {
            font-size: 14px;
            background-color: #fff;
            border-radius: 2px;
            height: 32px;
            line-height: 32px;
            padding: 0 16px;
            color: @color_b1;
            cursor: pointer;
            //超限显示...
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            &:hover {
              background-color: @color_b7;
              .lh-tab-content{
                color: @color_b1;
              }
            }
            &.disabled {
              background-color: #fff;
              cursor: not-allowed;
            }
            span {
              &.active {
                color: @color_theme5!important;
              }
              &.disabled {
                color: @color_b4!important;
              }
              &.events-none {
                pointer-events: none;
              }
            }
          }
        }
      }
    }
  }
  //类别n5
  .lh-tab-div-n5 {
    border: 1px solid @color_b6;
    width: 100%;
    height: 32px;
    .lh-tab-content {
      height: 30px;
      line-height: 30px;
      display: inline-block;
      float: left;
      margin-left: -1px;
      padding-left: 16px;
      padding-right: 16px;
      color: @color_b2;
      font-size: 14px;
      cursor: pointer;
      position: relative;
      &:hover {
        color: @color_theme5;
      }
      &.active {
        color: @color_theme6;
        background-color: @color_theme1;
      }
      &.disabled {
        color: @color_b4;
      }
      &:first-child {
        border-radius: 2px 0 0 2px;
      }
      &:last-child {
        border-radius: 0 2px 2px 0;
      }
    }
    &.mini {
      .lh-tab-content {
        height: 24px;
        line-height: 22px;
        padding-left: 8px;
        padding-right: 8px;
        font-size: 12px;
      }
    }
  }
}

