.ml-form {
  .form-warpper {
    background-color: transparent;
  }
  &.is-border,
  &.is-background {
    border: 1px solid #D9D9D9;
    border-right: 0;
    border-top: 0;
    .form-group-title {
      border-top: 1px solid #D9D9D9;
      border-bottom: 1px solid #D9D9D9;
    }
    .vxe-form--gather {
      position: relative;
      margin-bottom: -1px;
      border-bottom: 1px solid #D9D9D9;
      border-right: 1px solid #D9D9D9;
      &:before {
        content: "";
        position: absolute;
        top: 1px;
        right: 0;
        width: 2px;
        height: calc(100% - 2px);
        background: #fff;
      }
    }
    .vxe-form--item {
      border-right: 1px solid #D9D9D9;
      border-top: 1px solid #D9D9D9;
    }
  }
  &.is-background {
    .form-group-title {
      border-bottom: 0;
      // .vxe-form--item-content {
      //   background-color: #F2F3F5;
      // }
    }
    .vxe-form--item-inner {
      align-items: inherit;
      height: 100%;
    }
    .vxe-form--item {
      padding: 0;
      background-color: #F2F3F5;
      &.is--error {
        .vxe-form--item-valid {
          display: block;
        }
      }
      &.is--vertical {
        .vxe-form--item-title {
          height: 38px;
          line-height: 38px;
          padding: 0 6px;
          max-width: none;
          border-bottom: 1px solid #D9D9D9;
        }
      }
    }
    .vxe-form--item-title {
      align-items: center;
      border-right: 1px solid #D9D9D9;
    }
    .vxe-form--item-content {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 6px;
      background-color: #fff;
      overflow: hidden;
    }
    .vxe-form--item-valid {
      display: none;
      font-size: 12px;
      position: inherit;
      line-height: 14px;
    }
  }
  .vxe-form--item-inner {
    width: 100%;
  }
  &.is-rule {
    &.is-background {
      .vxe-form--item-inner {
        min-height: 56px;
      }
    }
  }
  .vxe-form--item-valid {
    width: 98%;
    background-color: transparent;
  }
  .vxe-form--item-content {
    word-break: break-all;
  }
  .vxe-form--gather {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
}
.vxe-form--item {
  &.is--error {
    .el-input {
      .el-input__wrapper {
        box-shadow: 0 0 0 1px #f56c6c inset;
      }
    }
    .ml-editor {
      .ml-editor-toolbar-container,
      .ml-editor-body-container {
        border-color: #f56c6c;
      }
    }
  }
  &.form-group-title {
    & > .vxe-form--item-inner {
      & > .vxe-form--item-title {
        & > .vxe-form--item-title-content {
          font-weight: 700;
          padding-left: 15px;
        }
      }
    }
  }
}
.form-group-title {
  .form-group-name {
    position: relative;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    .title-name {
      font-weight: 700;
      padding: 0 15px;
    }
    .title-link {
      flex-grow: 1;
      position: relative;
      &:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        border-width: 0;
        border-bottom: 1px dashed #D9D9D9;
        transform: translateY(-50%);
      }
    }
  }
}