index.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. html, body, #web-bim-scene {
  2. width: 100%;
  3. height: 100%;
  4. margin: 0 0;
  5. border: none;
  6. }
  7. body > canvas {
  8. width: 100%;
  9. height: 100%;
  10. }
  11. @font-face {
  12. font-family: DejaVuSansMono, monospace, sans-serif;
  13. }
  14. * {
  15. font-family: bree serif, sans-serif;
  16. -webkit-font-smoothing: antialiased;
  17. }
  18. svg {
  19. fill: currentColor;
  20. stroke: currentColor;
  21. mask-size: cover;
  22. }
  23. /* 🌱🌱🌱🌱🌱🌱🌱🌱🌱🌱🌱🌱🌱分割 */
  24. .box {
  25. background-color: #ccc;
  26. width: 100%;
  27. position: absolute;
  28. z-index: 3;
  29. top: 0;
  30. left: 0;
  31. }
  32. button.active {
  33. color: #f00;
  34. }
  35. .btnList {
  36. display: inline;
  37. border: 1px solid red;
  38. }
  39. #container {
  40. width: 100%;
  41. height: 100%;
  42. /*background-image: url("/gis/static/images/bg.png");*/
  43. /*background: teal;*/
  44. background-position: center;
  45. background-size: cover;
  46. }
  47. .maplibregl-canvas-container{
  48. cursor: default !important;
  49. }
  50. #actions {
  51. width: 100%;
  52. height: 100%;
  53. background: transparent;
  54. pointer-events: none;
  55. position: absolute;
  56. z-index: 10000;
  57. top: 0;
  58. left: 0;
  59. padding: 5vh 10vw;
  60. display: none;
  61. }
  62. #actions > #scoopSelect{
  63. color: white;
  64. pointer-events: all;
  65. font-size: 1vw;
  66. }
  67. #actions > #scoopSelect > label{
  68. margin-right: 1.5vw;
  69. cursor: pointer;
  70. }
  71. #actions > #scoopSelect > label > input[type=checkbox]{
  72. width: 1vw;
  73. height: 1vw;
  74. position: relative;
  75. cursor: pointer;
  76. vertical-align: -0.125em;
  77. }
  78. #actions > #scoopSelect > label > input[type=checkbox]::after {
  79. position: absolute;
  80. top: 0;
  81. color: #000;
  82. width: 1vw;
  83. height: 1vw;
  84. display: inline-block;
  85. visibility: visible;
  86. padding-left: 0px;
  87. text-align: center;
  88. content: ' ';
  89. border-radius: 3px;
  90. }
  91. #actions > #scoopSelect > label > input[type=checkbox]:checked::after {
  92. content: "✓";
  93. color: #fff;
  94. font-size: 1vw;
  95. line-height: 1vw;
  96. background-color: #42BEAD;
  97. }
  98. /*#actions > * {*/
  99. /* pointer-events: all;*/
  100. /*}*/
  101. .cesium-viewer {
  102. width: 100%;
  103. height: 100%;
  104. }
  105. #prepare {
  106. position: absolute;
  107. width: 100%;
  108. height: 100%;
  109. z-index: 3;
  110. background-color: white;
  111. display: flex;
  112. align-items: flex-start;
  113. justify-content: flex-start;
  114. flex-direction: column;
  115. transition: all 0.2s ease-in-out;
  116. background-image: linear-gradient(to bottom right, #9BBEB5, #37B9E9);
  117. /*background-image: url("./images/bg.png");*/
  118. /*background-repeat: no-repeat;*/
  119. /*background-size: cover;*/
  120. }
  121. #prepare label {
  122. margin-left: 1vw;
  123. }
  124. #prepare img {
  125. position: absolute;
  126. right: 0;
  127. top: 0;
  128. }
  129. #prepare div .finish {
  130. color: teal;
  131. font-weight: bold;
  132. display: none;
  133. }
  134. #prepare .info-panel {
  135. width: 100%;
  136. height: 100%;
  137. position: absolute;
  138. padding: 5vh 5vw;
  139. z-index: 2;
  140. box-sizing: border-box;
  141. display: flex;
  142. flex-direction: column;
  143. align-items: center;
  144. justify-content: flex-end;
  145. padding-bottom: 40vh;
  146. color: #B6B6B6;
  147. }
  148. #prepare .bg-panel {
  149. width: 100%;
  150. height: 100%;
  151. position: absolute;
  152. z-index: 1;
  153. box-sizing: border-box;
  154. }
  155. #canvas-bg {
  156. position: absolute;
  157. z-index: 1;
  158. }
  159. #container * {
  160. /*background-color: transparent !important;*/
  161. }
  162. .isLoading {
  163. animation: ani-demo-spin 1s linear infinite;
  164. }
  165. @keyframes ani-demo-spin {
  166. from {
  167. transform: rotate(0deg);
  168. }
  169. 50% {
  170. transform: rotate(180deg);
  171. }
  172. to {
  173. transform: rotate(360deg);
  174. }
  175. }
  176. #prepare.hide {
  177. animation: fade-out 1s;
  178. display: none;
  179. }
  180. @keyframes fade-out {
  181. 0% {
  182. opacity: 1
  183. }
  184. 100% {
  185. opacity: 0
  186. }
  187. }
  188. .maplibregl-control-container {
  189. /*display: none !important;*/
  190. }
  191. .site-tag-tpl {
  192. position: absolute;
  193. z-index: 1;
  194. top: 0;
  195. left: 0;
  196. height: fit-content;
  197. width: fit-content;
  198. /*background: teal;*/
  199. color: white;
  200. display: flex;
  201. flex-direction: column;
  202. align-items: center;
  203. justify-content: center;
  204. pointer-events: all;
  205. cursor: pointer;
  206. }
  207. .site-tag-tpl{
  208. cursor: default;
  209. }
  210. .site-tag-tpl[clickable=true]{
  211. cursor: pointer;
  212. }
  213. .site-tag-tpl[clickable=true]:hover{
  214. border: 1px solid teal;
  215. background: rgba(1, 9, 21, 0.6);
  216. border-radius: 4px;
  217. padding: 0px 0 0px 0;
  218. }
  219. .site-tag-tpl[rendertype='topLabel'] {
  220. flex-direction: row;
  221. }
  222. .site-tag-tpl[rendertype='topLabel'] .siteDataWrap {
  223. order: 2;
  224. }
  225. .site-tag-tpl[rendertype='topLabel'] .siteLabel {
  226. order: 1;
  227. }
  228. .site-tag-tpl > .siteLabel {
  229. white-space: nowrap;
  230. display: flex;
  231. align-items: center;
  232. justify-content: center;
  233. font-size: 16px;
  234. padding: 6px 8px;
  235. }
  236. .site-tag-tpl > .siteDataWrap {
  237. width: 48px;
  238. height: 40px;
  239. padding: 8px 0 0 0;
  240. display: flex;
  241. flex-direction: row;
  242. overflow: hidden;
  243. align-items: center;
  244. justify-content: space-evenly;
  245. }
  246. .site-tag-tpl > .siteDataWrap > .o {
  247. flex-grow: 1;
  248. width: 100%;
  249. height: 100%;
  250. font-size: 10px;
  251. line-height: 1;
  252. display: flex;
  253. flex-direction: column;
  254. align-items: center;
  255. justify-content: space-around;
  256. }
  257. .site-tag-tpl > .siteDataWrap > .o.mid {
  258. height: 100%;
  259. width: 11px !important;
  260. flex-shrink: 0
  261. }
  262. .site-tag-tpl > .siteDataWrap > .o.mid > img {
  263. height: 100%;
  264. width: 11px;
  265. flex-shrink: 0;
  266. }
  267. .site-tag-tpl > .siteDataWrap > .o > .ct {
  268. height: 10px;
  269. line-height: 10px;
  270. font-size: 9px;
  271. }
  272. .maplibregl-control-container {
  273. display: none !important;
  274. }
  275. .lil-gui {
  276. display: none !important;
  277. }
  278. #siteTag_变配电修试队 .right.o > * {
  279. display: none;
  280. }
  281. #siteTag_电力维修队 .left.o > * {
  282. display: none;
  283. }