@import "../variables.scss";
@import "./variables.scss";
@import "~@alifd/next/lib/core/index-noreset";
@import "~@alifd/next/lib/table/scss/variable";

#{$table-prefix} {
  border-top: none;
  border-left: none;

  /*
  // 有rowspan和colspan的情况下此规则不适用
  &-header th:last-child {
    border-right: none;
  }
  */

  &-body::-webkit-scrollbar {
    width: $b-design-table-scrollbar-thumb-width;
    height: $b-design-table-scrollbar-thumb-height;
  }

  &-body::-webkit-scrollbar-thumb {
    background-color: $b-design-table-scrollbar-thumb-bg-color;
    border-radius: 100px;
  }

  &-body {
    #{$table-prefix}-row {
      &.hovered {
        transform: $b-design-table-row-transform;
        box-shadow: $b-design-table-row-box-shadow;
      }

      td:last-child {
        border-right: none;
      }
    }
  }
}