mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-27 13:46:18 +10:00
update menu style
This commit is contained in:
@@ -91,10 +91,31 @@
|
||||
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 {
|
||||
> .@{menuPrefixCls} {
|
||||
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;
|
||||
}
|
||||
|
||||
&-root&-inline {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
&-sub&-inline {
|
||||
padding: 0;
|
||||
border: none;
|
||||
|
||||
Reference in New Issue
Block a user