ball_admin/src/pages/home/home.less

158 lines
3.2 KiB
Plaintext

@keyframes scroll {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(-100%);
}
}
.contents_center {
width: 100%;
height: 100%;
overflow: hidden;
position: relative;
.scr {
position: absolute;
top: 60px;
z-index: 9;
left: 0;
right: 0;
overflow: hidden;
.scrolling-text {
white-space: nowrap;
display: block;
animation: scroll 20s linear infinite;
color: #fff;
> span {
display: inline-block;
animation: scrollText 20s linear infinite; /* 动画 */
}
:hover > span {
animation-play-state: paused;
}
}
}
.map_container_t {
position: absolute;
height: 60px;
top: 0;
width: 100%;
background-image: url("../../static/head.png");
background-repeat: no-repeat;
backdrop-filter: blur(10px);
left: 0;
right: 0;
z-index: 1;
display: flex;
align-items: center;
justify-content: space-between;
.map_container_t_c {
display: flex;
align-items: center;
justify-content: center;
flex: 5;
.title_img {
margin-left: 10px;
width: 20px;
height: 20px;
}
.on_to {
transform: rotate(-180deg) rotateY(0deg);
}
.twp {
height: 30px;
}
> span {
margin-left: 15px;
margin-right: 15px;
color: #fff;
font-size:25px;
font-weight: normal;
line-height: normal;
letter-spacing: 0.1em;
font-variation-settings: "opsz" auto;
color: #ffffff;
text-shadow: 0px 0px 10px #29ecb4;
}
}
.map_container_t_l {
flex: 1;
> span {
margin-left: 15px;
margin-right: 15px;
color: #fff;
font-size: 14px;
font-weight: normal;
line-height: normal;
letter-spacing: 0.1em;
font-variation-settings: "opsz" auto;
color: #ffffff;
text-shadow: 0px 0px 10px #29ecb4;
}
}
.map_container_t_r {
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
text-align: right;
padding-right: 10px;
}
}
.map_container_l {
position: absolute;
left: 0px;
top: 60px;
width: 20%;
bottom: 0px;
z-index: 2;
opacity: 1;
background: rgba(37, 52, 70, 0.4);
backdrop-filter: blur(10px);
}
.map_container_r {
position: absolute;
right: 0px;
top: 60px;
bottom: 0px;
width: 20%;
z-index: 2;
opacity: 1;
background: rgba(37, 52, 70, 0.4);
backdrop-filter: blur(10px);
}
.map_container_b {
position: absolute;
bottom: 0px;
backdrop-filter: blur(10px);
background: rgba(37, 52, 70, 0.4);
height: 60px;
width: 100%;
z-index: 1;
text-align: center;
.bottom_content {
display: inline-block;
> span {
background: linear-gradient(
180deg,
rgba(0, 193, 153, 0.1) 0%,
rgba(0, 239, 151, 0.8) 100%
);
padding: 5px 10px;
color: #fff;
margin: 0 10px;
cursor: pointer;
font-size: 18px;
}
}
}
}
.map_video_container {
position: absolute;
width: 350px;
top: 70px;
right: 300px;
}