.ht-base-table {
  tr.ivu-table-row-hover td {
    background-color: @table-component-background;
  }
  &.ivu-table-wrapper {
  }
  .ivu-table .ivu-table-header{
    overflow: visible;
  }
  .ivu-table th {
    text-align: center;
    background-color: @table-th-bg-base;
    overflow: visible;
  }

  .ivu-table th, .ivu-table td {
    height: 46px;
    color: @table-font-base;
    font-size: 12px;
    //border: 1px solid @background-color-base;
  }
  .ivu-table td {
    .ivu-table-cell {
      a {
        color: @primary-color;
      }
    }
  }
  .ivu-table-stripe .ivu-table-body tr.ivu-table-row-hover td, .ivu-table-stripe .ivu-table-fixed-body tr.ivu-table-row-hover td {
    background-color: @table-component-background;
  }
  .ivu-table-stripe .ivu-table-body tr:nth-child(2n) td, .ivu-table-stripe .ivu-table-fixed-body tr:nth-child(2n) td {
    background-color: @table-component-background;
  }
  .ivu-table-stripe th,.ivu-table-stripe td{
    border: 0;
  }
  .ivu-table-stripe:before{
    background: #ffffff;
  }

  .ivu-table-filter i {
    color: @disabled-color;
    font-size: 14px;
    &:hover {
      color: @sub-color
    }
  }
  .ivu-table-filter i.on {
    color: @primary-color;
  }
  .ht-base-table-theme-nopadding {
    td.ivu-table-expanded-cell {
      margin-top: -1px;
      padding: 0 1px 0 0;

      .ht-base-table {
        width: calc(~"100% + 2px");
        margin-left: -1px;
        .ivu-table-body {
          //border-left: 1px solid @primary-color;
        }

        td, th {
          border-bottom: none;

          &:last-child {
            //border-right-color: transparent;
          }
        }
      }
    }
  }

  .ht-base-table-theme-blue {
    //border-color: @primary-color;

    .ivu-table {
      &:before {
        background-color: @primary-color;
      }

      &:after {
        background-color: @primary-color;
      }

      th {
        color: @btn-primary-color;
        background-color: @primary-color;
      }
    }
  }

  .part-select .ivu-checkbox-checked .ivu-checkbox-inner:after {
    content: '';
    display: table;
    width: 0px!important;
    height: 10px!important;
    position: absolute;
    top: 3px!important;
    left: 7px!important;
    //border: 1px solid #fff;
    transform: rotate(90deg) scale(1);
  }

  .part-parent-select .ivu-checkbox {
    .ivu-checkbox-inner {
      background: #228EF8;

      &:after {
        content: '';
        display: table;
        width: 2px;
        height: 10px;
        position: absolute;
        top: 1px;
        left: 5px;
        //border: 1px solid #fff;
        transform: rotate(90deg) scale(1);
      }
    }
  }

  .ht-base-table-theme-blue .ivu-table:before {
    position: absolute;
    left: 0;
    bottom: 0px;
  }

  .ht-base-table-theme-blue .ivu-table:after {
    position: absolute;
    top: 0px;
    right: 0px;
  }

  &.ht-base-table-theme-nopadding td.ivu-table-expanded-cell .ivu-table-body {
    //border-left: none;
  }

  &.ht-base-table-theme-nopadding td.ivu-table-expanded-cell .ivu-table-body:after {
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #228EF8;
    z-index: 3
  }

  &.ivu-table-wrapper.ivu-table-with-header.ht-base-table-theme-nopadding {
    td.ivu-table-expanded-cell {
      padding: 0;
    }
  }
  &.ht-base-table-theme-nopadding td.ivu-table-expanded-cell {
    padding: 0;
    .ivu-table.ivu-table-default {
      .ivu-table-title, .ivu-table-footer {
        height: 40px;
        line-height: 40px;
      }
    }
  }

  //表头分组固定列表格没有下边框问题
  .ivu-table-with-fixed-top,.ivu-table:before{
    z-index: 4;
  }

}
