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.
 
 
 
 
 

259 lines
6.0 KiB

  1. .leaflet-routing-container, .leaflet-routing-error {
  2. width: 320px;
  3. background-color: white;
  4. padding-top: 4px;
  5. transition: all 0.2s ease;
  6. box-sizing: border-box;
  7. }
  8. .leaflet-control-container .leaflet-routing-container-hide {
  9. width: 32px;
  10. height: 32px;
  11. }
  12. .leaflet-routing-container h2 {
  13. font-size: 14px;
  14. }
  15. .leaflet-routing-container h3 {
  16. font-size: 12px;
  17. font-weight: normal;
  18. }
  19. .leaflet-routing-collapsible .leaflet-routing-geocoders {
  20. margin-top: 20px;
  21. }
  22. .leaflet-routing-alt, .leaflet-routing-geocoders, .leaflet-routing-error {
  23. padding: 6px;
  24. margin-top: 2px;
  25. margin-bottom: 6px;
  26. border-bottom: 1px solid #ccc;
  27. max-height: 320px;
  28. overflow-y: auto;
  29. transition: all 0.2s ease;
  30. }
  31. .leaflet-control-container .leaflet-routing-container-hide .leaflet-routing-alt,
  32. .leaflet-control-container .leaflet-routing-container-hide .leaflet-routing-geocoders {
  33. display: none;
  34. }
  35. .leaflet-bar .leaflet-routing-alt:last-child {
  36. border-bottom: none;
  37. }
  38. .leaflet-routing-alt-minimized {
  39. color: #888;
  40. max-height: 64px;
  41. overflow: hidden;
  42. cursor: pointer;
  43. }
  44. .leaflet-routing-alt table {
  45. border-collapse: collapse;
  46. }
  47. .leaflet-routing-alt tr:hover {
  48. background-color: #eee;
  49. cursor: pointer;
  50. }
  51. .leaflet-routing-alt::-webkit-scrollbar {
  52. width: 8px;
  53. }
  54. .leaflet-routing-alt::-webkit-scrollbar-track {
  55. border-radius: 2px;
  56. background-color: #eee;
  57. }
  58. .leaflet-routing-alt::-webkit-scrollbar-thumb {
  59. border-radius: 2px;
  60. background-color: #888;
  61. }
  62. .leaflet-routing-icon {
  63. background-image: url('leaflet.routing.icons.png');
  64. -webkit-background-size: 240px 20px;
  65. background-size: 240px 20px;
  66. background-repeat: no-repeat;
  67. margin: 0;
  68. content: '';
  69. display: inline-block;
  70. vertical-align: top;
  71. width: 20px;
  72. height: 20px;
  73. }
  74. .leaflet-routing-icon-continue { background-position: 0 0; }
  75. .leaflet-routing-icon-sharp-right { background-position: -20px 0; }
  76. .leaflet-routing-icon-turn-right { background-position: -40px 0; }
  77. .leaflet-routing-icon-bear-right { background-position: -60px 0; }
  78. .leaflet-routing-icon-u-turn { background-position: -80px 0; }
  79. .leaflet-routing-icon-sharp-left { background-position: -100px 0; }
  80. .leaflet-routing-icon-turn-left { background-position: -120px 0; }
  81. .leaflet-routing-icon-bear-left { background-position: -140px 0; }
  82. .leaflet-routing-icon-depart { background-position: -160px 0; }
  83. .leaflet-routing-icon-enter-roundabout { background-position: -180px 0; }
  84. .leaflet-routing-icon-arrive { background-position: -200px 0; }
  85. .leaflet-routing-icon-via { background-position: -220px 0; }
  86. .leaflet-routing-geocoders div {
  87. padding: 4px 0px 4px 0px;
  88. }
  89. .leaflet-routing-geocoders input {
  90. width: 303px;
  91. width: calc(100% - 4px);
  92. line-height: 1.67;
  93. border: 1px solid #ccc;
  94. }
  95. .leaflet-routing-geocoders button {
  96. font: bold 18px 'Lucida Console', Monaco, monospace;
  97. border: 1px solid #ccc;
  98. border-radius: 4px;
  99. background-color: white;
  100. margin: 0;
  101. margin-right: 3px;
  102. float: right;
  103. cursor: pointer;
  104. transition: background-color 0.2s ease;
  105. }
  106. .leaflet-routing-add-waypoint:after {
  107. content: '+';
  108. }
  109. .leaflet-routing-reverse-waypoints:after {
  110. font-weight: normal;
  111. content: '\21c5';
  112. }
  113. .leaflet-routing-geocoders button:hover {
  114. background-color: #eee;
  115. }
  116. .leaflet-routing-geocoders input,.leaflet-routing-remove-waypoint,.leaflet-routing-geocoder {
  117. position: relative;
  118. }
  119. .leaflet-routing-geocoder-result {
  120. font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
  121. position: absolute;
  122. max-height: 0;
  123. overflow: hidden;
  124. transition: all 0.5s ease;
  125. z-index: 1000; /* Arbitrary, but try to be above "most" things. */
  126. }
  127. .leaflet-routing-geocoder-result table {
  128. width: 100%;
  129. border: 1px solid #ccc;
  130. border-radius: 0 0 4px 4px;
  131. background-color: white;
  132. cursor: pointer;
  133. }
  134. .leaflet-routing-geocoder-result-open {
  135. max-height: 800px;
  136. }
  137. .leaflet-routing-geocoder-selected, .leaflet-routing-geocoder-result tr:hover {
  138. background-color: #eee;
  139. }
  140. .leaflet-routing-geocoder-no-results {
  141. font-style: italic;
  142. color: #888;
  143. }
  144. .leaflet-routing-remove-waypoint {
  145. background-color: transparent;
  146. display: inline-block;
  147. vertical-align: middle;
  148. cursor: pointer;
  149. }
  150. .leaflet-routing-remove-waypoint:after {
  151. position: absolute;
  152. display: block;
  153. width: 15px;
  154. height: 1px;
  155. z-index: 1;
  156. right: 1px;
  157. top: 4px;
  158. bottom: 0;
  159. margin: auto;
  160. padding: 2px;
  161. font-size: 18px;
  162. font-weight: bold;
  163. content: "\00d7";
  164. text-align: center;
  165. cursor: pointer;
  166. color: #ccc;
  167. background: white;
  168. padding-bottom: 16px;
  169. margin-top: -16px;
  170. padding-right: 4px;
  171. line-height: 1;
  172. }
  173. .leaflet-routing-remove-waypoint:hover {
  174. color: black;
  175. }
  176. .leaflet-routing-instruction-distance {
  177. width: 48px;
  178. }
  179. .leaflet-routing-collapse-btn {
  180. position: absolute;
  181. top: 0;
  182. right: 6px;
  183. font-size: 24px;
  184. color: #ccc;
  185. font-weight: bold;
  186. }
  187. .leaflet-routing-collapse-btn:after {
  188. content: '\00d7';
  189. }
  190. .leaflet-routing-container-hide .leaflet-routing-collapse-btn {
  191. position: relative;
  192. left: 4px;
  193. top: 4px;
  194. display: block;
  195. width: 26px;
  196. height: 23px;
  197. background-image: url('routing-icon.png');
  198. }
  199. .leaflet-routing-container-hide .leaflet-routing-collapse-btn:after {
  200. content: none;
  201. }
  202. .leaflet-top .leaflet-routing-container.leaflet-routing-container-hide {
  203. margin-top: 10px !important;
  204. }
  205. .leaflet-right .leaflet-routing-container.leaflet-routing-container-hide {
  206. margin-right: 10px !important;
  207. }
  208. .leaflet-bottom .leaflet-routing-container.leaflet-routing-container-hide {
  209. margin-bottom: 10px !important;
  210. }
  211. .leaflet-left .leaflet-routing-container.leaflet-routing-container-hide {
  212. margin-left: 10px !important;
  213. }
  214. @media only screen and (max-width: 640px) {
  215. .leaflet-routing-container {
  216. margin: 0 !important;
  217. padding: 0 !important;
  218. width: 100%;
  219. height: 100%;
  220. }
  221. }