@import '../../style/constants.less';

.@{yw-prefix}-table {
  .@{ant-prefix}-table {
    background-color: transparent;

    &-container {
      background-color: #fff;
    }
  }

  .@{ant-prefix}-table-footer {
    background-color: transparent;
  }

  &.float-footer {
    .@{ant-prefix}-table-footer {
      position: absolute;
      bottom: -48px;
      left: 0;
      padding: 10px 8px;
      background-color: transparent;
    }
    .@{ant-prefix}-table-small,
    .@{ant-prefix}-table-middle {
      .@{ant-prefix}-table-footer {
        bottom: -44px;
      }
    }
  }

  &-dragging-body-wrapper {
    z-index: @zindex-dragging-body-wrapper;
    display: flex;
    background: @white;
    border: 1px solid @light-gray;

    > td {
      display: flex;
      flex: 1;
      align-items: center;
      height: 100%;
      padding: @base-padding;
    }
  }

  &-dragging-header-wrapper {
    display: flex;
    align-items: center;
    padding: @base-padding;
    background: @white;
    border: 1px solid @light-gray;
  }
}
