update Menu style
This commit is contained in:
parent
5d6bf568e7
commit
cbaf4e2361
2 changed files with 53 additions and 208 deletions
|
@ -154,7 +154,8 @@
|
|||
transition: all @transition-time @ease-in-out;
|
||||
|
||||
&:hover{
|
||||
background: @background-color-select-hover;
|
||||
//background: @background-color-select-hover;
|
||||
color: @primary-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -193,11 +194,22 @@
|
|||
}
|
||||
|
||||
&-light&-vertical &-item{
|
||||
border-right: 2px solid transparent;
|
||||
//border-right: 2px solid transparent;
|
||||
&-active:not(.@{menu-prefix-cls}-submenu){
|
||||
color: @primary-color;
|
||||
border-right: 2px solid @primary-color;
|
||||
background: ~`colorPalette("@{primary-color}", 1)`;
|
||||
//border-right: 2px solid @primary-color;
|
||||
z-index: 2;
|
||||
&:after{
|
||||
content: '';
|
||||
display: block;
|
||||
width: 2px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background: @primary-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -214,7 +226,7 @@
|
|||
}
|
||||
&-active:not(.@{menu-prefix-cls}-submenu){
|
||||
color: @primary-color;
|
||||
border-right: 2px solid @primary-color;
|
||||
//border-right: 2px solid @primary-color;
|
||||
}
|
||||
}
|
||||
&-dark&-vertical &-submenu &-item{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue