feat: 样式调整

This commit is contained in:
xuziqiang
2024-06-21 18:15:32 +08:00
parent d4f17c4c02
commit 0c291263cd
10 changed files with 158 additions and 115 deletions

View File

@@ -51,28 +51,32 @@
height: 100%;
}
:deep(.ns-left-menu .firstMenuItem-selected .ant-menu-title-content) {
:deep(.ant-menu-title-content) {
background: unset !important;
z-index: 9 !important;
}
:deep(.ns-left-menu) {
.ant-menu-item-active,
.ant-submenu-item-active {
background: #ecf3ff !important;
}
.ant-menu-item-selected .ant-menu-title-content {
.ant-menu-item-selected {
// color: #fff !important;
background: @primary-color;
border-radius: 12px;
height: 40px;
line-height: 40px;
// height: 40px;
// line-height: 40px;
padding: 5px @ns-gap;
position: relative;
a {
color: @white !important;
}
}
.ant-menu-item-active,
.ant-submenu-item-active {
// color: rgba(@primary-color, 0.1) !important;
}
}
:deep(.ant-menu-light.ant-menu-horizontal > .ant-menu-item:hover) {
background: @primary-color;
// background: @primary-color;
}
// :deep(.ant-menu-inline .ant-menu-submenu-title) {
// color: rgba(255, 255, 255, 0.9) !important;