From 6c59718662d772c5eaeda72826711b39a2e01c1d Mon Sep 17 00:00:00 2001
From: hailin <1356886193@qq.com>
Date: 星期二, 08 八月 2023 13:27:34 +0800
Subject: [PATCH] 最后 一舞
---
src/styles/sidebar.scss | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss
index 19c677f..5d56d60 100644
--- a/src/styles/sidebar.scss
+++ b/src/styles/sidebar.scss
@@ -71,21 +71,19 @@
// menu hover
.el-submenu__title,.el-tooltip{
-
- &:hover {
- background-color: $menuHover !important;
border-radius: 8px;
overflow: hidden;
+ &:hover {
+ background-color: $menuHover !important;
color: $menuActiveText !important;
-
}
}
.submenu-title-noDropdown{
&:hover {
background-color:transparent !important;
// background-color: $menuBg !important;
- border-radius: 8px;
- overflow: hidden;
+ // border-radius: 8px;
+ // overflow: hidden;
color: $menuActiveText !important;
}
@@ -96,9 +94,11 @@
}
.el-submenu__title{
background-color: #ffffff !important;
- border-radius: 8px;
- overflow: hidden;
color: $menuActiveText !important;
+ &:has(.is-active){
+ background-color: #ffffff !important;
+ color: $menuActiveText !important;
+ }
}
}
@@ -111,6 +111,7 @@
background-color: $subMenuBg !important;
&:hover {
+
background-color: $subMenuHover !important;
}
}
@@ -123,7 +124,7 @@
// color: $subMenuActiveText !important;
// border-right: 3px solid $menuActiveText;
// background-color: $menuHover !important;
- background: #fff !important;
+ // background: #fff !important;
.el-tooltip{
color: $subMenuActiveText !important;
// border-right: 3px solid $menuActiveText;
--
Gitblit v1.9.3