Commit 5a789891 authored by 曾婧's avatar 曾婧

fix: 修改华农主题

parent c0c7c461
......@@ -89,7 +89,7 @@ const Menu = props => {
<LoadingSkeleton {...props}>
{route && route.routes && route.routes.length > 0 && (
<React.Fragment>
{menuHeaderRender ? (
{/* {menuHeaderRender ? (
menuHeaderRender(props)
) : (
<>
......@@ -109,7 +109,7 @@ const Menu = props => {
</ul>
<div className={`${prefixCls}-line`} />
</>
)}
)} */}
<ul className={classNames(`${prefixCls}-menu ${prefixCls}-menu-vertical`)}>
<ProLayout
route={sunRoute}
......
......@@ -49,11 +49,12 @@
.@{ant-prefix}-menu-inline > .@{ant-prefix}-menu-item{
height: 40px;
line-height: 40px;
padding: 0 10px!important;
}
.ant-menu-inline > .ant-menu-item{
height: 40px;
line-height: 40px;
padding: 0 16px;
padding: 0 10px!important;
line-height: 40px;
text-overflow: ellipsis;
}
......@@ -245,13 +246,11 @@
.@{ant-prefix}-menu {
ul {
.@{ant-prefix}-menu-item-only-child {
padding-left: 0 !important;
padding-left: 12px !important;
margin-top:0!important;
margin-bottom: 0!important;
.test-icon{
color:#7a7a7a!important;
margin-left: 30px;
padding:0 10px!important;
padding: 0 10px 0 28px;
}
.@{ant-prefix}-menu-title-content{
......@@ -286,15 +285,14 @@
.ant-menu {
ul {
.ant-menu-item-only-child {
padding-left: 0 !important;
padding-left: 12px !important;
margin-top:0!important;
margin-bottom: 0!important;
.ant-menu-title-content{
border-radius: 5px;
}
.test-icon{
margin-left: 30px;
padding:10px 0!important;
padding: 0 10px 0 28px;
}
}
}
......@@ -303,8 +301,8 @@
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding-left: 6px;
color:#7a7a7a!important;
padding: 0 10px;
color:#7a7a7a ;
.my-svg {
display: inline-block;
width: 18px;
......@@ -341,6 +339,7 @@
}
}
.test-icon:hover{
color: @hn-greenColor;
.my-desc {
color: @hn-greenColor;
}
......@@ -352,6 +351,7 @@
}
}
.hight-active:hover{
color:#fff ;
.my-desc {
color: #fff;
}
......@@ -378,15 +378,19 @@
vertical-align: bottom;
}
.@{ant-prefix}-menu-submenu-title{
padding-right: 14px!important;
padding-left: 10px!important;
padding-right: 10px!important;
}
.ant-menu-submenu-title{
padding-right: 14px!important;
padding-left: 10px!important;
padding-right: 10px!important;
}
.hight-active {
background: @hn-greenColor;
border-radius: 5px;
.my-desc {
color:#fff ;
.my-desc{
color: #fff;
}
svg path,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment