@import "variables";

.layout {
  display: flex;
  align-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;

  &.select-col-checkbox {
    pointer-events: none;
  }

  &.table-body:after {
    content: "";
    position: absolute;
    width: 32px;
    height: 32px;
    left: -8px;
  }
}


.purple-v {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: solid 2px $purple;
  border-radius: 2px;
  background-clip: unset;

  &.select-col-checkbox {
    pointer-events: auto;
  }

  &.add-or-remove {
    width: 20px;
    height: 20px;
  }

  &.table-check-box {
    margin: 0 auto;
    border-color: $blue-50;
    opacity: 1;
  }

  &.add-or-remove {
    border: none;
    opacity: 1;
  }

  &.checked {
    background-color: $purple;
    border-color: $purple;

    &.row-selected {
      border-color: $grey-purple;
    }
  }

  &:hover {
    opacity: 1;

    &.readonly,
    &.readonly:hover {
      opacity: 0.8;
    }
  }

  .fa-minus {
    padding: 1px 0 0 1px;
  }
}
::ng-deep .light-theme{
  .purple-v{
    &.table-check-box {
      border-color: #5A658E;
    }
  }
}
.disabled {
  cursor: default;
  opacity: 0.5;

  .purple-v {
    cursor: default;
  }
}

.spacer {
  min-height: 10px;
}

.fa-minus {
  color: #FFF;
}

.checkbox-label {
  padding-left: 4px;
}
