Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

662 lines
14KB

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