2017-11-06 05:52:13 +00:00
|
|
|
#app {
|
2017-11-02 09:58:35 +00:00
|
|
|
// 主体区域
|
2017-11-02 07:51:29 +00:00
|
|
|
.main-container {
|
2017-11-02 09:58:35 +00:00
|
|
|
min-height: 100%;
|
|
|
|
transition: margin-left 0.28s;
|
|
|
|
margin-left: 180px;
|
2017-11-06 07:24:04 +00:00
|
|
|
} // 侧边栏
|
2017-11-02 09:58:35 +00:00
|
|
|
.sidebar-container {
|
|
|
|
transition: width 0.28s;
|
|
|
|
width: 180px!important;
|
|
|
|
height: 100%;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1001;
|
2017-11-06 07:24:04 +00:00
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
2017-11-02 09:58:35 +00:00
|
|
|
}
|
2017-11-06 07:24:04 +00:00
|
|
|
.svg-icon {
|
|
|
|
margin-right: 16px;
|
|
|
|
}
|
|
|
|
.el-menu {
|
|
|
|
border: none;
|
2017-11-06 08:02:13 +00:00
|
|
|
width: 100%;
|
2017-07-24 06:41:02 +00:00
|
|
|
}
|
|
|
|
}
|
2017-11-06 07:24:04 +00:00
|
|
|
.hideSidebar {
|
2017-11-06 08:02:13 +00:00
|
|
|
.sidebar-container,.sidebar-container .el-menu {
|
2017-11-06 07:24:04 +00:00
|
|
|
width: 36px!important;
|
2017-11-06 08:02:13 +00:00
|
|
|
// overflow: inherit;
|
2017-11-02 09:58:35 +00:00
|
|
|
}
|
2017-11-06 07:24:04 +00:00
|
|
|
.main-container {
|
|
|
|
margin-left: 36px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.hideSidebar {
|
|
|
|
.submenu-title-noDropdown {
|
|
|
|
padding-left: 10px!important;
|
|
|
|
position: relative;
|
2017-11-02 09:58:35 +00:00
|
|
|
span {
|
2017-11-06 07:24:04 +00:00
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
visibility: hidden;
|
|
|
|
transition: opacity .3s cubic-bezier(.55, 0, .1, 1);
|
|
|
|
opacity: 0;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
border-radius: 3px;
|
|
|
|
z-index: 1002;
|
|
|
|
width: 140px;
|
|
|
|
height: 56px;
|
|
|
|
visibility: visible;
|
|
|
|
position: absolute;
|
|
|
|
right: -145px;
|
|
|
|
text-align: left;
|
|
|
|
text-indent: 20px;
|
|
|
|
top: 0px;
|
2017-11-21 02:14:20 +00:00
|
|
|
background-color: $subMenuBg!important;
|
2017-11-06 07:24:04 +00:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.el-submenu {
|
|
|
|
&>.el-submenu__title {
|
|
|
|
padding-left: 10px!important;
|
|
|
|
&>span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.el-submenu__icon-arrow {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.nest-menu {
|
|
|
|
.el-submenu__icon-arrow {
|
|
|
|
display: block!important;
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
display: inline-block!important;
|
|
|
|
}
|
2017-11-02 09:58:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-11-06 07:24:04 +00:00
|
|
|
.nest-menu .el-submenu>.el-submenu__title,
|
2017-11-02 09:58:35 +00:00
|
|
|
.el-submenu .el-menu-item {
|
|
|
|
min-width: 180px!important;
|
2017-11-21 02:14:20 +00:00
|
|
|
background-color: $subMenuBg!important;
|
2017-11-02 09:58:35 +00:00
|
|
|
&:hover {
|
2017-11-21 02:14:20 +00:00
|
|
|
background-color: $menuHover!important;
|
2017-11-02 09:58:35 +00:00
|
|
|
}
|
2017-11-02 07:51:29 +00:00
|
|
|
}
|
2017-11-21 02:14:20 +00:00
|
|
|
.el-menu--collapse .el-menu .el-submenu{
|
|
|
|
min-width: 180px!important;
|
|
|
|
}
|
2017-07-24 06:41:02 +00:00
|
|
|
}
|