.no-form-item-content-elem > .ant-switch {
  min-width: 44px;
  width: auto;
}

.no-form-hoz
  .no-form-item
  .no-form-item-content
  .no-form-item-content-elem
  > .ant-switch {
  min-width: 44px;
  width: auto;
}

.no-form-item-content-elem > .ant-btn {
  min-width: auto;
}

.dialog-form-wrapper .ant-confirm-btns {
  display: none;
}

.dialog-form-wrapper .ant-custom-btns {
  margin-top: 24px;
  float: right;
}

.ant-slider {
  padding: 0;
}

.no-form-item-inset {
  .ant-input,
  .ant-input:focus,
  .ant-cascader-input,
  .ant-time-picker-input,
  .ant-select-selection,
  .ant-input-number,
  .ant-mention-wrapper.ant-mention-active:not(.disabled) .ant-mention-editor,
  .ant-select-search__field,
  .ant-select-focused .ant-select-selection,
  .ant-select-selection:focus,
  .public-DraftEditor-content:focus,
  .ant-mention-editor,
  .ant-mention-editor-wrapper,
  .DraftEditor-root,
  .DraftEditor-editorContainer,
  .ant-select-selection:active {
    border: none;
    outline: none;
    box-shadow: none;
  }

  .ant-radio-group,
  .ant-checkbox-group {
    width: auto;
  }
}

.multi-value-item-wrapper {
  .multi-value-item {
    margin-right: 8px;
  }
}

.ant-checkbox-group {
  display: inline-block;
  width: 400px;
  line-height: 28px;
  white-space: nowrap;
}

.ant-radio-group {
  display: inline-block;
  width: 400px;
  line-height: 28px;
  white-space: nowrap;
}

.multi-value-item {
  white-space: nowrap;
  color: rgba(0, 0, 0, 0.6);
}

.ant-range {
  white-space: nowrap;
  width: 300px;
}

.ant-upload {
  min-width: 224px;
}

.ant-preview-upload {
  .ant-upload-select {
    display: none;
  }

  display: inline-block;

  .anticon.anticon-cross {
    display: none;
  }

  .ant-upload-list-item {
    .anticon.anticon-delete,
    .anticon.anticon-close,
    .anticon.anticon-cross {
      display: none;
    }
  }
}

.no-form-item-content {
  .ant-rating,
  .ant-checkbox-wrapper,
  .ant-radio-wrapper {
    line-height: 28px;
  }

  .ant-select-auto-complete.ant-select .ant-input[disabled] {
    background: transparent;
  }
}

.ant-preview-slider.ant-slider-disabled {
  .ant-slider-handle {
    cursor: auto;
  }
  cursor: auto;
}

.ant-preview-select.ant-select-enabled {
  vertical-align: top;

  .ant-select-selection--multiple {
    margin: 0;
    padding: 0;
    min-height: 28px;
  }
  .ant-select-search {
    display: none;
  }
  .ant-select-selection__choice {
    background: none;
    border: none;
    margin-top: 3px;
    margin-right: 8px;
    padding: 0;

    .ant-select-selection__choice__remove {
      display: none;
    }
  }
}
.ant-preview-select.ant-cascader-picker {
  line-height: 28px;
  height: 28px;
}

.ant-preview-select.ant-cascader-picker::after {
  content: ".";
  width: 0;
  display: inline-block;
  overflow: hidden;
}

.ant-preview-select.ant-select-auto-complete,
.ant-preview-datepicker,
.ant-preview-select.ant-select,
.ant-preview-select.ant-cascader-picker {
  display: inline-flex;
  border: none;
  background: transparent;
  cursor: text;
  padding: 0;

  .ant-select-selection__rendered:after {
    content: "";
  }

  .ant-cascader-picker-label {
    margin: 0;
    top: 0;
  }

  .ant-cascader-picker-label,
  .ant-select-selection-selected-value {
    user-select: text;
    z-index: 1;
    cursor: text;
  }

  .ant-input[disabled],
  .ant-select-search__field,
  .ant-calendar-picker-input,
  .ant-time-picker-input,
  .ant-cascader-picker-label,
  .ant-time-picker-input,
  .ant-select-selection {
    background: transparent;
    border: none;
    cursor: text;
    line-height: 28px;
    height: 28px;
    vertical-align: top;

    .ant-select-selection__rendered {
      margin: 0;
    }
  }

  .ant-select-selection-selected-value,
  .ant-input[disabled],
  .ant-select-search__field,
  .ant-select-search__field__mirror,
  .ant-calendar-picker-input,
  .ant-time-picker-input,
  .ant-cascader-picker-label {
    color: rgba(0, 0, 0, 0.6);
    padding: 0;
    height: 28px;
    line-height: 28px;
  }

  .ant-cascader-input,
  .ant-calendar-picker-icon,
  .ant-time-picker-icon,
  .ant-cascader-picker-arrow,
  .ant-select-arrow {
    display: none;
  }
}

.ant-upload-disabled + .ant-upload-list {
  .anticon.anticon-close {
    display: none;
  }
}

.ant-calendar-picker.ant-preview-datepicker,
.ant-time-picker.ant-preview-datepicker {
  line-height: 28px;
}

.ant-preview-datepicker {
  // 预览态

  .ant-input.disabled {
    background: transparent;
    border: none;

    input:disabled {
      background: transparent;
      border: none;
      padding: 0;
      color: rgba(0, 0, 0, 0.6);
      cursor: text;
      height: 28px;
    }
  }

  .ant-calendar-range-picker-separator {
    margin: 0 8px;
  }

  .ant-calendar-range-picker-input[disabled],
  .ant-time-picker-input[disabled] {
    background: transparent;
    border: none;
    color: rgba(0, 0, 0, 0.6);
    padding: 0;
    cursor: text;
    height: 28px;
  }

  .ant-icon {
    display: none;
  }
}
