navigation.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. .sm-compass{
  2. pointer-events: auto;
  3. position: absolute;
  4. right: 10px;
  5. top: 10px;
  6. width: 128px;
  7. height: 128px;
  8. overflow: hidden;
  9. }
  10. .sm-compass-outer-ring{
  11. cursor: pointer;
  12. position: absolute;
  13. width: 128px;
  14. height: 128px;
  15. top: 0px;
  16. transform: rotate(0rad);
  17. -webkit-transform: rotate(0rad);
  18. background-image: url("../Images/Navigation/ring.png");
  19. }
  20. .sm-compass-outer-ring:active{
  21. background-image: url("../Images/Navigation/ring_active.png");
  22. }
  23. .sm-compass-tilt{
  24. position: absolute;
  25. width: 128px;
  26. height: 128px;
  27. background-image: url("../Images/Navigation/tilt.png");
  28. visibility: hidden;
  29. }
  30. .cesium-viewer-navigationContainer {
  31. display: block;
  32. position: absolute;
  33. top: 0;
  34. right: 0;
  35. padding: 0;
  36. -moz-box-sizing: content-box;
  37. -webkit-box-sizing: content-box;
  38. box-sizing: content-box;
  39. height: 300px;
  40. width: 128px;
  41. }
  42. .cesium-viewer-navigationContainer:hover .sm-compass-tilt{
  43. visibility: visible;
  44. }
  45. .cesium-viewer-navigationContainer:active .sm-compass-tilt{
  46. visibility: visible;
  47. }
  48. .sm-compass-tiltbar{
  49. cursor: pointer;
  50. position: absolute;
  51. width: 16px;
  52. height: 16px;
  53. /*left: 64px;
  54. top: 5px;*/
  55. background-image: url("../Images/Navigation/tiltbar.png");
  56. background-repeat: no-repeat;
  57. z-index: 10;
  58. visibility: hidden;
  59. }
  60. .cesium-viewer-navigationContainer:hover .sm-compass-tiltbar{
  61. visibility: visible;
  62. }
  63. .cesium-viewer-navigationContainer:active .sm-compass-tiltbar{
  64. visibility: visible;
  65. }
  66. .sm-compass-arrows{
  67. position: absolute;
  68. width: 128px;
  69. height: 128px;
  70. top: 0px;
  71. background-image: url("../Images/Navigation/compass_active.png");
  72. visibility: hidden;
  73. }
  74. .cesium-viewer-navigationContainer:hover .sm-compass-arrows{
  75. visibility: visible;
  76. }
  77. .cesium-viewer-navigationContainer:active .sm-compass-arrows{
  78. visibility: visible;
  79. }
  80. .arrows_e_active{
  81. cursor: pointer;
  82. position: absolute;
  83. width: 24px;
  84. height: 24px;
  85. top: 52px;
  86. left: 68px;
  87. visibility: hidden;
  88. }
  89. .cesium-viewer-navigationContainer:hover .arrows_e_active{
  90. visibility: visible;
  91. }
  92. .cesium-viewer-navigationContainer:active .arrows_e_active{
  93. visibility: visible;
  94. }
  95. .arrows_e_active:active{
  96. background-image: url("../Images/Navigation/arrows_e_active.png");
  97. }
  98. .arrows_n_active{
  99. cursor: pointer;
  100. position: absolute;
  101. width: 24px;
  102. height: 24px;
  103. top: 32px;
  104. left: 53px;
  105. visibility: hidden;
  106. }
  107. .arrows_n_active:active{
  108. background-image: url("../Images/Navigation/arrows_n_active.png");
  109. }
  110. .cesium-viewer-navigationContainer:hover .arrows_n_active{
  111. visibility: visible;
  112. }
  113. .cesium-viewer-navigationContainer:active .arrows_n_active{
  114. visibility: visible;
  115. }
  116. .arrows_s_active{
  117. cursor: pointer;
  118. position: absolute;
  119. width: 24px;
  120. height: 24px;
  121. top: 74px;
  122. left: 53px;
  123. visibility: hidden;
  124. }
  125. .arrows_s_active:active{
  126. background-image: url("../Images/Navigation/arrows_s_active.png");
  127. }
  128. .cesium-viewer-navigationContainer:hover .arrows_s_active{
  129. visibility: visible;
  130. }
  131. .cesium-viewer-navigationContainer:active .arrows_s_active{
  132. visibility: visible;
  133. }
  134. .arrows_w_active{
  135. cursor: pointer;
  136. position: absolute;
  137. width: 24px;
  138. height: 24px;
  139. top: 52px;
  140. left: 35px;
  141. visibility: hidden;
  142. }
  143. .arrows_w_active:active{
  144. background-image: url("../Images/Navigation/arrows_w_active.png");
  145. }
  146. .cesium-viewer-navigationContainer:hover .arrows_w_active{
  147. visibility: visible;
  148. }
  149. .cesium-viewer-navigationContainer:active .arrows_w_active{
  150. visibility: visible;
  151. }
  152. .sm-zoom{
  153. position: absolute;
  154. width: 30px;
  155. height: 150px;
  156. background-image: url("../Images/Navigation/zoom.png");
  157. top: 130px;
  158. right: 60px;
  159. visibility: hidden;
  160. }
  161. .cesium-viewer-navigationContainer:hover .sm-zoom{
  162. visibility: visible;
  163. }
  164. .cesium-viewer-navigationContainer:active .sm-zoom{
  165. visibility: visible;
  166. }
  167. .sm-zoomin{
  168. cursor: pointer;
  169. position: absolute;
  170. width: 32px;
  171. height: 32px;
  172. }
  173. .sm-zoomin:active{
  174. background-image: url("../Images/Navigation/zoom_active_in.png");
  175. }
  176. .sm-zoomout{
  177. cursor: pointer;
  178. position: absolute;
  179. width: 32px;
  180. height: 32px;
  181. bottom: 0px;
  182. }
  183. .sm-zoomout:active{
  184. background-image: url("../Images/Navigation/zoom_active_out.png");
  185. }
  186. .sm-zoombar{
  187. cursor: pointer;
  188. position: absolute;
  189. width: 32px;
  190. height: 32px;
  191. top: 65px;
  192. background-image: url("../Images/Navigation/zoombar.png");
  193. }