leaflet.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  1. /* required styles */
  2. .leaflet-map-pane,
  3. .leaflet-tile,
  4. .leaflet-marker-icon,
  5. .leaflet-marker-shadow,
  6. .leaflet-tile-pane,
  7. .leaflet-tile-container,
  8. .leaflet-overlay-pane,
  9. .leaflet-shadow-pane,
  10. .leaflet-marker-pane,
  11. .leaflet-popup-pane,
  12. .leaflet-overlay-pane svg,
  13. .leaflet-zoom-box,
  14. .leaflet-image-layer,
  15. .leaflet-layer {
  16. position: absolute;
  17. left: 0;
  18. top: 0;
  19. }
  20. .leaflet-container {
  21. overflow: hidden;
  22. -ms-touch-action: none;
  23. }
  24. .leaflet-tile,
  25. .leaflet-marker-icon,
  26. .leaflet-marker-shadow {
  27. -webkit-user-select: none;
  28. -moz-user-select: none;
  29. user-select: none;
  30. -webkit-user-drag: none;
  31. }
  32. .leaflet-marker-icon,
  33. .leaflet-marker-shadow {
  34. display: block;
  35. }
  36. /* map is broken in FF if you have max-width: 100% on tiles */
  37. .leaflet-container img {
  38. max-width: none !important;
  39. }
  40. /* stupid Android 2 doesn't understand "max-width: none" properly */
  41. .leaflet-container img.leaflet-image-layer {
  42. max-width: 15000px !important;
  43. }
  44. .leaflet-tile {
  45. filter: inherit;
  46. visibility: hidden;
  47. }
  48. .leaflet-tile-loaded {
  49. visibility: inherit;
  50. }
  51. .leaflet-zoom-box {
  52. width: 0;
  53. height: 0;
  54. }
  55. /* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
  56. .leaflet-overlay-pane svg {
  57. -moz-user-select: none;
  58. }
  59. .leaflet-tile-pane { z-index: 2; }
  60. .leaflet-objects-pane { z-index: 3; }
  61. .leaflet-overlay-pane { z-index: 4; }
  62. .leaflet-shadow-pane { z-index: 5; }
  63. .leaflet-marker-pane { z-index: 6; }
  64. .leaflet-popup-pane { z-index: 7; }
  65. /* control positioning */
  66. .leaflet-control {
  67. position: relative;
  68. z-index: 7;
  69. pointer-events: auto;
  70. }
  71. .leaflet-top,
  72. .leaflet-bottom {
  73. position: absolute;
  74. z-index: 1000;
  75. pointer-events: none;
  76. }
  77. .leaflet-top {
  78. top: 0;
  79. }
  80. .leaflet-right {
  81. right: 0;
  82. }
  83. .leaflet-bottom {
  84. bottom: 0;
  85. }
  86. .leaflet-left {
  87. left: 0;
  88. }
  89. .leaflet-control {
  90. float: left;
  91. clear: both;
  92. }
  93. .leaflet-right .leaflet-control {
  94. float: right;
  95. }
  96. .leaflet-top .leaflet-control {
  97. margin-top: 10px;
  98. }
  99. .leaflet-bottom .leaflet-control {
  100. margin-bottom: 10px;
  101. }
  102. .leaflet-left .leaflet-control {
  103. margin-left: 10px;
  104. }
  105. .leaflet-right .leaflet-control {
  106. margin-right: 10px;
  107. }
  108. /* zoom and fade animations */
  109. .leaflet-fade-anim .leaflet-tile,
  110. .leaflet-fade-anim .leaflet-popup {
  111. opacity: 0;
  112. -webkit-transition: opacity 0.2s linear;
  113. -moz-transition: opacity 0.2s linear;
  114. -o-transition: opacity 0.2s linear;
  115. transition: opacity 0.2s linear;
  116. }
  117. .leaflet-fade-anim .leaflet-tile-loaded,
  118. .leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
  119. opacity: 1;
  120. }
  121. .leaflet-zoom-anim .leaflet-zoom-animated {
  122. -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
  123. -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
  124. -o-transition: -o-transform 0.25s cubic-bezier(0,0,0.25,1);
  125. transition: transform 0.25s cubic-bezier(0,0,0.25,1);
  126. }
  127. .leaflet-zoom-anim .leaflet-tile,
  128. .leaflet-pan-anim .leaflet-tile,
  129. .leaflet-touching .leaflet-zoom-animated {
  130. -webkit-transition: none;
  131. -moz-transition: none;
  132. -o-transition: none;
  133. transition: none;
  134. }
  135. .leaflet-zoom-anim .leaflet-zoom-hide {
  136. visibility: hidden;
  137. }
  138. /* cursors */
  139. .leaflet-clickable {
  140. cursor: pointer;
  141. }
  142. .leaflet-container {
  143. cursor: -webkit-grab;
  144. cursor: -moz-grab;
  145. }
  146. .leaflet-popup-pane,
  147. .leaflet-control {
  148. cursor: auto;
  149. }
  150. .leaflet-dragging,
  151. .leaflet-dragging .leaflet-clickable,
  152. .leaflet-dragging .leaflet-container {
  153. cursor: move;
  154. cursor: -webkit-grabbing;
  155. cursor: -moz-grabbing;
  156. }
  157. /* visual tweaks */
  158. .leaflet-container {
  159. background: #ddd;
  160. outline: 0;
  161. }
  162. .leaflet-container a {
  163. }
  164. .leaflet-container a.leaflet-active {
  165. outline: 2px solid orange;
  166. }
  167. .leaflet-zoom-box {
  168. border: 2px dotted #05f;
  169. background: white;
  170. opacity: 0.5;
  171. }
  172. /* general typography */
  173. .leaflet-container {
  174. font-weight: bold;
  175. font-size: 10px;
  176. color: black;
  177. background-color:rgba(255, 255, 255, 0.7);
  178. box-shadow: 0 1px 7px rgba(0,0,0,0.65);
  179. -webkit-border-radius: 4px;
  180. border-radius: 4px;
  181. }
  182. /* general toolbar styles */
  183. .leaflet-bar {
  184. background-color:rgba(255, 255, 255, 0.7);
  185. box-shadow: 0 1px 7px rgba(0,0,0,0.65);
  186. -webkit-border-radius: 4px;
  187. border-radius: 4px;
  188. }
  189. .leaflet-bar a, .leaflet-bar a:hover {
  190. width: 26px;
  191. height: 26px;
  192. line-height: 26px;
  193. display: block;
  194. text-align: center;
  195. text-decoration: none;
  196. }
  197. .leaflet-bar a,
  198. .leaflet-control-layers-toggle {
  199. background-position: 50% 50%;
  200. background-repeat: no-repeat;
  201. display: block;
  202. }
  203. .leaflet-bar a:hover {
  204. background-color: #f4f4f4;
  205. }
  206. .leaflet-bar a:first-child {
  207. -webkit-border-top-left-radius: 4px;
  208. border-top-left-radius: 4px;
  209. -webkit-border-top-right-radius: 4px;
  210. border-top-right-radius: 4px;
  211. }
  212. .leaflet-bar a:last-child {
  213. -webkit-border-bottom-left-radius: 4px;
  214. border-bottom-left-radius: 4px;
  215. -webkit-border-bottom-right-radius: 4px;
  216. border-bottom-right-radius: 4px;
  217. border-bottom: none;
  218. }
  219. .leaflet-bar a.leaflet-disabled {
  220. cursor: default;
  221. background-color: #f4f4f4;
  222. color: #bbb;
  223. }
  224. .leaflet-touch .leaflet-bar {
  225. -webkit-border-radius: 10px;
  226. border-radius: 10px;
  227. }
  228. .leaflet-touch .leaflet-bar a {
  229. width: 30px;
  230. height: 30px;
  231. }
  232. .leaflet-touch .leaflet-bar a:first-child {
  233. -webkit-border-top-left-radius: 7px;
  234. border-top-left-radius: 7px;
  235. -webkit-border-top-right-radius: 7px;
  236. border-top-right-radius: 7px;
  237. }
  238. .leaflet-touch .leaflet-bar a:last-child {
  239. -webkit-border-bottom-left-radius: 7px;
  240. border-bottom-left-radius: 7px;
  241. -webkit-border-bottom-right-radius: 7px;
  242. border-bottom-right-radius: 7px;
  243. border-bottom: none;
  244. }
  245. /* zoom control */
  246. .leaflet-control-zoom-in {
  247. color: black;
  248. font-weight: 300;
  249. font-size: 20px;
  250. }
  251. .leaflet-control-zoom-out {
  252. color: black;
  253. font-weight: 300;
  254. font-size: 20px;
  255. }
  256. .leaflet-touch .leaflet-control-zoom-in {
  257. font-size: 22px;
  258. line-height: 30px;
  259. }
  260. .leaflet-touch .leaflet-control-zoom-out {
  261. font-size: 22px;
  262. line-height: 30px;
  263. }
  264. /* layers control */
  265. .leaflet-control-layers {
  266. background-color:rgba(255, 255, 255, 0.7);
  267. box-shadow: 0 1px 7px rgba(0,0,0,0.65);
  268. -webkit-border-radius: 4px;
  269. border-radius: 4px;
  270. margin: 0;
  271. }
  272. .leaflet-control-layers-toggle {
  273. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABHNCSVQICAgIfAhkiAAABVtJREFUSImtll9IW3cUx7+/e29uYtRmV40pIcT8sZGI1sZGi9O2sD2VwWSlw6cy9rDCGGOtveyhDx2MYWFcxA1GoS9jdH2QlW4+lFFZB5tx0pjGRoepwdyEonatWjVaE3P//PZQ4tRp1W6/1+8553N+55zfH0IpxX7WpUuXCAB0dXXty5HsB9Tb21vjdrvfBYBUKvVDR0fHxP8K6u7uLm5sbDzjcrmazWYzAGB1dRXpdDocjUZvdnZ2Pv/PoL6+vpPV1dWnrFZr6Xb67Ozs8uTk5M/t7e2/vRLo+vXrjurq6g632+1hGOalyei6jlQqJU9OTvaePXt2ak8gSZL4hoaGdo/Hc7y0tJTdqFFKi3K53OsAYDKZ/iCEZDfqy8vLmizLA7FYrE8UxfyOoFu3bjV6PJ537HZ72daM8vl8raIoLZRSIwAQQtYMBsMQz/PjW21nZmaeybL84+nTp6ObQNeuXauora0943K5DvM8v2mLmqZVrK2tndB1/eB2JWEY5i+j0fg7y7JzWxIj6XR6dHx8/Oa5c+fmyO3bt9/yer1vCIJg2lImw9raWrOqqvUAXt4kQOc4bsxoNIYJIcpGYWFhIZdMJn9l3W73d06nc0kQBL0gKoriyeVyb+m67gRAdoEAANF1/aCqqjWEkGWWZRcKwuPHj4vu3r17hm1qapp9+PDhB6lU6vmhQ4cMqqq+qShKEAC/B8DWxWuaVq1pWqWqqrO9vb2WcDjcrCjKZ4RSip6entd0Xe9bXV09fuzYMe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');
  274. width: 36px;
  275. height: 36px;
  276. }
  277. .leaflet-retina .leaflet-control-layers-toggle {
  278. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAABHNCSVQICAgIfAhkiAAACs9JREFUaIHdmntMW9cdx7/3Xr94GEIMicnAOMYGG+NAeLlJyVopEvlnVaX+sSr9Y2vXVMmaSkzD3TSktWumUnVxp0VqunTN1maalml/dKo2tQp9KcqDAjaxA8YGY2MCxQ7EJbxsbN97z/5IQCQx9rUDmbTvn/b5/c75ntfn3nMuRQjB/5PoR1FJZ2enuLOzU/wo6qK2eoTef//9AxqN5hkA8Pv9Hx89evTSVta3ZYZOnjyp1Gg0L+zZs0ddWFjIAsD8/Lzo+vXrAb/f/+Grr74a2op6N91QZ2cnpdPpDhsMhlaNRpM0ud/vp9xu92Wv13u+q6trUxuwqYZOnz5dp1arD+/du7dQJBLxqcqyLEtfu3ZtPhAInD9+/Lhzs9qwKYZOnDghr6qqetFkMhlKSkrYTGJnZ2dFg4OD7tHR0T+/9tpriw/bloc2dPbs2R/odLpDBoPhoXZMt9vNe73eC0eOHPnPw+TJ2tCpU6cq1Wr1j+rq6pS5ubkZjcpGikQiIqfTGQoEAn9tb2/3ZZMjY0OdnZ1ig8HwgtFobCgrK+OyqTSdpqamGJfLNeB2uz/s6upKZBKbkaEzZ84c0Gg0z9TV1UkpihIUSAgRxWKxZgCQSqX9FEUJGk1CCOV0OmN+v//jY8eOCWaXIEMnT55U7t69+yd1dXUVq0wRokQioY7H4wcIIXIAoChqUSKRXBKLxQGhOebn50VOp3NifHz8L0LYldLQKlP0ev2BysrKlNvwevE8n7+ysnKA5/ndyf6naXpcJpNdoml6SWhOn89HezyeS+nYtaGhd999t16tVh9uaGgoSMeU9W2NxWJ1LMs2EUJSPrtRFJUQiUQ2qVTqBCAoP8uy9MDAwEIgEDj/yiuvOJLmvd/QiRMn5Dqd7ojJZDLs2LFD8IJkWbY0Ho8/wfP8dqExAED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TtWg5eVleDwehMNh5Ofno6WlRTBcQ6EQ+vr6sLS0BIVCAb1ej7y8vJQx4XB40OFwSDmOqwLwJYCXrVZrcg6tM/YcgN8D2JmTk9Pb1NRUnpOTsytd40ZGRiCEXRswJaWRRCIxZ7fbhxYWFloBzAD4udVq/fv95TY8CrZYLIUAugAcAxAtKyuzGQyGlI9D6dglgClJ5ff7L4+NjdUA2AbgDIBOq9U6n6xs2tsHi8XSfDdJA8Mwo/X19TGFQmFKFZOMXQAyYQoAYHFx0Wez2ZYSiUQdgAEAx6xWa3+qGEHXKRaLhQFwHMBvAcgLCgouNzY21orF4g1fXwkhmJycxNjYGHj+zrEaTdPQarUoLy9PuXlwHBe5fv163+zs7OMAogB+DeC01WpNe8GW0YWXxWIpBfAHAD8E8J1Wqx3WaDRJ33RXtcouABkzBcA/AfzMarUKPsjP6o7VYrFkzK50SsYUq9XanWmerC+Ns2FXMqViSjbteuhr/WzYtap0TMlGm/YlSSbsEsqUbLSpn8YIYVcmTMlGW/I1VjJ2SSSS3EyZko227POy+9kFgAMQQQZMyUZb/gHgOnYBGTIlG/0X2+zFYP/jdH0AAAAASUVORK5CYII=');
  279. background-size: 26px 26px;
  280. }
  281. .leaflet-touch .leaflet-control-layers-toggle {
  282. width: 44px;
  283. height: 44px;
  284. }
  285. .leaflet-control-layers .leaflet-control-layers-list,
  286. .leaflet-control-layers-expanded .leaflet-control-layers-toggle {
  287. display: none;
  288. }
  289. .leaflet-control-layers-expanded .leaflet-control-layers-list {
  290. display: block;
  291. position: relative;
  292. }
  293. .leaflet-control-layers-expanded {
  294. padding: 6px 10px 6px 6px;
  295. }
  296. .leaflet-control-layers-selector {
  297. margin-top: 2px;
  298. position: relative;
  299. top: 1px;
  300. }
  301. .leaflet-control-layers label {
  302. display: block;
  303. }
  304. .leaflet-control-layers-separator {
  305. height: 0;
  306. border-top: 1px solid #ddd;
  307. margin: 5px -10px 5px -6px;
  308. }
  309. /* attribution and scale controls */
  310. .leaflet-container .leaflet-control-attribution {
  311. background-color:rgba(255, 255, 255, 0.7);
  312. box-shadow: 0 1px 7px rgba(0,0,0,0.65);
  313. -webkit-border-radius: 4px;
  314. border-radius: 4px;
  315. margin: 0;
  316. }
  317. .leaflet-control-attribution,
  318. .leaflet-control-scale-line {
  319. padding: 0 5px;
  320. color: #333;
  321. }
  322. .leaflet-container .leaflet-control-attribution,
  323. .leaflet-container .leaflet-control-scale {
  324. font-size: 11px;
  325. }
  326. .leaflet-left .leaflet-control-scale {
  327. margin-left: 5px;
  328. }
  329. .leaflet-bottom .leaflet-control-scale {
  330. margin-bottom: 5px;
  331. }
  332. .leaflet-control-scale-line {
  333. border: 2px solid #777;
  334. border-top: none;
  335. color: black;
  336. line-height: 1.1;
  337. padding: 2px 5px 1px;
  338. font-size: 11px;
  339. text-shadow: 1px 1px 1px #fff;
  340. background-color:rgba(255, 255, 255, 0.7);
  341. box-shadow: 0 1px 7px rgba(0,0,0,0.65);
  342. -webkit-border-radius: 4px;
  343. border-radius: 4px;
  344. white-space: nowrap;
  345. overflow: hidden;
  346. }
  347. .leaflet-control-scale-line:not(:first-child) {
  348. border-top: 2px solid #777;
  349. border-bottom: none;
  350. margin-top: -2px;
  351. box-shadow: 0 1px 7px rgba(0,0,0,0.65);
  352. -webkit-border-radius: 4px;
  353. border-radius: 4px;
  354. }
  355. .leaflet-control-scale-line:not(:first-child):not(:last-child) {
  356. border-bottom: 2px solid #777;
  357. }
  358. .leaflet-touch .leaflet-control-attribution,
  359. .leaflet-touch .leaflet-control-layers,
  360. .leaflet-touch .leaflet-bar {
  361. box-shadow: none;
  362. }
  363. .leaflet-touch .leaflet-control-layers,
  364. .leaflet-touch .leaflet-bar {
  365. }
  366. /* popup */
  367. .leaflet-popup {
  368. position: absolute;
  369. text-align: center;
  370. }
  371. .leaflet-popup-content-wrapper {
  372. padding: 1px;
  373. text-align: left;
  374. }
  375. .leaflet-popup-content {
  376. margin: 13px 19px;
  377. line-height: 1.4;
  378. }
  379. .leaflet-popup-content p {
  380. margin: 18px 0;
  381. }
  382. .leaflet-popup-content b {
  383. color: green;
  384. font-weight: bold;
  385. font-size: 10px;
  386. }
  387. .leaflet-popup-content-wrapper, .leaflet-popup-tip {
  388. background-color:rgba(255, 255, 255, 0.7);
  389. box-shadow: 0 1px 7px rgba(0,0,0,0.65);
  390. -webkit-border-radius: 4px;
  391. border-radius: 4px;
  392. }
  393. .leaflet-container a.leaflet-popup-close-button {
  394. position: absolute;
  395. top: 0;
  396. right: 0;
  397. text-align: center;
  398. width: 18px;
  399. height: 14px;
  400. font-weight: 400;
  401. color: black;
  402. font-size:15px;
  403. text-decoration: none;
  404. font-weight: bold;
  405. background: transparent;
  406. }
  407. .leaflet-container a.leaflet-popup-close-button:hover {
  408. color: #eeeeee;
  409. }
  410. .leaflet-popup-scrolled {
  411. overflow: auto;
  412. border-bottom: 1px solid #ddd;
  413. border-top: 1px solid #ddd;
  414. }
  415. /* div icon */
  416. .leaflet-div-icon {
  417. background: #fff;
  418. border: 1px solid #666;
  419. }
  420. .leaflet-editing-icon {
  421. -webkit-border-radius: 2px;
  422. border-radius: 2px;
  423. }