map-util.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. .nav-ui-wrap {
  2. position: absolute;
  3. display: none;
  4. margin-left: 10px; /* edit CHANGE */
  5. /* edit REMOVE margin-top: 1%; */
  6. }
  7. .nav-ui-wrap div{
  8. border: 4px solid #5555ff;
  9. }
  10. .map-button {
  11. border: 1px solid #6d6f72;
  12. width: 24px;
  13. height: 24px;
  14. margin: 1px -6px 1px 1px;
  15. background-color: white;
  16. color: black;
  17. padding: 0;
  18. align-items: flex-start;
  19. text-align: center;
  20. cursor: default;
  21. }
  22. #nav-arrows {
  23. border: none;
  24. display: block;
  25. position: relative;
  26. margin-top: 15%;
  27. margin-left: -3px
  28. }
  29. /* edit ADD start */
  30. #nav-arrows > button {
  31. line-height: 30px;
  32. }
  33. /* edit ADD end */
  34. #zoom {
  35. border: none;
  36. display: block;
  37. margin-top: 20px; /* edit ADD */
  38. margin-left: 20px; /* edit ADD */
  39. position: relative;
  40. }
  41. /* edit ADD */ #zoom button { line-height: 28px; }
  42. #zoom-in {
  43. border: 1px solid #6d6f72;
  44. /* edit REMOVE margin: 1px; */
  45. background-color: white;
  46. color: black;
  47. padding: 0;
  48. align-items: flex-start;
  49. text-align: center;
  50. cursor: default;
  51. display: block;
  52. /* edit ADD */ margin-bottom: -2px;
  53. }
  54. #zoom-out {
  55. /* edit REMOVE margin-top: 3%; */
  56. background-color: #ffffff;
  57. display: block;
  58. }
  59. #nav-up {
  60. position: relative;
  61. margin-bottom: -2px; /* edit CHANGE */
  62. left: 35%;
  63. background-color: #ffffff;
  64. display: block;
  65. }
  66. #nav-left {
  67. display: inline-block;
  68. background-color: #ffffff;
  69. }
  70. #nav-right {
  71. display: inline-block;
  72. background-color: #ffffff;
  73. /* edit REMOVE margin-left: -1px; */
  74. }
  75. #nav-down {
  76. /*position: relative;
  77. left: 14.25%;*/
  78. /* edit REMOVE margin-left: -1px; */
  79. display: inline-block;
  80. /*margin-top: -1%;*/
  81. background-color: #ffffff;
  82. }
  83. #nav-up > a, #nav-down > a, #nav-left > a, #nav-right > a {
  84. min-width: 100%;
  85. min-height: 100%;
  86. }
  87. #nav-up:hover, #nav-down:hover, #nav-left:hover, #nav-right:hover, #zoom-in:hover, #zoom-out:hover,
  88. #nav-up:focus, #nav-down:focus, #nav-left:focus, #nav-right:focus, #zoom-in:focus, #zoom-out:focus {
  89. /*opacity: 0.3;*/
  90. background-color: #5555ff;
  91. }
  92. #nav-reset {
  93. display: block; /* edit CHANGE */
  94. position: relative;
  95. margin-left: 21px; /* edit CHANGE */
  96. /* edit ADD */
  97. margin-top: 5px;
  98. /*width: 32px;*/
  99. background-color: #ffffff;
  100. background-image: url(../gfx/icon_home.svg);
  101. background-repeat: no-repeat;
  102. background-position: center;
  103. background-size: 110%;
  104. }
  105. #nav-reset:hover, #nav-reset:focus {
  106. /*opacity: 0.3;*/
  107. background-color: #5555ff;
  108. }
  109. #map-search {
  110. position: relative;
  111. margin-left: 21px;
  112. margin-top: 5px;
  113. background-color: #ffffff;
  114. background-image: url(../gfx/mapsearch.png);
  115. background-repeat: no-repeat;
  116. background-position: center;
  117. background-size: 95%;
  118. }
  119. #map-search:hover, #map-search:focus {
  120. background-color: #5555ff;
  121. }
  122. /* edit ADD start */
  123. #open-legend {
  124. display: none;
  125. position: relative;
  126. margin-top: -10px;
  127. }
  128. /* edit ADD end */
  129. #layer-toggle {
  130. width: 2em;
  131. height: 2em;
  132. margin-left: 30%;
  133. position: relative;
  134. display: none;
  135. background-color: #ffffff;
  136. /*background-image: url(../gfx/globe.svg);*/
  137. /*background-position: center;*/
  138. /*background-repeat: no-repeat;*/
  139. /*background-si1ze: 90%;*/
  140. }
  141. #layer-toggle:hover {
  142. background-color: #5555ff;
  143. }
  144. .map-legend {
  145. position: relative;
  146. }
  147. .map-legend button.legend {
  148. background-color: #000000;
  149. color: #ffffff;
  150. }
  151. .map-legend button.legend:hover, .map-legend button.legend:focus {
  152. background-color: #6d6f72;
  153. border: 1px solid #000000;
  154. }
  155. .map-legend-info {
  156. font-family: Metric, sans-serif;
  157. position: absolute;
  158. top: 10em;
  159. left: 0;
  160. height: 14em;
  161. background-color: #ffffff;
  162. width: 15%;
  163. min-width: 11em;
  164. text-align: left;
  165. padding: 10px;
  166. }
  167. .map-legend-info .icon {
  168. width: 20px!important;
  169. height: 20px!important;
  170. vertical-align: middle;
  171. }
  172. .map-legend-info .legend-title {
  173. /*
  174. .smallcaps {
  175. font-size: 75%;
  176. font-weight: 400;
  177. letter-spacing: 1px;
  178. text-transform: uppercase; } */
  179. /* shadow-bottom= box-shadow: 0 6px 10px -8px #000;;*/
  180. font-size: 80%;
  181. position: relative;
  182. margin-left: -10px;
  183. padding-left: 10px;
  184. height: 30px;
  185. width: 90px;
  186. line-height: 32px;
  187. letter-spacing: 3px;
  188. background-color: #000000;
  189. color: #ffffff;
  190. }
  191. .map-legend-info .legend-title::after {
  192. position: absolute;
  193. left: 100%;
  194. top: 50%;
  195. content: ' ';
  196. pointer-events: none;
  197. height: 0;
  198. width: 0;
  199. border-color: rgba(105, 192, 186, 0);
  200. border-width: 15px;
  201. border-left: 10px solid #000000;
  202. margin-top: -15px;
  203. }
  204. .nav-ui-wrap #open-legend {
  205. background-color: #000000;
  206. color: #ffffff;
  207. position: relative;
  208. left: 20px; /* edit CHANGE */
  209. top: 1em;
  210. line-height: 28px;
  211. }
  212. .nav-ui-wrap #open-legend:hover {
  213. background-color: #ffffff;
  214. color: #000000;
  215. }
  216. .map-legend-info .closelegend {
  217. position: absolute;
  218. right: 5px;
  219. top: 5px;
  220. }
  221. .map-legend-info .closemenu {
  222. border: 0;
  223. }
  224. .map-legend-info .closemenu:hover, .map-legend-info .closemenu:focus {
  225. border: 0;
  226. background-color: transparent;
  227. color: #000000;
  228. }
  229. .map-legend-info .legend-row {
  230. font-size: 70%;
  231. margin-top: 10px;
  232. }
  233. .map-legend-info .legend-row div, .map-legend-info .legend-controls > div {
  234. display: inline;
  235. }
  236. .map-legend-info .legend-controls {
  237. font-size: 65%;
  238. margin: 20px 0 10px 0;
  239. padding: 20px 0;
  240. border-top: 1px solid black;
  241. height: 100px;
  242. text-align: center;
  243. }
  244. .map-legend-info .legend-control-icon {
  245. display: inline;
  246. vertical-align: middle;
  247. }
  248. .map-legend-info .legend-control-icon:first-of-type{
  249. width: 20px;
  250. height: 41px;
  251. }
  252. .map-legend-info .legend-control-icon:nth-of-type(2) {
  253. width: 61px;
  254. height: 41px;
  255. }
  256. #legend {
  257. display: none;
  258. }
  259. /* @media screen and (max-width: 531px) {
  260. #legend, #open-legend {
  261. display: none;
  262. }
  263. .nav-ui-wrap {
  264. margin-top: 0;
  265. }
  266. #nav-arrows {
  267. margin-right: 16%;
  268. float: right;
  269. display: block;
  270. }
  271. #nav-reset {
  272. margin-top: 10%;
  273. margin-left: 5.6%;
  274. }
  275. #nav-up {
  276. left: 37%;
  277. }
  278. #zoom {
  279. display: block;
  280. left: 5.6%;
  281. }
  282. } */
  283. /*!* Portrait and Landscape *!*/
  284. /* @media (min-width: 523px)
  285. and (max-width: 768px) {
  286. #legend, #open-legend {
  287. display: none;
  288. }
  289. #zoom {
  290. left: 5%;
  291. display: inline-block;
  292. }
  293. #nav-arrows {
  294. display: inline-block;
  295. float: right;
  296. margin-right: 10%;
  297. }
  298. #nav-reset {
  299. margin-left: 5.6%;
  300. }
  301. } */
  302. /*@media screen and (min-width: 768px)*/
  303. /*and (max-width: 1370px) {*/
  304. /*#cesiumContainer {*/
  305. /*width: 100%;*/
  306. /*}*/
  307. /*#legend {*/
  308. /*font-size: 65%;*/
  309. /*transform: translateY(53.5em);*/
  310. /*}*/
  311. /*#legend-pre {*/
  312. /*display: none;*/
  313. /*}*/
  314. /*}*/
  315. /*@media screen and (min-width: 1370px)*/
  316. /*and (max-width: 1600px) {*/
  317. /*#legend {*/
  318. /*transform: translateY(44em);*/
  319. /*}*/
  320. /*#legend-group div.legend-text {*/
  321. /*font-size: 1em;*/
  322. /*}*/
  323. /*}*/