Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
5a789891
Commit
5a789891
authored
3 years ago
by
曾婧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改华农主题
parent
c0c7c461
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
15 deletions
+19
-15
index.js
src/layouts/AppLayout/components/SlideMenu/index.js
+2
-2
HN.less
src/layouts/HN.less
+17
-13
No files found.
src/layouts/AppLayout/components/SlideMenu/index.js
View file @
5a789891
...
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
src/layouts/HN.less
View file @
5a789891
...
...
@@ -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 1
6px
;
padding: 0 1
0px!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: 6
px;
color:#7a7a7a
!important
;
padding
: 0 10
px;
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,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment