From d1657e9835a6b3350dee76956deae3029cfe4b11 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 20 四月 2021 15:54:06 +0800 Subject: [PATCH] 2021-04-20 --- src/mob/components/navbar/normal-navbar/index.scss | 66 +++++++++++---------------------- 1 files changed, 22 insertions(+), 44 deletions(-) diff --git a/src/mob/components/navbar/normal-navbar/index.scss b/src/mob/components/navbar/normal-navbar/index.scss index 67d1e9f..9671200 100644 --- a/src/mob/components/navbar/normal-navbar/index.scss +++ b/src/mob/components/navbar/normal-navbar/index.scss @@ -8,40 +8,37 @@ background-position: center center; background-repeat: no-repeat; background-size: cover; - min-height: 50px; + min-height: 30px; z-index: 3; .menu { - display: block; + height: 100%; + display: flex; font-size: inherit; color: inherit; - .ant-menu { - background: transparent; - line-height: inherit; - font-size: inherit; - color: inherit; - border: 0; - .ant-menu-item:hover, .ant-menu-item-active { - color: unset; + .am-tab-bar-tab { + position: relative; + text-align: center; + flex: 1; + cursor: pointer; + .anticon { + font-size: 150%; } - .ant-menu-item span { - display: inline-block; + .am-badge-text { + position: absolute; + top: -2px; + height: 8px; + width: 8px; + border-radius: 100%; + background: #ff5b05; + z-index: 1; + } + p { + margin-bottom: 0; } } - .ant-menu-horizontal > .ant-menu-item:hover, .ant-menu-horizontal > .ant-menu-item-active, .ant-menu-horizontal > .ant-menu-item-open, .ant-menu-horizontal > .ant-menu-item-selected { - color: unset; - } } - .card-control { - position: absolute; - top: 0px; - left: 0px; - .anticon-tool { - right: auto; - left: 1px; - padding: 1px; - } - } + .anticon-tool { position: absolute; z-index: 2; @@ -112,22 +109,3 @@ .top-menu-popover { padding-top: 0!important; } -.normal-navbar-submenu { - .ant-menu-item-group { - float: left; - } - .ant-menu-item { - height: 32px; - line-height: 32px; - span { - display: inline-block; - width: 100%; - height: 100%; - padding: 0 16px 0 28px; - } - padding: 0; - } - .ant-menu .ant-menu-item-selected { - background-color: #ffffff; - } -} \ No newline at end of file -- Gitblit v1.8.0