园林绿化
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1034 lines
22 KiB

  1. /**
  2. * Mars3D三维可视化平台 mars3d
  3. *
  4. * 版本信息v3.4.26
  5. * 编译日期2023-11-13 20:28:10
  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. 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. z-index: 99999;
  367. }
  368. .mars3d-slider .slider-splitter:hover {
  369. cursor: ew-resize;
  370. }
  371. .mars3d-mapCompare {
  372. position: absolute;
  373. left: auto;
  374. right: 0px;
  375. top: 0px;
  376. bottom: 0px;
  377. width: 50%;
  378. height: 100%;
  379. margin: 0;
  380. padding: 0;
  381. }
  382. /**滚轮样式*/
  383. .mars3d-mousedownview {
  384. position: absolute;
  385. top: 0px;
  386. left: 0px;
  387. width: 40px;
  388. height: 40px;
  389. margin-top: -23px;
  390. /*图片高度的一半*/
  391. margin-left: -23px;
  392. pointer-events: none;
  393. visibility: hidden;
  394. opacity: 0;
  395. -webkit-transition: visibility 0s 0.2s, opacity 0.2s ease-in;
  396. -moz-transition: visibility 0s 0.2s, opacity 0.2s ease-in;
  397. transition: visibility 0s 0.2s, opacity 0.2s ease-in;
  398. }
  399. .mars3d-mousedownview-img {
  400. width: 36px;
  401. height: 36px;
  402. background-image: url(./img/cursor.png);
  403. background-size: 100% 100%;
  404. }
  405. .mars3d-mousedownview-show {
  406. visibility: visible;
  407. opacity: 1;
  408. -webkit-transition: opacity 0.2s ease-out;
  409. -moz-transition: opacity 0.2s ease-out;
  410. transition: opacity 0.2s ease-out;
  411. }
  412. .mars3d-overviewMap {
  413. position: absolute;
  414. user-select: none;
  415. width: 200px;
  416. height: 150px;
  417. overflow: hidden;
  418. border: 1px solid orange;
  419. box-shadow: 2px 2px 3px #2b2b2b;
  420. }
  421. .mar3d-toolButton {
  422. cursor: pointer;
  423. }
  424. .mar3d-toolButton img,
  425. .mar3d-toolButton svg,
  426. .mar3d-toolButton div {
  427. height: 100%;
  428. text-align: center;
  429. }
  430. /**内置的DivGraphic通用样式【文本动态边框】*/
  431. .mars3d-divBoderLabel {
  432. position: absolute;
  433. left: 0px;
  434. bottom: 0px;
  435. cursor: pointer;
  436. --animation-name: mars3d-divBoderLabel-animation;
  437. --text-left-position: -75px;
  438. }
  439. @keyframes mars3d-divBoderLabel-animation {
  440. 0%,
  441. 100% {
  442. clip: rect(0px, var(--clip-width-1), 2px, 0px);
  443. }
  444. 25% {
  445. clip: rect(0px, 2px, var(--clip-height-1), 0px);
  446. }
  447. 50% {
  448. clip: rect(var(--clip-height-2), var(--clip-width-1), var(--clip-width-1), 0px);
  449. }
  450. 75% {
  451. clip: rect(0px, var(--clip-width-1), var(--clip-height-1), var(--clip-width-2));
  452. }
  453. }
  454. .mars3d-divBoderLabel-boder {
  455. width: var(--boder-width);
  456. height: var(--boder-height);
  457. margin: auto;
  458. color: var(--border-color);
  459. box-shadow: inset 0 0 0 1px var(--box-shadow-color);
  460. }
  461. .mars3d-divBoderLabel-text {
  462. color: var(--text-color);
  463. font-size: var(--text-font-size);
  464. display: flex;
  465. width: 100%;
  466. height: 100%;
  467. align-items: center;
  468. justify-content: center;
  469. font-weight: bolder;
  470. user-select: none;
  471. cursor: pointer;
  472. }
  473. .mars3d-divBoderLabel-boder,
  474. .mars3d-divBoderLabel-boder::before,
  475. .mars3d-divBoderLabel-boder::after {
  476. position: absolute;
  477. top: 0;
  478. bottom: 0;
  479. left: 0;
  480. right: 0;
  481. }
  482. .mars3d-divBoderLabel-boder::before,
  483. .mars3d-divBoderLabel-boder::after {
  484. content: "";
  485. margin: -5%;
  486. box-shadow: inset 0 0 0 2px;
  487. animation: var(--animation-name) 8s linear infinite;
  488. }
  489. .mars3d-divBoderLabel-boder::before {
  490. animation-delay: -4s;
  491. }
  492. .mars3d-divGraphic {
  493. position: absolute;
  494. left: 0;
  495. top: 0;
  496. -webkit-user-select: none;
  497. -moz-user-select: none;
  498. -ms-user-select: none;
  499. user-select: none;
  500. }
  501. .mars3d-divGraphic-edit {
  502. background-color: rgba(254, 87, 161, 0.1);
  503. border: 2px dashed rgba(172, 85, 59, 0.768);
  504. -webkit-border-radius: 2px;
  505. border-radius: 2px;
  506. margin: -2px;
  507. box-sizing: content-box;
  508. }
  509. .mars3d-animation-point,
  510. .mars3d-animation-point:after,
  511. .mars3d-animation-point:before,
  512. .mars3d-animation-point p,
  513. .mars3d-animation-point p:after,
  514. .mars3d-animation-point p:before {
  515. margin: 0;
  516. padding: 0;
  517. -webkit-box-sizing: border-box;
  518. -moz-box-sizing: border-box;
  519. -o-box-sizing: border-box;
  520. -ms-box-sizing: border-box;
  521. box-sizing: border-box;
  522. }
  523. .mars3d-animation-point {
  524. width: 10px;
  525. height: 10px;
  526. border-radius: 50%;
  527. border: 1px solid hsla(0, 0%, 100%, 0.5);
  528. cursor: pointer;
  529. color: #0ff;
  530. background: currentColor;
  531. z-index: 3;
  532. left: 50%;
  533. top: 50%;
  534. -webkit-transform: translate(-50%, -50%);
  535. -moz-transform: translate(-50%, -50%);
  536. -o-transform: translate(-50%, -50%);
  537. -ms-transform: translate(-50%, -50%);
  538. transform: translate(-50%, -50%);
  539. box-shadow: 0 0 2em currentColor, 0 0 0.5em currentColor;
  540. position: absolute;
  541. }
  542. .mars3d-animation-point .mars3d-animation-point-lbl {
  543. position: absolute;
  544. transform: translate(-50%, -120%);
  545. left: 50%;
  546. font-size: 16px;
  547. width: fit-content;
  548. white-space: nowrap;
  549. }
  550. .mars3d-animation-point p {
  551. position: absolute;
  552. left: 50%;
  553. top: 50%;
  554. width: 0;
  555. height: 0;
  556. border-radius: 50%;
  557. -webkit-transform: translate(-50%, -50%);
  558. -moz-transform: translate(-50%, -50%);
  559. -o-transform: translate(-50%, -50%);
  560. -ms-transform: translate(-50%, -50%);
  561. transform: translate(-50%, -50%);
  562. -webkit-animation: mars3d-animation-point-mapAni 2s ease infinite;
  563. -moz-animation: mars3d-animation-point-mapAni 2s ease infinite;
  564. -o-animation: mars3d-animation-point-mapAni 2s ease infinite;
  565. -ms-animation: mars3d-animation-point-mapAni 2s ease infinite;
  566. animation: mars3d-animation-point-mapAni 2s ease infinite;
  567. }
  568. .mars3d-animation-point .mapError {
  569. color: red;
  570. }
  571. .mars3d-animation-point .mapWarn {
  572. color: #b5a603;
  573. }
  574. .mars3d-animation-point .mapSuccess {
  575. color: #239233;
  576. }
  577. .mars3d-animation-point .mapOrange {
  578. color: #8c4d34;
  579. }
  580. .mars3d-animation-point:after,
  581. .mars3d-animation-point:before,
  582. .mars3d-animation-point p:after,
  583. .mars3d-animation-point p:before {
  584. content: "";
  585. position: absolute;
  586. width: 100%;
  587. height: 100%;
  588. left: 50%;
  589. top: 50%;
  590. border-radius: 50%;
  591. -webkit-transform: translate(-50%, -50%);
  592. -moz-transform: translate(-50%, -50%);
  593. -o-transform: translate(-50%, -50%);
  594. -ms-transform: translate(-50%, -50%);
  595. transform: translate(-50%, -50%);
  596. }
  597. .mars3d-animation-point:after,
  598. .mars3d-animation-point:before {
  599. border: 1px solid;
  600. -webkit-animation: mars3d-animation-point-mapAni 1s ease infinite;
  601. -moz-animation: mars3d-animation-point-mapAni 1s ease infinite;
  602. -o-animation: mars3d-animation-point-mapAni 1s ease infinite;
  603. -ms-animation: mars3d-animation-point-mapAni 1s ease infinite;
  604. animation: mars3d-animation-point-mapAni 1s ease infinite;
  605. }
  606. .mars3d-animation-point p:before {
  607. border: 1px solid;
  608. }
  609. @-webkit-keyframes mars3d-animation-point-mapAni {
  610. 0% {
  611. width: 0;
  612. height: 0;
  613. opacity: 1;
  614. filter: alpha(opacity=1);
  615. }
  616. 25% {
  617. width: 120%;
  618. height: 120%;
  619. opacity: 0.7;
  620. filter: alpha(opacity=70);
  621. }
  622. 50% {
  623. width: 200%;
  624. height: 200%;
  625. opacity: 0.5;
  626. filter: alpha(opacity=50);
  627. }
  628. 75% {
  629. width: 300%;
  630. height: 300%;
  631. opacity: 0.2;
  632. filter: alpha(opacity=20);
  633. }
  634. to {
  635. width: 400%;
  636. height: 400%;
  637. opacity: 0;
  638. filter: alpha(opacity=0);
  639. }
  640. }
  641. @-moz-keyframes mars3d-animation-point-mapAni {
  642. 0% {
  643. width: 0;
  644. height: 0;
  645. opacity: 1;
  646. filter: alpha(opacity=1);
  647. }
  648. 25% {
  649. width: 120%;
  650. height: 120%;
  651. opacity: 0.7;
  652. filter: alpha(opacity=70);
  653. }
  654. 50% {
  655. width: 200%;
  656. height: 200%;
  657. opacity: 0.5;
  658. filter: alpha(opacity=50);
  659. }
  660. 75% {
  661. width: 300%;
  662. height: 300%;
  663. opacity: 0.2;
  664. filter: alpha(opacity=20);
  665. }
  666. to {
  667. width: 400%;
  668. height: 400%;
  669. opacity: 0;
  670. filter: alpha(opacity=0);
  671. }
  672. }
  673. @-o-keyframes mars3d-animation-point-mapAni {
  674. 0% {
  675. width: 0;
  676. height: 0;
  677. opacity: 1;
  678. filter: alpha(opacity=1);
  679. }
  680. 25% {
  681. width: 120%;
  682. height: 120%;
  683. opacity: 0.7;
  684. filter: alpha(opacity=70);
  685. }
  686. 50% {
  687. width: 200%;
  688. height: 200%;
  689. opacity: 0.5;
  690. filter: alpha(opacity=50);
  691. }
  692. 75% {
  693. width: 300%;
  694. height: 300%;
  695. opacity: 0.2;
  696. filter: alpha(opacity=20);
  697. }
  698. to {
  699. width: 400%;
  700. height: 400%;
  701. opacity: 0;
  702. filter: alpha(opacity=0);
  703. }
  704. }
  705. @-ms-keyframes mars3d-animation-point-mapAni {
  706. 0% {
  707. width: 0;
  708. height: 0;
  709. opacity: 1;
  710. filter: alpha(opacity=1);
  711. }
  712. 25% {
  713. width: 120%;
  714. height: 120%;
  715. opacity: 0.7;
  716. filter: alpha(opacity=70);
  717. }
  718. 50% {
  719. width: 200%;
  720. height: 200%;
  721. opacity: 0.5;
  722. filter: alpha(opacity=50);
  723. }
  724. 75% {
  725. width: 300%;
  726. height: 300%;
  727. opacity: 0.2;
  728. filter: alpha(opacity=20);
  729. }
  730. to {
  731. width: 400%;
  732. height: 400%;
  733. opacity: 0;
  734. filter: alpha(opacity=0);
  735. }
  736. }
  737. @keyframes mars3d-animation-point-mapAni {
  738. 0% {
  739. width: 0;
  740. height: 0;
  741. opacity: 1;
  742. filter: alpha(opacity=1);
  743. }
  744. 25% {
  745. width: 120%;
  746. height: 120%;
  747. opacity: 0.7;
  748. filter: alpha(opacity=70);
  749. }
  750. 50% {
  751. width: 200%;
  752. height: 200%;
  753. opacity: 0.5;
  754. filter: alpha(opacity=50);
  755. }
  756. 75% {
  757. width: 300%;
  758. height: 300%;
  759. opacity: 0.2;
  760. filter: alpha(opacity=20);
  761. }
  762. to {
  763. width: 400%;
  764. height: 400%;
  765. opacity: 0;
  766. filter: alpha(opacity=0);
  767. }
  768. }
  769. .mars3d-divUpLabel {
  770. text-align: center;
  771. background: transparent;
  772. color: white;
  773. display: block;
  774. box-sizing: border-box;
  775. animation-duration: 1s;
  776. animation-fill-mode: both;
  777. animation-name: mars3d-divUpLabel-tinUpIn;
  778. }
  779. .mars3d-divUpLabel-text {
  780. writing-mode: vertical-lr;
  781. font-size: 16px;
  782. letter-spacing: 4px;
  783. }
  784. .mars3d-divUpLabel-line {
  785. display: block;
  786. height: 100px;
  787. width: 1.5px;
  788. margin-left: calc(50% - 1px);
  789. margin-top: 3px;
  790. background-color: white;
  791. }
  792. @keyframes mars3d-divUpLabel-tinUpIn {
  793. 0% {
  794. opacity: 0;
  795. transform: scale(1, 1) translateY(-900%);
  796. }
  797. 50%,
  798. 70%,
  799. 90% {
  800. opacity: 1;
  801. transform: scale(1.1, 1.1) translateY(0);
  802. }
  803. 100%,
  804. 60%,
  805. 80% {
  806. opacity: 1;
  807. transform: scale(1, 1) translateY(0);
  808. }
  809. }
  810. /*****popup弹出框样式******/
  811. /*白色字体,如果黑色改为:#2b2929;*/
  812. /*黑色背景,如果白色改为:rgba(255,255,255,0.85);*/
  813. .mars3d-popup {
  814. -webkit-user-select: auto;
  815. -moz-user-select: auto;
  816. -ms-user-select: auto;
  817. user-select: auto;
  818. }
  819. .mars3d-popup-close-button {
  820. position: absolute;
  821. top: 0;
  822. right: 0;
  823. padding: 4px 4px 0 0;
  824. text-align: center;
  825. width: 20px;
  826. height: 20px;
  827. font: 16px/14px Tahoma, Verdana, sans-serif;
  828. text-decoration: none;
  829. font-weight: bold;
  830. background: transparent;
  831. z-index: 20170825;
  832. cursor: pointer;
  833. }
  834. .mars3d-popup-content-wrapper {
  835. text-align: center;
  836. box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
  837. padding: 1px;
  838. text-align: left;
  839. border-radius: 3px;
  840. }
  841. .mars3d-popup-content {
  842. margin: 10px;
  843. line-height: 1.4;
  844. font-size: 13px;
  845. max-width: 700px;
  846. min-width: 50px;
  847. max-height: 550px;
  848. overflow-y: auto;
  849. }
  850. .mars3d-popup-tip-container {
  851. margin: 0 auto;
  852. width: 40px;
  853. height: 20px;
  854. position: relative;
  855. overflow: hidden;
  856. }
  857. .mars3d-popup-tip {
  858. box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
  859. width: 17px;
  860. height: 17px;
  861. padding: 1px;
  862. margin: -10px auto 0;
  863. -webkit-transform: rotate(45deg);
  864. -moz-transform: rotate(45deg);
  865. -ms-transform: rotate(45deg);
  866. -o-transform: rotate(45deg);
  867. transform: rotate(45deg);
  868. }
  869. .mars3d-popup-scrolled {
  870. overflow: auto;
  871. border-bottom: 1px solid #ddd;
  872. border-top: 1px solid #ddd;
  873. }
  874. .mars3d-popup-color {
  875. color: #ffffff;
  876. }
  877. .mars3d-popup-background {
  878. background: rgba(63, 72, 84, 0.9);
  879. }
  880. .mars3d-popup-animation {
  881. animation-duration: 0.3s;
  882. animation-fill-mode: both;
  883. animation-name: mars3d-popup-swashIn;
  884. }
  885. @keyframes mars3d-popup-swashIn {
  886. 0% {
  887. opacity: 0;
  888. transform-origin: 50% 50%;
  889. transform: scale(0, 0);
  890. }
  891. 90% {
  892. opacity: 1;
  893. transform-origin: 50% 50%;
  894. transform: scale(0.9, 0.9);
  895. }
  896. 100% {
  897. opacity: 1;
  898. transform-origin: 50% 50%;
  899. transform: scale(1, 1);
  900. }
  901. }
  902. .mars3d-popup-btn {
  903. padding: 3px 10px;
  904. border: 1px solid #209ffd;
  905. background: #209ffd1c;
  906. }
  907. /* all 中的html样式 */
  908. .mars3d-template-titile {
  909. border-radius: 3px 0 0 3px;
  910. padding: 0 80px 0 10px;
  911. height: 40px;
  912. line-height: 40px;
  913. font-size: 16px;
  914. color: #ffffff;
  915. border-bottom: 1px solid #616161;
  916. overflow: hidden;
  917. }
  918. .mars3d-template-content {
  919. min-width: 150px;
  920. margin-top: 12px;
  921. font-size: 14px;
  922. max-height: 490px;
  923. overflow-y: auto;
  924. }
  925. .mars3d-template-content > div {
  926. margin-top: 5px;
  927. }
  928. .mars3d-template-content label {
  929. margin: 0 10px;
  930. min-width: 55px;
  931. float: left;
  932. }
  933. .mars3d-template-content input {
  934. color: #ffffff;
  935. background-color: transparent;
  936. padding: 4px 5px;
  937. border-width: 1px;
  938. border-style: solid;
  939. }
  940. .mars3d-template-content textarea {
  941. color: #ffffff;
  942. background-color: transparent;
  943. padding: 4px 5px;
  944. border-width: 1px;
  945. border-style: solid;
  946. height: 60px;
  947. resize: none;
  948. }
  949. /*****tooltip弹出框样式******/
  950. /*白色字体,如果黑色改为:#2b2929;*/
  951. /*黑色背景,如果白色改为:rgba(255,255,255,0.85);*/
  952. .mars3d-tooltip {
  953. padding: 6px;
  954. background: rgba(63, 72, 84, 0.9);
  955. border: 1px solid rgba(63, 72, 84, 0.9);
  956. border-radius: 3px;
  957. color: #ffffff;
  958. white-space: nowrap;
  959. -webkit-user-select: none;
  960. -moz-user-select: none;
  961. -ms-user-select: none;
  962. user-select: none;
  963. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  964. max-width: 700px;
  965. min-width: 50px;
  966. max-height: 550px;
  967. }
  968. .mars3d-tooltip-top:before,
  969. .mars3d-tooltip-bottom:before,
  970. .mars3d-tooltip-left:before,
  971. .mars3d-tooltip-right:before {
  972. position: absolute;
  973. pointer-events: none;
  974. border: 6px solid transparent;
  975. background: transparent;
  976. content: "";
  977. }
  978. /* Directions */
  979. .mars3d-tooltip-bottom {
  980. margin-top: 6px;
  981. }
  982. .mars3d-tooltip-top {
  983. margin-top: -6px;
  984. }
  985. .mars3d-tooltip-bottom:before,
  986. .mars3d-tooltip-top:before {
  987. left: 50%;
  988. margin-left: -6px;
  989. }
  990. .mars3d-tooltip-top:before {
  991. bottom: 0;
  992. margin-bottom: -12px;
  993. border-top-color: rgba(63, 72, 84, 0.9);
  994. }
  995. .mars3d-tooltip-bottom:before {
  996. top: 0;
  997. margin-top: -6px;
  998. margin-left: -6px;
  999. border-bottom-color: rgba(63, 72, 84, 0.9);
  1000. }
  1001. .mars3d-tooltip-left {
  1002. margin-left: -6px;
  1003. }
  1004. .mars3d-tooltip-right {
  1005. margin-left: 6px;
  1006. }
  1007. .mars3d-tooltip-left:before,
  1008. .mars3d-tooltip-right:before {
  1009. top: 50%;
  1010. margin-top: -6px;
  1011. }
  1012. .mars3d-tooltip-left:before {
  1013. right: 0;
  1014. margin-right: -12px;
  1015. border-left-color: rgba(63, 72, 84, 0.9);
  1016. }
  1017. .mars3d-tooltip-right:before {
  1018. left: 0;
  1019. margin-left: -6px;
  1020. border-right-color: rgba(63, 72, 84, 0.9);
  1021. }
  1022. .mars3d-widgetbar {
  1023. margin: 0 auto;
  1024. position: absolute;
  1025. bottom: 30px;
  1026. left: 20%;
  1027. width: 60%;
  1028. height: auto;
  1029. z-index: 1987;
  1030. }
  1031. .mars3d-widgetbar .fa {
  1032. margin-right: 5px;
  1033. }