zcloud-gbs-bi-react/src/pages/Container/Map/components/Header/index.less

81 lines
1.6 KiB
Plaintext

.header_container {
header {
width: 100%;
height: 70px;
background-size: 100% 100%;
background-repeat: no-repeat;
font-size: 40px;
color: #fff;
text-align: center;
font-weight: bold;
position: absolute;
&.port {
padding-top: 10px;
.back {
background-size: 100% 100%;
background-repeat: no-repeat;
width: 100px;
height: 30px;
position: absolute;
top: 0;
left: 0;
cursor: pointer;
}
}
&.branch_office {
.back {
position: absolute;
top: calc(50% - 15px);
left: 30px;
cursor: pointer;
display: flex;
align-items: center;
gap: 5px;
font-size: 14px;
font-weight: normal;
img {
width: 20px;
height: 20px;
}
}
}
.title {
background-image: linear-gradient(to bottom, #5bb4f7, #ffffff);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 34px;
}
.guang {
background-size: 100% 100%;
background-repeat: no-repeat;
width: 707px;
height: 85px;
position: absolute;
top: 25px;
left: 50%;
animation: headerContainerScale 2s infinite;
@keyframes headerContainerScale {
0% {
transform: translateX(-50%) scale(1);
}
50% {
transform: translateX(-50%) scale(0.5);
}
100% {
transform: translateX(-50%) scale(1);
}
}
}
}
}