From 7d7fbe920279c9d7a42268a284427d2c42d8f0f2 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期二, 10 十月 2023 14:45:01 +0800 Subject: [PATCH] 弹出搜索框 公共组件修改 --- src/components/layout/components/appsidebar/index.scss | 41 ++++++++++++++++++++++++++++++++++++++--- 1 files changed, 38 insertions(+), 3 deletions(-) diff --git a/src/components/layout/components/appsidebar/index.scss b/src/components/layout/components/appsidebar/index.scss index 037c7b3..b316532 100644 --- a/src/components/layout/components/appsidebar/index.scss +++ b/src/components/layout/components/appsidebar/index.scss @@ -1,14 +1,49 @@ .app-sidebar { position: relative; - height: 100%; - background-color: #545c64; + // height: 100%; + background-color: #314255; .box { - width: 200px; + width: 187px; .el-menu { border-right: solid 0px #e6e6e6; } .el-submenu .el-menu-item { min-width: none; } + .icon { + color: #bfcbd9; + } + .el-submenu__title:hover, + .el-menu-item:focus, + .el-menu-item:hover { + background-color: #011527 !important; + } + + ::v-deep{ + .el-menu .el-submenu .el-submenu__title:hover{ + background-color: #011527 !important; + } + } + + .el-submenu .el-menu-item { + width: 166px; + min-width: 166px; + height: 38px; + display: flex; + align-items: center; + margin-left: 11px; + border-radius: 6px; + + &.is-active { + color: #fff !important; + flex-grow: 0; + fill: #fff !important; + background: #2a78fb !important; + i { + color: #fff; + } + + } + } } } -- Gitblit v1.8.0