From 3df2d3624c6b768d29670b537f8d6a71d3ef122c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 12 四月 2020 22:04:53 +0800 Subject: [PATCH] 2020-04-12 --- src/components/header/index.scss | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/src/components/header/index.scss b/src/components/header/index.scss index 29ac023..1dad49d 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,6 +137,49 @@ 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: #000000; + 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); + } + } } .header-dropdown { li { -- Gitblit v1.8.0