viewerCesiumNavigationMixin.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. .distance-legend {
  2. pointer-events: auto;
  3. position: relative;
  4. border-radius: 15px;;
  5. height: 30px;
  6. width: 125px;
  7. /* border: 1px solid rgba(255, 255, 255, .1); */
  8. box-sizing: content-box;
  9. margin-top: -10px;
  10. }
  11. .distance-legend-label {
  12. display: inline-block;
  13. font-family: 'Roboto', sans-serif;
  14. font-size: 14px;
  15. font-weight: lighter;
  16. line-height: 30px;
  17. color: #fff;
  18. width: 125px;
  19. text-align: center
  20. }
  21. .distance-legend-scale-bar {
  22. border-left: 1px solid #fff;
  23. border-right: 1px solid #fff;
  24. border-bottom: 1px solid #fff;
  25. position: absolute;
  26. height: 10px;
  27. top: 15px
  28. }
  29. @media print {
  30. .distance-legend {
  31. display: none
  32. }
  33. }
  34. @media screen and (max-width:700px),
  35. screen and (max-height:420px) {
  36. .distance-legend {
  37. display: none
  38. }
  39. }
  40. .navigation-controls {
  41. position: absolute;
  42. right: 38px;
  43. top: 197px;
  44. width: 30px;
  45. border: 1px solid rgba(255, 255, 255, .1);
  46. font-weight: 300;
  47. -webkit-touch-callout: none;
  48. -webkit-user-select: none;
  49. -khtml-user-select: none;
  50. -moz-user-select: none;
  51. -ms-user-select: none;
  52. user-select: none;
  53. }
  54. .navigation-control {
  55. cursor: pointer;
  56. border-bottom: 1px solid #555
  57. }
  58. .naviagation-control:active {
  59. color: #fff
  60. }
  61. .navigation-control-last {
  62. cursor: pointer;
  63. border-bottom: 0
  64. }
  65. .navigation-control-icon-zoom-in {
  66. padding-bottom: 4px
  67. }
  68. .navigation-control-icon-zoom-in,
  69. .navigation-control-icon-zoom-out {
  70. position: relative;
  71. text-align: center;
  72. font-size: 20px;
  73. color: #fff
  74. }
  75. .navigation-control-icon-reset {
  76. position: relative;
  77. left: 10px;
  78. width: 10px;
  79. height: 10px;
  80. fill: rgba(255, 255, 255, .8);
  81. padding-top: 6px;
  82. padding-bottom: 6px;
  83. box-sizing: content-box
  84. }
  85. .compass,
  86. .compass-outer-ring {
  87. position: absolute;
  88. width: 95px;
  89. height: 95px
  90. }
  91. .compass {
  92. pointer-events: auto;
  93. right: 0;
  94. overflow: hidden;
  95. top: 100px
  96. }
  97. .compass-outer-ring {
  98. top: 0;
  99. fill: rgba(255, 255, 255, .5)
  100. }
  101. .compass-outer-ring-background {
  102. position: absolute;
  103. top: 14px;
  104. left: 14px;
  105. width: 44px;
  106. height: 44px;
  107. border-radius: 44px;
  108. border: 12px solid rgba(47, 53, 60, .8);
  109. box-sizing: content-box
  110. }
  111. .compass-gyro {
  112. pointer-events: none;
  113. position: absolute;
  114. top: 0;
  115. width: 95px;
  116. height: 95px;
  117. fill: #ccc
  118. }
  119. .compass-gyro-active,
  120. .compass-gyro-background:hover+.compass-gyro {
  121. fill: #68adfe
  122. }
  123. .compass-gyro-background {
  124. position: absolute;
  125. top: 30px;
  126. left: 30px;
  127. width: 33px;
  128. height: 33px;
  129. border-radius: 33px;
  130. background-color: rgba(47, 53, 60, .8);
  131. border: 1px solid rgba(255, 255, 255, .2);
  132. box-sizing: content-box
  133. }
  134. .compass-rotation-marker {
  135. position: absolute;
  136. top: 0;
  137. width: 95px;
  138. height: 95px;
  139. fill: #68adfe
  140. }
  141. @media screen and (max-width:700px),
  142. screen and (max-height:420px) {
  143. .compass,
  144. .navigation-controls {
  145. display: none
  146. }
  147. }
  148. @media print {
  149. .compass,
  150. .navigation-controls {
  151. display: none
  152. }
  153. }
  154. #distanceLegendDiv{
  155. position: absolute;
  156. bottom: 381px;
  157. right: 0px;
  158. z-index: 1111111111;
  159. }
  160. #distanceLegendDiv .compass{
  161. right: 10px;
  162. }
  163. #distanceLegendDiv .navigation-controls{
  164. width: 35px;
  165. background: #262a30;
  166. }
  167. #distanceLegendDiv .navigation-control{
  168. width: 35px;
  169. height: 35px;
  170. }
  171. #distanceLegendDiv .navigation-control-icon-zoom-in,
  172. #distanceLegendDiv .navigation-control-icon-zoom-out{
  173. font-size: 35px;
  174. line-height: 35px;
  175. color: #dae4f6;
  176. }
  177. .distance-legend{
  178. display: block;
  179. }