You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
159 lines
3.1 KiB
159 lines
3.1 KiB
.base-header {
|
|
z-index: 99;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 66px;
|
|
padding: 0 0 0 15px;
|
|
background: linear-gradient(270deg, #1890ff 0%, #3875ea 100%);
|
|
color: #fff;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.base-header .left-wrapper {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1;
|
|
align-items: center;
|
|
}
|
|
|
|
.base-header .left-wrapper .search_box {
|
|
width: 295px;
|
|
border-radius: 17px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.base-header .left-wrapper .user_info {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: 30px;
|
|
}
|
|
|
|
.base-header .left-wrapper .user_info img {
|
|
width: 40px;
|
|
height: 40px;
|
|
margin-right: 10px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.base-header .left-wrapper .user_info span {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.base-header .left-wrapper .user_info .status-box {
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.base-header .left-wrapper .user_info .status {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 10px;
|
|
margin-left: 5px;
|
|
background: #eaffeb;
|
|
color: rgba(0, 0, 0, 0.65);
|
|
border-radius: 9px;
|
|
}
|
|
|
|
.base-header .left-wrapper .user_info .status .dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
margin-right: 3px;
|
|
border-radius: 50%;
|
|
background: #48d452;
|
|
}
|
|
|
|
.base-header .left-wrapper .user_info .status.off {
|
|
background: #f3f3f3;
|
|
}
|
|
|
|
.base-header .left-wrapper .user_info .status.off .dot {
|
|
background: #999;
|
|
}
|
|
|
|
.base-header .left-wrapper .user_info .online-down {
|
|
z-index: 50;
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: -70px;
|
|
width: 86px;
|
|
background: #fff;
|
|
color: #333;
|
|
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.base-header .left-wrapper .user_info .online-down .item {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 7px 10px 7px 30px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.base-header .left-wrapper .user_info .online-down .item i {
|
|
width: 10px;
|
|
height: 10px;
|
|
margin-right: 8px;
|
|
border-radius: 50%;
|
|
background: #999;
|
|
}
|
|
|
|
.base-header .left-wrapper .user_info .online-down .item i.green {
|
|
background: #48d452;
|
|
}
|
|
|
|
.base-header .left-wrapper .user_info .online-down .item .iconfont {
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.base-header .left-wrapper .out-btn {
|
|
position: absolute;
|
|
right: 30px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 86px;
|
|
height: 26px;
|
|
line-height: 28px;
|
|
text-align: center;
|
|
background: #fff;
|
|
border-radius: 16px;
|
|
color: #3875ea;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.base-header .right-menu {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 280px;
|
|
}
|
|
|
|
.base-header .right-menu .menu-item {
|
|
position: relative;
|
|
margin: 0 30px;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
cursor: pointer;
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
.base-header .right-menu .menu-item.on {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.base-header .right-menu .menu-item.on::after {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: -22px;
|
|
content: '';
|
|
width: 100%;
|
|
height: 2px;
|
|
background: #fff;
|
|
} |