update Menu style

This commit is contained in:
Aresn 2017-06-30 17:15:37 +08:00
parent e61c092eac
commit c0478e27cf
3 changed files with 38 additions and 46 deletions

View file

@ -49,7 +49,7 @@
background: #fff;
}
&-dark{
background: @title-color;
background: @menu-dark-title;
}
&-primary{
background: @primary-color;
@ -95,7 +95,7 @@
}
&-dark&-horizontal &-item, &-dark&-horizontal &-submenu{
color: @subsidiary-color;
color: @menu-dark-subsidiary-color;
&-active, &:hover{
color: #fff;
}
@ -176,7 +176,7 @@
}
&-dark&-vertical &-item-group{
&-title{
color: @text-color;
color: @menu-dark-group-title-color;
}
}
@ -190,7 +190,7 @@
}
&-dark&-vertical &-item, &-dark&-vertical &-submenu-title{
color: @subsidiary-color;
color: @menu-dark-subsidiary-color;
&-active:not(.@{menu-prefix-cls}-submenu),
&-active:not(.@{menu-prefix-cls}-submenu):hover
{
@ -198,7 +198,7 @@
}
&:hover{
color: #fff;
background: @title-color;
background: @menu-dark-title;
}
&-active:not(.@{menu-prefix-cls}-submenu){
color: @primary-color;
@ -223,7 +223,7 @@
&-dark&-vertical &-opened{
background: @menu-dark-active-bg;
.@{menu-prefix-cls}-submenu-title{
background: @title-color;
background: @menu-dark-title;
}
}
}

View file

@ -43,7 +43,10 @@
@table-td-stripe-bg : #f8f8f9;
@table-td-hover-bg : #ebf7ff;
@table-td-highlight-bg : #ebf7ff;
@menu-dark-active-bg : #313540;
@menu-dark-title : #495060;
@menu-dark-active-bg : #363e4f;
@menu-dark-subsidiary-color : rgba(255,255,255,.7);
@menu-dark-group-title-color : rgba(255,255,255,.36);
@date-picker-cell-hover-bg : #e1f0fe;
// Shadow