mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
menu style
This commit is contained in:
parent
15a13c1076
commit
7768854363
@ -6,7 +6,7 @@
|
||||
padding-left: 0; // Override default ul/ol
|
||||
list-style: none;
|
||||
z-index: 999;
|
||||
border: 1px solid #d9d9d9;
|
||||
// border: 1px solid #d9d9d9;
|
||||
box-shadow: @overlay-shadow;
|
||||
border-radius: @border-radius-base;
|
||||
color: @text-color;
|
||||
@ -57,6 +57,17 @@
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
&-vertical,
|
||||
&-inline {
|
||||
border-right: 1px solid #d9d9d9;
|
||||
|
||||
.ant-menu-item-selected,
|
||||
.ant-menu-item-active {
|
||||
border-right: 2px solid @primary-color;
|
||||
margin-left: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
&-submenu-horizontal > .@{menu-prefix-cls} {
|
||||
top: 100%;
|
||||
left: 0;
|
||||
@ -251,7 +262,6 @@
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
overflow: hidden;
|
||||
& > .@{menu-prefix-cls}-item, & > .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title {
|
||||
line-height: 34px;
|
||||
height: 34px;
|
||||
|
Loading…
Reference in New Issue
Block a user