/* wangeditor 富文本编辑器
------------------------------- */
.editor-container {
  .w-e-toolbar {
    border: 1px solid var(--el-border-color-light, #ebeef5) !important;
    border-bottom: 1px solid var(--el-border-color-light, #ebeef5) !important;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
  }
  .w-e-text-container {
    border: 1px solid var(--el-border-color-light, #ebeef5) !important;
    border-top: none !important;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
  }
}

[data-theme='dark'] {
  // textarea - css vars
  --w-e-textarea-bg-color: var(--el-color-white) !important;
  --w-e-textarea-color: var(--el-color-black) !important;

  // toolbar - css vars
  --w-e-toolbar-color: var(--el-text-color-primary) !important;
  --w-e-toolbar-bg-color: var(--el-bg-color-overlay) !important;
  --w-e-toolbar-active-color: var(--el-text-color-primary) !important;
  --w-e-toolbar-active-bg-color: var(--el-color-primary-light-9) !important;
  --w-e-toolbar-border-color: var(--el-border-color-light, #ebeef5) !important;

  // modal - css vars
  --w-e-modal-button-bg-color: var(--el-color-primary) !important;
  --w-e-modal-button-border-color: var(--el-color-primary) !important;
}
