.space-editor-wrap { width: 100%; } .space-form-infor.space-form-article { padding: 12px 16px; } .space-form-infor.space-form-article .el-form { margin-top: 8px; } .space-form-infor.space-form-article .article-right .el-form-item__label { float: none; display: block; width: auto !important; padding: 0 0 4px; text-align: left; font-size: 13px; line-height: 1.2; } .space-form-infor.space-form-article .article-right .el-form-item__content { margin-left: 0 !important; } .space-form-infor.space-form-article .article-right .el-date-editor.el-input { width: 100%; } .space-editor-wrap .ck-toolbar > .ck-toolbar__items { flex-wrap: wrap !important; } .space-editor-wrap .space-editor-line-height { display: inline-flex; align-items: center; gap: 4px; height: 38px; margin: 1px; padding: 0 6px; border: 1px solid transparent; border-radius: 2px; color: #333; font-size: 12px; box-sizing: border-box; vertical-align: top; } .space-editor-wrap .space-editor-line-height:hover, .space-editor-wrap .space-editor-line-height:focus-within { border-color: #c7d8ea; background: #f3f7fc; } .space-editor-wrap .space-editor-line-height-label { font-size: 12px; line-height: 1; white-space: nowrap; } .space-editor-wrap .space-editor-line-height-select { height: 26px; min-width: 70px; padding: 0 20px 0 5px; border: 1px solid #c4c4c4; border-radius: 2px; background: #fff; color: #333; font-size: 12px; line-height: 24px; cursor: pointer; outline: none; } .space-editor-wrap .space-editor-line-height-select:focus { border-color: #6da5d5; box-shadow: 0 0 0 2px rgba(109, 165, 213, 0.2); } .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-upload-ck-button, .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-pdf-upload-ck-button { border-radius: 0; } .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; } .ck-toolbar__items .space-editor-pdf-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, .space-editor-pdf-upload-icon { width: var(--ck-icon-size); height: var(--ck-icon-size); flex-shrink: 0; } .space-editor-video-upload-icon path, .space-editor-pdf-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 img, .space-editor-wrap .ck-content .image img { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 18px 0; box-sizing: border-box; } .space-editor-wrap .ck-content .image { display: block; width: auto; max-width: 100%; margin: 18px 0; text-align: left; } .space-editor-wrap .ck-content p:has(img), .space-editor-wrap .ck-content div:has(img), .space-editor-wrap .ck-content figure:has(img) { text-align: left !important; text-indent: 0 !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; } .space-editor-wrap .ck-content figure.space-editor-pdf-viewer, .space-editor-wrap .ck-content figure.space-editor-video-viewer, .space-editor-wrap .ck-content figure.media { width: 100%; margin: 14px 0; text-align: center; } .space-editor-wrap .ck-content figure.space-editor-video-viewer { background: #111827; border: 1px solid #dcdfe6; box-sizing: border-box; overflow: hidden; } .space-editor-wrap .ck-content figure.space-editor-video-viewer .space-editor-video-frame, .space-editor-wrap .ck-content figure.space-editor-video-viewer video { display: block; width: 100%; max-width: 100%; background: #000; box-sizing: border-box; pointer-events: auto !important; } .space-editor-wrap .ck-content .space-editor-pdf-frame, .space-editor-wrap .ck-content figure.media .space-editor-pdf-frame { display: block; width: 100%; height: 520px; min-height: 420px; border: 1px solid #dcdfe6; background: #f5f7fa; box-sizing: border-box; pointer-events: none; } .space-editor-wrap .ck-content figure.space-editor-pdf-viewer figcaption { margin-top: 8px; color: #606266; font-size: 13px; line-height: 1.6; pointer-events: auto; } .space-editor-wrap .ck-content figure.space-editor-pdf-viewer.space-editor-pdf-selected { outline: 2px solid #3080fe; outline-offset: 2px; } .space-editor-wrap .ck-content figure.space-editor-pdf-viewer.space-editor-pdf-selected .space-editor-pdf-shell { border-color: #3080fe; } .space-editor-wrap .ck-content .space-editor-pdf-link { margin: 8px 0 14px; text-align: center !important; text-indent: 0 !important; } .space-editor-wrap { position: relative; } .space-editor-pdf-secure-tools { display: inline-flex; align-items: center; gap: 10px; margin-left: 4px; } .space-editor-pdf-secure-label-text { font-size: 12px; color: #606266; white-space: nowrap; } .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-bar { display: none; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 6px 12px; background: #323639; color: #f1f3f4; border-bottom: 1px solid #1f2124; box-sizing: border-box; } .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-bar-left, .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-bar-right { display: inline-flex; align-items: center; gap: 10px; min-width: 0; } .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-title { font-size: 12px; font-weight: 600; color: #e8eaed; } .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-name { font-size: 12px; color: #bdc1c6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; } .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-bar .space-editor-pdf-secure-label { color: #f1f3f4; } .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-bar .space-editor-pdf-download-original { color: #8ab4f8; font-size: 12px; text-decoration: none; white-space: nowrap; } .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-bar .space-editor-pdf-download-original:hover { text-decoration: underline; } .space-editor-pdf-float-toolbar { position: absolute; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 12px; background: #323639; color: #f1f3f4; box-sizing: border-box; pointer-events: auto; } .space-editor-wrap .ck-content .space-editor-pdf-shell { position: relative; width: 100%; border: 1px solid #dcdfe6; background: #f5f7fa; box-sizing: border-box; overflow: hidden; } .space-editor-wrap .ck-content .space-editor-pdf-toolbar-overlay { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 12px; background: #323639; color: #f1f3f4; box-sizing: border-box; pointer-events: auto; } .space-editor-wrap .ck-content .space-editor-pdf-select-layer { position: absolute; top: 56px; left: 0; right: 0; bottom: 0; z-index: 5; cursor: pointer; background: transparent; pointer-events: auto; } .space-editor-wrap .ck-content figure.space-editor-pdf-viewer.space-editor-pdf-selected .space-editor-pdf-select-layer { background: rgba(48, 128, 254, 0.08); } .space-editor-wrap .ck-content .space-editor-pdf-preview-error { position: absolute; top: 56px; left: 0; right: 0; bottom: 0; z-index: 8; display: none; align-items: center; justify-content: center; padding: 24px; color: #f56c6c; font-size: 14px; line-height: 1.6; text-align: center; background: #f5f7fa; box-sizing: border-box; pointer-events: none; } .space-editor-wrap .ck-content .space-editor-pdf-toolbar-title { font-size: 12px; color: #e8eaed; opacity: 0.85; } .space-editor-wrap .ck-content .space-editor-pdf-toolbar { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 10px; background: #323639; color: #f1f3f4; } .space-editor-wrap .ck-content .space-editor-pdf-toolbar-left, .space-editor-wrap .ck-content .space-editor-pdf-toolbar-right { display: flex; align-items: center; gap: 10px; } .space-editor-wrap .ck-content .space-editor-pdf-toolbar-right { margin-left: auto; } .space-editor-wrap .ck-content .space-editor-pdf-secure-switch { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; color: #e8eaed; cursor: pointer; user-select: none; } .space-editor-wrap .ck-content .space-editor-pdf-secure-switch input { margin: 0; cursor: pointer; } .space-editor-wrap .ck-content .space-editor-pdf-download-original { color: #8ab4f8; font-size: 12px; text-decoration: none; white-space: nowrap; } .space-editor-wrap .ck-content .space-editor-pdf-download-original:hover { text-decoration: underline; } .space-editor-wrap .ck-content .space-editor-pdf-fullscreen-btn { border: none; background: transparent; color: #8ab4f8; font-size: 12px; cursor: pointer; padding: 0; white-space: nowrap; } .space-editor-wrap .ck-content .space-editor-pdf-fullscreen-btn:hover { text-decoration: underline; } .space-editor-wrap .ck-content .space-editor-pdf-shell .space-editor-pdf-frame { border: 0; min-height: 480px; height: 520px; } @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 { width: calc(100vw - 32px) !important; max-width: calc(100vw - 32px); 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); } .article-info-pc-preview-stage { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; height: 100%; min-height: 0; overflow: hidden; text-align: center; background: #f5f7fa; border: 1px solid #e4e7ed; padding: 16px; } .article-info-pc-preview-frame { display: block; width: 1200px; max-width: 100%; flex: 1 1 auto; min-height: 0; height: auto !important; margin: 0 auto; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .12); border: 0; } .urge-tbs iframe.article-info-pc-preview-frame, iframe.article-info-pc-preview-frame { width: 1200px; max-width: 100%; flex: 1 1 auto; min-height: 0; height: auto !important; } html.article-info-layer-page, html.article-info-layer-page body { height: 100%; overflow: hidden; } .preview-article-body .ck-content, .article-body .ck-content { width: 100%; margin: 0; padding: 0; } .preview-article-body .ck-content .image, .preview-article-body .ck-content figure.image, .article-body .ck-content .image, .article-body .ck-content figure.image { display: block !important; width: auto; max-width: 100% !important; margin: 18px 0 !important; padding: 0 !important; text-align: left !important; } .preview-article-body .ck-content .image img, .preview-article-body .ck-content img, .article-body .ck-content .image img, .article-body .ck-content img { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 18px 0 !important; box-sizing: border-box; } .preview-article-body img, .preview-article-body .article-body img, .article-body img { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 18px 0; box-sizing: border-box; } .preview-article-body figure.image, .preview-article-body figure:has(img), .article-body figure.image, .article-body figure:has(img) { display: block !important; width: auto; max-width: 100% !important; margin: 18px 0; text-align: left !important; } .preview-article-body p:has(img), .preview-article-body div:has(img), .preview-article-body figure:has(img), .article-body p:has(img), .article-body div:has(img), .article-body figure:has(img) { text-align: left !important; text-indent: 0 !important; } /* 后台文章信息查看页正文图片对齐标准 */ .article-info-content img { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 18px 0 !important; box-sizing: border-box; } .article-info-content p:has(img), .article-info-content div:has(img), .article-info-content figure:has(img) { text-align: left !important; text-indent: 0 !important; } .article-info-content figure.image { display: block; width: 100%; margin: 18px 0; text-align: left; } .article-info-content figure.image img { margin: 0 !important; } /* Fandol 仿宋:GPL + 字体嵌入例外,许可证见 /main/ffkj-portal/fonts/FandolFang-COPYING.txt */ @font-face{font-family:'仿宋';src:url('/main/ffkj-portal/fonts/FandolFang-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap} @font-face{font-family:'FangSong';src:url('/main/ffkj-portal/fonts/FandolFang-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap} @font-face{font-family:'FangSong_GB2312';src:url('/main/ffkj-portal/fonts/FandolFang-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap} @font-face{font-family:'仿宋_GB2312';src:url('/main/ffkj-portal/fonts/FandolFang-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap} @font-face{font-family:'STFangsong';src:url('/main/ffkj-portal/fonts/FandolFang-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap} .ck-content a.article-attachment, .ck-content a[href*="/web/upload/"] { color: #1769ff; text-decoration: underline; }