@import '../../../assets/variable.less';
.module-user-portrait-list {
  height: 100%;
  padding: @padding-lg;
  overflow-y: auto;
  &-header {
    height: 166px;
    margin-bottom: @margin-md;
    overflow: hidden;
    border-radius: @border-radius-normal;
  }
  &-content {
    min-height: calc(100% - 182px);
    padding: @padding-md @padding-lg @padding-lg;
    background-color: #fff;
    border-radius: @border-radius-normal;
    .portrait-table-title {
      display: flex;
      align-items: center;
      margin-bottom: @margin-md;
      color: @text-color;
      font-weight: 500;
      font-size: 16px;
      line-height: 22px;
    }
    .portrait-table-wrap {
      .ant-table-tbody {
        .ant-table-placeholder {
          .ant-empty {
            margin: 108px 0;
          }
        }
      }
      .portrait-operation-column {
        display: flex;
        align-items: center;
        > div {
          color: @primary-color;
          cursor: pointer;
          &.delete-operation {
            &:hover:not(.disable) {
              color: @error-color;
            }
          }
          &:not(:first-child) {
            margin-left: @margin-md;
          }
          &.disable {
            color: #cacdd4;
            cursor: not-allowed;
          }
        }
      }
      .portrait-name-column {
        color: @primary-color;
        text-decoration: underline;
        cursor: pointer;
      }
    }
  }
}
