This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-nezha-fronted/nezha-fronted/src/assets/css/components/layout/header.scss
2021-11-24 18:24:59 +08:00

145 lines
2.7 KiB
SCSS

.header {
display: flex;
height: 50px;
background-color: $--background-color-empty;
.personal-avatar {
cursor: pointer;
span {
width: 32px;
height: 32px;
display: inline-block;
line-height: 32px;
background: $--profile-span-background-color;
font-size: 14px;
color: $--profile-span-color;
letter-spacing: 0;
font-weight: 500;
text-transform: capitalize;
border-radius: 100%;
}
}
.header-menu {
display: flex;
justify-content: flex-end;
flex-grow: 1;
.el-dropdown {
width: 60px;
text-align: center;
height: 36px;
line-height: 50px;
.el-dialog{
width: 1000px;
height: 70px;
.el-dialog__header{
background-color: $--color-primary;
.el-dialog__title{
color: #fff;
}
.el-dialog__close{
color: #fff;
line-height: 50px;
font-size: 30px;
}
}
}
}
}
.header-menu--item {
color: $--color-text-regular;
cursor: pointer;
transition: color linear .2s;
i {
font-size: 18px;
}
}
.header-menu--item:hover {
color: $--color-text-primary;
}
.header-menu__item {
i {
font-size: 20px;
cursor: pointer;
}
}
.personal {
display: flex;
.el-dropdown {
margin: 0 20px;
height: 36px;
line-height: 50px;
text-align: center;
}
.login-user {
color: $--color-text-primary;
i {
color: $--color-text-secondary;
font-size: 12px;
}
}
}
.right-tip {
position: absolute;
left: 30px;
top: 10px;
padding: 0 6px;
line-height: 15px;
height: 15px;
background-color: #ba3939;
opacity: .9;
border-radius: 7px;
color: white;
font-size: 6px;
}
.left-menu--pin {
width: 20px;
font-size: 20px;
font-weight: 100;
color: $--color-text-secondary;
transition: all .4s;
height: 100%;
line-height: 50px;
margin-left: 10px;
i {
transform: rotateY(0);
transition: transform .4s;
cursor: pointer;
}
i.icon-reverse {
transform: rotateY(180deg);
}
}
.left-menu--pin-normal{
}
.left-menu--pin-reverse{
}
}
.link-title a {
color: inherit;
text-decoration: none;
}
.nz-breakcrumb {
padding-left: 15px;
line-height: 50px;
.el-breadcrumb__item {
.el-breadcrumb__inner, .el-breadcrumb__separator {
color: $--color-text-secondary;
}
.el-breadcrumb__separator {
margin: 0 9px;
font-weight: 700;
}
}
.el-breadcrumb__item:last-of-type {
.el-breadcrumb__separator {
display: none;
}
}
}
.header-link-nodata{
color: $--color-text-secondary;
padding: 20px;
}