From 1b89aa4493d1c9768447f2f480d594cdb8077fdc Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 26 十月 2020 09:24:19 +0800 Subject: [PATCH] 2020-10-26 --- src/components/header/index.scss | 100 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 97 insertions(+), 3 deletions(-) diff --git a/src/components/header/index.scss b/src/components/header/index.scss index ac20a39..3ae1951 100644 --- a/src/components/header/index.scss +++ b/src/components/header/index.scss @@ -52,7 +52,7 @@ line-height: 48px; li { float: left; - font-size: 1.8rem; + font-size: 1.3rem; cursor: pointer; span { padding: 0 10px; @@ -69,22 +69,44 @@ &.active { color: #ffffff; span { - border-bottom: 4px solid #06b4f7; + border-bottom: 4px solid #1890ff; } } } } + + .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-setting { float: right; line-height: 48px; margin-right: 10px; img { + width: 29px; + height: 29px; border-radius: 30px; margin-right: 7px; } span { color: #ffffff; - font-size: 1.3rem; + font-size: 0.95rem; .username { display: inline-block; height: 30px; @@ -101,12 +123,84 @@ 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; + 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 { padding: 5px 25px; } } +.header-subSystem { + min-width: 100px; +} .edit-switch { margin-left: 10px; } -- Gitblit v1.8.0