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 | 44 +++++++++++--------------------------------- 1 files changed, 11 insertions(+), 33 deletions(-) diff --git a/src/menu/menushell/index.scss b/src/menu/menushell/index.scss index f2202c2..21f8a7d 100644 --- a/src/menu/menushell/index.scss +++ b/src/menu/menushell/index.scss @@ -1,45 +1,23 @@ .menu-shell-inner { - min-height: calc(100vh - 150px); - margin: -8px; + min-height: calc(100vh - 100px); + width: 100%; + background-size: 100%; - >.ant-col { - padding: 8px; + .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; - } } - .mk-component-card:hover { - .remove-component { - opacity: 1; - } - .model-datasource > .anticon-setting { - opacity: 1; - } - } + >.ant-empty { padding-top: 150px; } - - .model-datasource > .anticon-setting { - font-size: 16px; - padding: 5px; - position: absolute; - right: 0px; - top: -30px; - opacity: 0; - 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