logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git

leaflet.css (14198B)


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