@image-link-url: '/src/assets/images/editor/icon_link_editor.png';
@image-expand-url: '/src/assets/images/editor/icon_expand_editor.png';

.editor-wrapper-customer {
  .ant-modal {
    .ant-modal-close {
      inset-inline-end: 17px;
      top: 16px;
    }
    .ant-modal-content.ant-modal-content {
      padding: 15px 18px;
    }
    .ant-divider {
      margin: 15px 0;
    }
  }

  .editor-content-form {
    .ant-input-number .ant-input-number-input {
      text-align: left;
    }
    .editor-form-item {
      margin-bottom: 15px;
      .editor-form-lable {
        display: flex;
        justify-content: space-between;
        align-items: center;
        .editot-item-title {
          font-size: 14px;
          color: #333;
          line-height: 36px;
        }
        .editor-item-tips {
          font-size: 12px;
          color: #999;
          line-height: 36px;
        }
      }
    }

    // 图片设置
    .editor-dragger {
      .editor-uploader-result {
        height: 142px;
        border-radius: 5px;

        .editor-uploader-result-img {
          text-align: center;
          height: 110px;
          img {
            max-height: 110px;
            max-width: 80%;
            width: auto;
            height: auto;
          }
        }
        .editor-uploader-result-tips {
          margin-top: 10px;
          text-align: center;
          text-align: center;
        }
      }
    }

    // 画廊设置
    .gallery-list-container {
      display: flex;
      justify-content: flex-start;
      flex-flow: row wrap;
      .gallery-list-item {
        width: 50%;
        flex: 0 0 50%;
        box-sizing: border-box;
        padding: 10px;
        .gallery-item-container {
          position: relative;
          border: 1px dashed #d9d9d9;
          border-radius: 5px;
          .delete-ico {
            position: absolute;
            right: -15px;
            top: -15px;
          }
          .gallery-item-img {
            height: 80px;
            padding: 10px;
            max-height: 80px;
            max-width: 200px;
            text-align: center;
            overflow: hidden;
            img {
              max-height: 80px;
              max-width: 80%;
              width: auto;
              height: auto;
            }
          }
        }
      }
    }

    textarea {
      outline: none;
      resize: none;
    }
    // 按钮组
    .editor-form-buttons {
      display: flex;
      justify-content: flex-end;
    }

    .justcontent-color-inline {
      display: flex;
      justify-content: space-between;
      .flex-max {
        flex: 1;
      }
    }
  }
  // 公式设置
  .formula-container {
    height: 300px;
  }
  .formula-buttons {
    display: flex;
    justify-content: center;
  }
}