style: menu

pull/33/head
xingyu 2023-08-23 19:20:03 +08:00
parent bda764a7ff
commit cc4963f2ec
2 changed files with 13 additions and 12 deletions

View File

@ -30,24 +30,24 @@
.ant-menu-submenu-active, .ant-menu-submenu-active,
.ant-menu-submenu-title:hover { .ant-menu-submenu-title:hover {
color: #fff; color: #fff;
background-color: @top-menu-active-bg-color !important; // background-color: @top-menu-active-bg-color !important;
} }
.ant-menu-item:hover, // .ant-menu-item:hover,
.ant-menu-item-active, // .ant-menu-item-active,
.ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open, // .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open,
.ant-menu-submenu-active, // .ant-menu-submenu-active,
.ant-menu-submenu-title:hover { // .ant-menu-submenu-title:hover {
background-color: @top-menu-active-bg-color; // // background-color: @top-menu-active-bg-color;
} // }
.@{basic-menu-prefix-cls}-item__level1 { .@{basic-menu-prefix-cls}-item__level1 {
background-color: transparent; background-color: transparent;
&.ant-menu-item-selected, // &.ant-menu-item-selected,
&.ant-menu-submenu-selected { // &.ant-menu-submenu-selected {
background-color: @top-menu-active-bg-color !important; // // background-color: @top-menu-active-bg-color !important;
} // }
} }
.ant-menu-item, .ant-menu-item,

View File

@ -6,6 +6,7 @@
.ant-layout .ant-layout-header { .ant-layout .ant-layout-header {
height: 48px !important; height: 48px !important;
padding-inline: 10px; padding-inline: 10px;
line-height: 48px !important;
} }
.@{header-prefix-cls} { .@{header-prefix-cls} {