update Menu style

This commit is contained in:
梁灏 2018-07-02 09:55:34 +08:00
parent 5d6bf568e7
commit cbaf4e2361
2 changed files with 53 additions and 208 deletions

View file

@ -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{