update menu style

This commit is contained in:
afc163 2015-11-14 17:51:09 +08:00
parent 3cf2aa86bb
commit e54e4d3486

View File

@ -29,11 +29,13 @@
}
&-item,
&-submenu,
&-submenu-title {
cursor: pointer;
transition: all 0.3s ease;
}
&-item-active,
&-submenu-title:hover {
background-color: tint(@primary-color, 90%);
@ -67,7 +69,7 @@
}
}
&-submenu-horizontal > .@{menu-prefix-cls} {
&-submenu-horizontal > & {
top: 100%;
left: 0;
position: absolute;
@ -75,7 +77,7 @@
margin-top: 7px;
}
&-submenu-vertical > .@{menu-prefix-cls} {
&-submenu-vertical > & {
top: 0;
left: 100%;
position: absolute;
@ -83,7 +85,8 @@
margin-left: 4px;
}
&-item, &-submenu-title {
&-item,
&-submenu-title {
margin: 0;
position: relative;
display: block;
@ -172,7 +175,6 @@
top: 1px;
float: left;
border-bottom: 2px solid transparent;
margin-right: 20px;
&-active,
&-selected {