Fix menu active style

close ant-design/ant-design-pro#222
This commit is contained in:
afc163 2017-11-20 10:55:02 +08:00
parent 09fd564af9
commit 8e6e91b932

View File

@ -204,6 +204,7 @@
&-submenu {
&-popup {
position: absolute;
border-radius: @border-radius-base;
}
> .@{menu-prefix-cls} {
@ -485,7 +486,6 @@
&-dark &-sub {
color: @text-color-secondary-dark;
background: @menu-dark-bg;
box-shadow: 0 2px 8px rgba(0, 0, 0, .45) inset;
.@{menu-prefix-cls}-submenu-title .@{menu-prefix-cls}-submenu-arrow {
opacity: .45;
transition: all .3s;
@ -498,6 +498,7 @@
&-dark &-inline&-sub {
background: @menu-dark-submenu-bg;
box-shadow: 0 2px 8px rgba(0, 0, 0, .45) inset;
}
&-dark&-horizontal {
@ -575,7 +576,8 @@
}
}
&&-dark &-item-selected {
&&-dark &-item-selected,
&-submenu-popup&-dark &-item-selected {
background-color: @primary-color;
}