map_ol3.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. .map {
  2. width: 100%;
  3. height: 100%;
  4. float: left;
  5. }
  6. .ol-overviewmap {
  7. bottom: 2.5em;
  8. }
  9. .map:-moz-full-screen {
  10. height: 100%;
  11. }
  12. .map:-webkit-full-screen {
  13. height: 100%;
  14. }
  15. .map:fullscreen {
  16. height: 100%;
  17. }
  18. /* position the rotate control lower than usual */
  19. .ol-rotate {
  20. top: 3em;
  21. }
  22. .ol-popup {
  23. position: absolute;
  24. background-color: white;
  25. -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
  26. filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
  27. padding: 15px;
  28. border-radius: 10px;
  29. border: 1px solid #cccccc;
  30. bottom: 12px;
  31. left: -50px;
  32. bottom: 72px;
  33. }
  34. .ol-popup:after, .ol-popup:before {
  35. top: 100%;
  36. border: solid transparent;
  37. content: " ";
  38. height: 0;
  39. width: 0;
  40. position: absolute;
  41. pointer-events: none;
  42. }
  43. .ol-popup:after {
  44. border-top-color: white;
  45. border-width: 10px;
  46. left: 48px;
  47. margin-left: -10px;
  48. }
  49. .ol-popup:before {
  50. border-top-color: #cccccc;
  51. border-width: 11px;
  52. left: 48px;
  53. margin-left: -11px;
  54. }
  55. .ol-popup-closer {
  56. text-decoration: none;
  57. position: absolute;
  58. top: 2px;
  59. right: 5px;
  60. }
  61. .ol-popup-closer:after {
  62. content: "✖";
  63. }
  64. .layer-switcher {
  65. width:140px;
  66. top: 10px;
  67. right: 50px;
  68. font-size:14px;
  69. color: #fff;
  70. text-indent:7px;
  71. }
  72. .layer-switcher .shown{
  73. display: block;
  74. }
  75. .layer-switcher .selected {
  76. display:block;
  77. line-height:22px;
  78. width:100%; height:22px;
  79. overflow:hidden;
  80. border:0px;
  81. color: #fff;
  82. background-color:rgba(0,60,136,.5);
  83. }
  84. .layer-switcher .arrow{
  85. position:absolute;
  86. right:8px;top:10px;display:block;
  87. height:0;width:0;
  88. border-top:7px solid #fff;
  89. border-right:4px solid transparent;
  90. border-left:4px solid transparent;
  91. }
  92. .layer-switcher .selected:hover {
  93. text-decoration:none;
  94. background-color:rgba(0,60,136,.7);
  95. }
  96. .layer-switcher ul {
  97. padding: 0px;
  98. margin:0px;
  99. overflow: hidden;
  100. display:none;
  101. background-color:rgba(0,60,136,.5);
  102. z-index:99999;
  103. }
  104. .layer-switcher ul li {
  105. display:block;height:22px;
  106. overflow:hidden;line-height:22px;
  107. width:100%;
  108. cursor:pointer;
  109. }
  110. .layer-switcher .hover {
  111. background:#1E91FF;
  112. }
  113. #layersControl {
  114. background-color: rgb(255, 255, 255);
  115. border: 1px solid #888888;
  116. position: absolute;
  117. z-index: 999;
  118. right: 0px;
  119. top: 38px;
  120. display: none;
  121. }
  122. #layersControlTitle {
  123. font: bold 12px sans-serif;
  124. background-color: #3bb5ff;
  125. color: #ffffff;
  126. height: 30px;
  127. line-height: 30px;
  128. }
  129. #layercontent {
  130. height: 250px;
  131. width: 180px;
  132. }
  133. #layerbox {
  134. background: #fff;
  135. z-index: 112;
  136. border-radius: 1px;
  137. box-shadow: 1px 2px 1px rgba(0, 0, 0, .15);
  138. font-size: 12px;
  139. line-height: 1.5;
  140. color: #565656;
  141. word-wrap: break-word;
  142. font-family: Arial, sans-serif;
  143. }
  144. #layerbox_item {
  145. font-size: 12px;
  146. line-height: 1.5;
  147. color: #565656;
  148. word-wrap: break-word;
  149. }
  150. #layerbox_item .item, #layerbox_item .item span, #measureTool .item span
  151. {
  152. display: inline-block;
  153. vertical-align: middle;
  154. }
  155. #layerbox_item .item {
  156. height: 16px;
  157. padding: 0 6px;
  158. border-right: 1px #e5e5e5 solid;
  159. cursor: pointer;
  160. }
  161. #layerbox_item {
  162. padding: 7px 0 12px;
  163. background: #fff;
  164. }
  165. #layerbox_item .item .icon {
  166. width: 16px;
  167. height: 16px;
  168. margin-right: 5px;
  169. }
  170. /*动态点扩散效果*/
  171. #css_animation{
  172. height:50px;
  173. width:50px;
  174. border-radius: 25px;
  175. background: rgba(0, 255, 255, 0.9);
  176. transform: scale(0);
  177. animation: myfirst 3s;
  178. animation-iteration-count: infinite;
  179. }
  180. @keyframes myfirst{
  181. to{
  182. transform: scale(2);
  183. background: rgba(0, 0, 0, 0);
  184. }
  185. }