/* stylelint-disable selector-type-no-unknown */

bixi-editable-table.bixi-editable-table {
  .bixi-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .bixi-editable-cell {
    min-height: 32px;
    padding: 5px 12px;
    cursor: pointer;
  }

  th {
    .anticon {
      cursor: pointer;
    }
  }

  .bixi-normal-cell,
  .bixi-editable-cell {
    display: flex;
    .bixi-ellipsis {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }

  .bixi-input-btn {
    color: @editable-table-clear-btn-color;
    cursor: pointer;
  }
  .bixi-editable-active {
    display: flex;
    align-items: center;

    .ant-input-affix-wrapper {
      .ant-input-number {
        width: 100%;
        border: none;
        box-shadow: none;

        .ant-input-number-input {
          height: 100%;
          padding: 0;
        }
      }
    }
  }

  .bixi-table-actions {
    color: @editable-table-btn-color;

    .bixi-action-btn {
      padding-right: 20px;
      cursor: pointer;
    }

    &:last-child {
      padding-right: 0;
    }
  }
  
  .cdk-drag-placeholder {
    opacity: 0;
  }

  .ant-form-item {
    width: 100%;
    margin-bottom: 0;
  }
  .template-agent-input {
    display: none;
  }

  .bixi-editable-disable {
    color: @editable-table-disable-btn-color;
    pointer-events: none;
  }
  .bixi-editable-row-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 20px;
    border-radius: 4px;
    box-shadow:
      0 5px 5px -3px rgba(0, 0, 0, 0.2),
      0 8px 10px 1px rgba(0, 0, 0, 0.14),
      0 3px 14px 2px rgba(0, 0, 0, 0.12);
  
    .bixi-editable-cell {
      min-height: 32px;
      padding: 5px 12px;
      cursor: pointer;
  
      .bixi-ellipsis {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
  
    .ant-table-small .ant-table-tbody > tr > td {
      padding: 8px 8px;
    }
  
    .bixi-table-actions {
      color: @editable-table-btn-color;
  
      .bixi-action-btn {
        padding-right: 20px;
        cursor: pointer;
      }
  
      &:last-child {
        padding-right: 0;
      }
    }
  
    .bixi-editable-disable {
      color: @editable-table-disable-btn-color;
      pointer-events: none;
    }
  }
  
  .bixi-editable-footer {
    width: 100%;
    height: 32px;
    margin-top: 16px;
    color: @editable-table-footer-color;
    line-height: 32px;
    text-align: center;
    background-color: @editable-table-footer-bg;
    border: 1px dashed @editable-table-footer-border-color;
    border-radius: 2px;
    cursor: pointer;
  
    &:hover {
      color: @editable-table-footer-hover-color;
      background-color: @editable-table-footer-hover-bg;
      border: 1px dashed @editable-table-footer-border-hover-color;
    }
  }
}



