zb-admin/src/layout/Header/index.scss

74 lines
1.2 KiB
SCSS

.mobile {
.m-layout-header {
left: 0 !important;
width: 100%!important;
}
}
.header {
height: 50px;
width: 100%;
border-bottom: 1px solid #eee;
display: flex;
align-items: center;
padding: 0 10px 0 0;
box-sizing: border-box;
justify-content: space-between;
.left {
display: flex;
align-items: center;
height: 100%;
}
.tool-bar-right {
display: flex;
align-items: center;
.right-item-menu{
margin-right: 22px;
}
}
}
.zb-fixed-header{
position: fixed;
top: 0;
right: 0;
z-index: 9;
}
.zb-no-fixed-header{
width: 100%!important;;
}
.m-layout-header {
width: 100%;
background: white;
transition: width 0.28s;
flex-shrink: 0;
box-sizing: border-box;
box-shadow: 0 1px 4px rgb(0 21 41 / 8%);
}
.fixed-header-collapse{
width: calc(100% - 60px);
}
.fixed-header-no-collapse{
width: calc(100% - 210px);
}
.el-dropdown {
display: flex;
height: 100%;
align-items: center;
}
.transverseMenu{
display: flex;
.el-menu{
overflow: hidden;
}
:deep(.el-menu-item){
height: 100% !important;
}
.tool-bar-right{
display: flex;
justify-content: flex-end;
min-width:300px ;
flex-shrink: 0;
}
}