From f3d4db769ba9b51b799d981511a710fd443d0e08 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 21 四月 2025 12:18:03 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/components/mkIcon/index.scss | 61 +++++++++++++++++++++++++++--- 1 files changed, 54 insertions(+), 7 deletions(-) diff --git a/src/components/mkIcon/index.scss b/src/components/mkIcon/index.scss index 4ba05ef..9338b1b 100644 --- a/src/components/mkIcon/index.scss +++ b/src/components/mkIcon/index.scss @@ -5,6 +5,7 @@ border-radius: 4px; line-height: 32px; padding: 0px 0px 0px 10px; + transition: all 0.3s; .anticon.trigger { float: right; @@ -12,17 +13,28 @@ padding: 0 10px; border-left: 1px solid #d9d9d9; } + .anticon.trigger::after { + content: ' '; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + } .close.anticon { + position: relative; + z-index: 1; float: right; - margin-top: 6px; - margin-right: 5px; - background: #efefef; - border-radius: 50%; - color: #757575; - padding: 3px; - font-size: 10px; + margin-top: 8px; + margin-right: 8px; + background: #fff; + color: #bcbcbc; + font-size: 12px; opacity: 0; transition: opacity 0.3s; + } + .close.anticon:hover { + color: #959595; } } .mk-icon-box:hover { @@ -50,4 +62,39 @@ color: #1890ff; } } + .tab-control { + position: relative; + .anticon-redo { + display: none; + position: absolute; + left: -20px; + top: 0px; + } + } + .ant-tabs-tab-active.ant-tabs-tab { + .tab-control { + .anticon-redo { + display: inline-block; + } + } + } + .ant-tabs-nav .ant-tabs-tab { + padding: 12px 20px; + } + .ant-tabs-top.dubble-tabs { + .ant-tabs-bar { + padding-top: 10px!important; + } + } + .ant-tabs-top:not(.dubble-tabs) { + .ant-tabs-top-bar { + border-bottom: 0px; + .ant-tabs-nav-container { + display: none; + } + } + .ant-tabs-content { + max-height: calc(100vh - 180px)!important; + } + } } -- Gitblit v1.8.0