@import '../../assets/css/global.scss';
|
|
.header-container {
|
position: fixed;
|
// background-color: $header-bg;
|
z-index: 1060;
|
left: 0;
|
top: 0;
|
font-weight: bold!important;
|
width: 100%;
|
height: 48px;
|
|
.header-logo {
|
float: left;
|
width: 180px;
|
line-height: 48px;
|
text-align: center;
|
padding-left: 5px;
|
box-sizing: border-box;
|
opacity: 1;
|
transition: width 0.2s, opacity 0.15s;
|
img {
|
max-width: 100%;
|
max-height: 40px;
|
}
|
}
|
.header-logo.collapse {
|
opacity: 0;
|
width: 0px;
|
padding-left: 0px;
|
}
|
|
.header-collapse {
|
float: left;
|
width: 80px;
|
line-height: 48px;
|
padding-left: 20px;
|
cursor: pointer;
|
transition: padding-left 0.15s;
|
i {
|
position: relative;
|
top: 3px;
|
font-size: 20px;
|
color: #ffffff;
|
}
|
}
|
.header-collapse.collapse {
|
padding-left: 30px;
|
}
|
.header-menu {
|
float: left;
|
margin: 0;
|
line-height: 48px;
|
li {
|
float: left;
|
font-size: 1.8rem;
|
cursor: pointer;
|
span {
|
padding: 0 10px;
|
height: 42px;
|
display: inline-block;
|
}
|
|
&:hover {
|
height: 42px;
|
color: #eeeeee;
|
border-bottom: 4px solid #fafcfb;
|
}
|
&.active {
|
height: 42px;
|
color: #ffffff;
|
// font-weight: bold;
|
border-bottom: 4px solid #06b4f7;
|
}
|
}
|
}
|
.header-setting {
|
float: right;
|
line-height: 48px;
|
margin-right: 10px;
|
img {
|
border-radius: 30px;
|
margin-right: 7px;
|
}
|
span {
|
color: #ffffff;
|
font-size: 1.3rem;
|
.username {
|
display: inline-block;
|
height: 30px;
|
max-width: 95px;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
}
|
}
|
// .header-drag-menu {
|
// float: left;
|
// }
|
.edit-check {
|
font-size: 18px;
|
margin-top: 14px;
|
margin-left: 10px;
|
cursor: pointer;
|
}
|
// .mask {
|
// position: fixed;
|
// top: 48px;
|
// left: 0px;
|
// right: 0px;
|
// bottom: calc(100vh - 48px);
|
// background-color: rgba(0, 0, 0, 0);
|
// transition: background-color 0.5s;
|
// }
|
// .mask.active {
|
// bottom: 0px;
|
// background-color: rgba(0, 0, 0, 0.25);
|
// }
|
}
|
.header-dropdown {
|
li {
|
padding: 5px 25px;
|
}
|
}
|
.edit-switch {
|
margin-left: 10px;
|
}
|