Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

625 lines
13KB

  1. /* required styles */
  2. .leaflet-pane,
  3. .leaflet-tile,
  4. .leaflet-marker-icon,
  5. .leaflet-marker-shadow,
  6. .leaflet-tile-container,
  7. .leaflet-pane > svg,
  8. .leaflet-pane > canvas,
  9. .leaflet-zoom-box,
  10. .leaflet-image-layer,
  11. .leaflet-layer {
  12. position: absolute;
  13. left: 0;
  14. top: 0;
  15. }
  16. .leaflet-container {
  17. overflow: hidden;
  18. }
  19. .leaflet-tile,
  20. .leaflet-marker-icon,
  21. .leaflet-marker-shadow {
  22. -webkit-user-select: none;
  23. -moz-user-select: none;
  24. user-select: none;
  25. -webkit-user-drag: none;
  26. }
  27. /* Safari renders non-retina tile on retina better with this, but Chrome is worse */
  28. .leaflet-safari .leaflet-tile {
  29. image-rendering: -webkit-optimize-contrast;
  30. }
  31. /* hack that prevents hw layers "stretching" when loading new tiles */
  32. .leaflet-safari .leaflet-tile-container {
  33. width: 1600px;
  34. height: 1600px;
  35. -webkit-transform-origin: 0 0;
  36. }
  37. .leaflet-marker-icon,
  38. .leaflet-marker-shadow {
  39. display: block;
  40. }
  41. /* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
  42. /* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
  43. .leaflet-container .leaflet-overlay-pane svg,
  44. .leaflet-container .leaflet-marker-pane img,
  45. .leaflet-container .leaflet-shadow-pane img,
  46. .leaflet-container .leaflet-tile-pane img,
  47. .leaflet-container img.leaflet-image-layer {
  48. max-width: none !important;
  49. }
  50. .leaflet-container.leaflet-touch-zoom {
  51. -ms-touch-action: pan-x pan-y;
  52. touch-action: pan-x pan-y;
  53. }
  54. .leaflet-container.leaflet-touch-drag {
  55. -ms-touch-action: pinch-zoom;
  56. }
  57. .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
  58. -ms-touch-action: none;
  59. touch-action: none;
  60. }
  61. .leaflet-tile {
  62. filter: inherit;
  63. visibility: hidden;
  64. }
  65. .leaflet-tile-loaded {
  66. visibility: inherit;
  67. }
  68. .leaflet-zoom-box {
  69. width: 0;
  70. height: 0;
  71. -moz-box-sizing: border-box;
  72. box-sizing: border-box;
  73. z-index: 800;
  74. }
  75. /* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
  76. .leaflet-overlay-pane svg {
  77. -moz-user-select: none;
  78. }
  79. .leaflet-pane { z-index: 400; }
  80. .leaflet-tile-pane { z-index: 200; }
  81. .leaflet-overlay-pane { z-index: 400; }
  82. .leaflet-shadow-pane { z-index: 500; }
  83. .leaflet-marker-pane { z-index: 600; }
  84. .leaflet-tooltip-pane { z-index: 650; }
  85. .leaflet-popup-pane { z-index: 700; }
  86. .leaflet-map-pane canvas { z-index: 100; }
  87. .leaflet-map-pane svg { z-index: 200; }
  88. .leaflet-vml-shape {
  89. width: 1px;
  90. height: 1px;
  91. }
  92. .lvml {
  93. behavior: url(#default#VML);
  94. display: inline-block;
  95. position: absolute;
  96. }
  97. /* control positioning */
  98. .leaflet-control {
  99. position: relative;
  100. z-index: 800;
  101. pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
  102. pointer-events: auto;
  103. }
  104. .leaflet-top,
  105. .leaflet-bottom {
  106. position: absolute;
  107. z-index: 1000;
  108. pointer-events: none;
  109. }
  110. .leaflet-top {
  111. top: 0;
  112. }
  113. .leaflet-right {
  114. right: 0;
  115. }
  116. .leaflet-bottom {
  117. bottom: 0;
  118. }
  119. .leaflet-left {
  120. left: 0;
  121. }
  122. .leaflet-control {
  123. float: left;
  124. clear: both;
  125. }
  126. .leaflet-right .leaflet-control {
  127. float: right;
  128. }
  129. .leaflet-top .leaflet-control {
  130. margin-top: 10px;
  131. }
  132. .leaflet-bottom .leaflet-control {
  133. margin-bottom: 10px;
  134. }
  135. .leaflet-left .leaflet-control {
  136. margin-left: 10px;
  137. }
  138. .leaflet-right .leaflet-control {
  139. margin-right: 10px;
  140. }
  141. /* zoom and fade animations */
  142. .leaflet-fade-anim .leaflet-tile {
  143. will-change: opacity;
  144. }
  145. .leaflet-fade-anim .leaflet-popup {
  146. opacity: 0;
  147. -webkit-transition: opacity 0.2s linear;
  148. -moz-transition: opacity 0.2s linear;
  149. -o-transition: opacity 0.2s linear;
  150. transition: opacity 0.2s linear;
  151. }
  152. .leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
  153. opacity: 1;
  154. }
  155. .leaflet-zoom-animated {
  156. -webkit-transform-origin: 0 0;
  157. -ms-transform-origin: 0 0;
  158. transform-origin: 0 0;
  159. }
  160. .leaflet-zoom-anim .leaflet-zoom-animated {
  161. will-change: transform;
  162. }
  163. .leaflet-zoom-anim .leaflet-zoom-animated {
  164. -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
  165. -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
  166. -o-transition: -o-transform 0.25s cubic-bezier(0,0,0.25,1);
  167. transition: transform 0.25s cubic-bezier(0,0,0.25,1);
  168. }
  169. .leaflet-zoom-anim .leaflet-tile,
  170. .leaflet-pan-anim .leaflet-tile {
  171. -webkit-transition: none;
  172. -moz-transition: none;
  173. -o-transition: none;
  174. transition: none;
  175. }
  176. .leaflet-zoom-anim .leaflet-zoom-hide {
  177. visibility: hidden;
  178. }
  179. /* cursors */
  180. .leaflet-interactive {
  181. cursor: pointer;
  182. }
  183. .leaflet-grab {
  184. cursor: -webkit-grab;
  185. cursor: -moz-grab;
  186. }
  187. .leaflet-crosshair,
  188. .leaflet-crosshair .leaflet-interactive {
  189. cursor: crosshair;
  190. }
  191. .leaflet-popup-pane,
  192. .leaflet-control {
  193. cursor: auto;
  194. }
  195. .leaflet-dragging .leaflet-grab,
  196. .leaflet-dragging .leaflet-grab .leaflet-interactive,
  197. .leaflet-dragging .leaflet-marker-draggable {
  198. cursor: move;
  199. cursor: -webkit-grabbing;
  200. cursor: -moz-grabbing;
  201. }
  202. /* marker & overlays interactivity */
  203. .leaflet-marker-icon,
  204. .leaflet-marker-shadow,
  205. .leaflet-image-layer,
  206. .leaflet-pane > svg path,
  207. .leaflet-tile-container {
  208. pointer-events: none;
  209. }
  210. .leaflet-marker-icon.leaflet-interactive,
  211. .leaflet-image-layer.leaflet-interactive,
  212. .leaflet-pane > svg path.leaflet-interactive {
  213. pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
  214. pointer-events: auto;
  215. }
  216. /* visual tweaks */
  217. .leaflet-container {
  218. background: #ddd;
  219. outline: 0;
  220. }
  221. .leaflet-container a {
  222. color: #0078A8;
  223. }
  224. .leaflet-container a.leaflet-active {
  225. outline: 2px solid orange;
  226. }
  227. .leaflet-zoom-box {
  228. border: 2px dotted #38f;
  229. background: rgba(255,255,255,0.5);
  230. }
  231. /* general typography */
  232. .leaflet-container {
  233. font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
  234. }
  235. /* general toolbar styles */
  236. .leaflet-bar {
  237. box-shadow: 0 1px 5px rgba(0,0,0,0.65);
  238. border-radius: 4px;
  239. }
  240. .leaflet-bar a,
  241. .leaflet-bar a:hover {
  242. background-color: #fff;
  243. border-bottom: 1px solid #ccc;
  244. width: 26px;
  245. height: 26px;
  246. line-height: 26px;
  247. display: block;
  248. text-align: center;
  249. text-decoration: none;
  250. color: black;
  251. }
  252. .leaflet-bar a,
  253. .leaflet-control-layers-toggle {
  254. background-position: 50% 50%;
  255. background-repeat: no-repeat;
  256. display: block;
  257. }
  258. .leaflet-bar a:hover {
  259. background-color: #f4f4f4;
  260. }
  261. .leaflet-bar a:first-child {
  262. border-top-left-radius: 4px;
  263. border-top-right-radius: 4px;
  264. }
  265. .leaflet-bar a:last-child {
  266. border-bottom-left-radius: 4px;
  267. border-bottom-right-radius: 4px;
  268. border-bottom: none;
  269. }
  270. .leaflet-bar a.leaflet-disabled {
  271. cursor: default;
  272. background-color: #f4f4f4;
  273. color: #bbb;
  274. }
  275. .leaflet-touch .leaflet-bar a {
  276. width: 30px;
  277. height: 30px;
  278. line-height: 30px;
  279. }
  280. /* zoom control */
  281. .leaflet-control-zoom-in,
  282. .leaflet-control-zoom-out {
  283. font: bold 18px 'Lucida Console', Monaco, monospace;
  284. text-indent: 1px;
  285. }
  286. .leaflet-control-zoom-out {
  287. font-size: 20px;
  288. }
  289. .leaflet-touch .leaflet-control-zoom-in {
  290. font-size: 22px;
  291. }
  292. .leaflet-touch .leaflet-control-zoom-out {
  293. font-size: 24px;
  294. }
  295. /* layers control */
  296. .leaflet-control-layers {
  297. box-shadow: 0 1px 5px rgba(0,0,0,0.4);
  298. background: #fff;
  299. border-radius: 5px;
  300. }
  301. .leaflet-control-layers-toggle {
  302. background-image: url(images/layers.png);
  303. width: 36px;
  304. height: 36px;
  305. }
  306. .leaflet-retina .leaflet-control-layers-toggle {
  307. background-image: url(images/layers-2x.png);
  308. background-size: 26px 26px;
  309. }
  310. .leaflet-touch .leaflet-control-layers-toggle {
  311. width: 44px;
  312. height: 44px;
  313. }
  314. .leaflet-control-layers .leaflet-control-layers-list,
  315. .leaflet-control-layers-expanded .leaflet-control-layers-toggle {
  316. display: none;
  317. }
  318. .leaflet-control-layers-expanded .leaflet-control-layers-list {
  319. display: block;
  320. position: relative;
  321. }
  322. .leaflet-control-layers-expanded {
  323. padding: 6px 10px 6px 6px;
  324. color: #333;
  325. background: #fff;
  326. }
  327. .leaflet-control-layers-scrollbar {
  328. overflow-y: scroll;
  329. padding-right: 5px;
  330. }
  331. .leaflet-control-layers-selector {
  332. margin-top: 2px;
  333. position: relative;
  334. top: 1px;
  335. }
  336. .leaflet-control-layers label {
  337. display: block;
  338. }
  339. .leaflet-control-layers-separator {
  340. height: 0;
  341. border-top: 1px solid #ddd;
  342. margin: 5px -10px 5px -6px;
  343. }
  344. /* Default icon URLs */
  345. .leaflet-default-icon-path {
  346. background-image: url(images/marker-icon.png);
  347. }
  348. /* attribution and scale controls */
  349. .leaflet-container .leaflet-control-attribution {
  350. background: #fff;
  351. background: rgba(255, 255, 255, 0.7);
  352. margin: 0;
  353. }
  354. .leaflet-control-attribution,
  355. .leaflet-control-scale-line {
  356. padding: 0 5px;
  357. color: #333;
  358. }
  359. .leaflet-control-attribution a {
  360. text-decoration: none;
  361. }
  362. .leaflet-control-attribution a:hover {
  363. text-decoration: underline;
  364. }
  365. .leaflet-container .leaflet-control-attribution,
  366. .leaflet-container .leaflet-control-scale {
  367. font-size: 11px;
  368. }
  369. .leaflet-left .leaflet-control-scale {
  370. margin-left: 5px;
  371. }
  372. .leaflet-bottom .leaflet-control-scale {
  373. margin-bottom: 5px;
  374. }
  375. .leaflet-control-scale-line {
  376. border: 2px solid #777;
  377. border-top: none;
  378. line-height: 1.1;
  379. padding: 2px 5px 1px;
  380. font-size: 11px;
  381. white-space: nowrap;
  382. overflow: hidden;
  383. -moz-box-sizing: border-box;
  384. box-sizing: border-box;
  385. background: #fff;
  386. background: rgba(255, 255, 255, 0.5);
  387. }
  388. .leaflet-control-scale-line:not(:first-child) {
  389. border-top: 2px solid #777;
  390. border-bottom: none;
  391. margin-top: -2px;
  392. }
  393. .leaflet-control-scale-line:not(:first-child):not(:last-child) {
  394. border-bottom: 2px solid #777;
  395. }
  396. .leaflet-touch .leaflet-control-attribution,
  397. .leaflet-touch .leaflet-control-layers,
  398. .leaflet-touch .leaflet-bar {
  399. box-shadow: none;
  400. }
  401. .leaflet-touch .leaflet-control-layers,
  402. .leaflet-touch .leaflet-bar {
  403. border: 2px solid rgba(0,0,0,0.2);
  404. background-clip: padding-box;
  405. }
  406. /* popup */
  407. .leaflet-popup {
  408. position: absolute;
  409. text-align: center;
  410. margin-bottom: 20px;
  411. }
  412. .leaflet-popup-content-wrapper {
  413. padding: 1px;
  414. text-align: left;
  415. border-radius: 12px;
  416. }
  417. .leaflet-popup-content {
  418. margin: 13px 19px;
  419. line-height: 1.4;
  420. }
  421. .leaflet-popup-content p {
  422. margin: 18px 0;
  423. }
  424. .leaflet-popup-tip-container {
  425. width: 40px;
  426. height: 20px;
  427. position: absolute;
  428. left: 50%;
  429. margin-left: -20px;
  430. overflow: hidden;
  431. pointer-events: none;
  432. }
  433. .leaflet-popup-tip {
  434. width: 17px;
  435. height: 17px;
  436. padding: 1px;
  437. margin: -10px auto 0;
  438. -webkit-transform: rotate(45deg);
  439. -moz-transform: rotate(45deg);
  440. -ms-transform: rotate(45deg);
  441. -o-transform: rotate(45deg);
  442. transform: rotate(45deg);
  443. }
  444. .leaflet-popup-content-wrapper,
  445. .leaflet-popup-tip {
  446. background: white;
  447. color: #333;
  448. box-shadow: 0 3px 14px rgba(0,0,0,0.4);
  449. }
  450. .leaflet-container a.leaflet-popup-close-button {
  451. position: absolute;
  452. top: 0;
  453. right: 0;
  454. padding: 4px 4px 0 0;
  455. border: none;
  456. text-align: center;
  457. width: 18px;
  458. height: 14px;
  459. font: 16px/14px Tahoma, Verdana, sans-serif;
  460. color: #c3c3c3;
  461. text-decoration: none;
  462. font-weight: bold;
  463. background: transparent;
  464. }
  465. .leaflet-container a.leaflet-popup-close-button:hover {
  466. color: #999;
  467. }
  468. .leaflet-popup-scrolled {
  469. overflow: auto;
  470. border-bottom: 1px solid #ddd;
  471. border-top: 1px solid #ddd;
  472. }
  473. .leaflet-oldie .leaflet-popup-content-wrapper {
  474. zoom: 1;
  475. }
  476. .leaflet-oldie .leaflet-popup-tip {
  477. width: 24px;
  478. margin: 0 auto;
  479. -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
  480. filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
  481. }
  482. .leaflet-oldie .leaflet-popup-tip-container {
  483. margin-top: -1px;
  484. }
  485. .leaflet-oldie .leaflet-control-zoom,
  486. .leaflet-oldie .leaflet-control-layers,
  487. .leaflet-oldie .leaflet-popup-content-wrapper,
  488. .leaflet-oldie .leaflet-popup-tip {
  489. border: 1px solid #999;
  490. }
  491. /* div icon */
  492. .leaflet-div-icon {
  493. background: #fff;
  494. border: 1px solid #666;
  495. }
  496. /* Tooltip */
  497. /* Base styles for the element that has a tooltip */
  498. .leaflet-tooltip {
  499. position: absolute;
  500. padding: 6px;
  501. background-color: #fff;
  502. border: 1px solid #fff;
  503. border-radius: 3px;
  504. color: #222;
  505. white-space: nowrap;
  506. -webkit-user-select: none;
  507. -moz-user-select: none;
  508. -ms-user-select: none;
  509. user-select: none;
  510. pointer-events: none;
  511. box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  512. }
  513. .leaflet-tooltip.leaflet-clickable {
  514. cursor: pointer;
  515. pointer-events: auto;
  516. }
  517. .leaflet-tooltip-top:before,
  518. .leaflet-tooltip-bottom:before,
  519. .leaflet-tooltip-left:before,
  520. .leaflet-tooltip-right:before {
  521. position: absolute;
  522. pointer-events: none;
  523. border: 6px solid transparent;
  524. background: transparent;
  525. content: "";
  526. }
  527. /* Directions */
  528. .leaflet-tooltip-bottom {
  529. margin-top: 6px;
  530. }
  531. .leaflet-tooltip-top {
  532. margin-top: -6px;
  533. }
  534. .leaflet-tooltip-bottom:before,
  535. .leaflet-tooltip-top:before {
  536. left: 50%;
  537. margin-left: -6px;
  538. }
  539. .leaflet-tooltip-top:before {
  540. bottom: 0;
  541. margin-bottom: -12px;
  542. border-top-color: #fff;
  543. }
  544. .leaflet-tooltip-bottom:before {
  545. top: 0;
  546. margin-top: -12px;
  547. margin-left: -6px;
  548. border-bottom-color: #fff;
  549. }
  550. .leaflet-tooltip-left {
  551. margin-left: -6px;
  552. }
  553. .leaflet-tooltip-right {
  554. margin-left: 6px;
  555. }
  556. .leaflet-tooltip-left:before,
  557. .leaflet-tooltip-right:before {
  558. top: 50%;
  559. margin-top: -6px;
  560. }
  561. .leaflet-tooltip-left:before {
  562. right: 0;
  563. margin-right: -12px;
  564. border-left-color: #fff;
  565. }
  566. .leaflet-tooltip-right:before {
  567. left: 0;
  568. margin-left: -12px;
  569. border-right-color: #fff;
  570. }