map-utilOLD.css 5.7 KB

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