.space-editor-wrap { width: 100%; } .space-editor-toolstrip { display: flex; align-items: center; align-content: center; flex-wrap: wrap; column-gap: 4px; row-gap: 6px; min-height: 40px; padding: 5px 8px; border: 1px solid #dcdfe6; border-bottom: 0; background: #fafafa; box-sizing: border-box; } .space-editor-toolstrip .el-button + .el-button { margin-left: 0; } .space-editor-toolstrip .space-editor-tool-btn.el-button--small { display: inline-flex; align-items: center; justify-content: center; min-width: 78px; height: 30px; margin: 0; padding: 8px 10px; border-color: #dcdfe6; border-radius: 2px; background: #fff; color: #606266; font-size: 12px; font-weight: 400; line-height: 1; white-space: nowrap; } .space-editor-toolstrip .space-editor-tool-btn.el-button--small [class^="el-icon-"], .space-editor-toolstrip .space-editor-tool-btn.el-button--small [class*=" el-icon-"] { margin-right: 4px; font-size: 14px; } .space-editor-toolstrip .space-editor-tool-btn.el-button--small:hover, .space-editor-toolstrip .space-editor-tool-btn.el-button--small:focus { border-color: #b3d8ff; background: #ecf5ff; color: #409eff; } .space-editor-toolstrip .space-editor-preview-btn.el-button--primary.is-plain { border-color: #b3d8ff; background: #ecf5ff; color: #409eff; } .space-editor-toolstrip .space-editor-preview-btn.el-button--primary.is-plain:hover, .space-editor-toolstrip .space-editor-preview-btn.el-button--primary.is-plain:focus { border-color: #409eff; background: #409eff; color: #fff; } .space-editor-toolstrip .space-editor-tool-divider { display: inline-block; width: 1px; height: 18px; margin: 0 2px; background: #dcdfe6; } .space-editor-toolstrip .el-input--small .el-input__inner { height: 30px; line-height: 28px; border-color: #dcdfe6; border-radius: 2px; background: #fff; color: #606266; } .space-editor-quality { position: relative; width: 126px; margin: 0 2px; } .space-editor-quality::before { content: "图片质量压缩"; position: absolute; top: 50%; left: 12px; z-index: 2; color: #606266; font-size: 12px; line-height: 1; pointer-events: none; transform: translateY(-50%); } .space-editor-quality .el-input__inner { color: transparent; -webkit-text-fill-color: transparent; } .space-editor-upload-status { margin-left: 4px; font-size: 12px; line-height: 30px; color: #909399; white-space: nowrap; } .ck-toolbar__items .space-editor-video-upload-ck-button { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: -1px; } .ck-toolbar__items .space-editor-video-upload-ck-button + .space-editor-media-link-dropdown > .ck-button { border-top-left-radius: 0; border-bottom-left-radius: 0; } .space-editor-video-upload-icon { width: var(--ck-icon-size); height: var(--ck-icon-size); flex-shrink: 0; } .space-editor-video-upload-icon path { fill: currentColor; } .space-editor-wrap .ck-content video.space-editor-playable-media, .space-editor-wrap .ck-content iframe.space-editor-playable-media { max-width: 100%; pointer-events: auto !important; } .space-editor-wrap .ck-content figure.media.space-editor-playable-media-widget .ck-media__wrapper > video, .space-editor-wrap .ck-content figure.media.space-editor-playable-media-widget .ck-media__wrapper > iframe { pointer-events: auto !important; } .space-editor-wrap .ck-content video.space-editor-playable-media { display: block; margin: 12px auto; cursor: pointer; } .space-editor-wrap .ck-content figure.media.space-editor-playable-media-widget { text-align: center; } @media screen and (max-width: 768px) { .space-editor-toolstrip { column-gap: 4px; row-gap: 5px; padding: 6px; } .space-editor-toolstrip .space-editor-tool-btn.el-button--small { min-width: auto; padding: 7px 8px; } .space-editor-toolstrip .space-editor-tool-divider { display: none; } .space-editor-quality { width: 120px; } } .space-editor-preview-dialog .el-dialog__body { padding: 12px 18px 18px; } .space-editor-preview-dialog { max-width: calc(100vw - 48px); margin-bottom: 0; } .space-editor-preview-dialog .el-dialog__header { padding: 14px 18px 8px; } .space-editor-preview-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; } .space-editor-preview-stage { height: calc(100vh - 230px); min-height: 360px; max-height: 700px; overflow: auto; text-align: center; background: #f5f7fa; border: 1px solid #e4e7ed; padding: 16px; } .space-editor-preview-stage iframe { display: block; max-width: 100%; margin: 0 auto; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .12); }