From 46f79b491173d284a4900d19e7aecf7509481438 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 一月 2022 17:21:25 +0800 Subject: [PATCH] 2022-01-21 --- src/components/mkIcon/index.scss | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/src/components/mkIcon/index.scss b/src/components/mkIcon/index.scss index 0cc28b6..ebbd502 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,15 +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: 8px; margin-right: 8px; background: #fff; - color: rgba(0, 0, 0, 0.45); + color: #bcbcbc; font-size: 12px; opacity: 0; transition: opacity 0.3s; + } + .close.anticon:hover { + color: #959595; } } .mk-icon-box:hover { @@ -35,6 +49,9 @@ clear: both; } .mk-icon-wrap { + .ant-modal { + top: 50px!important; + } .ant-col { text-align: center; line-height: 55px; -- Gitblit v1.8.0