Browse Source

Fix dark Menu selected item link color, close #2213

pull/2231/head
afc163 9 years ago
parent
commit
332ba6edc9
  1. 33
      components/menu/style/index.less

33
components/menu/style/index.less

@ -327,23 +327,9 @@
top: 0;
}
&-dark&-horizontal > &-item:hover,
&-dark&-horizontal > &-item-active,
&-dark&-horizontal > &-item-selected,
&-dark&-horizontal > &-submenu:hover,
&-dark&-horizontal > &-submenu &-submenu-title:hover {
&,
& > a {
color: #fff;
transform: translateZ(0);
}
}
&-dark &-item,
&-dark &-item > a {
color: #999;
&:hover {
color: #fff;
}
}
&-dark&-inline,
@ -361,14 +347,18 @@
&-dark &-item:hover,
&-dark &-item-active,
&-dark &-submenu-active,
&-dark &-submenu:hover,
&-dark &-submenu-title:hover {
background-color: transparent;
color: @primary-color;
color: #fff;
> a {
color: #fff;
transform: translateZ(0);
}
}
&-dark&-inline &-item-selected {
&-dark &-item-selected {
border-right: 0;
background-color: @primary-color;
color: #fff;
> a,
> a:hover {
@ -376,10 +366,7 @@
}
}
&-dark&-vertical &-item-selected {
> a,
> a:hover {
color: @primary-color;
}
&-dark&-inline &-item-selected {
background-color: @primary-color;
}
}

Loading…
Cancel
Save