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

fix: 修改华农主题

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