@root-entry-name: 'default';
@import (reference) '~antd/es/style/themes/index.less';

.pro-form-list-block-title {
  height: 14px;
  margin: @zaui-space-size-xs 0;
  padding-left: @zaui-space-size-sm;
  font-weight: 600;
  line-height: 14px;
  border-left: 4px solid @zaui-brand;
}

.pro-form-list {
  display: flex;
  padding-bottom: 0;

  .single-delete {
    width: 14px !important;
    height: 14px !important;
    color: @zaui-placeholder;

    &:hover {
      color: @zaui-aide-text;
    }
  }

  &:nth-child(1) {
    flex: 1;
  }

  .pro-form-list-action {
    padding-bottom: var(--zaui-height-size-md, 16px);

    & > .@{ant-prefix}-space-item:first-child > .@{ant-prefix}-btn-link {
      margin-left: @zaui-space-size-sm;
    }
  }

  .pro-form-list-drag-handle {
    display: flex;
    align-items: center;
    height: 32px;
    margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
    padding: 0;
    padding-right: @zaui-space-size-sm;
    border: none;
  }
}

.pro-form-list-line {
  padding: var(--zaui-height-size-md, 16px);
  padding-bottom: 0;

  &:hover {
    background: rgba(0, 0, 0, 0.018);
  }
}

.pro-form-list-toolbar,
.pro-form-list-action {
  .@{ant-prefix}-btn-link {
    padding: @zaui-space-size-xs 0;
  }

  .@{ant-prefix}-btn-text:hover {
    background: transparent;
  }
}
