ol.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. .ol-box {
  2. box-sizing: border-box;
  3. border-radius: 2px;
  4. border: 1.5px solid rgb(179,197,219);
  5. background-color: rgba(255,255,255,0.4);
  6. }
  7. .ol-mouse-position {
  8. top: 8px;
  9. right: 8px;
  10. position: absolute;
  11. }
  12. .ol-scale-line {
  13. background: rgba(0,60,136,0.3);
  14. border-radius: 4px;
  15. bottom: 8px;
  16. left: 8px;
  17. padding: 2px;
  18. position: absolute;
  19. }
  20. .ol-scale-line-inner {
  21. border: 1px solid #eee;
  22. border-top: none;
  23. color: #eee;
  24. font-size: 10px;
  25. text-align: center;
  26. margin: 1px;
  27. will-change: contents, width;
  28. transition: all 0.25s;
  29. }
  30. .ol-scale-bar {
  31. position: absolute;
  32. bottom: 8px;
  33. left: 8px;
  34. }
  35. .ol-scale-step-marker {
  36. width: 1px;
  37. height: 15px;
  38. background-color: #000000;
  39. float: right;
  40. z-Index: 10;
  41. }
  42. .ol-scale-step-text {
  43. position: absolute;
  44. bottom: -5px;
  45. font-size: 12px;
  46. z-Index: 11;
  47. color: #000000;
  48. text-shadow: -2px 0 #FFFFFF, 0 2px #FFFFFF, 2px 0 #FFFFFF, 0 -2px #FFFFFF;
  49. }
  50. .ol-scale-text {
  51. position: absolute;
  52. font-size: 14px;
  53. text-align: center;
  54. bottom: 25px;
  55. color: #000000;
  56. text-shadow: -2px 0 #FFFFFF, 0 2px #FFFFFF, 2px 0 #FFFFFF, 0 -2px #FFFFFF;
  57. }
  58. .ol-scale-singlebar {
  59. position: relative;
  60. height: 10px;
  61. z-Index: 9;
  62. box-sizing: border-box;
  63. border: 1px solid black;
  64. }
  65. .ol-unsupported {
  66. display: none;
  67. }
  68. .ol-viewport, .ol-unselectable {
  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: rgba(0,0,0,0);
  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: .5em;
  105. left: .5em;
  106. }
  107. .ol-rotate {
  108. top: .5em;
  109. right: .5em;
  110. transition: opacity .25s linear, visibility 0s linear;
  111. }
  112. .ol-rotate.ol-hidden {
  113. opacity: 0;
  114. visibility: hidden;
  115. transition: opacity .25s linear, visibility 0s linear .25s;
  116. }
  117. .ol-zoom-extent {
  118. top: 4.643em;
  119. left: .5em;
  120. }
  121. .ol-full-screen {
  122. right: .5em;
  123. top: .5em;
  124. }
  125. .ol-control button {
  126. display: block;
  127. margin: 1px;
  128. padding: 0;
  129. color: white;
  130. font-weight: bold;
  131. text-decoration: none;
  132. font-size: inherit;
  133. text-align: center;
  134. height: 1.375em;
  135. width: 1.375em;
  136. line-height: .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: normal;
  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:hover,
  161. .ol-control button:focus {
  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: .5em;
  174. right: .5em;
  175. max-width: calc(100% - 1.3em);
  176. display: flex;
  177. flex-flow: row-reverse;
  178. align-items: center;
  179. }
  180. .ol-attribution a {
  181. color: rgba(0,60,136,0.7);
  182. text-decoration: none;
  183. }
  184. .ol-attribution ul {
  185. margin: 0;
  186. padding: 1px .5em;
  187. color: #000;
  188. text-shadow: 0 0 2px #fff;
  189. font-size: 12px;
  190. }
  191. .ol-attribution li {
  192. display: inline;
  193. list-style: none;
  194. }
  195. .ol-attribution li:not(:last-child):after {
  196. content: " ";
  197. }
  198. .ol-attribution img {
  199. max-height: 2em;
  200. max-width: inherit;
  201. vertical-align: middle;
  202. }
  203. .ol-attribution button {
  204. flex-shrink: 0;
  205. }
  206. .ol-attribution.ol-collapsed ul {
  207. display: none;
  208. }
  209. .ol-attribution:not(.ol-collapsed) {
  210. background: rgba(255,255,255,0.8);
  211. }
  212. .ol-attribution.ol-uncollapsible {
  213. bottom: 0;
  214. right: 0;
  215. border-radius: 4px 0 0;
  216. }
  217. .ol-attribution.ol-uncollapsible img {
  218. margin-top: -.2em;
  219. max-height: 1.6em;
  220. }
  221. .ol-attribution.ol-uncollapsible button {
  222. display: none;
  223. }
  224. .ol-zoomslider {
  225. top: 4.5em;
  226. left: .5em;
  227. height: 200px;
  228. }
  229. .ol-zoomslider button {
  230. position: relative;
  231. height: 10px;
  232. }
  233. .ol-touch .ol-zoomslider {
  234. top: 5.5em;
  235. }
  236. .ol-overviewmap {
  237. left: 0.5em;
  238. bottom: 0.5em;
  239. }
  240. .ol-overviewmap.ol-uncollapsible {
  241. bottom: 0;
  242. left: 0;
  243. border-radius: 0 4px 0 0;
  244. }
  245. .ol-overviewmap .ol-overviewmap-map,
  246. .ol-overviewmap button {
  247. display: block;
  248. }
  249. .ol-overviewmap .ol-overviewmap-map {
  250. border: 1px solid #7b98bc;
  251. height: 150px;
  252. margin: 2px;
  253. width: 150px;
  254. }
  255. .ol-overviewmap:not(.ol-collapsed) button {
  256. bottom: 2px;
  257. left: 2px;
  258. position: absolute;
  259. }
  260. .ol-overviewmap.ol-collapsed .ol-overviewmap-map,
  261. .ol-overviewmap.ol-uncollapsible button {
  262. display: none;
  263. }
  264. .ol-overviewmap:not(.ol-collapsed) {
  265. background: rgba(255,255,255,0.8);
  266. }
  267. .ol-overviewmap-box {
  268. border: 2px dotted rgba(0,60,136,0.7);
  269. }
  270. .ol-overviewmap .ol-overviewmap-box:hover {
  271. cursor: move;
  272. }