mars3d 3.2.3 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/mars3d.css +989 -8
- package/dist/mars3d.d.ts +3088 -3005
- package/dist/mars3d.js +11 -35
- package/package.json +48 -38
- package/LICENSE +0 -206
package/dist/mars3d.css
CHANGED
|
@@ -1,8 +1,989 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*/.mars3d-divGraphic{position:absolute;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mars3d-divGraphic-edit{background-color:rgba(254,87,161,.1);border:2px dashed rgba(172,85,59,.768);-webkit-border-radius:2px;border-radius:2px;margin:-2px;box-sizing:content-box}.mars3d-divBoderLabel{position:absolute;left:0;bottom:0;cursor:pointer;--animation-name:mars3d-divBoderLabel-animation;--text-left-position:-75px}@keyframes mars3d-divBoderLabel-animation{0%,to{clip:rect(0,var(--clip-width-1),2px,0)}25%{clip:rect(0,2px,var(--clip-height-1),0)}50%{clip:rect(var(--clip-height-2),var(--clip-width-1),var(--clip-width-1),0)}75%{clip:rect(0,var(--clip-width-1),var(--clip-height-1),var(--clip-width-2))}}.mars3d-divBoderLabel-boder{width:var(--boder-width);height:var(--boder-height);margin:auto;color:var(--border-color);box-shadow:inset 0 0 0 1px var(--box-shadow-color)}.mars3d-divBoderLabel-text{color:var(--text-color);font-size:var(--text-font-size);display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-weight:bolder;user-select:none;cursor:pointer}.mars3d-divBoderLabel-boder,.mars3d-divBoderLabel-boder:after,.mars3d-divBoderLabel-boder:before{position:absolute;top:0;bottom:0;left:0;right:0}.mars3d-divBoderLabel-boder:after,.mars3d-divBoderLabel-boder:before{content:"";margin:-5%;box-shadow:inset 0 0 0 2px;animation:var(--animation-name) 8s linear infinite}.mars3d-divBoderLabel-boder:before{animation-delay:-4s}.mars3d-animation-point,.mars3d-animation-point:after,.mars3d-animation-point:before,.mars3d-animation-point p,.mars3d-animation-point p:after,.mars3d-animation-point p:before{margin:0;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.mars3d-animation-point{width:10px;height:10px;border-radius:50%;border:1px solid hsla(0,0%,100%,.5);cursor:pointer;color:#0ff;background:currentColor;z-index:3;box-shadow:0 0 2em currentColor,0 0 .5em currentColor}.mars3d-animation-point,.mars3d-animation-point p{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);position:absolute}.mars3d-animation-point p{width:0;height:0;border-radius:50%;-webkit-animation:mars3d-animation-point-mapAni 2s ease infinite;-moz-animation:mars3d-animation-point-mapAni 2s ease infinite;-o-animation:mars3d-animation-point-mapAni 2s ease infinite;-ms-animation:mars3d-animation-point-mapAni 2s ease infinite;animation:mars3d-animation-point-mapAni 2s ease infinite}.mars3d-animation-point .mapError{color:red}.mars3d-animation-point .mapWarn{color:#b5a603}.mars3d-animation-point .mapSuccess{color:#239233}.mars3d-animation-point .mapOrange{color:#8c4d34}.mars3d-animation-point:after,.mars3d-animation-point:before,.mars3d-animation-point p:after,.mars3d-animation-point p:before{content:"";position:absolute;width:100%;height:100%;left:50%;top:50%;border-radius:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.mars3d-animation-point:after,.mars3d-animation-point:before{border:1px solid;-webkit-animation:mars3d-animation-point-mapAni 1s ease infinite;-moz-animation:mars3d-animation-point-mapAni 1s ease infinite;-o-animation:mars3d-animation-point-mapAni 1s ease infinite;-ms-animation:mars3d-animation-point-mapAni 1s ease infinite;animation:mars3d-animation-point-mapAni 1s ease infinite}.mars3d-animation-point p:before{border:1px solid}@-webkit-keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}@-moz-keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}@-o-keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}@-ms-keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}@keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}.mars3d-divUpLabel{text-align:center;background:transparent;color:#fff;display:block;box-sizing:border-box;animation-duration:1s;animation-fill-mode:both;animation-name:mars3d-divUpLabel-tinUpIn}.mars3d-divUpLabel-text{writing-mode:vertical-lr;font-size:16px;letter-spacing:4px}.mars3d-divUpLabel-line{display:block;height:100px;width:1.5px;margin-left:calc(50% - 1px);margin-top:3px;background-color:#fff}@keyframes mars3d-divUpLabel-tinUpIn{0%{opacity:0;transform:scale(1) translateY(-900%)}50%,70%,90%{opacity:1;transform:scale(1.1) translateY(0)}60%,80%,to{opacity:1;transform:scale(1) translateY(0)}}.mars3d-popup{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mars3d-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;text-align:center;width:20px;height:20px;font:16px/14px Tahoma,Verdana,sans-serif;text-decoration:none;font-weight:700;background:transparent;z-index:20170825;cursor:pointer}.mars3d-popup-content-wrapper{text-align:center;box-shadow:0 3px 14px rgba(0,0,0,.4);padding:1px;text-align:left;border-radius:3px}.mars3d-popup-content{margin:10px;line-height:1.4;font-size:13px;max-width:700px;min-width:50px;max-height:550px;overflow-y:auto}.mars3d-popup-tip-container{margin:0 auto;width:40px;height:20px;position:relative;overflow:hidden}.mars3d-popup-tip{box-shadow:0 3px 14px rgba(0,0,0,.4);width:17px;height:17px;padding:1px;margin:-10px auto 0;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.mars3d-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.mars3d-popup-color{color:#fff}.mars3d-popup-background{background:rgba(63,72,84,.9)}.mars3d-popup-animation{animation-duration:.3s;animation-fill-mode:both;animation-name:mars3d-popup-swashIn}@keyframes mars3d-popup-swashIn{0%{opacity:0;transform-origin:50% 50%;transform:scale(0)}90%{opacity:1;transform-origin:50% 50%;transform:scale(.9)}to{opacity:1;transform-origin:50% 50%;transform:scale(1)}}.mars3d-popup-background{background:rgba(41,84,141,.9)!important}.mars3d-popup-btn{padding:3px 10px;border:1px solid #209ffd;background:rgba(32,159,253,.10980392156862745)}.mars3d-template-titile{border-radius:3px 0 0 3px;padding:0 80px 0 10px;height:40px;line-height:40px;font-size:16px;color:#fff;border-bottom:1px solid #616161;overflow:hidden}.mars3d-template-content{min-width:150px;margin-top:12px;font-size:14px;max-height:490px;overflow-y:auto}.mars3d-template-content>div{margin-top:5px}.mars3d-template-content label{margin:0 10px;min-width:55px;float:left}.mars3d-template-content input,.mars3d-template-content textarea{color:#fff;background-color:rgba(63,72,84,.9);border-width:1px;border-style:solid}.mars3d-template-content textarea{height:60px;resize:none}.mars3d-tooltip{padding:6px;background:rgba(63,72,84,.9);border:1px solid rgba(63,72,84,.9);border-radius:3px;color:#fff;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-shadow:0 1px 3px rgba(0,0,0,.4);max-width:700px;min-width:50px;max-height:550px}.mars3d-tooltip-bottom:before,.mars3d-tooltip-left:before,.mars3d-tooltip-right:before,.mars3d-tooltip-top:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.mars3d-tooltip-bottom{margin-top:6px}.mars3d-tooltip-top{margin-top:-6px}.mars3d-tooltip-bottom:before,.mars3d-tooltip-top:before{left:50%;margin-left:-6px}.mars3d-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:rgba(63,72,84,.9)}.mars3d-tooltip-bottom:before{top:0;margin-top:-6px;margin-left:-6px;border-bottom-color:rgba(63,72,84,.9)}.mars3d-tooltip-left{margin-left:-6px}.mars3d-tooltip-right{margin-left:6px}.mars3d-tooltip-left:before,.mars3d-tooltip-right:before{top:50%;margin-top:-6px}.mars3d-tooltip-left:before{right:0;margin-right:-12px;border-left-color:rgba(63,72,84,.9)}.mars3d-tooltip-right:before{left:0;margin-left:-6px;border-right-color:rgba(63,72,84,.9)}.mars3d-locationbar{position:absolute;z-index:991;padding:3px 10px;font-size:13px;color:#e9e9e9;text-shadow:2px 2px 2px #000;background-color:rgba(0,0,0,.4);min-height:26px;pointer-events:none}.mars3d-locationbar-content{float:right}.mars3d-locationbar-content>div{float:left;margin-right:20px}.cesium-performanceDisplay-fps,.cesium-performanceDisplay-ms{min-width:65px}@media screen and (max-width:1200px){.mars3d-locationbar-content>div{margin-right:15px}}@media screen and (max-width:1000px){.cesium-performanceDisplay-fps,.cesium-performanceDisplay-ms,.mars3d-locationbar-content>.hide1000{display:none}.mars3d-locationbar-content>div{margin-right:10px}}@media screen and (max-width:700px){.mars3d-locationbar-content>.hide700{display:none}}@media screen and (max-width:600px){.mars3d-locationbar{display:none}}.mars3d-mousedownview{position:absolute;top:0;left:0;width:40px;height:40px;margin-top:-23px;margin-left:-23px;pointer-events:none;visibility:hidden;opacity:0;-webkit-transition:visibility 0s .2s,opacity .2s ease-in;-moz-transition:visibility 0s .2s,opacity .2s ease-in;transition:visibility 0s .2s,opacity .2s ease-in}.mars3d-mousedownview-img{width:36px;height:36px;background-image:url(img/cursor.png);background-size:100% 100%}.mars3d-mousedownview-show{visibility:visible;opacity:1;-webkit-transition:opacity .2s ease-out;-moz-transition:opacity .2s ease-out;transition:opacity .2s ease-out}.mar3d-toolButton{cursor:pointer}.mar3d-toolButton div,.mar3d-toolButton img,.mar3d-toolButton svg{height:100%;text-align:center}.mars3d-compass{position:absolute;cursor:pointer;pointer-events:auto;user-select:none;width:55px;height:55px}.mars3d-compass .mars3d-compass-outer{position:absolute;top:0;left:0;height:55px;width:55px;background-repeat:no-repeat;background-size:contain;fill:#3f4854;border-radius:50%}.mars3d-compass .mars3d-compass-outer svg{height:55px;width:55px}.mars3d-compass .mars3d-compass-inner{position:relative;top:50%;transform:translateY(-50%);height:25px;width:25px;border-radius:50%;display:block;margin:0 auto;padding:4px;box-sizing:border-box;background:#fff;fill:#68adfe}.mars3d-compass .mars3d-compass-rotation-arc{position:absolute;top:2px;left:2px;height:51px;width:51px;border-radius:50%;background-repeat:no-repeat;background-size:contain}.mars3d-distance-legend{position:absolute;width:125px;height:25px;pointer-events:none;user-select:none}.mars3d-distance-legend .legend-label{font-size:13px;color:#fff;text-align:center;width:100%}.mars3d-distance-legend .legend-scale-bar{position:absolute;height:10px;top:10px;border-left:1px solid #fff;border-right:1px solid #fff;border-bottom:1px solid #fff}.mars3d-slider{position:absolute;left:50%;top:0;background-color:#d3d3d3;width:3px;height:100%;z-index:9999}.mars3d-slider .slider-splitter{position:absolute;left:-15px;top:calc(50% - 15px);width:32px;height:32px;background:#f0eeee;border-radius:50%;text-align:center;line-height:36px;padding:2px;border:1px solid #d3d3d3}.mars3d-slider .slider-splitter:hover{cursor:ew-resize}.mars3d-smallTooltip{display:block;position:absolute;max-width:200px;min-width:100px;padding:2px 5px;font-size:11px;z-index:1000;opacity:.8;-khtml-opacity:.8;-moz-opacity:.8;filter:alpha(opacity=80);pointer-events:none}.mars3d-smallTooltip-inner{padding:3px 5px;background-color:rgba(0,0,0,.8);color:#fff;text-align:left;max-width:200px;text-decoration:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.mars3d-smallTooltip-inner p{margin:0}.mars3d-smallTooltip-arrow{position:absolute;width:0;height:0;top:50%}.mars3d-smallTooltip-leftArrow{right:0;border-left:5px solid #000}.mars3d-smallTooltip-leftArrow,.mars3d-smallTooltip-rightArrow{margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent}.mars3d-smallTooltip-rightArrow{left:0;border-right:5px solid #000}.mars3d-contextmenu{position:absolute;padding:0;z-index:20170825;display:none}.mars3d-contextmenu-ul{background:rgba(43,44,47,.8);border:1px solid #2b2c2f;min-width:110px;position:relative;list-style:none;margin:0;padding:0}.mars3d-contextmenu-ul .contextmenu-icon{padding-right:10px;min-width:20px;text-align:center;height:100%}.mars3d-contextmenu-ul .contextmenu-arrow{position:absolute;right:0;width:20px;height:20px;text-align:center}.mars3d-contextmenu-ul li+li{margin:0;padding:0;position:relative}.mars3d-contextmenu-ul li+li:before{content:"";display:block;height:1px;width:100%;background:-webkit-linear-gradient(270deg,transparent,hsla(0,0%,100%,.2),transparent);background:linear-gradient(270deg,transparent,hsla(0,0%,100%,.2),transparent);position:absolute;top:0;left:0}.mars3d-contextmenu-ul .line{display:block;content:"";height:1px;width:96%;position:absolute;left:2%;background:#ddd;width:100%;height:20px;border:1px}.mars3d-contextmenu-ul>li>a{padding:6px 10px;-webkit-transition:background-color .25s;-o-transition:background-color .25s;transition:background-color .25s;display:block;clear:both;line-height:22px;color:#76838f;white-space:nowrap;color:#edffff;text-decoration:none}.mars3d-contextmenu-ul>.active>a,.mars3d-contextmenu-ul>.active>a:focus,.mars3d-contextmenu-ul>.active>a:hover,.mars3d-contextmenu-ul>li>.active,.mars3d-contextmenu-ul>li>a:focus,.mars3d-contextmenu-ul>li>a:hover{color:#fff;background-color:#444d59;text-decoration:none}.mars3d-sub-menu{position:absolute;background:rgba(43,44,47,.8);min-width:160px;display:none}.mars3d-sub-menu li{width:100%;box-sizing:border-box;font-size:14px;color:#fff;margin:0;padding:0}.mars3d-sub-menu li:hover{background-color:#444d59}.mars3d-container{width:100%;height:100%;margin:0;padding:0;overflow:hidden;position:relative}.mars3d-overviewMap{position:absolute;user-select:none;width:200px;height:150px;overflow:hidden;border:1px solid orange;box-shadow:2px 2px 3px #2b2b2b}.mars3d-clockAnimate{position:absolute;bottom:0;left:0;height:27px;z-index:999;background:linear-gradient(180deg,rgba(116,117,119,.8) 0,rgba(58,68,82,.8) 11%,rgba(46,50,56,.8) 46%,rgba(53,53,53,.8) 81%,rgba(53,53,53,.8))}.mars3d-clockAnimate .time{margin:0 4px;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mars3d-clockAnimate .mars3d-clockAnimate-btn{display:inline-block;vertical-align:middle;padding:1px 8px;color:#fff;background-color:rgba(63,72,84,.7);border:none;cursor:pointer;width:24px}.mars3d-clockAnimate .mars3d-clockAnimate-btn svg{margin-top:1px}.mars3d-clockAnimate .mars3d-clockAnimate-speed{width:80px;height:24px;border:1px solid hsla(0,0%,53.3%,.6);padding:0 3px;margin:0;color:#fff;background-color:rgba(63,72,84,.7)}.mars3d-clockAnimate .mars3d-clockAnimate-speed ::-webkit-outer-spin-button,.mars3d-clockAnimate .mars3d-clockAnimate-speed input::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0}
|
|
1
|
+
/**地球容器div*/
|
|
2
|
+
.mars3d-container {
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
margin: 0;
|
|
6
|
+
padding: 0;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
position: relative;
|
|
9
|
+
}
|
|
10
|
+
/**右键菜单*/
|
|
11
|
+
.mars3d-contextmenu {
|
|
12
|
+
position: absolute;
|
|
13
|
+
padding: 0;
|
|
14
|
+
z-index: 20170825;
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
.mars3d-contextmenu-ul {
|
|
18
|
+
background: rgba(43, 44, 47, 0.8);
|
|
19
|
+
border: 1px solid #2b2c2f;
|
|
20
|
+
min-width: 110px;
|
|
21
|
+
position: relative;
|
|
22
|
+
list-style: none;
|
|
23
|
+
margin: 0;
|
|
24
|
+
padding: 0;
|
|
25
|
+
}
|
|
26
|
+
.mars3d-contextmenu-ul .contextmenu-icon {
|
|
27
|
+
padding-right: 10px;
|
|
28
|
+
min-width: 20px;
|
|
29
|
+
text-align: center;
|
|
30
|
+
height: 100%;
|
|
31
|
+
}
|
|
32
|
+
.mars3d-contextmenu-ul .contextmenu-arrow {
|
|
33
|
+
position: absolute;
|
|
34
|
+
right: 0;
|
|
35
|
+
width: 20px;
|
|
36
|
+
height: 20px;
|
|
37
|
+
text-align: center;
|
|
38
|
+
}
|
|
39
|
+
.mars3d-contextmenu-ul li + li {
|
|
40
|
+
margin: 0;
|
|
41
|
+
padding: 0;
|
|
42
|
+
position: relative;
|
|
43
|
+
}
|
|
44
|
+
.mars3d-contextmenu-ul li + li:before {
|
|
45
|
+
content: "";
|
|
46
|
+
display: block;
|
|
47
|
+
height: 1px;
|
|
48
|
+
width: 100%;
|
|
49
|
+
background: -webkit-linear-gradient(to left, transparent, rgba(255, 255, 255, 0.2), transparent);
|
|
50
|
+
background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.2), transparent);
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: 0;
|
|
53
|
+
left: 0;
|
|
54
|
+
}
|
|
55
|
+
.mars3d-contextmenu-ul .line {
|
|
56
|
+
display: block;
|
|
57
|
+
content: "";
|
|
58
|
+
height: 1px;
|
|
59
|
+
width: 96%;
|
|
60
|
+
position: absolute;
|
|
61
|
+
left: 2%;
|
|
62
|
+
background: #dddddd;
|
|
63
|
+
width: 100%;
|
|
64
|
+
height: 20px;
|
|
65
|
+
border: 1px;
|
|
66
|
+
}
|
|
67
|
+
.mars3d-contextmenu-ul > li > a {
|
|
68
|
+
padding: 6px 10px;
|
|
69
|
+
-webkit-transition: background-color 0.25s;
|
|
70
|
+
-o-transition: background-color 0.25s;
|
|
71
|
+
transition: background-color 0.25s;
|
|
72
|
+
display: block;
|
|
73
|
+
clear: both;
|
|
74
|
+
line-height: 22px;
|
|
75
|
+
color: #76838f;
|
|
76
|
+
white-space: nowrap;
|
|
77
|
+
color: #edffff;
|
|
78
|
+
text-decoration: none;
|
|
79
|
+
}
|
|
80
|
+
.mars3d-contextmenu-ul > li > a:hover,
|
|
81
|
+
.mars3d-contextmenu-ul > li > a:focus,
|
|
82
|
+
.mars3d-contextmenu-ul > li > .active {
|
|
83
|
+
color: #fff;
|
|
84
|
+
background-color: #444d59;
|
|
85
|
+
text-decoration: none;
|
|
86
|
+
}
|
|
87
|
+
.mars3d-contextmenu-ul > .active > a,
|
|
88
|
+
.mars3d-contextmenu-ul > .active > a:hover,
|
|
89
|
+
.mars3d-contextmenu-ul > .active > a:focus {
|
|
90
|
+
color: #fff;
|
|
91
|
+
background-color: #444d59;
|
|
92
|
+
text-decoration: none;
|
|
93
|
+
}
|
|
94
|
+
.mars3d-sub-menu {
|
|
95
|
+
position: absolute;
|
|
96
|
+
background: rgba(43, 44, 47, 0.8);
|
|
97
|
+
min-width: 160px;
|
|
98
|
+
display: none;
|
|
99
|
+
}
|
|
100
|
+
.mars3d-sub-menu li {
|
|
101
|
+
width: 100%;
|
|
102
|
+
box-sizing: border-box;
|
|
103
|
+
font-size: 14px;
|
|
104
|
+
color: #ffffff;
|
|
105
|
+
margin: 0;
|
|
106
|
+
padding: 0;
|
|
107
|
+
}
|
|
108
|
+
.mars3d-sub-menu li:hover {
|
|
109
|
+
background-color: #444d59;
|
|
110
|
+
}
|
|
111
|
+
.mars3d-smallTooltip {
|
|
112
|
+
display: block;
|
|
113
|
+
position: absolute;
|
|
114
|
+
max-width: 200px;
|
|
115
|
+
min-width: 100px;
|
|
116
|
+
padding: 2px 5px;
|
|
117
|
+
font-size: 11px;
|
|
118
|
+
z-index: 1000;
|
|
119
|
+
opacity: 0.8;
|
|
120
|
+
-khtml-opacity: 0.8;
|
|
121
|
+
-moz-opacity: 0.8;
|
|
122
|
+
filter: alpha(opacity=80);
|
|
123
|
+
pointer-events: none;
|
|
124
|
+
}
|
|
125
|
+
.mars3d-smallTooltip-inner {
|
|
126
|
+
padding: 3px 5px;
|
|
127
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
128
|
+
color: white;
|
|
129
|
+
text-align: left;
|
|
130
|
+
max-width: 200px;
|
|
131
|
+
text-decoration: none;
|
|
132
|
+
-webkit-border-radius: 4px;
|
|
133
|
+
-moz-border-radius: 4px;
|
|
134
|
+
border-radius: 4px;
|
|
135
|
+
}
|
|
136
|
+
.mars3d-smallTooltip-inner p {
|
|
137
|
+
margin: 0;
|
|
138
|
+
}
|
|
139
|
+
.mars3d-smallTooltip-arrow {
|
|
140
|
+
position: absolute;
|
|
141
|
+
width: 0;
|
|
142
|
+
height: 0;
|
|
143
|
+
top: 50%;
|
|
144
|
+
}
|
|
145
|
+
.mars3d-smallTooltip-leftArrow {
|
|
146
|
+
right: 0;
|
|
147
|
+
margin-top: -5px;
|
|
148
|
+
border-top: 5px solid transparent;
|
|
149
|
+
border-bottom: 5px solid transparent;
|
|
150
|
+
border-left: 5px solid #000000;
|
|
151
|
+
}
|
|
152
|
+
.mars3d-smallTooltip-rightArrow {
|
|
153
|
+
left: 0;
|
|
154
|
+
margin-top: -5px;
|
|
155
|
+
border-top: 5px solid transparent;
|
|
156
|
+
border-bottom: 5px solid transparent;
|
|
157
|
+
border-right: 5px solid #000000;
|
|
158
|
+
}
|
|
159
|
+
.mars3d-clockAnimate {
|
|
160
|
+
position: absolute;
|
|
161
|
+
bottom: 0;
|
|
162
|
+
left: 0;
|
|
163
|
+
height: 27px;
|
|
164
|
+
z-index: 999;
|
|
165
|
+
background: linear-gradient(to bottom, rgba(116, 117, 119, 0.8) 0%, rgba(58, 68, 82, 0.8) 11%, rgba(46, 50, 56, 0.8) 46%, rgba(53, 53, 53, 0.8) 81%, rgba(53, 53, 53, 0.8) 100%);
|
|
166
|
+
}
|
|
167
|
+
.mars3d-clockAnimate .time {
|
|
168
|
+
margin: 0 4px;
|
|
169
|
+
font-size: 13px;
|
|
170
|
+
-webkit-user-select: none;
|
|
171
|
+
-moz-user-select: none;
|
|
172
|
+
-ms-user-select: none;
|
|
173
|
+
user-select: none;
|
|
174
|
+
}
|
|
175
|
+
.mars3d-clockAnimate .mars3d-clockAnimate-btn {
|
|
176
|
+
display: inline-block;
|
|
177
|
+
vertical-align: middle;
|
|
178
|
+
padding: 1px 8px;
|
|
179
|
+
border: solid 1px #888;
|
|
180
|
+
color: #ffffff;
|
|
181
|
+
background-color: rgba(63, 72, 84, 0.7);
|
|
182
|
+
border: none;
|
|
183
|
+
cursor: pointer;
|
|
184
|
+
width: 24px;
|
|
185
|
+
}
|
|
186
|
+
.mars3d-clockAnimate .mars3d-clockAnimate-btn svg {
|
|
187
|
+
margin-top: 1px;
|
|
188
|
+
}
|
|
189
|
+
.mars3d-clockAnimate .mars3d-clockAnimate-speed {
|
|
190
|
+
width: 80px;
|
|
191
|
+
height: 24px;
|
|
192
|
+
border: solid 1px rgba(136, 136, 136, 0.6);
|
|
193
|
+
padding: 0 3px;
|
|
194
|
+
margin: 0;
|
|
195
|
+
color: #ffffff;
|
|
196
|
+
background-color: rgba(63, 72, 84, 0.7);
|
|
197
|
+
}
|
|
198
|
+
.mars3d-clockAnimate .mars3d-clockAnimate-speed ::-webkit-outer-spin-button,
|
|
199
|
+
.mars3d-clockAnimate .mars3d-clockAnimate-speed input::-webkit-inner-spin-button {
|
|
200
|
+
-webkit-appearance: none !important;
|
|
201
|
+
margin: 0;
|
|
202
|
+
}
|
|
203
|
+
.mars3d-compass {
|
|
204
|
+
position: absolute;
|
|
205
|
+
cursor: pointer;
|
|
206
|
+
pointer-events: auto;
|
|
207
|
+
user-select: none;
|
|
208
|
+
width: 55px;
|
|
209
|
+
height: 55px;
|
|
210
|
+
}
|
|
211
|
+
.mars3d-compass .mars3d-compass-outer {
|
|
212
|
+
position: absolute;
|
|
213
|
+
top: 0;
|
|
214
|
+
left: 0;
|
|
215
|
+
height: 55px;
|
|
216
|
+
width: 55px;
|
|
217
|
+
background-repeat: no-repeat;
|
|
218
|
+
background-size: contain;
|
|
219
|
+
fill: #3f4854;
|
|
220
|
+
border-radius: 50%;
|
|
221
|
+
}
|
|
222
|
+
.mars3d-compass .mars3d-compass-outer svg {
|
|
223
|
+
height: 55px;
|
|
224
|
+
width: 55px;
|
|
225
|
+
}
|
|
226
|
+
.mars3d-compass .mars3d-compass-inner {
|
|
227
|
+
position: relative;
|
|
228
|
+
top: 50%;
|
|
229
|
+
transform: translateY(-50%);
|
|
230
|
+
height: 25px;
|
|
231
|
+
width: 25px;
|
|
232
|
+
border-radius: 50%;
|
|
233
|
+
display: block;
|
|
234
|
+
margin: 0 auto;
|
|
235
|
+
padding: 4px;
|
|
236
|
+
box-sizing: border-box;
|
|
237
|
+
background: #ffffff;
|
|
238
|
+
fill: #68adfe;
|
|
239
|
+
}
|
|
240
|
+
.mars3d-compass .mars3d-compass-rotation-arc {
|
|
241
|
+
position: absolute;
|
|
242
|
+
top: 2px;
|
|
243
|
+
left: 2px;
|
|
244
|
+
height: 51px;
|
|
245
|
+
width: 51px;
|
|
246
|
+
border-radius: 50%;
|
|
247
|
+
background-repeat: no-repeat;
|
|
248
|
+
background-size: contain;
|
|
249
|
+
}
|
|
250
|
+
.mars3d-distance-legend {
|
|
251
|
+
position: absolute;
|
|
252
|
+
width: 125px;
|
|
253
|
+
height: 25px;
|
|
254
|
+
pointer-events: none;
|
|
255
|
+
user-select: none;
|
|
256
|
+
}
|
|
257
|
+
.mars3d-distance-legend .legend-label {
|
|
258
|
+
font-size: 13px;
|
|
259
|
+
color: #ffffff;
|
|
260
|
+
text-align: center;
|
|
261
|
+
width: 100%;
|
|
262
|
+
}
|
|
263
|
+
.mars3d-distance-legend .legend-scale-bar {
|
|
264
|
+
position: absolute;
|
|
265
|
+
height: 10px;
|
|
266
|
+
top: 10px;
|
|
267
|
+
border-left: 1px solid #ffffff;
|
|
268
|
+
border-right: 1px solid #ffffff;
|
|
269
|
+
border-bottom: 1px solid #ffffff;
|
|
270
|
+
}
|
|
271
|
+
/**左下角,鼠标经纬度提示*/
|
|
272
|
+
.mars3d-locationbar {
|
|
273
|
+
position: absolute;
|
|
274
|
+
z-index: 991;
|
|
275
|
+
padding: 3px 10px;
|
|
276
|
+
font-size: 13px;
|
|
277
|
+
color: #e9e9e9;
|
|
278
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
279
|
+
min-height: 26px;
|
|
280
|
+
pointer-events: none;
|
|
281
|
+
}
|
|
282
|
+
.mars3d-locationbar-content {
|
|
283
|
+
float: right;
|
|
284
|
+
}
|
|
285
|
+
.mars3d-locationbar-content > div {
|
|
286
|
+
float: left;
|
|
287
|
+
margin-right: 20px;
|
|
288
|
+
}
|
|
289
|
+
.cesium-performanceDisplay-ms,
|
|
290
|
+
.cesium-performanceDisplay-fps {
|
|
291
|
+
min-width: 65px;
|
|
292
|
+
}
|
|
293
|
+
/* 兼容屏幕大小 美观显示不同信息 */
|
|
294
|
+
@media screen and (max-width: 1200px) {
|
|
295
|
+
.mars3d-locationbar-content > div {
|
|
296
|
+
margin-right: 15px;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
@media screen and (max-width: 1000px) {
|
|
300
|
+
.cesium-performanceDisplay-ms,
|
|
301
|
+
.cesium-performanceDisplay-fps,
|
|
302
|
+
.mars3d-locationbar-content > .hide1000 {
|
|
303
|
+
display: none;
|
|
304
|
+
}
|
|
305
|
+
.mars3d-locationbar-content > div {
|
|
306
|
+
margin-right: 10px;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
@media screen and (max-width: 700px) {
|
|
310
|
+
.mars3d-locationbar-content > .hide700 {
|
|
311
|
+
display: none;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
@media screen and (max-width: 600px) {
|
|
315
|
+
.mars3d-locationbar {
|
|
316
|
+
display: none;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
.mars3d-slider {
|
|
320
|
+
position: absolute;
|
|
321
|
+
left: 50%;
|
|
322
|
+
top: 0px;
|
|
323
|
+
background-color: #d3d3d3;
|
|
324
|
+
width: 3px;
|
|
325
|
+
height: 100%;
|
|
326
|
+
z-index: 9999;
|
|
327
|
+
}
|
|
328
|
+
.mars3d-slider .slider-splitter {
|
|
329
|
+
position: absolute;
|
|
330
|
+
left: -15px;
|
|
331
|
+
top: calc(50% - 15px);
|
|
332
|
+
width: 32px;
|
|
333
|
+
height: 32px;
|
|
334
|
+
background: #f0eeee;
|
|
335
|
+
border-radius: 50%;
|
|
336
|
+
text-align: center;
|
|
337
|
+
line-height: 36px;
|
|
338
|
+
padding: 2px;
|
|
339
|
+
border: 1px solid lightgrey;
|
|
340
|
+
}
|
|
341
|
+
.mars3d-slider .slider-splitter:hover {
|
|
342
|
+
cursor: ew-resize;
|
|
343
|
+
}
|
|
344
|
+
/**滚轮样式*/
|
|
345
|
+
.mars3d-mousedownview {
|
|
346
|
+
position: absolute;
|
|
347
|
+
top: 0px;
|
|
348
|
+
left: 0px;
|
|
349
|
+
width: 40px;
|
|
350
|
+
height: 40px;
|
|
351
|
+
margin-top: -23px;
|
|
352
|
+
/*图片高度的一半*/
|
|
353
|
+
margin-left: -23px;
|
|
354
|
+
pointer-events: none;
|
|
355
|
+
visibility: hidden;
|
|
356
|
+
opacity: 0;
|
|
357
|
+
-webkit-transition: visibility 0s 0.2s, opacity 0.2s ease-in;
|
|
358
|
+
-moz-transition: visibility 0s 0.2s, opacity 0.2s ease-in;
|
|
359
|
+
transition: visibility 0s 0.2s, opacity 0.2s ease-in;
|
|
360
|
+
}
|
|
361
|
+
.mars3d-mousedownview-img {
|
|
362
|
+
width: 36px;
|
|
363
|
+
height: 36px;
|
|
364
|
+
background-image: url(./img/cursor.png);
|
|
365
|
+
background-size: 100% 100%;
|
|
366
|
+
}
|
|
367
|
+
.mars3d-mousedownview-show {
|
|
368
|
+
visibility: visible;
|
|
369
|
+
opacity: 1;
|
|
370
|
+
-webkit-transition: opacity 0.2s ease-out;
|
|
371
|
+
-moz-transition: opacity 0.2s ease-out;
|
|
372
|
+
transition: opacity 0.2s ease-out;
|
|
373
|
+
}
|
|
374
|
+
.mars3d-overviewMap {
|
|
375
|
+
position: absolute;
|
|
376
|
+
user-select: none;
|
|
377
|
+
width: 200px;
|
|
378
|
+
height: 150px;
|
|
379
|
+
overflow: hidden;
|
|
380
|
+
border: 1px solid orange;
|
|
381
|
+
box-shadow: 2px 2px 3px #2b2b2b;
|
|
382
|
+
}
|
|
383
|
+
.mar3d-toolButton {
|
|
384
|
+
cursor: pointer;
|
|
385
|
+
}
|
|
386
|
+
.mar3d-toolButton img,
|
|
387
|
+
.mar3d-toolButton svg,
|
|
388
|
+
.mar3d-toolButton div {
|
|
389
|
+
height: 100%;
|
|
390
|
+
text-align: center;
|
|
391
|
+
}
|
|
392
|
+
/**内置的DivGraphic通用样式【文本动态边框】*/
|
|
393
|
+
.mars3d-divBoderLabel {
|
|
394
|
+
position: absolute;
|
|
395
|
+
left: 0px;
|
|
396
|
+
bottom: 0px;
|
|
397
|
+
cursor: pointer;
|
|
398
|
+
--animation-name: mars3d-divBoderLabel-animation;
|
|
399
|
+
--text-left-position: -75px;
|
|
400
|
+
}
|
|
401
|
+
@keyframes mars3d-divBoderLabel-animation {
|
|
402
|
+
0%,
|
|
403
|
+
100% {
|
|
404
|
+
clip: rect(0px, var(--clip-width-1), 2px, 0px);
|
|
405
|
+
}
|
|
406
|
+
25% {
|
|
407
|
+
clip: rect(0px, 2px, var(--clip-height-1), 0px);
|
|
408
|
+
}
|
|
409
|
+
50% {
|
|
410
|
+
clip: rect(var(--clip-height-2), var(--clip-width-1), var(--clip-width-1), 0px);
|
|
411
|
+
}
|
|
412
|
+
75% {
|
|
413
|
+
clip: rect(0px, var(--clip-width-1), var(--clip-height-1), var(--clip-width-2));
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
.mars3d-divBoderLabel-boder {
|
|
417
|
+
width: var(--boder-width);
|
|
418
|
+
height: var(--boder-height);
|
|
419
|
+
margin: auto;
|
|
420
|
+
color: var(--border-color);
|
|
421
|
+
box-shadow: inset 0 0 0 1px var(--box-shadow-color);
|
|
422
|
+
}
|
|
423
|
+
.mars3d-divBoderLabel-text {
|
|
424
|
+
color: var(--text-color);
|
|
425
|
+
font-size: var(--text-font-size);
|
|
426
|
+
display: flex;
|
|
427
|
+
width: 100%;
|
|
428
|
+
height: 100%;
|
|
429
|
+
align-items: center;
|
|
430
|
+
justify-content: center;
|
|
431
|
+
font-weight: bolder;
|
|
432
|
+
user-select: none;
|
|
433
|
+
cursor: pointer;
|
|
434
|
+
}
|
|
435
|
+
.mars3d-divBoderLabel-boder,
|
|
436
|
+
.mars3d-divBoderLabel-boder::before,
|
|
437
|
+
.mars3d-divBoderLabel-boder::after {
|
|
438
|
+
position: absolute;
|
|
439
|
+
top: 0;
|
|
440
|
+
bottom: 0;
|
|
441
|
+
left: 0;
|
|
442
|
+
right: 0;
|
|
443
|
+
}
|
|
444
|
+
.mars3d-divBoderLabel-boder::before,
|
|
445
|
+
.mars3d-divBoderLabel-boder::after {
|
|
446
|
+
content: "";
|
|
447
|
+
margin: -5%;
|
|
448
|
+
box-shadow: inset 0 0 0 2px;
|
|
449
|
+
animation: var(--animation-name) 8s linear infinite;
|
|
450
|
+
}
|
|
451
|
+
.mars3d-divBoderLabel-boder::before {
|
|
452
|
+
animation-delay: -4s;
|
|
453
|
+
}
|
|
454
|
+
.mars3d-divGraphic {
|
|
455
|
+
position: absolute;
|
|
456
|
+
left: 0;
|
|
457
|
+
top: 0;
|
|
458
|
+
-webkit-user-select: none;
|
|
459
|
+
-moz-user-select: none;
|
|
460
|
+
-ms-user-select: none;
|
|
461
|
+
user-select: none;
|
|
462
|
+
}
|
|
463
|
+
.mars3d-divGraphic-edit {
|
|
464
|
+
background-color: rgba(254, 87, 161, 0.1);
|
|
465
|
+
border: 2px dashed rgba(172, 85, 59, 0.768);
|
|
466
|
+
-webkit-border-radius: 2px;
|
|
467
|
+
border-radius: 2px;
|
|
468
|
+
margin: -2px;
|
|
469
|
+
box-sizing: content-box;
|
|
470
|
+
}
|
|
471
|
+
/**内置的DivGraphic通用样式【动画点】*/
|
|
472
|
+
.mars3d-animation-point,
|
|
473
|
+
.mars3d-animation-point:after,
|
|
474
|
+
.mars3d-animation-point:before,
|
|
475
|
+
.mars3d-animation-point p,
|
|
476
|
+
.mars3d-animation-point p:after,
|
|
477
|
+
.mars3d-animation-point p:before {
|
|
478
|
+
margin: 0;
|
|
479
|
+
padding: 0;
|
|
480
|
+
-webkit-box-sizing: border-box;
|
|
481
|
+
-moz-box-sizing: border-box;
|
|
482
|
+
-o-box-sizing: border-box;
|
|
483
|
+
-ms-box-sizing: border-box;
|
|
484
|
+
box-sizing: border-box;
|
|
485
|
+
}
|
|
486
|
+
.mars3d-animation-point {
|
|
487
|
+
width: 10px;
|
|
488
|
+
height: 10px;
|
|
489
|
+
border-radius: 50%;
|
|
490
|
+
border: 1px solid hsla(0, 0%, 100%, 0.5);
|
|
491
|
+
cursor: pointer;
|
|
492
|
+
color: #0ff;
|
|
493
|
+
background: currentColor;
|
|
494
|
+
z-index: 3;
|
|
495
|
+
left: 50%;
|
|
496
|
+
top: 50%;
|
|
497
|
+
-webkit-transform: translate(-50%, -50%);
|
|
498
|
+
-moz-transform: translate(-50%, -50%);
|
|
499
|
+
-o-transform: translate(-50%, -50%);
|
|
500
|
+
-ms-transform: translate(-50%, -50%);
|
|
501
|
+
transform: translate(-50%, -50%);
|
|
502
|
+
box-shadow: 0 0 2em currentColor, 0 0 0.5em currentColor;
|
|
503
|
+
position: absolute;
|
|
504
|
+
}
|
|
505
|
+
.mars3d-animation-point p {
|
|
506
|
+
position: absolute;
|
|
507
|
+
left: 50%;
|
|
508
|
+
top: 50%;
|
|
509
|
+
width: 0;
|
|
510
|
+
height: 0;
|
|
511
|
+
border-radius: 50%;
|
|
512
|
+
-webkit-transform: translate(-50%, -50%);
|
|
513
|
+
-moz-transform: translate(-50%, -50%);
|
|
514
|
+
-o-transform: translate(-50%, -50%);
|
|
515
|
+
-ms-transform: translate(-50%, -50%);
|
|
516
|
+
transform: translate(-50%, -50%);
|
|
517
|
+
-webkit-animation: mars3d-animation-point-mapAni 2s ease infinite;
|
|
518
|
+
-moz-animation: mars3d-animation-point-mapAni 2s ease infinite;
|
|
519
|
+
-o-animation: mars3d-animation-point-mapAni 2s ease infinite;
|
|
520
|
+
-ms-animation: mars3d-animation-point-mapAni 2s ease infinite;
|
|
521
|
+
animation: mars3d-animation-point-mapAni 2s ease infinite;
|
|
522
|
+
}
|
|
523
|
+
.mars3d-animation-point .mapError {
|
|
524
|
+
color: red;
|
|
525
|
+
}
|
|
526
|
+
.mars3d-animation-point .mapWarn {
|
|
527
|
+
color: #b5a603;
|
|
528
|
+
}
|
|
529
|
+
.mars3d-animation-point .mapSuccess {
|
|
530
|
+
color: #239233;
|
|
531
|
+
}
|
|
532
|
+
.mars3d-animation-point .mapOrange {
|
|
533
|
+
color: #8c4d34;
|
|
534
|
+
}
|
|
535
|
+
.mars3d-animation-point:after,
|
|
536
|
+
.mars3d-animation-point:before,
|
|
537
|
+
.mars3d-animation-point p:after,
|
|
538
|
+
.mars3d-animation-point p:before {
|
|
539
|
+
content: "";
|
|
540
|
+
position: absolute;
|
|
541
|
+
width: 100%;
|
|
542
|
+
height: 100%;
|
|
543
|
+
left: 50%;
|
|
544
|
+
top: 50%;
|
|
545
|
+
border-radius: 50%;
|
|
546
|
+
-webkit-transform: translate(-50%, -50%);
|
|
547
|
+
-moz-transform: translate(-50%, -50%);
|
|
548
|
+
-o-transform: translate(-50%, -50%);
|
|
549
|
+
-ms-transform: translate(-50%, -50%);
|
|
550
|
+
transform: translate(-50%, -50%);
|
|
551
|
+
}
|
|
552
|
+
.mars3d-animation-point:after,
|
|
553
|
+
.mars3d-animation-point:before {
|
|
554
|
+
border: 1px solid;
|
|
555
|
+
-webkit-animation: mars3d-animation-point-mapAni 1s ease infinite;
|
|
556
|
+
-moz-animation: mars3d-animation-point-mapAni 1s ease infinite;
|
|
557
|
+
-o-animation: mars3d-animation-point-mapAni 1s ease infinite;
|
|
558
|
+
-ms-animation: mars3d-animation-point-mapAni 1s ease infinite;
|
|
559
|
+
animation: mars3d-animation-point-mapAni 1s ease infinite;
|
|
560
|
+
}
|
|
561
|
+
.mars3d-animation-point p:before {
|
|
562
|
+
border: 1px solid;
|
|
563
|
+
}
|
|
564
|
+
@-webkit-keyframes mars3d-animation-point-mapAni {
|
|
565
|
+
0% {
|
|
566
|
+
width: 0;
|
|
567
|
+
height: 0;
|
|
568
|
+
opacity: 1;
|
|
569
|
+
filter: alpha(opacity=1);
|
|
570
|
+
}
|
|
571
|
+
25% {
|
|
572
|
+
width: 12px;
|
|
573
|
+
height: 12px;
|
|
574
|
+
opacity: 0.7;
|
|
575
|
+
filter: alpha(opacity=70);
|
|
576
|
+
}
|
|
577
|
+
50% {
|
|
578
|
+
width: 20px;
|
|
579
|
+
height: 20px;
|
|
580
|
+
opacity: 0.5;
|
|
581
|
+
filter: alpha(opacity=50);
|
|
582
|
+
}
|
|
583
|
+
75% {
|
|
584
|
+
width: 30px;
|
|
585
|
+
height: 30px;
|
|
586
|
+
opacity: 0.2;
|
|
587
|
+
filter: alpha(opacity=20);
|
|
588
|
+
}
|
|
589
|
+
to {
|
|
590
|
+
width: 40px;
|
|
591
|
+
height: 40px;
|
|
592
|
+
opacity: 0;
|
|
593
|
+
filter: alpha(opacity=0);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
@-moz-keyframes mars3d-animation-point-mapAni {
|
|
597
|
+
0% {
|
|
598
|
+
width: 0;
|
|
599
|
+
height: 0;
|
|
600
|
+
opacity: 1;
|
|
601
|
+
filter: alpha(opacity=1);
|
|
602
|
+
}
|
|
603
|
+
25% {
|
|
604
|
+
width: 12px;
|
|
605
|
+
height: 12px;
|
|
606
|
+
opacity: 0.7;
|
|
607
|
+
filter: alpha(opacity=70);
|
|
608
|
+
}
|
|
609
|
+
50% {
|
|
610
|
+
width: 20px;
|
|
611
|
+
height: 20px;
|
|
612
|
+
opacity: 0.5;
|
|
613
|
+
filter: alpha(opacity=50);
|
|
614
|
+
}
|
|
615
|
+
75% {
|
|
616
|
+
width: 30px;
|
|
617
|
+
height: 30px;
|
|
618
|
+
opacity: 0.2;
|
|
619
|
+
filter: alpha(opacity=20);
|
|
620
|
+
}
|
|
621
|
+
to {
|
|
622
|
+
width: 40px;
|
|
623
|
+
height: 40px;
|
|
624
|
+
opacity: 0;
|
|
625
|
+
filter: alpha(opacity=0);
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
@-o-keyframes mars3d-animation-point-mapAni {
|
|
629
|
+
0% {
|
|
630
|
+
width: 0;
|
|
631
|
+
height: 0;
|
|
632
|
+
opacity: 1;
|
|
633
|
+
filter: alpha(opacity=1);
|
|
634
|
+
}
|
|
635
|
+
25% {
|
|
636
|
+
width: 12px;
|
|
637
|
+
height: 12px;
|
|
638
|
+
opacity: 0.7;
|
|
639
|
+
filter: alpha(opacity=70);
|
|
640
|
+
}
|
|
641
|
+
50% {
|
|
642
|
+
width: 20px;
|
|
643
|
+
height: 20px;
|
|
644
|
+
opacity: 0.5;
|
|
645
|
+
filter: alpha(opacity=50);
|
|
646
|
+
}
|
|
647
|
+
75% {
|
|
648
|
+
width: 30px;
|
|
649
|
+
height: 30px;
|
|
650
|
+
opacity: 0.2;
|
|
651
|
+
filter: alpha(opacity=20);
|
|
652
|
+
}
|
|
653
|
+
to {
|
|
654
|
+
width: 40px;
|
|
655
|
+
height: 40px;
|
|
656
|
+
opacity: 0;
|
|
657
|
+
filter: alpha(opacity=0);
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
@-ms-keyframes mars3d-animation-point-mapAni {
|
|
661
|
+
0% {
|
|
662
|
+
width: 0;
|
|
663
|
+
height: 0;
|
|
664
|
+
opacity: 1;
|
|
665
|
+
filter: alpha(opacity=1);
|
|
666
|
+
}
|
|
667
|
+
25% {
|
|
668
|
+
width: 12px;
|
|
669
|
+
height: 12px;
|
|
670
|
+
opacity: 0.7;
|
|
671
|
+
filter: alpha(opacity=70);
|
|
672
|
+
}
|
|
673
|
+
50% {
|
|
674
|
+
width: 20px;
|
|
675
|
+
height: 20px;
|
|
676
|
+
opacity: 0.5;
|
|
677
|
+
filter: alpha(opacity=50);
|
|
678
|
+
}
|
|
679
|
+
75% {
|
|
680
|
+
width: 30px;
|
|
681
|
+
height: 30px;
|
|
682
|
+
opacity: 0.2;
|
|
683
|
+
filter: alpha(opacity=20);
|
|
684
|
+
}
|
|
685
|
+
to {
|
|
686
|
+
width: 40px;
|
|
687
|
+
height: 40px;
|
|
688
|
+
opacity: 0;
|
|
689
|
+
filter: alpha(opacity=0);
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
@keyframes mars3d-animation-point-mapAni {
|
|
693
|
+
0% {
|
|
694
|
+
width: 0;
|
|
695
|
+
height: 0;
|
|
696
|
+
opacity: 1;
|
|
697
|
+
filter: alpha(opacity=1);
|
|
698
|
+
}
|
|
699
|
+
25% {
|
|
700
|
+
width: 12px;
|
|
701
|
+
height: 12px;
|
|
702
|
+
opacity: 0.7;
|
|
703
|
+
filter: alpha(opacity=70);
|
|
704
|
+
}
|
|
705
|
+
50% {
|
|
706
|
+
width: 20px;
|
|
707
|
+
height: 20px;
|
|
708
|
+
opacity: 0.5;
|
|
709
|
+
filter: alpha(opacity=50);
|
|
710
|
+
}
|
|
711
|
+
75% {
|
|
712
|
+
width: 30px;
|
|
713
|
+
height: 30px;
|
|
714
|
+
opacity: 0.2;
|
|
715
|
+
filter: alpha(opacity=20);
|
|
716
|
+
}
|
|
717
|
+
to {
|
|
718
|
+
width: 40px;
|
|
719
|
+
height: 40px;
|
|
720
|
+
opacity: 0;
|
|
721
|
+
filter: alpha(opacity=0);
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
.mars3d-divUpLabel {
|
|
725
|
+
text-align: center;
|
|
726
|
+
background: transparent;
|
|
727
|
+
color: white;
|
|
728
|
+
display: block;
|
|
729
|
+
box-sizing: border-box;
|
|
730
|
+
animation-duration: 1s;
|
|
731
|
+
animation-fill-mode: both;
|
|
732
|
+
animation-name: mars3d-divUpLabel-tinUpIn;
|
|
733
|
+
}
|
|
734
|
+
.mars3d-divUpLabel-text {
|
|
735
|
+
writing-mode: vertical-lr;
|
|
736
|
+
font-size: 16px;
|
|
737
|
+
letter-spacing: 4px;
|
|
738
|
+
}
|
|
739
|
+
.mars3d-divUpLabel-line {
|
|
740
|
+
display: block;
|
|
741
|
+
height: 100px;
|
|
742
|
+
width: 1.5px;
|
|
743
|
+
margin-left: calc(50% - 1px);
|
|
744
|
+
margin-top: 3px;
|
|
745
|
+
background-color: white;
|
|
746
|
+
}
|
|
747
|
+
@keyframes mars3d-divUpLabel-tinUpIn {
|
|
748
|
+
0% {
|
|
749
|
+
opacity: 0;
|
|
750
|
+
transform: scale(1, 1) translateY(-900%);
|
|
751
|
+
}
|
|
752
|
+
50%,
|
|
753
|
+
70%,
|
|
754
|
+
90% {
|
|
755
|
+
opacity: 1;
|
|
756
|
+
transform: scale(1.1, 1.1) translateY(0);
|
|
757
|
+
}
|
|
758
|
+
100%,
|
|
759
|
+
60%,
|
|
760
|
+
80% {
|
|
761
|
+
opacity: 1;
|
|
762
|
+
transform: scale(1, 1) translateY(0);
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
/*****popup弹出框样式******/
|
|
766
|
+
/*白色字体,如果黑色改为:#2b2929;*/
|
|
767
|
+
/*黑色背景,如果白色改为:rgba(255,255,255,0.85);*/
|
|
768
|
+
.mars3d-popup {
|
|
769
|
+
-webkit-user-select: auto;
|
|
770
|
+
-moz-user-select: auto;
|
|
771
|
+
-ms-user-select: auto;
|
|
772
|
+
user-select: auto;
|
|
773
|
+
}
|
|
774
|
+
.mars3d-popup-close-button {
|
|
775
|
+
position: absolute;
|
|
776
|
+
top: 0;
|
|
777
|
+
right: 0;
|
|
778
|
+
padding: 4px 4px 0 0;
|
|
779
|
+
text-align: center;
|
|
780
|
+
width: 20px;
|
|
781
|
+
height: 20px;
|
|
782
|
+
font: 16px/14px Tahoma, Verdana, sans-serif;
|
|
783
|
+
text-decoration: none;
|
|
784
|
+
font-weight: bold;
|
|
785
|
+
background: transparent;
|
|
786
|
+
z-index: 20170825;
|
|
787
|
+
cursor: pointer;
|
|
788
|
+
}
|
|
789
|
+
.mars3d-popup-content-wrapper {
|
|
790
|
+
text-align: center;
|
|
791
|
+
box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
|
|
792
|
+
padding: 1px;
|
|
793
|
+
text-align: left;
|
|
794
|
+
border-radius: 3px;
|
|
795
|
+
}
|
|
796
|
+
.mars3d-popup-content {
|
|
797
|
+
margin: 10px;
|
|
798
|
+
line-height: 1.4;
|
|
799
|
+
font-size: 13px;
|
|
800
|
+
max-width: 700px;
|
|
801
|
+
min-width: 50px;
|
|
802
|
+
max-height: 550px;
|
|
803
|
+
overflow-y: auto;
|
|
804
|
+
}
|
|
805
|
+
.mars3d-popup-tip-container {
|
|
806
|
+
margin: 0 auto;
|
|
807
|
+
width: 40px;
|
|
808
|
+
height: 20px;
|
|
809
|
+
position: relative;
|
|
810
|
+
overflow: hidden;
|
|
811
|
+
}
|
|
812
|
+
.mars3d-popup-tip {
|
|
813
|
+
box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
|
|
814
|
+
width: 17px;
|
|
815
|
+
height: 17px;
|
|
816
|
+
padding: 1px;
|
|
817
|
+
margin: -10px auto 0;
|
|
818
|
+
-webkit-transform: rotate(45deg);
|
|
819
|
+
-moz-transform: rotate(45deg);
|
|
820
|
+
-ms-transform: rotate(45deg);
|
|
821
|
+
-o-transform: rotate(45deg);
|
|
822
|
+
transform: rotate(45deg);
|
|
823
|
+
}
|
|
824
|
+
.mars3d-popup-scrolled {
|
|
825
|
+
overflow: auto;
|
|
826
|
+
border-bottom: 1px solid #ddd;
|
|
827
|
+
border-top: 1px solid #ddd;
|
|
828
|
+
}
|
|
829
|
+
.mars3d-popup-color {
|
|
830
|
+
color: #ffffff;
|
|
831
|
+
}
|
|
832
|
+
.mars3d-popup-background {
|
|
833
|
+
background: rgba(63, 72, 84, 0.9);
|
|
834
|
+
}
|
|
835
|
+
.mars3d-popup-animation {
|
|
836
|
+
animation-duration: 0.3s;
|
|
837
|
+
animation-fill-mode: both;
|
|
838
|
+
animation-name: mars3d-popup-swashIn;
|
|
839
|
+
}
|
|
840
|
+
@keyframes mars3d-popup-swashIn {
|
|
841
|
+
0% {
|
|
842
|
+
opacity: 0;
|
|
843
|
+
transform-origin: 50% 50%;
|
|
844
|
+
transform: scale(0, 0);
|
|
845
|
+
}
|
|
846
|
+
90% {
|
|
847
|
+
opacity: 1;
|
|
848
|
+
transform-origin: 50% 50%;
|
|
849
|
+
transform: scale(0.9, 0.9);
|
|
850
|
+
}
|
|
851
|
+
100% {
|
|
852
|
+
opacity: 1;
|
|
853
|
+
transform-origin: 50% 50%;
|
|
854
|
+
transform: scale(1, 1);
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
.mars3d-popup-background {
|
|
858
|
+
background: rgba(41, 84, 141, 0.9) !important;
|
|
859
|
+
}
|
|
860
|
+
.mars3d-popup-btn {
|
|
861
|
+
padding: 3px 10px;
|
|
862
|
+
border: 1px solid #209ffd;
|
|
863
|
+
background: #209ffd1c;
|
|
864
|
+
}
|
|
865
|
+
/* all 中的html样式 */
|
|
866
|
+
.mars3d-template-titile {
|
|
867
|
+
border-radius: 3px 0 0 3px;
|
|
868
|
+
padding: 0 80px 0 10px;
|
|
869
|
+
height: 40px;
|
|
870
|
+
line-height: 40px;
|
|
871
|
+
font-size: 16px;
|
|
872
|
+
color: #ffffff;
|
|
873
|
+
border-bottom: 1px solid #616161;
|
|
874
|
+
overflow: hidden;
|
|
875
|
+
}
|
|
876
|
+
.mars3d-template-content {
|
|
877
|
+
min-width: 150px;
|
|
878
|
+
margin-top: 12px;
|
|
879
|
+
font-size: 14px;
|
|
880
|
+
max-height: 490px;
|
|
881
|
+
overflow-y: auto;
|
|
882
|
+
}
|
|
883
|
+
.mars3d-template-content > div {
|
|
884
|
+
margin-top: 5px;
|
|
885
|
+
}
|
|
886
|
+
.mars3d-template-content label {
|
|
887
|
+
margin: 0 10px;
|
|
888
|
+
min-width: 55px;
|
|
889
|
+
float: left;
|
|
890
|
+
}
|
|
891
|
+
.mars3d-template-content input {
|
|
892
|
+
color: #ffffff;
|
|
893
|
+
background-color: rgba(63, 72, 84, 0.9);
|
|
894
|
+
border-width: 1px;
|
|
895
|
+
border-style: solid;
|
|
896
|
+
}
|
|
897
|
+
.mars3d-template-content textarea {
|
|
898
|
+
color: #ffffff;
|
|
899
|
+
background-color: rgba(63, 72, 84, 0.9);
|
|
900
|
+
border-width: 1px;
|
|
901
|
+
border-style: solid;
|
|
902
|
+
height: 60px;
|
|
903
|
+
resize: none;
|
|
904
|
+
}
|
|
905
|
+
/*****tooltip弹出框样式******/
|
|
906
|
+
/*白色字体,如果黑色改为:#2b2929;*/
|
|
907
|
+
/*黑色背景,如果白色改为:rgba(255,255,255,0.85);*/
|
|
908
|
+
.mars3d-tooltip {
|
|
909
|
+
padding: 6px;
|
|
910
|
+
background: rgba(63, 72, 84, 0.9);
|
|
911
|
+
border: 1px solid rgba(63, 72, 84, 0.9);
|
|
912
|
+
border-radius: 3px;
|
|
913
|
+
color: #ffffff;
|
|
914
|
+
white-space: nowrap;
|
|
915
|
+
-webkit-user-select: none;
|
|
916
|
+
-moz-user-select: none;
|
|
917
|
+
-ms-user-select: none;
|
|
918
|
+
user-select: none;
|
|
919
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
|
920
|
+
max-width: 700px;
|
|
921
|
+
min-width: 50px;
|
|
922
|
+
max-height: 550px;
|
|
923
|
+
}
|
|
924
|
+
.mars3d-tooltip-top:before,
|
|
925
|
+
.mars3d-tooltip-bottom:before,
|
|
926
|
+
.mars3d-tooltip-left:before,
|
|
927
|
+
.mars3d-tooltip-right:before {
|
|
928
|
+
position: absolute;
|
|
929
|
+
pointer-events: none;
|
|
930
|
+
border: 6px solid transparent;
|
|
931
|
+
background: transparent;
|
|
932
|
+
content: "";
|
|
933
|
+
}
|
|
934
|
+
/* Directions */
|
|
935
|
+
.mars3d-tooltip-bottom {
|
|
936
|
+
margin-top: 6px;
|
|
937
|
+
}
|
|
938
|
+
.mars3d-tooltip-top {
|
|
939
|
+
margin-top: -6px;
|
|
940
|
+
}
|
|
941
|
+
.mars3d-tooltip-bottom:before,
|
|
942
|
+
.mars3d-tooltip-top:before {
|
|
943
|
+
left: 50%;
|
|
944
|
+
margin-left: -6px;
|
|
945
|
+
}
|
|
946
|
+
.mars3d-tooltip-top:before {
|
|
947
|
+
bottom: 0;
|
|
948
|
+
margin-bottom: -12px;
|
|
949
|
+
border-top-color: rgba(63, 72, 84, 0.9);
|
|
950
|
+
}
|
|
951
|
+
.mars3d-tooltip-bottom:before {
|
|
952
|
+
top: 0;
|
|
953
|
+
margin-top: -6px;
|
|
954
|
+
margin-left: -6px;
|
|
955
|
+
border-bottom-color: rgba(63, 72, 84, 0.9);
|
|
956
|
+
}
|
|
957
|
+
.mars3d-tooltip-left {
|
|
958
|
+
margin-left: -6px;
|
|
959
|
+
}
|
|
960
|
+
.mars3d-tooltip-right {
|
|
961
|
+
margin-left: 6px;
|
|
962
|
+
}
|
|
963
|
+
.mars3d-tooltip-left:before,
|
|
964
|
+
.mars3d-tooltip-right:before {
|
|
965
|
+
top: 50%;
|
|
966
|
+
margin-top: -6px;
|
|
967
|
+
}
|
|
968
|
+
.mars3d-tooltip-left:before {
|
|
969
|
+
right: 0;
|
|
970
|
+
margin-right: -12px;
|
|
971
|
+
border-left-color: rgba(63, 72, 84, 0.9);
|
|
972
|
+
}
|
|
973
|
+
.mars3d-tooltip-right:before {
|
|
974
|
+
left: 0;
|
|
975
|
+
margin-left: -6px;
|
|
976
|
+
border-right-color: rgba(63, 72, 84, 0.9);
|
|
977
|
+
}
|
|
978
|
+
.mars3d-widgetbar {
|
|
979
|
+
margin: 0 auto;
|
|
980
|
+
position: absolute;
|
|
981
|
+
bottom: 30px;
|
|
982
|
+
left: 20%;
|
|
983
|
+
width: 60%;
|
|
984
|
+
height: auto;
|
|
985
|
+
z-index: 1987;
|
|
986
|
+
}
|
|
987
|
+
.mars3d-widgetbar .fa {
|
|
988
|
+
margin-right: 5px;
|
|
989
|
+
}
|