@import '../../assets/css/iconfont.css';
|
@import '../../assets/css/global.scss';
|
|
.side-menu {
|
flex: 0 0 235px;
|
width: 235px;
|
padding: 48px 0 20px;
|
transition: width 0.2s, flex 0.2s;
|
.ant-menu-item {
|
padding-left: 0!important;
|
cursor: default;
|
a {
|
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;
|
border-bottom: 1px solid #000c17;
|
.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;
|
}
|
// .cus-submenu-title {
|
// padding: 0px 24px;
|
// background: #364150;
|
// margin: 0;
|
// height: 48px;
|
// line-height: 48px;
|
// width: 100%;
|
// overflow: hidden;
|
// font-size: 14px;
|
// white-space: nowrap;
|
// text-overflow: ellipsis;
|
// i {
|
// margin-right: 10px;
|
// }
|
// }
|
}
|
.side-menu.iframe { // tab页中为iframe时
|
max-height: 100vh;
|
overflow-y: scroll;
|
&::-webkit-scrollbar {
|
display: none;
|
}
|
}
|
.side-menu.side-menu-collapsed { // 左侧菜单合并时
|
flex: 0 0 80px;
|
width: 80px;
|
}
|
.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;
|
}
|
}
|