From 6e106eb13ce404d9955d6c9045d21050d3e08294 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 20 十一月 2020 11:19:36 +0800 Subject: [PATCH] 2020-11-20 --- src/components/header/index.scss | 70 ++++++++++++++++++++++++++++++++++ 1 files changed, 69 insertions(+), 1 deletions(-) diff --git a/src/components/header/index.scss b/src/components/header/index.scss index 29ac023..2f21768 100644 --- a/src/components/header/index.scss +++ b/src/components/header/index.scss @@ -123,6 +123,13 @@ 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; @@ -130,11 +137,72 @@ height: 26px; padding: 0 10px; } + .menu-select-dropdown { + top: 48px!important; + box-shadow: 0px 0px 2px #cdcdcd; + border-radius: 0 0 4px 4px; + background: #ffffff; + .ant-input-affix-wrapper { + margin-top: 2px; + } + .menu-select-box { + max-height: 200px; + min-height: 50px; + overflow-y: auto; + background: #ffffff; + margin-bottom: 3px; + .ant-menu { + border-radius: 0 0 4px 4px; + } + .ant-menu-item { + padding: 0px 25px; + height: 26px; + line-height: 26px; + color: rgba(0, 0, 0, 0.85); + cursor: pointer; + } + .ant-menu-item:hover { + background-color: #e6f7ff; + } + } + .menu-select-box::-webkit-scrollbar { + width: 7px; + } + .menu-select-box::-webkit-scrollbar-thumb { + border-radius: 5px; + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); + background: rgba(0, 0, 0, 0.13); + } + .menu-select-box::-webkit-scrollbar-track { + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); + border-radius: 3px; + border: 1px solid rgba(0, 0, 0, 0.07); + 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 { + >li { padding: 5px 25px; } + >li.ant-dropdown-menu-submenu { + padding: 0px; + .ant-dropdown-menu-submenu-title { + padding: 5px 25px; + } + } } .header-subSystem { min-width: 100px; -- Gitblit v1.8.0