From a7bb755ee5f797eb390aef581cd9f758d9944f9a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 04 四月 2023 11:33:59 +0800 Subject: [PATCH] 2023-04-04 --- src/templates/zshare/codemirror/index.scss | 31 ++++++++++++++++++++++++++++++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/src/templates/zshare/codemirror/index.scss b/src/templates/zshare/codemirror/index.scss index 2ee7018..737e334 100644 --- a/src/templates/zshare/codemirror/index.scss +++ b/src/templates/zshare/codemirror/index.scss @@ -37,6 +37,7 @@ color: #1890ff; cursor: pointer; transition: opacity 0.3s; + display: none; } .anticon-fullscreen-exit:hover { opacity: 1; @@ -45,7 +46,7 @@ position: fixed; z-index: 11; right: 10px; - top: 40px; + top: 65px; font-size: 20px; opacity: 0.7; color: #1890ff; @@ -87,6 +88,34 @@ background: #f5f5f5; } } + .anticon-swap { + position: absolute; + left: -25px; + top: 40px; + color: #13c2c2; + font-size: 16px; + } +} +.code-mirror-wrap.mk-fullscreen { + .anticon-format-painter { + position: fixed; + z-index: 11; + } + .anticon-fullscreen-exit { + display: inline-block; + } + .anticon-fullscreen { + display: none; + } + + .anticon-swap { + position: fixed; + z-index: 11; + left: auto; + right: 10px; + top: auto; + bottom: 20px; + } } .mk-mirror-font { z-index: 1200!important; -- Gitblit v1.8.0