potree.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878
  1. /* CSS - Cascading Style Sheet */
  2. /* Palette color codes */
  3. /* Palette URL: http://paletton.com/#uid=13p0u0kex8W2uqu8af7lEqaulDE */
  4. /* Feel free to copy&paste color codes to your application */
  5. /* As hex codes */
  6. .color-primary-0 { color: #19282C } /* Main Primary color */
  7. .color-primary-1 { color: #7A8184 }
  8. .color-primary-2 { color: #39474B }
  9. .color-primary-3 { color: #2D6D82 }
  10. .color-primary-4 { color: #108FB9 }
  11. /* As RGBa codes */
  12. .rgba-primary-0 { color: rgba( 25, 40, 44,1) } /* Main Primary color */
  13. .rgba-primary-1 { color: rgba(122,129,132,1) }
  14. .rgba-primary-2 { color: rgba( 57, 71, 75,1) }
  15. .rgba-primary-3 { color: rgba( 45,109,130,1) }
  16. .rgba-primary-4 { color: rgba( 16,143,185,1) }
  17. /* Generated by Paletton.com © 2002-2014 */
  18. /* http://paletton.com */
  19. :root{
  20. --color-0: rgba( 25, 40, 44, 1);
  21. --color-1: rgba(122,129,132, 1);
  22. --color-2: rgba( 57, 71, 75, 1);
  23. --color-3: rgba( 45,109,130, 1);
  24. --color-4: rgba( 16,143,185, 1);
  25. --bg-color: var(--color-0);
  26. --bg-color-2: rgb(60, 80, 85);
  27. --bg-light-color: rgba( 48, 61, 65, 1);
  28. --bg-dark-color: rgba( 24, 31, 33, 1);
  29. --bg-hover-color: var(--color-2);
  30. --font-color: #9AA1A4;
  31. --font-color-2: #ddd;
  32. --font-color: #cccccc;
  33. --border-color: black;
  34. --measurement-detail-node-bg-light: var(--color-1);
  35. --measurement-detail-node-bg-dark: var(--color-2);
  36. --measurement-detail-area-bg-color: #eee;
  37. }
  38. #potree_sidebar_container{
  39. position: absolute;
  40. z-index: 0;
  41. width: 350px;
  42. height: 100%;
  43. overflow-y: scroll;
  44. font-size: 85%;
  45. border-right: 1px solid black;
  46. background-color: var(--bg-color);
  47. }
  48. #sidebar_root{
  49. color: var(--font-color);
  50. font-family: Arial,Helvetica,sans-serif;
  51. font-size: 1em;
  52. }
  53. .potree_failpage{
  54. width: 100%;
  55. height: 100%;
  56. background-color: white;
  57. position: absolute;
  58. margin: 15px;
  59. }
  60. .potree_failpage a{
  61. color: initial !important;
  62. text-decoration: underline !important;
  63. }
  64. .potree_info_text{
  65. color: white;
  66. font-weight: bold;
  67. text-shadow: 1px 1px 1px black,
  68. 1px -1px 1px black,
  69. -1px 1px 1px black,
  70. -1px -1px 1px black;
  71. }
  72. .potree_message{
  73. width: 500px;
  74. background-color: var(--bg-color);
  75. padding: 5px;
  76. margin: 5px;
  77. border-radius: 4px;
  78. color: var(--font-color);
  79. font-family: Arial;
  80. opacity: 0.8;
  81. border: 1px solid black;
  82. display: flex;
  83. overflow: auto;
  84. }
  85. .potree_message_error{
  86. background-color: red;
  87. }
  88. #potree_description{
  89. position: absolute;
  90. top: 10px;
  91. left: 50%;
  92. transform: translateX(-50%);
  93. text-align: center;
  94. z-index: 1000;
  95. }
  96. .potree_sidebar_brand{
  97. margin: 1px 20px;
  98. line-height: 2em;
  99. font-size: 100%;
  100. font-weight: bold;
  101. position: relative;
  102. display: flex;
  103. flex-direction: row;
  104. }
  105. #potree_sidebar_container a{
  106. color: #8Aa1c4;
  107. }
  108. #potree_quick_buttons{
  109. position: absolute;
  110. left: 4px;
  111. top: 4px;
  112. width: 10px;
  113. height: 10px;
  114. z-index: 10000;
  115. float: left;
  116. }
  117. .potree_menu_toggle{
  118. float: left;
  119. margin: 0;
  120. background: none;
  121. width: 2.5em;
  122. height: 2.5em;
  123. z-index: 100;
  124. cursor: pointer;
  125. margin: 4px;
  126. }
  127. #potree_map_toggle{
  128. float: left;
  129. margin: 0;
  130. background: none;
  131. width: 2.5em;
  132. height: 2.5em;
  133. z-index: 100;
  134. cursor: pointer;
  135. margin: 4px;
  136. }
  137. #potree_render_area{
  138. position: absolute;
  139. /*background: linear-gradient(-90deg, red, yellow);*/
  140. top: 0px;
  141. bottom: 0px;
  142. left: 0px;
  143. right: 0px;
  144. overflow: hidden;
  145. z-index: 1;
  146. -webkit-transition: left .35s;
  147. transition: left .35s;
  148. }
  149. .potree-panel {
  150. border: 1px solid black;
  151. border-radius: 0.4em;
  152. padding: 0px;
  153. background-color: var(--bg-light-color);
  154. }
  155. .potree-panel-heading{
  156. background-color: var(--bg-dark-color);
  157. }
  158. /* a:hover, a:visited, a:link, a:active{
  159. color: #ccccff;
  160. text-decoration: none;
  161. } */
  162. .annotation{
  163. position: absolute;
  164. padding: 10px;
  165. opacity: 0.5;
  166. transform: translate(-50%, -30px);
  167. will-change: left, top;
  168. }
  169. .annotation-titlebar{
  170. color: white;
  171. background-color: black;
  172. border-radius: 1.5em;
  173. border: 1px solid rgba(255, 255, 255, 0.7);
  174. font-size: 1em;
  175. opacity: 1;
  176. margin: auto;
  177. display: table;
  178. padding: 1px 8px;
  179. cursor: pointer;
  180. }
  181. .annotation-expand{
  182. color: white;
  183. font-size: 0.6em;
  184. opacity: 1;
  185. }
  186. .annotation-action-icon{
  187. width: 20px;
  188. height: 20px;
  189. display: inline-block;
  190. vertical-align: middle;
  191. line-height: 1.5em;
  192. text-align: center;
  193. font-family: Arial;
  194. font-weight: bold;
  195. cursor: pointer;
  196. }
  197. .annotation-action-icon:hover{
  198. filter: drop-shadow(0px 0px 1px white);
  199. width: 24px;
  200. height: 24px;
  201. cursor: pointer;
  202. }
  203. .annotation-item {
  204. color: white;
  205. background-color: black;
  206. opacity: 0.5;
  207. border-radius: 1.5em;
  208. font-size: 1em;
  209. line-height: 1.5em;
  210. padding: 1px 8px 0px 8px;
  211. font-weight: bold;
  212. display: flex;
  213. cursor: default;
  214. }
  215. .annotation-item:hover {
  216. opacity: 1.0;
  217. box-shadow: 0 0 5px #ffffff;
  218. }
  219. .annotation-main{
  220. display: flex;
  221. flex-grow: 1;
  222. }
  223. .annotation-label{
  224. display: inline-block;
  225. height: 100%;
  226. flex-grow: 1;
  227. user-select: none;
  228. -moz-user-select: none;
  229. z-index: 100;
  230. vertical-align: middle;
  231. line-height: 1.5em;
  232. font-family: Arial;
  233. font-weight: bold;
  234. cursor: pointer;
  235. white-space: nowrap;
  236. }
  237. .annotation-description{
  238. position: relative;
  239. color: white;
  240. background-color: black;
  241. padding: 10px;
  242. margin: 5px 0px 0px 0px;
  243. border-radius: 4px;
  244. display: none;
  245. max-width: 500px;
  246. width: 500px;
  247. }
  248. .annotation-description-close{
  249. filter: invert(100%);
  250. float: right;
  251. opacity: 0.5;
  252. margin: 0px 0px 8px 8px;
  253. }
  254. .annotation-description-content{
  255. color: white;
  256. }
  257. .annotation-icon{
  258. width: 20px;
  259. height: 20px;
  260. filter: invert(100%);
  261. margin: 2px 2px;
  262. opacity: 0.5;
  263. }
  264. canvas {
  265. width: 100%;
  266. height: 100%
  267. }
  268. body{
  269. margin: 0;
  270. padding: 0;
  271. position: absolute;
  272. width: 100%;
  273. height: 100%;
  274. overflow: hidden;
  275. }
  276. .axis {
  277. font: 10px sans-serif;
  278. color: var(--font-color);
  279. }
  280. .axis path{
  281. fill: rgba(255, 255, 255, 0.5);
  282. stroke: var(--font-color);
  283. shape-rendering: crispEdges;
  284. opacity: 0.7;
  285. }
  286. .axis line {
  287. fill: rgba(255, 255, 255, 0.5);
  288. stroke: var(--font-color);
  289. shape-rendering: crispEdges;
  290. opacity: 0.1;
  291. }
  292. .tick text{
  293. font-size: 12px;
  294. }
  295. .scene_header{
  296. display:flex;
  297. cursor: pointer;
  298. padding: 2px;
  299. }
  300. .scene_content{
  301. padding: 5px 0px 5px 0px;
  302. /*background-color: rgba(0, 0, 0, 0.4);*/
  303. }
  304. .measurement_content{
  305. padding: 5px 15px 5px 10px;
  306. /*background-color: rgba(0, 0, 0, 0.4);*/
  307. }
  308. .propertypanel_content{
  309. padding: 5px 15px 5px 10px;
  310. /*background-color: rgba(0, 0, 0, 0.4);*/
  311. }
  312. .measurement_value_table{
  313. width: 100%;
  314. }
  315. .coordinates_table_container table td {
  316. width: 33%;
  317. text-align: center;
  318. }
  319. #scene_object_properties{
  320. margin: 0px;
  321. }
  322. .pv-panel-heading{
  323. padding: 4px !important;
  324. display: flex;
  325. flex-direction: row
  326. }
  327. .pv-menu-list{
  328. list-style-type: none;
  329. padding: 0;
  330. margin: 15px 0px;
  331. overflow: hidden;
  332. }
  333. .pv-menu-list > *{
  334. margin: 4px 20px;
  335. }
  336. .ui-slider {
  337. margin-top: 5px;
  338. margin-bottom: 10px;
  339. background-color: var(--color-1) !important;
  340. background: none;
  341. border: 1px solid black;
  342. }
  343. .ui-selectmenu-button.ui-button{
  344. width: 100% !important;
  345. }
  346. .pv-menu-list > li > .ui-slider{
  347. background-color: var(--color-1) !important;
  348. background: none;
  349. border: 1px solid black;
  350. }
  351. .pv-menu-list .ui-slider{
  352. background-color: var(--color-1) !important;
  353. background: none;
  354. border: 1px solid black !important;
  355. }
  356. .ui-slider-handle{
  357. border: 1px solid black !important;
  358. }
  359. .ui-widget{
  360. box-sizing:border-box
  361. }
  362. .panel-body > li > .ui-slider{
  363. background-color: var(--color-1) !important;
  364. background: none;
  365. border: 1px solid black;
  366. }
  367. .panel-body > div > li > .ui-slider{
  368. background-color: var(--color-1) !important;
  369. background: none;
  370. border: 1px solid black;
  371. }
  372. .pv-select-label{
  373. margin: 1px;
  374. font-size: 90%;
  375. font-weight: 100;
  376. }
  377. .button-icon:hover{
  378. /*background-color: #09181C;*/
  379. filter: drop-shadow(0px 0px 4px white);
  380. }
  381. .ui-widget-content{
  382. /*color: var(--font-color) !important;*/
  383. }
  384. .accordion > h3{
  385. background-color: var(--bg-color-2) !important;
  386. background: #f6f6f6 50% 50% repeat-x;
  387. border: 1px solid black;
  388. color: var(--font-color-2);
  389. cursor: pointer;
  390. margin: 2px 0 0 0;
  391. padding: 4px 10px 4px 30px;
  392. box-shadow: 0px 3px 3px #111;
  393. text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  394. font-size: 1em;
  395. }
  396. .accordion > h3:hover{
  397. filter: brightness(125%);
  398. }
  399. .accordion-content{
  400. padding: 0px 0px !important;
  401. border: none !important;
  402. }
  403. .icon-bar{
  404. height: 4px !important;
  405. border: 1px solid black;
  406. background-color: white;
  407. border-radius: 2px;
  408. }
  409. .canvas{
  410. -webkit-transition: top .35s, left .35s, bottom .35s, right .35s, width .35s;
  411. transition: top .35s, left .35s, bottom .35s, right .35s, width .35s;
  412. }
  413. #profile_window{
  414. background-color: var(--bg-color);
  415. }
  416. #profile_titlebar{
  417. background-color: var(--bg-color-2);
  418. color: var(--font-color-2);
  419. text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  420. font-size: 1em;
  421. font-weight: bold;
  422. }
  423. #profile_window_title{
  424. position: absolute;
  425. margin: 5px;
  426. }
  427. .profile-container-button{
  428. cursor: pointer;
  429. }
  430. .profile-button:hover{
  431. background-color: #0000CC;
  432. }
  433. .unselectable{
  434. user-select: none;
  435. }
  436. .selectable{
  437. user-select: text;
  438. }
  439. .divider {
  440. display: block;
  441. text-align: center;
  442. overflow: hidden;
  443. white-space: nowrap;
  444. font-weight: bold;
  445. font-size: 90%;
  446. letter-spacing: 1px;
  447. margin-left: 0px;
  448. margin-right: 0px;
  449. margin-top: 1px;
  450. margin-bottom: 1px;
  451. padding: 1px !important;
  452. }
  453. .divider > span {
  454. position: relative;
  455. display: inline-block;
  456. }
  457. .divider > span:before,
  458. .divider > span:after {
  459. content: "";
  460. position: absolute;
  461. top: 50%;
  462. width: 9999px;
  463. height: 1px;
  464. background: #b2b2b2;
  465. }
  466. .divider > span:before {
  467. right: 100%;
  468. margin-right: 5px;
  469. }
  470. .divider > span:after {
  471. left: 100%;
  472. margin-left: 5px;
  473. }
  474. .ol-dragbox {
  475. background-color: rgba(255,255,255,0.4);
  476. border-color: rgba(100,150,0,1);
  477. border: 1px solid red;
  478. }
  479. .text-icon{
  480. opacity: 0.5;
  481. height: 24px;
  482. }
  483. .text-icon:hover{
  484. opacity: 1.0;
  485. }
  486. .input-grid-cell{
  487. flex-grow: 1; margin: 0px 3px 0px 3px;
  488. }
  489. .input-grid-label{
  490. flex-grow: 1;
  491. margin: 0px 3px 0px 3px;
  492. text-align:center;
  493. font-weight: bold;
  494. }
  495. .input-grid-cell > input{
  496. width: 100%
  497. }
  498. .invalid_value{
  499. color: #e05e5e;
  500. }
  501. /**
  502. * OVERRIDES
  503. */
  504. .ui-spinner-input{
  505. color: black;
  506. }
  507. .jstree-themeicon-custom{
  508. background-size: 16px !important;
  509. }
  510. .jstree-default .jstree-clicked{
  511. /*background-color: #ffffff !important;*/
  512. background-color: #34494f !important;
  513. }
  514. .jstree-default .jstree-hovered{
  515. background-color: #34494f !important;
  516. }
  517. .jstree-anchor{
  518. width: 100% !important;
  519. }
  520. .ui-state-default{
  521. background: #a6a9aa !important;
  522. border: 1px solid black;
  523. color: black;
  524. }
  525. .ui-state-active{
  526. background: #c6c9ca !important;
  527. color: black !important;
  528. }
  529. .cesium-viewer .cesium-viewer-cesiumWidgetContainer{
  530. position: absolute;
  531. height: 100%;
  532. width: 100%;
  533. }
  534. .zs_widget{
  535. padding: 2px;
  536. height: 4em;
  537. user-select: none;
  538. }
  539. .zs_core{
  540. overflow: hidden;
  541. position: relative;
  542. height: 100%;
  543. }
  544. .zs_handle{
  545. position: absolute;
  546. top: 0px;
  547. bottom: 0px;
  548. border: 1px solid black;
  549. border-radius: 3px;
  550. background-color: rgb(166, 169, 170);
  551. width: 8px;
  552. user-select: none;
  553. width: 1.2em;
  554. height: 1.2em;
  555. top: calc(50% - 0.6em);
  556. }
  557. .zs_stretch{
  558. position: absolute;
  559. top: 0px;
  560. bottom: 0px;
  561. border: 1px solid black;
  562. border-radius: 3px;
  563. background-color: rgb(166, 169, 170);
  564. width: 8px;
  565. user-select: none;
  566. width: 1.2em;
  567. height: 1.2em;
  568. top: calc(50% - 0.6em);
  569. color: black;
  570. font-weight: bold;
  571. font-size: 1.2em;
  572. font-family: arial;
  573. }
  574. .zs_handle:hover{
  575. background-color: lightgreen;
  576. }
  577. .zs_inside{
  578. position: absolute !important;
  579. width: 100%;
  580. border: 1px solid black;
  581. background-color: white;
  582. top: calc(50% - 0.326em);
  583. height: 0.652em;
  584. cursor: zoom-in;
  585. }
  586. .zs_outside{
  587. position: absolute !important;
  588. width: 100%;
  589. background-color: var(--color-1) !important;
  590. top: calc(50% - 0.326em);
  591. height: 0.652em;
  592. cursor: zoom-in;
  593. }
  594. .zs_visible_range_label{
  595. position: absolute;
  596. bottom: 0px;
  597. pointer-events:none;
  598. }
  599. .zs_visible_range_label_left{
  600. left: 0px;
  601. }
  602. .zs_visible_range_label_right{
  603. right: 0px;
  604. }
  605. .zs_chosen_range_label{
  606. position: absolute;
  607. pointer-events:none;
  608. }
  609. #potree_sidebar_container{
  610. scrollbar-color: var(--color-1) var(--bg-color);
  611. scrollbar-width: thin;
  612. }
  613. ::-webkit-scrollbar {
  614. width: 6px;
  615. background-color: var(--bg-color);
  616. }
  617. ::-webkit-scrollbar-track {
  618. }
  619. ::-webkit-scrollbar-thumb {
  620. background-color: var(--color-1);
  621. }
  622. .propertypanel_content .heading{
  623. font-weight: bold;
  624. padding-top: 0.6em;
  625. padding-bottom: 0.1em;
  626. }
  627. /* ///// 补 //// */
  628. #alignment button{
  629. padding:0 2px;
  630. cursor:pointer;
  631. }
  632. #potree_labels{
  633. position:absolute;
  634. left:0;
  635. right:0;
  636. top:0;
  637. bottom:0;
  638. height:100%;
  639. width:100%;
  640. z-index: 2;
  641. pointer-events:none;
  642. }
  643. #potree_labels>div{
  644. display: block;
  645. position: absolute;
  646. line-height: 22px;
  647. -webkit-transform: translate(-50%,-50%);
  648. transform: translate(-50%,-50%);
  649. text-align: center;
  650. white-space: nowrap;
  651. font-size: 12px;
  652. font-style: normal;
  653. pointer-events: auto;
  654. background-repeat: no-repeat;
  655. background-size: 100% 100%;
  656. background: #02c1add4;
  657. /* border: 1px solid hsla(0,0%,100%,.4); */
  658. color:#fff;
  659. border-radius: 3px;
  660. text-shadow: 0 1px 1px #878787;
  661. padding:3px 10px;
  662. cursor:default;
  663. user-select:none;
  664. }
  665. #potree_labels>div.unvisible{
  666. display:none;
  667. }
  668. #potree_labels >div.measure_pointPos{
  669. -webkit-transform: translate(-50%,calc(-100% - 15px));
  670. transform: translate(-50%,calc(-100% - 15px));
  671. }
  672. #potree_labels >div.sub{
  673. background:#fff; color:#111;
  674. padding:2px 7px; font-size: 10px;
  675. }
  676. #potree_labels >div.measure_area{
  677. }
  678. #potree_labels >div.highLight{
  679. background:#02e4ccf2;
  680. }
  681. #potree_labels >div.measure_length{
  682. }
  683. #mapGaode{
  684. position: absolute;
  685. z-index: 100;
  686. box-sizing: border-box;
  687. width:300px; height:200px;
  688. right:0px;
  689. top:0px;
  690. background:#fff;
  691. }
  692. .hide{
  693. display:none !important;
  694. }