@use '@/common/design' as *;
@use "../sd-web-print.scss" as print;
.header {
  position: absolute;
  top: 0;
  right: 0;
  :global .ant-input-search {
    width: 200px;
  }
  :global(.ant-btn-group > button:first-child) {
    padding: 0;
  }
  :global(span.ant-upload) {
    padding: 0 12px;
  }
  :global(.ant-btn > span) {
    pointer-events: auto;
  }
  :global(.ant-upload-list) {
    display: none;
  }
}
.caption {
  position: relative;
  width: 100%;
  min-height: 40px;
  margin: 3px 0;
  top: -5px;
  text-align: center;
  &.hide-caption {
    display: none;
  }
}
.wrapper {
  :global(.ant-table-tbody) {
    .clickable-cell {
      color: $primary-color;
      cursor: pointer;
      &:hover {
        color: $primary-5;
      }
      &:active {
        color: $primary-7;
      }
    }
  }
}
.inline-wrapper {
  .table {
    :global .ant-form-item {
      margin-bottom: 0;
    }
  }
}
.operation {
  span a {
    margin-right: 1em;
  }
}
// 打印状态下 子表上选择列的按钮
@include print.wrapper-for-printer {
  .wrapper {
    :global(.ant-table-thead .anticon) {
      display: none;
    }
  }
}
.menu {
  width: 100px;
  :global(.ant-upload-list) {
    display: none;
  }
}
.error-row {
  span:not(:last-child)::after {
    content: '，';
  }
}
