From 49f09cc6f8ff8c30a75ed1a9d6f510b69b73962a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 12 十二月 2023 21:05:37 +0800 Subject: [PATCH] 2023-12-12 --- src/pc/components/navbar/normal-navbar/index.scss | 51 ++++++++++----------------------------------------- 1 files changed, 10 insertions(+), 41 deletions(-) diff --git a/src/pc/components/navbar/normal-navbar/index.scss b/src/pc/components/navbar/normal-navbar/index.scss index f099ebb..3c9d934 100644 --- a/src/pc/components/navbar/normal-navbar/index.scss +++ b/src/pc/components/navbar/normal-navbar/index.scss @@ -9,7 +9,7 @@ background-repeat: no-repeat; background-size: cover; min-height: 50px; - z-index: 2; + z-index: 3; .navbar-wrap { margin: 0 auto; @@ -40,6 +40,9 @@ .ant-menu-item:hover, .ant-menu-item-active, .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open, .ant-menu-submenu-active, .ant-menu-submenu-title:hover { color: unset; } + .ant-menu-item span { + display: inline-block; + } } .ant-menu-horizontal > .ant-menu-item:hover, .ant-menu-horizontal > .ant-menu-submenu:hover, .ant-menu-horizontal > .ant-menu-item-active, .ant-menu-horizontal > .ant-menu-submenu-active, .ant-menu-horizontal > .ant-menu-item-open, .ant-menu-horizontal > .ant-menu-submenu-open, .ant-menu-horizontal > .ant-menu-item-selected, .ant-menu-horizontal > .ant-menu-submenu-selected { color: unset; @@ -49,19 +52,14 @@ flex: 1; display: inline-block; text-align: right; + color: inherit; + button { + color: inherit; + } } } - .card-control { - position: absolute; - top: 0px; - left: 0px; - .anticon-tool { - right: auto; - left: 1px; - padding: 1px; - } - } - .anticon-tool { + + >.anticon-tool { position: absolute; z-index: 2; font-size: 16px; @@ -91,34 +89,6 @@ right: -30px; font-size: 16px; } - .model-menu-action-list { - line-height: 40px; - .ant-row > .anticon-plus { - position: absolute; - right: -30px; - font-size: 16px; - } - } - .card-add-button { - text-align: right; - clear: left; - .anticon-plus { - font-size: 20px; - color: #26C281; - padding: 5px; - margin-right: 10px; - } - } - .ant-pagination { - float: right; - margin: 10px; - } - - .model-menu-action-list { - .page-card { - line-height: 55px; - } - } } .normal-navbar-edit-box::after { display: block; @@ -126,7 +96,6 @@ clear: both; } .normal-navbar-edit-box:hover { - z-index: 1; box-shadow: 0px 0px 4px #1890ff; } .top-menu-popover { -- Gitblit v1.8.0