mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
update menu style
This commit is contained in:
parent
3cf2aa86bb
commit
e54e4d3486
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user