learning_cesium/js/CesiumPopup/custompopup.css

187 lines
3.6 KiB
CSS
Raw Normal View History

2024-03-19 18:06:25 +08:00
#infobox {
position: absolute;
top: 20px;
left: 30px;
font-size: 14px;
z-index: 99;
padding: 10px 20px;
background-color: white;
border: 1px solid #cccccc;
}
.toolbox {
position: absolute;
top: 49%;
left: 30px;
z-index: 99;
display: flex;
flex-direction: column;
justify-content: space-around;
}
.tool-item {
background-color: #303336;
cursor: pointer;
}
/* pop框css*/
.cesium-popup-panel {
opacity: 0.8;
width: 312px;
position: absolute;
z-index: 999;
color: #00fcf9;
background: rgba(23, 50, 108, 0.8);
border: 1px solid #4674d6;
}
.cesium-popup-tip-panel {
width: 40px;
height: 20px;
position: absolute;
left: 50%;
bottom: -20px;
margin-left: -20px;
overflow: hidden;
pointer-events: none;
opacity: 0.8;
}
.cesium-popup-tip-bottom {
width: 17px;
background: rgba(23, 50, 108, 0.8);
border-bottom: 1px solid #4674d6;
height: 17px;
padding: 1px;
margin: -10px auto 0;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.cesium-popup-header-panel {
/* display: flex; */
/* justify-content: space-between; */
align-items: center;
font-size: 14px;
padding: 5px 15px;
background: rgba(23, 50, 108, 0.8);
border-bottom: 1px solid #4674d6;
}
.cesium-poput-header-title {
font-size: 16px;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}
.cesium-popup-content-panel {
padding: 18px;
}
.cesium-popup-close-btn {
float: right;
position: relative;
right: 10px;
}
.cesium-popup-close-btn,
.cesium-popup-close-btn:focus {
cursor: pointer;
}
cesium-popup-close-btn>svg:hover {
color: #00fcf9 !important;
}
.cesium-popup-close-btn>svg {
user-select: auto;
color: #4674d6;
cursor: pointer;
width: 15px;
/* height: 15px; */
}
/* 自定义气泡样式 */
.cesium-popup-bubble{
opacity: 0.8;
width: 276px;
height: 202px;
position: absolute;
z-index: 999;
color: #fff;
background: rgba(0,0,0,0.5);
border-radius: 10px;
}
.cesium-popup-bubble .cesium-popup-header-panel,
.cesium-popup-bubble .cesium-popup-close-btn{
display: none;
}
/* 汉江气泡样式 */
.cesium-popup-hanjiang{
opacity: 0.8;
width: 276px;
height: 202px;
position: absolute;
z-index: 999;
color: #fff;
background: url("../../images/hanjiang/popup.png");
}
.cesium-popup-hanjiang .cesium-popup-header-panel{
background: unset;
padding: 17px 0 0 23px;
border: none;
}
.cesium-popup-hanjiang .cesium-popup-header-panel .cesium-poput-header-title{
font-weight: 700;
width: 52px;
height: 17px;
font-size: 17px;
text-align: left;
}
.cesium-popup-hanjiang .cesium-poput-header-title .location{
background: url("../../images/hanjiang/dw.png");
text-align: right;
color: #D1F8FF;
position: absolute;
left: 87px;
top: 19px;
width: 66px;
height: 19px;
font-size: 13px;
font-weight: bold;
cursor: pointer;
}
.cesium-popup-hanjiang .cesium-poput-header-title .location i{
background: url("../../images/hanjiang/形状 2318.png");
width: 8px;
height: 7px;
display: inline-block;
margin: 0 10px 0 5px;
}
.cesium-popup-hanjiang .cesium-popup-content-panel{
font-weight: 500;
width: 231px;
height: 110px;
line-height: 24px;
font-size: 14px;
padding: 22px;
color: #D1F8FF;
}
.cesium-popup-hanjiang .cesium-popup-close-btn{
position: absolute;
background: url("../../images/hanjiang/关闭.png");
top: 17px;
right: 10px;
width: 25px;
height: 25px;
}
.cesium-popup-hanjiang .cesium-popup-tip-panel,
.cesium-popup-hanjiang .cesium-popup-close-btn>svg{
display: none;
}