From 72419e2f826031a158173f46d723a672064e37cd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 31 八月 2021 22:42:51 +0800 Subject: [PATCH] 2021-08-31 --- src/menu/menushell/index.scss | 48 ++++++------------------------------------------ 1 files changed, 6 insertions(+), 42 deletions(-) diff --git a/src/menu/menushell/index.scss b/src/menu/menushell/index.scss index b6d9e93..21f8a7d 100644 --- a/src/menu/menushell/index.scss +++ b/src/menu/menushell/index.scss @@ -1,59 +1,23 @@ .menu-shell-inner { - min-height: calc(100vh - 150px); - padding: 16px; + min-height: calc(100vh - 100px); width: 100%; background-size: 100%; - >.ant-row { - margin-left: -4px; - margin-right: -4px; - margin-top: -4px; - >.ant-col { - padding: 8px; - } - > .mk-component-card:hover { - > .remove-component { - opacity: 1; - } - > div { - > .model-datasource > .anticon-setting, > .model-menu-tabs-setting > .anticon-setting { - opacity: 1; - } - } - } - } .anticon { cursor: unset; } .mk-component-card { position: relative; - .remove-component { - position: absolute; - right: 42px; - top: -16px; - color: #ff4d4f; - border-radius: 2px; - font-size: 16px; - padding: 5px; - cursor: pointer; - opacity: 0; - transition: opacity 0.2s; - } } >.ant-empty { padding-top: 150px; } - - .model-datasource > .anticon-setting, .model-menu-tabs-setting > .anticon-setting { - font-size: 16px; - padding: 5px; - position: absolute; - right: 0px; - top: -30px; - opacity: 0; - cursor: pointer; - transition: opacity 0.2s; + .anticon-tool { + color: rgba(0, 0, 0, 0.55); + } + .anticon-tool:hover { + color: #1890ff; } } \ No newline at end of file -- Gitblit v1.8.0