Le repo des sources pour le site web des JM2L
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

633 lines
14 KiB

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