mars3d.css 22 KB

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