左侧菜单优化

This commit is contained in:
禺狨 2023-03-09 16:40:36 +08:00
parent e64660b9de
commit d9dc0a9684

View File

@ -156,6 +156,14 @@ code {
color: white !important; color: white !important;
} }
.ant-menu-submenu-active > .ant-menu-submenu-title {
background-color: rgba(#ff4d4f, 0.1) !important;
}
.ant-menu-item-active {
background-color: rgba(#ff4d4f, 0.1) !important;
}
.ant-menu-submenu-selected > .ant-menu-submenu-title { .ant-menu-submenu-selected > .ant-menu-submenu-title {
color: #ff4d4f !important; color: #ff4d4f !important;
} }
@ -175,10 +183,17 @@ textarea.ant-input {
font-weight: 400 !important; font-weight: 400 !important;
} }
.ant-dropdown-menu{ .ant-dropdown-menu {
padding: 8px 4px !important; padding: 8px 4px !important;
} }
.ant-dropdown-menu-item:hover { .ant-dropdown-menu-item:hover {
background-color: rgba(#ff4d4f, 0.1) !important; background-color: rgba(#ff4d4f, 0.1) !important;
} }
.ant-dropdown-menu-item {
margin-bottom: 8px !important;
&:last-child {
margin-bottom: 0px !important;
}
}