From f3167f8371d19d0ea8fe7d0e7af5517ff0b08cd2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 07 四月 2021 23:25:29 +0800 Subject: [PATCH] 2021-04-07 --- src/components/header/index.scss | 59 +++++++++++++++-------------------------------------------- 1 files changed, 15 insertions(+), 44 deletions(-) diff --git a/src/components/header/index.scss b/src/components/header/index.scss index 28137d8..77b3ade 100644 --- a/src/components/header/index.scss +++ b/src/components/header/index.scss @@ -1,8 +1,6 @@ -@import '../../assets/css/global.scss'; - .header-container { position: fixed; - z-index: 1060; + z-index: 20; left: 0; top: 0; font-weight: bold!important; @@ -77,22 +75,10 @@ } } } - - .header-menu.level4 { - li { - cursor: default; - &:hover { - span { - cursor: default; - color: rgba(255, 255, 255, 0.65); - border-bottom: none; - } - } - &.active { - span { - color: #ffffff; - border-bottom: 4px solid #1890ff; - } + .header-menu.vertical-menu { + >li { + >span { + border-color: transparent!important; } } } @@ -120,25 +106,13 @@ } } } - .edit-check { - font-size: 18px; - margin-top: 14px; - margin-left: 10px; - cursor: pointer; - } + .search-menu { float: right; font-size: 18px; margin-top: 17px; margin-right: 20px; cursor: pointer; - } - .level4-close { - position: relative; - top: 13px; - left: 20px; - height: 26px; - padding: 0 10px; } .menu-select-dropdown { top: 48px!important; @@ -183,18 +157,6 @@ background: rgba(0, 0, 0, 0); } } - .mobile { - position: absolute; - top: 135px; - right: 50px; - color: #1890ff; - } - .home-edit { - position: absolute; - top: 100px; - right: 50px; - color: #1890ff; - } } .header-dropdown { >li { @@ -207,3 +169,12 @@ } } } + +.vertical-dropdown-menu, .vertical-dropdown-submenu { + ul.ant-dropdown-menu { + min-width: 125px; + } + .ant-dropdown-menu-submenu-title { + padding-right: 30px; + } +} -- Gitblit v1.8.0