$table-drag-active-bg: $table-custom-active-bg !default;

.pk-table,
.ant-table-fixed {
  tr {
    th {
      font-weight: normal;
      color: $table-th-color;
    }

    td:first-child,
    th:first-child {
      padding-left: $table-padding-horizontal;
    }

    td:last-child,
    th:last-child {
      padding-right: $table-padding-horizontal;
    }
  }
}

.pk-table {
  .pk-table-column-icon {
    color: $primary-color;
    margin-left: 10px;
  }

  tr {
    td:last-child,
    th:last-child {
      text-align: right;
    }
  }

  .react-resizable {
    position: relative;
  }

  .react-resizable-handle {
    position: absolute;
    width: 10px;
    height: 100%;
    bottom: 0;
    right: -5px;
    cursor: col-resize;
  }

  &.pk-table-inline {
    tr {
      td, th {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
      }
    }
  }

  .sindu_dragger {
    white-space: nowrap;
    width: 100%;

    table {
      background-color: $table-drag-active-bg;
    }

    li {
      float: none;
      display: inline-block;
    }
  }

  .pk-table-column-icon {
    cursor: pointer;
  }
}

.pk-table-more-item {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.pk-table-custom {
  .pk-table-custom-group {
    max-height: $table-custom-max-height;
    overflow-y: auto;
  }

  .ant-popover-inner-content {
    padding: 0;
  }

  .pk-table-custom-item-active {
    background-color: $table-custom-active-bg;
  }
}
