#app {
	// 主体区域
  .main-container {
    height: 100%;
    transition: margin-left .28s;
    margin-left: $sidebarOpenWidth;
  }
  // 侧边栏
  .sidebar-container {
    transition: width 0.28s;
    width: $sidebarOpenWidth !important;
    height: 100%;
    position: fixed;
    font-size: 0px;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    overflow: hidden;
    //reset element-ui css
    .horizontal-collapse-transition {
      transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
    }
    .scrollbar-wrapper {
      height: calc(100% + 17px);
      .el-scrollbar__view {
        height: calc(100% - 50px);
      }
    }
    .is-horizontal {
      display: none;
    }
    a {
      display: inline-block;
      width: 100%;
      overflow: hidden;
    }
    .svg-icon {
      margin-right: 10px;
    }
    .el-menu {
      border: none;
      height: calc(100% - 50px);
      width: 100% !important;
			background-color: #333744;
			.el-submenu__title, .el-menu-item.submenu-title-noDropdown {
				height: 47px;
				line-height: 47px;
			}
			.el-menu-item {
				height: 34px;
				line-height: 34px;
			}
			.el-menu--inline{
				a:last-child li{
					margin-bottom: 8px;
				}
			}
    }
  }
  .hideSidebar {
    .sidebar-container {
      width: $sidebarRetractWidth !important;
			.svg-icon{
				width: 1.2em;
				height: 1.2em;
				margin-right: 0;
			}
    }
    .main-container {
      margin-left: $sidebarRetractWidth;
    }
		.tags-view-container{
			padding-left: $sidebarRetractWidth;
		}
		.logo{
			width: $sidebarRetractWidth;
		}
		.tel_operation {
			left: 100px;
		}
    .submenu-title-noDropdown {
      position: relative;
      .el-tooltip {
        padding: 0 16.6px !important;
      }
    }
    .el-submenu {
      overflow: hidden;
      &>.el-submenu__title {
				padding: 0 16.6px !important;
        .el-submenu__icon-arrow {
          display: none;
        }
      }
    }
    .el-menu--collapse {
      .el-submenu {
        &>.el-submenu__title {
          &>span {
            height: 0;
            width: 0;
            overflow: hidden;
            visibility: hidden;
            display: inline-block;
          }
        }
      }
    }
  }
	.el-menu-item.submenu-title-noDropdown,
	.el-submenu > .el-submenu__title{
		background-color: $menuHover !important;
	}
	.el-menu-item.submenu-title-noDropdown:hover,
	.el-submenu > .el-submenu__title:hover{
		background-color: $subMenuBg !important;
	}
  .sidebar-container .nest-menu .el-submenu>.el-submenu__title,
  .sidebar-container .el-submenu .el-menu-item {
    min-width: $sidebarOpenWidth !important;
    background-color: $subMenuBg !important;
    &:hover {
      background-color: $menuHover !important;
    }
  }
  .el-menu--collapse .el-menu .el-submenu {
    min-width: $sidebarOpenWidth !important;
  }
	.el-submenu__title i{
		color: #ffffff;
	}
  //适配移动端
  .mobile {
    .main-container {
      margin-left: 0px;
    }
    .sidebar-container {
      transition: transform .28s;
      width: $sidebarOpenWidth !important;
    }
    &.hideSidebar {
      .sidebar-container {
        transition-duration: 0.3s;
        transform: translate3d(-$sidebarOpenWidth, 0, 0);
      }
    }
  }
  .withoutAnimation {
    .main-container,
    .sidebar-container {
      transition: none;
    }
  }
}
