@import '../../../assets/css/iconfont.css';
|
|
.mk-sys-side-menu {
|
flex: 0 0 235px;
|
width: 235px;
|
padding: 48px 0 40px;
|
transition: width 0.2s, flex 0.2s;
|
.ant-menu-item {
|
padding-left: 0!important;
|
cursor: default;
|
a {
|
padding-left: 48px;
|
}
|
.editable-menu-item {
|
display: block;
|
padding-left: 48px;
|
}
|
}
|
.ant-menu-sub.ant-menu-inline {
|
position: relative;
|
}
|
.ant-menu-sub.ant-menu-inline > .ant-menu-item {
|
height: 38px;
|
line-height: 38px;
|
margin: 0px;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
a {
|
display: inline-block;
|
}
|
.edit-check {
|
top: -5px;
|
}
|
}
|
.ant-menu-sub.ant-menu-inline > .ant-menu-item.ant-menu-item-active {
|
background: #06b4f7;
|
}
|
.ant-menu-sub.ant-menu-inline > .ant-menu-item.ant-menu-item-selected {
|
background: #06b4f7;
|
}
|
.ant-menu-inline .ant-menu-item {
|
font-size: 1.1rem;
|
}
|
.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title {
|
margin: 0;
|
height: 48px;
|
line-height: 48px;
|
}
|
.ant-menu-dark.ant-menu-inline .ant-menu-submenu-open .ant-menu-submenu-title {
|
background: #364150;
|
}
|
.edit-check {
|
font-size: 18px;
|
position: absolute;
|
cursor: pointer;
|
padding: 10px 15px;
|
margin-right: 0px;
|
right: 0px;
|
top: 0px;
|
:hover {
|
color: #ffffff;
|
}
|
}
|
|
.edit-control + .ant-menu-submenu-arrow {
|
display: none;
|
}
|
.menu-add {
|
position: relative;
|
border: 1px dashed gray;
|
margin: 8px 0px;
|
height: 40px;
|
line-height: 40px;
|
width: 98%;
|
clear: both;
|
text-align: center;
|
cursor: pointer;
|
.anticon {
|
font-size: 20px;
|
}
|
}
|
.menu-btn {
|
.ant-btn {
|
padding: 0 10px;
|
margin-left: 5px;
|
}
|
}
|
.sup-menu {
|
position: relative;
|
z-index: 1;
|
}
|
.ant-menu-sub.ant-menu-inline .sub-menu {
|
position: absolute;
|
z-index: 1;
|
width: 48px;
|
left: 187px;
|
}
|
}
|
.mk-sys-side-menu.mk-edit { // 编辑时控制菜单底色
|
.ant-menu-sub.ant-menu-inline {
|
> .ant-menu-item.ant-menu-item-selected {
|
background: unset;
|
}
|
> .ant-menu-item.ant-menu-item-active {
|
background: unset;
|
}
|
}
|
}
|
.ant-menu-submenu.ant-menu-submenu-popup {
|
max-height: 80vh;
|
overflow-y: scroll;
|
&::-webkit-scrollbar {
|
display: none;
|
}
|
}
|
.ant-menu-vertical .ant-menu-item {
|
cursor: default;
|
height: 30px;
|
line-height: 30px;
|
a {
|
cursor: pointer;
|
}
|
}
|
.mk-popover-control-wrap {
|
.mk-edit-menu {
|
font-size: 18px;
|
cursor: pointer;
|
padding: 10px 15px;
|
}
|
.anticon-plus.mk-edit-menu {
|
color: #26C281;
|
}
|
.mk-edit-menu.mk-swap {
|
color: #1890ff;
|
transform: rotate(90deg);
|
}
|
.anticon-unlock.mk-edit-menu {
|
color: orange;
|
}
|
}
|
.mk-menu-control.mk-popover-control-wrap {
|
padding-bottom: 0px;
|
}
|