@import '../../assets/css/global.scss';
|
|
.header-container {
|
position: fixed;
|
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.3rem;
|
cursor: pointer;
|
span {
|
padding: 0 10px;
|
height: 42px;
|
display: inline-block;
|
}
|
|
&:hover {
|
color: #eeeeee;
|
span {
|
border-bottom: 4px solid #fafcfb;
|
}
|
}
|
&.active {
|
color: #ffffff;
|
span {
|
border-bottom: 4px solid #1890ff;
|
}
|
}
|
}
|
}
|
|
.header-menu.level4 {
|
li {
|
cursor: default;
|
&:hover {
|
span {
|
cursor: default;
|
color: rgba(255, 255, 255, 0.65);
|
border-bottom: none;
|
}
|
}
|
&.active {
|
span {
|
color: #ffffff;
|
border-bottom: 4px solid #1890ff;
|
}
|
}
|
}
|
}
|
|
.header-setting {
|
float: right;
|
line-height: 48px;
|
margin-right: 10px;
|
img {
|
width: 29px;
|
height: 29px;
|
border-radius: 30px;
|
margin-right: 7px;
|
}
|
span {
|
color: #ffffff;
|
font-size: 0.95rem;
|
.username {
|
display: inline-block;
|
height: 30px;
|
max-width: 95px;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
}
|
}
|
.edit-check {
|
font-size: 18px;
|
margin-top: 14px;
|
margin-left: 10px;
|
cursor: pointer;
|
}
|
.search-menu {
|
float: right;
|
font-size: 18px;
|
margin-top: 17px;
|
margin-right: 20px;
|
cursor: pointer;
|
}
|
.level4-close {
|
position: relative;
|
top: 13px;
|
left: 20px;
|
height: 26px;
|
padding: 0 10px;
|
}
|
.menu-select-dropdown {
|
top: 48px!important;
|
box-shadow: 0px 0px 2px #cdcdcd;
|
border-radius: 0 0 4px 4px;
|
background: #ffffff;
|
.ant-input-affix-wrapper {
|
margin-top: 2px;
|
}
|
.menu-select-box {
|
max-height: 200px;
|
min-height: 50px;
|
overflow-y: auto;
|
background: #ffffff;
|
margin-bottom: 3px;
|
.ant-menu {
|
border-radius: 0 0 4px 4px;
|
}
|
.ant-menu-item {
|
padding: 0px 25px;
|
height: 26px;
|
line-height: 26px;
|
color: rgba(0, 0, 0, 0.85);
|
cursor: pointer;
|
}
|
.ant-menu-item:hover {
|
background-color: #e6f7ff;
|
}
|
}
|
.menu-select-box::-webkit-scrollbar {
|
width: 7px;
|
}
|
.menu-select-box::-webkit-scrollbar-thumb {
|
border-radius: 5px;
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13);
|
background: rgba(0, 0, 0, 0.13);
|
}
|
.menu-select-box::-webkit-scrollbar-track {
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
|
border-radius: 3px;
|
border: 1px solid rgba(0, 0, 0, 0.07);
|
background: rgba(0, 0, 0, 0);
|
}
|
}
|
.mobile {
|
position: absolute;
|
top: 135px;
|
right: 50px;
|
color: #1890ff;
|
}
|
.home-edit {
|
position: absolute;
|
top: 100px;
|
right: 50px;
|
color: #1890ff;
|
}
|
}
|
.header-dropdown {
|
li {
|
padding: 5px 25px;
|
}
|
}
|
.header-subSystem {
|
min-width: 100px;
|
}
|
.edit-switch {
|
margin-left: 10px;
|
}
|