ol.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. .ol-box {
  2. box-sizing: border-box;
  3. border-radius: 2px;
  4. border: 2px solid #00f;
  5. }
  6. .ol-mouse-position {
  7. top: 8px;
  8. right: 8px;
  9. position: absolute;
  10. }
  11. .ol-scale-line {
  12. background: rgba(0, 60, 136, 0.3);
  13. border-radius: 4px;
  14. bottom: 8px;
  15. left: 8px;
  16. padding: 2px;
  17. position: absolute;
  18. }
  19. .ol-scale-line-inner {
  20. border: 1px solid #eee;
  21. border-top: none;
  22. color: #eee;
  23. font-size: 10px;
  24. text-align: center;
  25. margin: 1px;
  26. will-change: contents, width;
  27. transition: all 0.25s;
  28. }
  29. .ol-scale-bar {
  30. position: absolute;
  31. bottom: 8px;
  32. left: 8px;
  33. }
  34. .ol-scale-step-marker {
  35. width: 1px;
  36. height: 15px;
  37. background-color: #000;
  38. float: right;
  39. z-index: 10;
  40. }
  41. .ol-scale-step-text {
  42. position: absolute;
  43. bottom: -5px;
  44. font-size: 12px;
  45. z-index: 11;
  46. color: #000;
  47. text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff;
  48. }
  49. .ol-scale-text {
  50. position: absolute;
  51. font-size: 14px;
  52. text-align: center;
  53. bottom: 25px;
  54. color: #000;
  55. text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff;
  56. }
  57. .ol-scale-singlebar {
  58. position: relative;
  59. height: 10px;
  60. z-index: 9;
  61. box-sizing: border-box;
  62. border: 1px solid #000;
  63. }
  64. .ol-unsupported {
  65. display: none;
  66. }
  67. .ol-unselectable,
  68. .ol-viewport {
  69. -webkit-touch-callout: none;
  70. -webkit-user-select: none;
  71. -moz-user-select: none;
  72. -ms-user-select: none;
  73. user-select: none;
  74. -webkit-tap-highlight-color: transparent;
  75. }
  76. .ol-selectable {
  77. -webkit-touch-callout: default;
  78. -webkit-user-select: text;
  79. -moz-user-select: text;
  80. -ms-user-select: text;
  81. user-select: text;
  82. }
  83. .ol-grabbing {
  84. cursor: -webkit-grabbing;
  85. cursor: -moz-grabbing;
  86. cursor: grabbing;
  87. }
  88. .ol-grab {
  89. cursor: move;
  90. cursor: -webkit-grab;
  91. cursor: -moz-grab;
  92. cursor: grab;
  93. }
  94. .ol-control {
  95. position: absolute;
  96. background-color: rgba(255, 255, 255, 0.4);
  97. border-radius: 4px;
  98. padding: 2px;
  99. }
  100. .ol-control:hover {
  101. background-color: rgba(255, 255, 255, 0.6);
  102. }
  103. .ol-zoom {
  104. top: 0.5em;
  105. left: 0.5em;
  106. }
  107. .ol-rotate {
  108. top: 0.5em;
  109. right: 0.5em;
  110. transition: opacity 0.25s linear, visibility 0s linear;
  111. }
  112. .ol-rotate.ol-hidden {
  113. opacity: 0;
  114. visibility: hidden;
  115. transition: opacity 0.25s linear, visibility 0s linear 0.25s;
  116. }
  117. .ol-zoom-extent {
  118. top: 4.643em;
  119. left: 0.5em;
  120. }
  121. .ol-full-screen {
  122. right: 0.5em;
  123. top: 0.5em;
  124. }
  125. .ol-control button {
  126. display: block;
  127. margin: 1px;
  128. padding: 0;
  129. color: #fff;
  130. font-size: 1.14em;
  131. font-weight: 700;
  132. text-decoration: none;
  133. text-align: center;
  134. height: 1.375em;
  135. width: 1.375em;
  136. line-height: 0.4em;
  137. background-color: rgba(0, 60, 136, 0.5);
  138. border: none;
  139. border-radius: 2px;
  140. }
  141. .ol-control button::-moz-focus-inner {
  142. border: none;
  143. padding: 0;
  144. }
  145. .ol-zoom-extent button {
  146. line-height: 1.4em;
  147. }
  148. .ol-compass {
  149. display: block;
  150. font-weight: 400;
  151. font-size: 1.2em;
  152. will-change: transform;
  153. }
  154. .ol-touch .ol-control button {
  155. font-size: 1.5em;
  156. }
  157. .ol-touch .ol-zoom-extent {
  158. top: 5.5em;
  159. }
  160. .ol-control button:focus,
  161. .ol-control button:hover {
  162. text-decoration: none;
  163. background-color: rgba(0, 60, 136, 0.7);
  164. }
  165. .ol-zoom .ol-zoom-in {
  166. border-radius: 2px 2px 0 0;
  167. }
  168. .ol-zoom .ol-zoom-out {
  169. border-radius: 0 0 2px 2px;
  170. }
  171. .ol-attribution {
  172. text-align: right;
  173. bottom: 0.5em;
  174. right: 0.5em;
  175. max-width: calc(100% - 1.3em);
  176. }
  177. .ol-attribution ul {
  178. margin: 0;
  179. padding: 0 0.5em;
  180. color: #000;
  181. text-shadow: 0 0 2px #fff;
  182. }
  183. .ol-attribution li {
  184. display: inline;
  185. list-style: none;
  186. }
  187. .ol-attribution li:not(:last-child):after {
  188. content: ' ';
  189. }
  190. .ol-attribution img {
  191. max-height: 2em;
  192. max-width: inherit;
  193. vertical-align: middle;
  194. }
  195. .ol-attribution button,
  196. .ol-attribution ul {
  197. display: inline-block;
  198. }
  199. .ol-attribution.ol-collapsed ul {
  200. display: none;
  201. }
  202. .ol-attribution:not(.ol-collapsed) {
  203. background: rgba(255, 255, 255, 0.8);
  204. }
  205. .ol-attribution.ol-uncollapsible {
  206. bottom: 0;
  207. right: 0;
  208. border-radius: 4px 0 0;
  209. }
  210. .ol-attribution.ol-uncollapsible img {
  211. margin-top: -0.2em;
  212. max-height: 1.6em;
  213. }
  214. .ol-attribution.ol-uncollapsible button {
  215. display: none;
  216. }
  217. .ol-zoomslider {
  218. top: 4.5em;
  219. left: 0.5em;
  220. height: 200px;
  221. }
  222. .ol-zoomslider button {
  223. position: relative;
  224. height: 10px;
  225. }
  226. .ol-touch .ol-zoomslider {
  227. top: 5.5em;
  228. }
  229. .ol-overviewmap {
  230. left: 0.5em;
  231. bottom: 0.5em;
  232. }
  233. .ol-overviewmap.ol-uncollapsible {
  234. bottom: 0;
  235. left: 0;
  236. border-radius: 0 4px 0 0;
  237. }
  238. .ol-overviewmap .ol-overviewmap-map,
  239. .ol-overviewmap button {
  240. display: inline-block;
  241. }
  242. .ol-overviewmap .ol-overviewmap-map {
  243. border: 1px solid #7b98bc;
  244. height: 150px;
  245. margin: 2px;
  246. width: 150px;
  247. }
  248. .ol-overviewmap:not(.ol-collapsed) button {
  249. bottom: 1px;
  250. left: 2px;
  251. position: absolute;
  252. }
  253. .ol-overviewmap.ol-collapsed .ol-overviewmap-map,
  254. .ol-overviewmap.ol-uncollapsible button {
  255. display: none;
  256. }
  257. .ol-overviewmap:not(.ol-collapsed) {
  258. background: rgba(255, 255, 255, 0.8);
  259. }
  260. .ol-overviewmap-box {
  261. border: 2px dotted rgba(0, 60, 136, 0.7);
  262. }
  263. .ol-overviewmap .ol-overviewmap-box:hover {
  264. cursor: move;
  265. }
  266. /*# sourceMappingURL=ol.css.map */