Browse Source

update menu style

pull/131/head
yiminghe 9 years ago
parent
commit
f4b0a8fee8
  1. 25
      style/components/menu.less

25
style/components/menu.less

@ -91,10 +91,31 @@
background-color: #fff; background-color: #fff;
} }
&-inline > .@{menuPrefixCls}-submenu-title:after {
font-family: "anticon" !important;
font-style: normal;
vertical-align: baseline;
text-align: center;
text-transform: none;
text-rendering: auto;
position: absolute;
transition: transform .3s ease-in;
content: "\e600";
right: 8px;
transform: scale(0.7);
top: 11px;
}
&-opened { &-opened {
> .@{menuPrefixCls} { > .@{menuPrefixCls} {
display: block; display: block;
} }
&.@{menuPrefixCls}-submenu-inline > .@{menuPrefixCls}-submenu-title:after {
content: "\e600";
.ie-rotate(2);
transform: rotate(180deg) scale(0.7);
}
} }
} }
@ -148,6 +169,10 @@
padding: 0; padding: 0;
} }
&-root&-inline {
border-radius: 0;
}
&-sub&-inline { &-sub&-inline {
padding: 0; padding: 0;
border: none; border: none;

Loading…
Cancel
Save