index.css 5.5 KB

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