html,
body {
height: 100%;
width: 100%;
}
body {
box-sizing: border-box;
-moz-box-sizing: border-box;
/* Firefox */
-webkit-box-sizing: border-box;
/* Safari */
background-color: #e8edf7;
}
[v-cloak] {
display: none;
}
#container {
height: 100%;
}
.space-container {
width: 100%;
height: 100%;
}
.el-menu-level1 .spaceicon {
font-size: 28px;
}
.el-menu-level2 .spaceicon {
font-size: 20px;
}
/*头部*/
.header {
width: 100%;
background-color: #fff;
line-height: 60px;
color: #999;
position: relative;
z-index: 100;
}
.header-logo {
float: left;
height: 40px;
margin: 10px 0;
}
.header-logo img {
height: 100%;
}
.header-right {
float: right;
height: 100%;
}
.header-user {
display: inline-block;
height: 100%;
margin: 0 8px;
cursor: pointer;
}
.header-user img {
vertical-align: top;
}
.header-user-email {
font-size: 14px;
vertical-align: middle;
margin-top: -1px;
font-weight: bold;
margin-left: 5px;
}
.header-user-icon {
/* width: 32px;
height: 32px; */
/* border-radius: 50%; */
vertical-align: middle;
cursor: pointer;
/* border: 1px solid #EBEEF3 */
box-shadow: 0 0 2px #888;
}
.header-middle {
float: left;
margin-left: 20px;
height: 100%;
}
.header-middle a,
.header-right a {
display: inline-block;
height: 100%;
color: #999;
}
.header-middle a:hover,
.header-right a:hover {
/*color: #323549;
background: rgba(50,53,73,.1);*/
color: #4e89f8;
/* background: rgba(78, 137, 248, .1); */
}
.header-icon-home {
color: #4e89f8 !important;
}
.header-icon-home:hover {
color: rgb(58, 63, 82) !important;
}
.header-middle i,
.header-right a i {
font-size: 22px;
padding: 0 5px;
vertical-align: middle;
}
.header-middle .divider {
display: inline-block;
vertical-align: middle;
height: 30px;
border-left: 1px solid #efefef;
}
.header-right a i {
vertical-align: auto;
}
/*个人设置九宫格*/
.el-popover.hearder-settings-popper {
padding: 0;
color: #999;
margin-top: 0;
}
.el-popover {
box-shadow: none;
}
.header-settings-list {
padding: 15px;
}
.header-settings-grid {
height: 80px;
text-align: center;
}
.header-settings-grid:hover {
background-color: rgb(245, 245, 245);
cursor: pointer;
}
.header-settings-grid i {
display: inline-block;
color: rgb(122, 141, 155);
font-size: 26px;
line-height: 2;
}
.header-settings-grid p {
font-size: 12px;
line-height: 26px;
margin-top: -10px;
color: #999;
}
.header-settings-bottom {
text-align: center;
cursor: pointer;
font-size: 12px;
height: 42px;
line-height: 42px;
border-top: 1px solid rgb(245, 245, 245);
}
.header-settings-bottom:hover {
background-color: rgb(245, 245, 245);
}
/*主体*/
.content {
width: 100%;
height: calc(100% - 60px);
}
/*左侧导航*/
.content-left {
height: 100%;
position: relative;
overflow: visible;
}
.content-left .el-menu {}
.el-menu-level1 {
height: 100%;
float: left;
z-index: 100;
border-right: 1px solid #8d9fb5;
}
.el-menu-level1 .el-menu-item [class^=el-icon-] {
font-size: 24px;
}
.el-menu-level2 {
box-sizing: border-box;
height: 100%;
width: 220px !important;
float: left;
position: absolute;
top: 0;
left: 64px;
z-index: 99;
border: 1px solid #8d9fb5;
border-bottom: 0;
border-left: 0;
overflow: visible !important;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.el-menu-level2 .level1-column {
/* margin-bottom: 6px; */
}
.el-menu-level2 .level1-column p {
box-sizing: border-box;
height: 55px;
line-height: 55px;
color: #fff;
border-bottom: 1px solid #8d9fb5;
margin-left: 16px;
padding-left: 2px;
}
.el-menu-level2 i {
font-size: 16px;
margin-right: 6px;
color: #fff;
}
.el-menu-level2 .el-menu-item {
margin-left: 3px;
}
.el-menu-level2 .is-active,
.el-menu-level2 .el-menu-item:hover {
background-color: rgba(242, 247, 255, .3) !important;
}
.menu-collapse-left {
position: absolute;
top: 15px;
right: -10px;
z-index: 1000;
opacity: 0;
font-size: 26px;
}
.menu-collapse-left-small {
z-index: 10001;
font-size: 23px;
color: #3a3f52;
top: 17px;
right: -9px;
}
.el-menu--collapse>.el-menu-item.is-active .menu-collapse-left {
color: #8d9fb5;
opacity: 1;
}
.el-menu--collapse>.el-menu-item.is-active .menu-collapse-left-small {
color: #3a3f52;
}
/*二级栏目的动画*/
.level2-slide-fade-enter-active {
transition: all .3s ease;
}
.level2-slide-fade-leave-active {
transition: all .1s ease;
}
.level2-slide-fade-enter,
.level2-slide-fade-leave-to
/* .slide-fade-leave-active for below version 2.1.8 */
{
transform: translateX(-220px);
opacity: 0;
}
/* 右侧收起二级栏目按钮 */
.fold-level2 {
position: absolute;
top: 50%;
right: -10px;
background-color: #409EFF;
width: 10px;
height: 30px;
line-height: 30px;
margin-top: -15px;
cursor: pointer;
}
.fold-level2:hover {
opacity: 0.8;
}
.fold-level2 i {
font-size: 18px;
color: #fff;
margin-top: 5px;
}
/*右侧iframe*/
.content-right {
overflow: hidden;
padding: 12px;
}
.content-right iframe {
width: 100%;
height: 100%;
}