----修改默认主题样式

This commit is contained in:
2026-03-10 18:48:25 +08:00
parent c67cd946f8
commit 0c9cf301d0
6 changed files with 43 additions and 6 deletions

View File

@ -13,9 +13,10 @@
}
.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-active::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-active::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-open::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-open::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-selected::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected::after {
border-bottom: 2px solid #0960bd;
border-bottom: 2px solid #fff;
right: 10px;
left: 10px;
bottom: 4px;
.ant-menu-title-content{
color: #000 !important;
@ -38,10 +39,45 @@
background-image: url('/@/assets/style/theme/imgs/primary-top.png') !important;
background-size: 100% 100% !important;
.vben-layout-header-left {
.vben-layout-header-trigger{
svg {
fill: #fff !important;
}
&.light:hover {
background-color: unset !important;
svg {
fill: #5e95ff !important;
}
}
}
}
.ant-menu-title-content{
color: #fff !important;
}
.vben-layout-header-action {
svg {
fill: #fff !important;
color: #fff !important;
}
.vben-layout-header-action__item:hover{
background-color: #0960bd !important;
}
}
.vben-header-user-dropdown__name{
color: #fff !important;
}
.vben-header-user-dropdown--light:hover{
background-color: #0960bd !important;
}
}
}