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

145 lines
3.3 KiB
Plaintext

.map_content_bottom_utils_container {
.bottom_utils {
width: 1000px;
//height: 168px;
position: absolute;
left: calc(50% - 500px);
display: flex;
justify-content: space-between;
&.port {
top: 920px;
.option {
position: relative;
cursor: pointer;
.img {
width: 100px;
height: 100px;
&:hover {
animation: bottomUtilsContainerSlideY 0.5s;
}
}
.label {
background-size: 100% 100%;
background-repeat: no-repeat;
width: 100px;
height: 30px;
text-align: center;
line-height: 30px;
color: #fff;
font-size: 14px;
}
.child_items {
transform-origin: left;
display: flex;
position: absolute;
top: 8px;
left: 40px;
background-image: linear-gradient(to right,
rgba(31, 62, 129, 0) 0%,
rgba(31, 62, 129, 0.4) 50%,
rgba(31, 62, 129, 0) 100%);
border: 1px solid;
border-image: linear-gradient(to right,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.4) 50%,
rgba(255, 255, 255, 0) 100%) 1;
border-left: none;
border-right: none;
padding: 6px 50px;
.child_item {
padding: 0 20px;
text-align: center;
cursor: pointer;
.child_img {
width: 60px;
height: 60px;
&:hover {
animation: bottomUtilsContainerSlideY 0.5s;
}
}
.child_label {
margin-top: -5px;
font-size: 12px;
width: 80px;
color: rgba(255, 255, 255, 0.8);
}
}
}
}
@keyframes bottomUtilsContainerSlideY {
0% {
transform: translateY(0);
}
50% {
transform: translateY(-5px);
}
100% {
transform: translateY(0);
}
}
}
&.branch_office {
top: 1020px;
.option {
position: relative;
cursor: pointer;
width: 124px;
height: 43px;
background-size: 100% 100%;
background-repeat: no-repeat;
text-align: center;
line-height: 43px;
.label {
font-size: 16px;
font-weight: bold;
color: #fff;
}
.items {
background-image: linear-gradient(to bottom, rgba(0, 9, 100, 0.5), rgba(1, 35, 145, 0.5));
border: 1px solid #167ce4;
border-radius: 2px;
position: absolute;
bottom: 50px;
left: 0;
right: 0;
margin: 0 auto;
width: max-content;
padding: 0 9px 5px 9px;
.item {
padding: 10px 20px;
border: 1px solid transparent;
margin-top: 5px;
&.active {
background-image: linear-gradient(to bottom, rgb(19, 44, 140), rgba(22, 124, 228, 0));
border: 1px solid rgba(22, 124, 228, 0.5);
}
.child_label {
color: #fff;
font-size: 14px;
line-height: normal;
}
}
}
}
}
}
}