.lh-table{
  border:solid 1px rgb(235,238,245);
  max-width: 100%;
  position: relative;
  &.last-column-left-show {
    .last-column-left:before {
      box-shadow: inset 10px 0 10px -10px rgba(0,0,0,.15);
      right:-10px;
      content: "";
      position: absolute;
      top: 0;
      width: 10px;
      bottom: -1px;
      overflow-x: hidden;
      overflow-y: hidden;
      touch-action: none;
      pointer-events: none;
    }
  }
  &.first-column-right-show {
    .first-column-right:before {
      box-shadow: inset -10px 0 10px -10px rgba(0,0,0,.15);
      left: -10px;
      content: "";
      position: absolute;
      top: 0;
      width: 10px;
      bottom: -1px;
      overflow-x: hidden;
      overflow-y: hidden;
      touch-action: none;
      pointer-events: none;
    }
  }
  &.is-dragging {
    user-select: none;
  }
  .lh-table-inner-wapper {
    position: relative;
    .lh-table__empty-block {
      position: absolute;
      height: 60px;
      width: 100%;
      text-align: center;
      background-color: white;
      .lh-table__empty-text {
        line-height: 60px;
        color:rgb(144,147,153);
        font-size: 14px;
      }
    }
    .lh-table-header-wapper {
      width: 100%;
      overflow-x: auto;
    }
    table {
      border-collapse: collapse;
      table-layout:fixed;
      thead {
        user-select: none;
        tr {
          th{
            color:@color_b3;
            outline:rgb(235,238,245) solid 1px; //使用position:sticky之后会导致border透明。采用outline替代border
            &:after{
              content:'';
              position:absolute;
              left: 0;
              bottom: 0;
              width:100%;
              border-bottom: 1px solid rgb(235,238,245);
            }
            background-color: rgb(250,250,250);
            font-weight: normal;
            position: relative;
            padding-top: 6px;
            padding-bottom: 6px;

            .cell {
              font-size: 12px;
              line-height: 24px;
              padding-left: 10px;
              padding-right: 10px;
              text-align: left;
              .caret-wrapper {
                position: absolute!important;
                top: 50%;
                margin-top: -10px;
                right: 10px;
                height: 20px;
                width: 9px;
                vertical-align: middle;
                cursor: pointer;
                display: none;
                flex-direction: column;
                .sort-caret {
                  height: 0;
                  width: 0;
                  border: 4px solid @color_b4;
                  border-top-color:transparent;
                  border-right-color:transparent;
                  border-bottom-color:@color_b4;
                  border-left-color:transparent;
                  cursor: pointer;
                  &.active {
                    border-bottom-color:@color_theme6;
                  }
                  &.descending {
                    transform: rotate(180deg);
                    margin-top: 2px;
                  }
                }
              }
              &.sortable {
                padding-right: 20px;
                .caret-wrapper {
                  display: inline-flex;
                }
              }

            }
          }
        }
      }
      tbody {
        tr {
          &:hover {
            background-color: @color_b8;
          }
          td{
            color:@color_b1;
            border-bottom: 1px solid rgb(235,238,245);
            padding-top:3px;
            padding-bottom: 3px;
            background-color: white;
            .cell {
              font-size: 14px;
              line-height: 33px;
              padding-left: 10px;
              padding-right: 10px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: normal;
              word-break: break-all;
            }
          }
        }
      }

      .lh-table-fixed-column {
        //详细解释position:sticky的效果。神奇啊  https://www.ltonus.com/Css/position-sticky.html
        position: -webkit-sticky;
        position: sticky;
        z-index: 2;
        border-bottom:none;
        //为什么背景颜色存在时边框不可见 "position: sticky"？
        //https://stackoverflow.com/questions/41882616/why-border-is-not-visible-with-position-sticky-when-background-color-exists
        &:after{
          content:'';
          position:absolute;
          left: 0;
          bottom: 0;
          width:100%;
          border-bottom: 1px solid rgb(235,238,245);
        }
      }
      .lh-checkbox {
        float: left;
        line-height: 19px;
      }
      .lh-checkbox-text {
        display: none;
      }
    }
  }
  .lh-table__column-resize-proxy {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    z-index: 10;
    left:200px;
    border-left:1px solid rgb(235,238,245);
  }
}