style.css 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. /*
  2. * index页面css
  3. */
  4. * {
  5. -webkit-box-sizing: border-box;
  6. -moz-box-sizing: border-box;
  7. box-sizing: border-box;
  8. }
  9. *:before,
  10. *:after {
  11. -webkit-box-sizing: border-box;
  12. -moz-box-sizing: border-box;
  13. box-sizing: border-box;
  14. }
  15. html,
  16. body {
  17. height: 100%;
  18. width: 100%;
  19. margin: 0;
  20. padding: 0;
  21. border: none;
  22. overflow: hidden;
  23. font-family: "Helvetica Neue", Helvetica, Tahoma, Arial, "Microsoft Yahei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  24. font-size: 14px;
  25. background: #000;
  26. -webkit-overflow-scrolling: touch;
  27. }
  28. body {
  29. position: relative;
  30. overflow-x: hidden;
  31. overflow-y: hidden;
  32. }
  33. input,
  34. button,
  35. select,
  36. textarea {
  37. font-family: inherit;
  38. font-size: inherit;
  39. line-height: inherit;
  40. }
  41. a {
  42. color: #62a8ea;
  43. text-decoration: none;
  44. }
  45. a:hover,
  46. a:focus {
  47. color: #89bceb;
  48. text-decoration: underline;
  49. }
  50. a:focus {
  51. outline: thin dotted;
  52. outline: 5px auto -webkit-focus-ring-color;
  53. outline: none;
  54. outline-offset: -2px;
  55. }
  56. ul,
  57. li {
  58. list-style: none;
  59. }
  60. #centerDiv {
  61. height: 100%;
  62. width: 100%;
  63. margin: 0;
  64. padding: 0;
  65. left: 0;
  66. top: 0;
  67. border: none;
  68. overflow: hidden;
  69. position: relative;
  70. }
  71. .signmask {
  72. height: 100%;
  73. width: 100%;
  74. background: rgba(0, 0, 0, 0.5);
  75. filter: alpha(opacity=50);
  76. position: fixed;
  77. display: block;
  78. z-index: 20180910;
  79. top: 0;
  80. left: 0;
  81. background: rgba(0, 0, 0, 0.5) url("../img/icon-operate.png") center no-repeat;
  82. }
  83. /*dark样式*/
  84. .dark {
  85. color: #ffffff;
  86. }
  87. .dark a {
  88. color: #ffffff;
  89. text-decoration: none;
  90. margin-top: 1px;
  91. margin-right: 2px;
  92. }
  93. .dark a:hover {
  94. color: #cc3300;
  95. text-decoration: underline;
  96. }
  97. .dark .content {
  98. overflow: auto;
  99. position: relative;
  100. background: transparent;
  101. height: 400px;
  102. -webkit-box-sizing: border-box;
  103. -moz-box-sizing: border-box;
  104. box-sizing: border-box;
  105. }
  106. .dark .form-control,
  107. .dark .input-group-addon,
  108. .dark .btn-default,
  109. .dark .dropdown-menu {
  110. color: #ffffff;
  111. background-color: rgba(63, 72, 84, 0.7);
  112. border: none;
  113. }
  114. .dark input {
  115. color: #ffffff;
  116. background-color: rgba(63, 72, 84, 0.7);
  117. border-width: 1px;
  118. }
  119. .dark .btn-info {
  120. background-color: rgba(119, 214, 225, 0.2);
  121. }
  122. .dark .btn-primary {
  123. background-color: rgba(32, 160, 255, 0.2);
  124. }
  125. .dark .btn-danger {
  126. background-color: rgba(255, 109, 109, 0.2);
  127. }
  128. .dark .btn-warning {
  129. background-color: rgba(244, 176, 102, 0.2);
  130. }
  131. .dark .table-hover > tbody > tr:hover {
  132. background-color: rgba(63, 72, 84, 1);
  133. }
  134. .dark .dropdown-menu > li > a {
  135. color: #ffffff;
  136. }
  137. .dark .dropdown-menu > li > a:hover,
  138. .dark .dropdown-menu > li > a:focus {
  139. background-color: #4db3ff;
  140. }
  141. .dark .slider-selection {
  142. background-image: linear-gradient(to bottom, #86b9e6 0, #86b9e6 100%);
  143. }
  144. .dark .mars3d-popup-color {
  145. color: #ffffff;
  146. }
  147. .dark .mars3d-popup-background {
  148. background: rgba(63, 72, 84, 0.9);
  149. }
  150. /*黑色字体 + 白色背景*/
  151. /* .mars3d-popup-color,
  152. .mars-popup-titile {
  153. color: #2b2929;
  154. }
  155. .mars3d-popup-background {
  156. background: rgba(255, 255, 255, 0.85);
  157. } */
  158. /**cesium按钮背景色*/
  159. .cesium-button {
  160. background-color: #3f4854;
  161. color: #e6e6e6;
  162. fill: #e6e6e6;
  163. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  164. line-height: 32px;
  165. }
  166. .cesium-viewer-geocoderContainer .cesium-geocoder-input {
  167. background-color: rgba(63, 72, 84, 0.7);
  168. }
  169. .cesium-viewer-geocoderContainer .cesium-geocoder-input:focus {
  170. background-color: rgba(63, 72, 84, 0.9);
  171. }
  172. .cesium-viewer-geocoderContainer .search-results {
  173. background-color: #3f4854;
  174. }
  175. .cesium-geocoder-searchButton {
  176. background-color: #3f4854;
  177. }
  178. .cesium-infoBox-title {
  179. background-color: #3f4854;
  180. }
  181. .cesium-infoBox {
  182. background: rgba(63, 72, 84, 0.9);
  183. }
  184. .cesium-toolbar-button img {
  185. height: 100%;
  186. }
  187. .cesium-performanceDisplay-defaultContainer {
  188. top: auto;
  189. bottom: 35px;
  190. right: 50px;
  191. }
  192. .cesium-performanceDisplay-ms,
  193. .cesium-performanceDisplay-fps {
  194. color: #fff;
  195. }
  196. /**cesium工具栏位置*/
  197. .cesium-viewer-toolbar {
  198. top: auto;
  199. left: auto;
  200. right: 12px;
  201. bottom: 35px;
  202. }
  203. .cesium-viewer-toolbar > .cesium-toolbar-button,
  204. .cesium-navigationHelpButton-wrapper,
  205. .cesium-viewer-geocoderContainer {
  206. margin-bottom: 20px;
  207. float: right;
  208. clear: both;
  209. text-align: center;
  210. }
  211. .cesium-viewer-geocoderContainer{
  212. margin-top: 20px;
  213. }
  214. .cesium-baseLayerPicker-dropDown {
  215. bottom: 0;
  216. right: 40px;
  217. max-height: 700px;
  218. margin-bottom: 5px;
  219. }
  220. .cesium-navigation-help {
  221. top: auto;
  222. bottom: 0;
  223. right: 40px;
  224. transform-origin: right bottom;
  225. }
  226. .cesium-sceneModePicker-wrapper {
  227. width: auto;
  228. }
  229. .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-dropDown-icon {
  230. float: left;
  231. margin: 0 3px;
  232. }
  233. .cesium-viewer-geocoderContainer .search-results {
  234. left: 0;
  235. right: 40px;
  236. width: auto;
  237. z-index: 9999;
  238. }
  239. .cesium-infoBox-title {
  240. background-color: #3f4854;
  241. }
  242. .cesium-infoBox {
  243. top: 50px;
  244. background: rgba(63, 72, 84, 0.9);
  245. }
  246. /**左下工具栏菜单*/
  247. .toolbar-dropdown-menu-div {
  248. background: rgba(43, 44, 47, 0.8);
  249. border: 1px solid #2b2c2f;
  250. z-index: 991;
  251. position: absolute;
  252. right: 60px;
  253. bottom: 40px;
  254. display: none;
  255. }
  256. .toolbar-dropdown-menu {
  257. min-width: 110px;
  258. padding: 0;
  259. }
  260. .toolbar-dropdown-menu > li {
  261. padding: 0 3px;
  262. margin: 2px 0;
  263. }
  264. .toolbar-dropdown-menu > li > a {
  265. color: #edffff;
  266. display: block;
  267. padding: 4px 10px;
  268. clear: both;
  269. font-weight: normal;
  270. line-height: 1.6;
  271. white-space: nowrap;
  272. text-decoration: none;
  273. }
  274. .toolbar-dropdown-menu > li > a:hover,
  275. .dropdown-menu > li > a:focus {
  276. color: #fff;
  277. background-color: #444d59;
  278. }
  279. .toolbar-dropdown-menu > .active > a,
  280. .dropdown-menu > .active > a:hover,
  281. .dropdown-menu > .active > a:focus {
  282. color: #fff;
  283. background-color: #444d59;
  284. }
  285. .toolbar-dropdown-menu i {
  286. padding-right: 5px;
  287. }
  288. /**infoview浮动面板*/
  289. .infoview {
  290. position: absolute;
  291. top: 30px;
  292. left: 30px;
  293. padding: 10px 15px;
  294. border-radius: 4px;
  295. border: 1px solid rgba(128, 128, 128, 0.5);
  296. color: #ffffff;
  297. background: rgba(0, 0, 0, 0.4);
  298. box-shadow: 0 3px 14px rgba(128, 128, 128, 0.5);
  299. z-index: 19870101;
  300. }
  301. .infoview-right {
  302. left: auto;
  303. right: 10px;
  304. }
  305. .infoview input,
  306. .infoview select,
  307. .infoview textarea {
  308. color: #ffffff;
  309. background-color: rgba(32, 160, 255, 0.2);
  310. border: 1px solid #e4eaec;
  311. font-size: 14px;
  312. }
  313. .infoview > div {
  314. margin-top: 5px;
  315. }
  316. .info-tips {
  317. margin: 5px 10px 20px 10px;
  318. }
  319. .rightbottom {
  320. top: auto;
  321. bottom: 60px;
  322. left: auto;
  323. right: 50px;
  324. }
  325. .loadingIndicator {
  326. display: block;
  327. position: absolute;
  328. top: 50%;
  329. left: 50%;
  330. margin-top: -33px;
  331. margin-left: -33px;
  332. width: 66px;
  333. height: 66px;
  334. background-position: center;
  335. background-repeat: no-repeat;
  336. background-image: url(../img/loader.gif);
  337. }
  338. .mars-table {
  339. width: 100%;
  340. border-collapse: collapse;
  341. border-spacing: 0;
  342. margin-top: 5px;
  343. margin-bottom: 5px;
  344. }
  345. .mars-table tr td {
  346. padding: 5px 10px;
  347. text-align: left;
  348. white-space: nowrap;
  349. }
  350. .mars-table tr td:first-child {
  351. border-left: none;
  352. }
  353. .mars-table .nametd {
  354. padding: 5px 20px 5px 10px;
  355. }
  356. .tb-border {
  357. border: #cde1de 1px solid;
  358. }
  359. .tb-border tr td {
  360. border: #cde1de 1px solid;
  361. }
  362. /*滚动条*/
  363. body,
  364. html {
  365. scrollbar-base-color: #f4f7fc;
  366. scrollbar-track-color: #f4f7fc;
  367. scrollbar-face-color: #797979;
  368. scrollbar-arrow-color: #f4f7fc;
  369. scrollbar-shadow-color: #f4f7fc;
  370. scrollbar-3dlight-color: #f4f7fc;
  371. scrollbar-highlight-color: #f4f7fc;
  372. scrollbar-darkshadow-color: #f4f7fc;
  373. }
  374. ::-webkit-scrollbar-button {
  375. height: 0;
  376. width: 0;
  377. display: none;
  378. }
  379. ::-webkit-scrollbar-track {
  380. background: transparent;
  381. }
  382. ::-webkit-scrollbar-track,
  383. ::-webkit-scrollbar-thumb {
  384. border: 0;
  385. }
  386. ::-webkit-scrollbar {
  387. height: 10px;
  388. width: 10px;
  389. background: transparent;
  390. border-radius: 5px;
  391. }
  392. ::-webkit-scrollbar-thumb {
  393. padding-top: 100px;
  394. -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1), inset -1px -1px 0 rgba(0, 0, 0, 0.07);
  395. background-color: #797979;
  396. min-height: 28px;
  397. border-radius: 4px;
  398. background-clip: padding-box;
  399. }
  400. ::-webkit-scrollbar-track,
  401. ::-webkit-scrollbar-thumb {
  402. border: 0;
  403. }
  404. ::-webkit-scrollbar-thumb:hover {
  405. -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25);
  406. background-color: rgba(0, 0, 0, 0.4);
  407. }
  408. ::-webkit-scrollbar-thumb:active {
  409. -webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.35);
  410. background-color: rgba(0, 0, 0, 0.5);
  411. }
  412. /* 测试专用*/
  413. /* #mars3dContainer {
  414. position:absolute;
  415. left: 300px;
  416. top:100px;
  417. bottom: 10px;
  418. right: 10px;
  419. height: auto;
  420. width: auto;
  421. }
  422. */