|
1 /*! |
|
2 * @brief Geoportal Extension for Leaflet |
|
3 * |
|
4 * This software is released under the licence CeCILL-B (Free BSD compatible) |
|
5 * @see http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt |
|
6 * @see http://www.cecill.info/licences/Licence_CeCILL-B_V1-fr.txt |
|
7 * @see http://www.cecill.info/ |
|
8 * |
|
9 * copyright CeCILL-B |
|
10 * copyright IGN |
|
11 * @author IGN |
|
12 * @version 0.8.1 |
|
13 * @date 2016-12-02 |
|
14 * |
|
15 */ |
|
16 /* MOUSE POSITION */ |
|
17 |
|
18 /* Showing/hiding drawing panel */ |
|
19 |
|
20 label[id^=GPshowDrawingPicto-] { |
|
21 display: inline-block; |
|
22 } |
|
23 |
|
24 input[id^=GPshowDrawing-] + label { |
|
25 display: block; |
|
26 } |
|
27 |
|
28 input[id^=GPshowDrawing-]:checked + label { |
|
29 display: none; |
|
30 } |
|
31 |
|
32 input[id^=GPshowDrawing-] + label + div { |
|
33 display: none; |
|
34 } |
|
35 |
|
36 input[id^=GPshowDrawing-]:checked + label + div { |
|
37 display: block; |
|
38 } |
|
39 |
|
40 /* General panels */ |
|
41 |
|
42 div[^=GPdrawingPanel-] { |
|
43 width: 240px; |
|
44 overflow: hidden; |
|
45 } |
|
46 |
|
47 /* Basic infos */ |
|
48 |
|
49 div[^=GPdrawingBasicPanel-] { |
|
50 padding: 10px 15px; |
|
51 } |
|
52 |
|
53 .GPdrawingLabel, |
|
54 .GPdrawingCoords { |
|
55 display: inline-block; |
|
56 line-height: 20px; |
|
57 } |
|
58 |
|
59 .GPdrawingLabel { |
|
60 width: 80px; |
|
61 font-weight: bold; |
|
62 } |
|
63 |
|
64 .GPdrawingCoords { |
|
65 width: 110px; |
|
66 } |
|
67 |
|
68 /* markers selector */ |
|
69 .marker-input-radio { |
|
70 display : none ; |
|
71 } |
|
72 |
|
73 input.marker-input-radio:checked + label { |
|
74 border: 1px solid red; |
|
75 } |
|
76 |
|
77 |
|
78 /* Calc waiting */ |
|
79 |
|
80 .GPelevationPathCalcWaitingContainerVisible, |
|
81 .GPelevationPathCalcWaitingContainerHidden { |
|
82 position: absolute; |
|
83 top: 32px; |
|
84 bottom: 0; |
|
85 left: 0; |
|
86 right: 0; |
|
87 background-color: rgba(255,255,255,0.9); |
|
88 font-size: 1.5em; |
|
89 font-weight: bold; |
|
90 overflow: hidden; |
|
91 } |
|
92 |
|
93 .GPelevationPathCalcWaitingContainerVisible { |
|
94 display: -webkit-flex; |
|
95 display: flex; |
|
96 } |
|
97 |
|
98 .GPelevationPathCalcWaitingContainerHidden { |
|
99 display: none; |
|
100 } |
|
101 |
|
102 .GPelevationPathCalcWaiting { |
|
103 margin: auto; |
|
104 } |
|
105 |
|
106 .GPelevationPathCalcWaitingContainerVisible, |
|
107 .GPelevationPathCalcWaitingContainerHidden { |
|
108 border-radius: 5px; |
|
109 } |
|
110 |
|
111 /* CSS : Raw */ |
|
112 |
|
113 #profileElevationRaw { |
|
114 resize: none; |
|
115 padding: unset; |
|
116 } |
|
117 |
|
118 /* CSS : default */ |
|
119 |
|
120 /* suppression des puces sur les listes */ |
|
121 div#profileElevationByDefault { |
|
122 display: -webkit-flex; |
|
123 display: -ms-flexbox; |
|
124 display: -webkit-box; |
|
125 display: flex; |
|
126 flex-direction: column; |
|
127 /*flex-flow: row wrap;*/ |
|
128 height: inherit; |
|
129 width: inherit; |
|
130 } |
|
131 |
|
132 div#profileElevationByDefault > * { |
|
133 -webkit-flex: 1; |
|
134 -webkit-box-flex: 1; |
|
135 -ms-flex: 1; |
|
136 flex: 1 100%; |
|
137 } |
|
138 |
|
139 ul#data-default { |
|
140 list-style: none; |
|
141 box-sizing: border-box; |
|
142 padding: 0px; |
|
143 position : relative; |
|
144 margin : 10px; |
|
145 margin-top: auto; |
|
146 margin-bottom: auto; |
|
147 height: 100px; |
|
148 /*width: 100%*/ |
|
149 } |
|
150 |
|
151 .z-title-vertical { |
|
152 align-self: flex-start; |
|
153 padding-left: 10px; |
|
154 /*position: absolute;*/ |
|
155 /*transform: rotate(-90deg);*/ |
|
156 } |
|
157 |
|
158 .x-title-horizontal { |
|
159 align-self: flex-end; |
|
160 padding-right: 10px; |
|
161 /*position: absolute;*/ |
|
162 /*transform: translate(120px, -30px);*/ |
|
163 } |
|
164 |
|
165 .z-axis { |
|
166 border-right: none; |
|
167 border-left: solid 2px; |
|
168 cursor: default; |
|
169 } |
|
170 |
|
171 .x-axis { |
|
172 border-top: none; |
|
173 border-bottom: solid 2px; |
|
174 cursor: default; |
|
175 } |
|
176 |
|
177 ul#data-default li.percent { |
|
178 display: inline-block; |
|
179 vertical-align: bottom; |
|
180 background-color: #C77A04; |
|
181 opacity : 0.3; |
|
182 border-top: solid 1px; |
|
183 border-radius: 2px; |
|
184 cursor: pointer; |
|
185 } |
|
186 |
|
187 li.axe span.bottom-axis { |
|
188 vertical-align: bottom; |
|
189 } |
|
190 |
|
191 ul#data-default .percent:hover { |
|
192 display: inline-block; |
|
193 /*vertical-align: bottom;*/ |
|
194 background-color: #f00; |
|
195 } |
|
196 |
|
197 .v0 { height: 0%; } |
|
198 .v1 { height: 1%; } |
|
199 .v2 { height: 2%; } |
|
200 .v3 { height: 3%; } |
|
201 .v4 { height: 4%; } |
|
202 .v5 { height: 5%; } |
|
203 .v6 { height: 6%; } |
|
204 .v7 { height: 7%; } |
|
205 .v8 { height: 8%; } |
|
206 .v9 { height: 9%; } |
|
207 .v10 { height: 10%; } |
|
208 .v11 { height: 11%; } |
|
209 .v12 { height: 12%; } |
|
210 .v13 { height: 13%; } |
|
211 .v14 { height: 14%; } |
|
212 .v15 { height: 15%; } |
|
213 .v16 { height: 16%; } |
|
214 .v17 { height: 17%; } |
|
215 .v18 { height: 18%; } |
|
216 .v19 { height: 19%; } |
|
217 .v20 { height: 20%; } |
|
218 .v21 { height: 21%; } |
|
219 .v22 { height: 22%; } |
|
220 .v23 { height: 23%; } |
|
221 .v24 { height: 24%; } |
|
222 .v25 { height: 25%; } |
|
223 .v26 { height: 26%; } |
|
224 .v27 { height: 27%; } |
|
225 .v28 { height: 28%; } |
|
226 .v29 { height: 29%; } |
|
227 .v30 { height: 30%; } |
|
228 .v31 { height: 31%; } |
|
229 .v32 { height: 32%; } |
|
230 .v33 { height: 33%; } |
|
231 .v34 { height: 34%; } |
|
232 .v35 { height: 35%; } |
|
233 .v36 { height: 36%; } |
|
234 .v37 { height: 37%; } |
|
235 .v38 { height: 38%; } |
|
236 .v39 { height: 39%; } |
|
237 .v40 { height: 40%; } |
|
238 .v41 { height: 41%; } |
|
239 .v42 { height: 42%; } |
|
240 .v43 { height: 43%; } |
|
241 .v44 { height: 44%; } |
|
242 .v45 { height: 45%; } |
|
243 .v46 { height: 46%; } |
|
244 .v47 { height: 47%; } |
|
245 .v48 { height: 48%; } |
|
246 .v49 { height: 49%; } |
|
247 .v50 { height: 50%; } |
|
248 .v51 { height: 51%; } |
|
249 .v52 { height: 52%; } |
|
250 .v53 { height: 53%; } |
|
251 .v54 { height: 54%; } |
|
252 .v55 { height: 55%; } |
|
253 .v56 { height: 56%; } |
|
254 .v57 { height: 57%; } |
|
255 .v58 { height: 58%; } |
|
256 .v59 { height: 59%; } |
|
257 .v60 { height: 60%; } |
|
258 .v61 { height: 61%; } |
|
259 .v62 { height: 62%; } |
|
260 .v63 { height: 63%; } |
|
261 .v64 { height: 64%; } |
|
262 .v65 { height: 65%; } |
|
263 .v66 { height: 66%; } |
|
264 .v67 { height: 67%; } |
|
265 .v68 { height: 68%; } |
|
266 .v69 { height: 69%; } |
|
267 .v70 { height: 70%; } |
|
268 .v71 { height: 71%; } |
|
269 .v72 { height: 72%; } |
|
270 .v73 { height: 73%; } |
|
271 .v74 { height: 74%; } |
|
272 .v75 { height: 75%; } |
|
273 .v76 { height: 76%; } |
|
274 .v77 { height: 77%; } |
|
275 .v78 { height: 78%; } |
|
276 .v79 { height: 79%; } |
|
277 .v80 { height: 80%; } |
|
278 .v81 { height: 81%; } |
|
279 .v82 { height: 82%; } |
|
280 .v83 { height: 83%; } |
|
281 .v84 { height: 84%; } |
|
282 .v85 { height: 85%; } |
|
283 .v86 { height: 86%; } |
|
284 .v87 { height: 87%; } |
|
285 .v88 { height: 88%; } |
|
286 .v89 { height: 89%; } |
|
287 .v90 { height: 90%; } |
|
288 .v91 { height: 91%; } |
|
289 .v92 { height: 92%; } |
|
290 .v93 { height: 93%; } |
|
291 .v94 { height: 94%; } |
|
292 .v95 { height: 95%; } |
|
293 .v96 { height: 96%; } |
|
294 .v97 { height: 97%; } |
|
295 .v98 { height: 98%; } |
|
296 .v99 { height: 99%; } |
|
297 .v100 { height: 100%; } |
|
298 |
|
299 /* CSS : D3 */ |
|
300 |
|
301 text { |
|
302 fill: rgb(94, 94, 94); |
|
303 font-family: Verdana; |
|
304 font-size: 10px; |
|
305 opacity: 1; |
|
306 text-anchor: end; |
|
307 } |
|
308 |
|
309 .axis-d3 { |
|
310 fill: none; |
|
311 stroke: #5E5E5E; |
|
312 stroke-width: 1; |
|
313 shape-rendering: crispEdges; |
|
314 } |
|
315 |
|
316 .area-d3 { |
|
317 fill: #C77A04; |
|
318 stroke: #5E5E5E; |
|
319 stroke-width: 0; |
|
320 fill-opacity: 0.4; |
|
321 } |
|
322 |
|
323 .line-d3 { |
|
324 fill: none; |
|
325 stroke: #C77A04; |
|
326 stroke-width: 1px; |
|
327 } |
|
328 |
|
329 .grid-d3 .tick { |
|
330 stroke: lightgrey; |
|
331 opacity: 0.7; |
|
332 } |
|
333 |
|
334 .grid-d3 path { |
|
335 stroke-width: 0; |
|
336 } |
|
337 |
|
338 .grid-d3 .tick { |
|
339 stroke: lightgrey; |
|
340 opacity: 0.7; |
|
341 } |
|
342 |
|
343 .grid-d3 path { |
|
344 stroke-width: 0; |
|
345 } |
|
346 |
|
347 .overlay-d3 { |
|
348 fill: none; |
|
349 pointer-events: all; |
|
350 } |
|
351 |
|
352 .focusLine-d3 { |
|
353 fill: none; |
|
354 stroke: #C77A04; |
|
355 stroke-width: 0.5px; |
|
356 } |
|
357 |
|
358 .focusCircle-d3 { |
|
359 fill: #C77A04; |
|
360 } |
|
361 |
|
362 div.tooltip-d3 { |
|
363 position: inherit;; |
|
364 text-align: left; |
|
365 width: 80px; |
|
366 height: 35px; |
|
367 padding: 2px; |
|
368 font: 8px sans-serif; |
|
369 background: lightsteelblue; |
|
370 border: 0px; |
|
371 border-radius: 8px; |
|
372 pointer-events: none; |
|
373 } |
|
374 |
|
375 /* Widgets : general */ |
|
376 |
|
377 .GPwidget { |
|
378 position: absolute; |
|
379 font-family: "Helvetica Neue",Arial,Helvetica,sans-serif; |
|
380 font-size: 13px; |
|
381 color: #333; |
|
382 } |
|
383 |
|
384 .GPwidget input[type='text'], |
|
385 .GPwidget input[type='button'] { |
|
386 -webkit-appearance: none; |
|
387 color: #333333; |
|
388 } |
|
389 |
|
390 .GPwidget input[type="checkbox"] { |
|
391 display: none; |
|
392 } |
|
393 |
|
394 .GPwidget select { |
|
395 padding-left: 3px; |
|
396 border-radius: 3px; |
|
397 } |
|
398 |
|
399 .GPwidget form { |
|
400 margin-bottom: 0; |
|
401 } |
|
402 |
|
403 .GPwidget * { |
|
404 box-sizing: border-box; |
|
405 background-repeat: no-repeat; |
|
406 } |
|
407 |
|
408 /* waiting */ |
|
409 |
|
410 .GPwaiting { |
|
411 background-image : url("../img/gp/waiting.gif"); |
|
412 background-position : center center; |
|
413 background-repeat : no-repeat; |
|
414 } |
|
415 |
|
416 /* General panels */ |
|
417 |
|
418 .GPpanel { |
|
419 background-color: #FFF; |
|
420 } |
|
421 |
|
422 .GPpanelHeader { |
|
423 position: relative; |
|
424 width: 100%; |
|
425 } |
|
426 |
|
427 .GPpanelTitle { |
|
428 width: 100%; |
|
429 height: 100%; |
|
430 text-align: center; |
|
431 font-weight: bold; |
|
432 } |
|
433 |
|
434 .GPpanelClose, .GPpanelReduce { |
|
435 position: absolute; |
|
436 cursor: pointer; |
|
437 } |
|
438 |
|
439 /* Showing/hiding advanced panels */ |
|
440 |
|
441 .GPshowAdvancedToolPicto { |
|
442 position: relative; |
|
443 box-sizing: border-box; |
|
444 cursor: pointer; |
|
445 } |
|
446 |
|
447 .GPshowAdvancedToolOpen { |
|
448 position: absolute; |
|
449 display: block; |
|
450 box-sizing: border-box; |
|
451 } |
|
452 |
|
453 /* Flex inputs */ |
|
454 |
|
455 .GPflexInput { |
|
456 display: -webkit-flex; |
|
457 display: -ms-flexbox; |
|
458 display: -webkit-box; |
|
459 display: flex; |
|
460 transition: max-height 0.3s ease-out, opacity 0.3s ease-out; |
|
461 } |
|
462 |
|
463 .GPflexInput > * { |
|
464 display: block; |
|
465 height: 28px; |
|
466 line-height: 26px; |
|
467 border: 1px solid #999; |
|
468 border-radius: 0; |
|
469 } |
|
470 |
|
471 .GPflexInput *:not(:last-child) { |
|
472 border-right:none; |
|
473 } |
|
474 |
|
475 .GPflexInput *:first-child { |
|
476 border-radius: 3px 0 0 3px; |
|
477 } |
|
478 |
|
479 .GPflexInput *:last-child { |
|
480 border-radius: 0 3px 3px 0; |
|
481 } |
|
482 |
|
483 .GPflexInput > *:not(input) { |
|
484 overflow: hidden; |
|
485 white-space: nowrap; |
|
486 text-overflow: ellipsis; |
|
487 } |
|
488 |
|
489 .GPflexInput > input { |
|
490 -webkit-flex: 1; |
|
491 -webkit-box-flex: 1; |
|
492 -ms-flex: 1; |
|
493 flex: 1; |
|
494 padding: 0 5px; |
|
495 min-width: 0; |
|
496 } |
|
497 |
|
498 .GPflexInput > select { |
|
499 -webkit-flex: 1; |
|
500 -webkit-box-flex: 1; |
|
501 -ms-flex: 1; |
|
502 flex: 1; |
|
503 padding-right: 7px; |
|
504 } |
|
505 |
|
506 .GPflexInput > label { |
|
507 background-color: #F2F2F2; |
|
508 color: #666; |
|
509 padding-left: 7px; |
|
510 padding-right: 9px; |
|
511 cursor: pointer; |
|
512 } |
|
513 |
|
514 /* Particular inputs */ |
|
515 |
|
516 .GPinputSelect { |
|
517 display: block; |
|
518 height: 28px; |
|
519 line-height: 26px; |
|
520 margin: auto; |
|
521 border: 1px solid #999; |
|
522 color: #333; |
|
523 cursor: pointer; |
|
524 } |
|
525 |
|
526 input.GPinputSubmit { |
|
527 display: block; |
|
528 width: 80px; |
|
529 margin: auto; |
|
530 height: 28px; |
|
531 line-height: 26px; |
|
532 padding: 0; |
|
533 background: none; |
|
534 border: none; |
|
535 border-radius: 3px; |
|
536 font-family: "Helvetica Neue",Arial,Helvetica,sans-serif; |
|
537 color: #FFF; |
|
538 font-weight: bold; |
|
539 opacity: 0.8; |
|
540 transition: opacity 0.2s ease-out; |
|
541 cursor: pointer; |
|
542 } |
|
543 |
|
544 input.GPinputSubmit:hover { |
|
545 opacity: 1; |
|
546 } |
|
547 |
|
548 /* Autocomplete/geocode results */ |
|
549 |
|
550 .GPautoCompleteList, |
|
551 .GPadvancedAutoCompleteList { |
|
552 z-index: 2; |
|
553 display: none; |
|
554 position: absolute; |
|
555 max-height: 140px; |
|
556 background-color: #FFF; |
|
557 border: 1px solid #999; |
|
558 overflow-y: hidden; |
|
559 } |
|
560 |
|
561 .GPadvancedAutoCompleteList { |
|
562 width: calc(100% - 28px); |
|
563 border-top: none; |
|
564 font-size: 0.9em; |
|
565 } |
|
566 |
|
567 .GPautoCompleteProposal { |
|
568 width: 100%; |
|
569 height: 28px; |
|
570 line-height: 16px; |
|
571 padding: 6px 10px; |
|
572 color: #5E5E5E; |
|
573 font-size: 1.0em; |
|
574 overflow: hidden; |
|
575 white-space: nowrap; |
|
576 text-overflow:ellipsis; |
|
577 cursor: pointer; |
|
578 } |
|
579 |
|
580 .GPautoCompleteProposal:hover { |
|
581 color: #000000; |
|
582 background-color: #CEDBEF |
|
583 } |
|
584 |
|
585 /* Showing additional hidden options */ |
|
586 |
|
587 .GPshowMoreOptions { |
|
588 display: block; |
|
589 position: absolute; |
|
590 width: 28px; |
|
591 height: 28px; |
|
592 cursor: pointer; |
|
593 transition: all 0.5s ease-out 0s; |
|
594 } |
|
595 |
|
596 input[type="checkbox"]:checked + .GPshowMoreOptions { |
|
597 -webkit-transform: rotateX(180deg); |
|
598 transform: rotateX(180deg); |
|
599 } |
|
600 |
|
601 /* ISOCHRON */ |
|
602 |
|
603 div[id^=GPisochron-] { |
|
604 top: 140px; |
|
605 } |
|
606 |
|
607 /* Showing/hiding mouse position panel */ |
|
608 |
|
609 label[id^=GPshowIsochronPicto] { |
|
610 display: inline-block; |
|
611 } |
|
612 |
|
613 input[id^=GPshowIsochron-] + label { |
|
614 display: block; |
|
615 } |
|
616 |
|
617 input[id^=GPshowIsochron-]:checked + label { |
|
618 display: none; |
|
619 } |
|
620 |
|
621 input[id^=GPshowIsochron-] + label + div { |
|
622 display: none; |
|
623 } |
|
624 |
|
625 input[id^=GPshowIsochron-]:checked + label + div { |
|
626 display: block; |
|
627 } |
|
628 |
|
629 /* General panels */ |
|
630 |
|
631 div[id^=GPisochronPanel-] { |
|
632 width: 280px; |
|
633 } |
|
634 |
|
635 /* Calc waiting */ |
|
636 |
|
637 .GPisochronCalcWaitingContainerVisible, |
|
638 .GPisochronCalcWaitingContainerHidden { |
|
639 position: absolute; |
|
640 top: 32px; |
|
641 bottom: 0; |
|
642 left: 0; |
|
643 right: 0; |
|
644 background-color: rgba(255,255,255,0.9); |
|
645 font-size: 1.5em; |
|
646 font-weight: bold; |
|
647 overflow: hidden; |
|
648 } |
|
649 |
|
650 .GPisochronCalcWaitingContainerVisible { |
|
651 display: -webkit-flex; |
|
652 display: -ms-flexbox; |
|
653 display: -webkit-box; |
|
654 display: flex; |
|
655 } |
|
656 |
|
657 .GPisochronCalcWaitingContainerHidden { |
|
658 display: none; |
|
659 } |
|
660 |
|
661 .GPisochronCalcWaiting { |
|
662 margin: auto; |
|
663 } |
|
664 |
|
665 /* Isochron form */ |
|
666 |
|
667 form[id^=GPisochronForm] { |
|
668 padding: 15px; |
|
669 } |
|
670 |
|
671 .GPisochronFormMini { |
|
672 max-height: 58px; |
|
673 overflow: hidden; |
|
674 } |
|
675 |
|
676 .GPisochronFormMini div[id^="GPisochronReset-"], |
|
677 .GPisochronFormMini label[id^="GPshowIsoExclusionsPicto-"] { |
|
678 display: none; |
|
679 } |
|
680 |
|
681 .GPisochronOriginVisible { |
|
682 display: block; |
|
683 } |
|
684 |
|
685 .GPisochronOriginHidden { |
|
686 display: none; |
|
687 } |
|
688 |
|
689 .GPisochronOriginPointerImg { |
|
690 width: 28px; |
|
691 background-color: #F2F2F2; |
|
692 cursor: pointer; |
|
693 } |
|
694 |
|
695 input[id^="GPisochronOriginPointer"] + .GPisochronOriginPointerImg { |
|
696 background-position: -1px -1px; |
|
697 } |
|
698 |
|
699 input[id^="GPisochronOriginPointer"]:checked + .GPisochronOriginPointerImg { |
|
700 background-position: -29px -1px; |
|
701 } |
|
702 |
|
703 input[id^=GPisochronSubmit] { |
|
704 margin-top: 5px; |
|
705 } |
|
706 |
|
707 /* Alternative choice */ |
|
708 |
|
709 div[id^=GPisochronChoice] { |
|
710 display: -webkit-flex; |
|
711 display: -ms-flexbox; |
|
712 display: -webkit-box; |
|
713 display: flex; |
|
714 width: 160px; |
|
715 -webkit-justify-content: space-between; |
|
716 -webkit-box-pack: justify; |
|
717 -ms-flex-pack: justify; |
|
718 justify-content: space-between; |
|
719 margin: auto; |
|
720 margin-top: 15px; |
|
721 margin-bottom: 5px; |
|
722 } |
|
723 |
|
724 .GPisochronChoiceAlt input { |
|
725 display: none; |
|
726 } |
|
727 |
|
728 .GPisochronChoiceAltImg { |
|
729 display: block; |
|
730 width: 28px; |
|
731 height: 28px; |
|
732 margin: auto; |
|
733 cursor: pointer; |
|
734 } |
|
735 |
|
736 input[id^=GPisochronChoiceAltChron] + .GPisochronChoiceAltImg { |
|
737 background-position: -56px 0; |
|
738 } |
|
739 |
|
740 input[id^=GPisochronChoiceAltChron]:checked + .GPisochronChoiceAltImg { |
|
741 background-position: -84px 0; |
|
742 } |
|
743 |
|
744 input[id^=GPisochronChoiceAltDist] + .GPisochronChoiceAltImg { |
|
745 background-position: -112px 0; |
|
746 } |
|
747 |
|
748 input[id^=GPisochronChoiceAltDist]:checked + .GPisochronChoiceAltImg { |
|
749 background-position: -140px 0; |
|
750 } |
|
751 |
|
752 .GPisochronChoiceAlt span { |
|
753 cursor: pointer; |
|
754 display:block; |
|
755 color: #999; |
|
756 } |
|
757 |
|
758 .GPisochronValueHidden { |
|
759 display: none; |
|
760 } |
|
761 |
|
762 div[id^=GPisochronValueChron], |
|
763 div[id^=GPisochronValueDist] { |
|
764 width: 220px; |
|
765 margin: auto; |
|
766 } |
|
767 |
|
768 /* Mode choice */ |
|
769 |
|
770 div[id^=GPisochronModeChoice] { |
|
771 display: -webkit-flex; |
|
772 display: -ms-flexbox; |
|
773 display: -webkit-box; |
|
774 display: flex; |
|
775 -webkit-justify-content: space-between; |
|
776 -webkit-box-pack: justify; |
|
777 -ms-flex-pack: justify; |
|
778 justify-content: space-between; |
|
779 margin: 15px 0; |
|
780 } |
|
781 |
|
782 .GPisochronModeLabel { |
|
783 display: block; |
|
784 text-align: center; |
|
785 margin-bottom: 5px; |
|
786 } |
|
787 |
|
788 div[id^=GPisochronTransportChoice] input { |
|
789 display: none; |
|
790 } |
|
791 |
|
792 .GPisochronTransportImg { |
|
793 display: inline-block; |
|
794 width: 28px; |
|
795 height: 28px; |
|
796 cursor: pointer; |
|
797 } |
|
798 |
|
799 .GPisochronTransportImg:first-of-type { |
|
800 margin-left: 18px; |
|
801 margin-right: 10px; |
|
802 } |
|
803 |
|
804 input[id^=GPisochronTransportCar] + .GPisochronTransportImg { |
|
805 background-position: -168px 0; |
|
806 } |
|
807 |
|
808 input[id^=GPisochronTransportCar]:checked + .GPisochronTransportImg { |
|
809 background-position: -196px 0; |
|
810 } |
|
811 |
|
812 input[id^=GPisochronTransportPedestrian] + .GPisochronTransportImg { |
|
813 background-position: -224px 0; |
|
814 } |
|
815 |
|
816 input[id^=GPisochronTransportPedestrian]:checked + .GPisochronTransportImg { |
|
817 background-position: -252px 0; |
|
818 } |
|
819 |
|
820 select[id^=GPisochronDirectionSelect] { |
|
821 width: 80px; |
|
822 } |
|
823 |
|
824 /* Showing/hiding exclusions */ |
|
825 |
|
826 input[id^=GPshowIsoExclusions] { |
|
827 display: none; |
|
828 } |
|
829 |
|
830 .GPshowIsoExclusionsPicto { |
|
831 top: 250px; |
|
832 right: 0; |
|
833 transition: all 0.5s ease-out 0s; |
|
834 } |
|
835 |
|
836 input[id^=GPshowIsoExclusions] + label + div[id^=GPisoExclusions] { |
|
837 max-height: 0; |
|
838 opacity: 0; |
|
839 margin-bottom: 0; |
|
840 } |
|
841 |
|
842 input[id^=GPshowIsoExclusions]:checked + label + div[id^=GPisoExclusions] { |
|
843 display: block; |
|
844 max-height: 60px; |
|
845 opacity: 1; |
|
846 margin-bottom: 15px; |
|
847 } |
|
848 |
|
849 /* Exclusions */ |
|
850 |
|
851 div[id^=GPisoExclusions] { |
|
852 transition: max-height 0.5s ease-in-out 0.25s, opacity 0.5s ease-in-out 0.25s, margin 0.3s ease-in-out 0.25s; |
|
853 overflow: hidden; |
|
854 } |
|
855 |
|
856 .GPisoExclusionsLabel { |
|
857 display: block; |
|
858 text-align: center; |
|
859 margin-bottom: 10px; |
|
860 font-weight: bold; |
|
861 line-height: 16px; |
|
862 } |
|
863 |
|
864 .GPisoExclusionsOptions { |
|
865 display: -webkit-flex; |
|
866 display: -webkit-box; |
|
867 display: -ms-flexbox; |
|
868 display: flex; |
|
869 -webkit-justify-content: space-around; |
|
870 -ms-flex-pack: distribute; |
|
871 justify-content: space-around; |
|
872 } |
|
873 |
|
874 .GPisoExclusionsOption { |
|
875 display: block; |
|
876 height: 28px; |
|
877 line-height: 26px; |
|
878 color: #A77; |
|
879 background-color: #FEE; |
|
880 padding-left: 28px; |
|
881 padding-right: 5px; |
|
882 border: 1px solid #A77; |
|
883 border-radius: 3px; |
|
884 cursor: pointer; |
|
885 } |
|
886 |
|
887 input:checked + .GPisoExclusionsOption { |
|
888 background-color: #EFE; |
|
889 background-position: 0 -28px; |
|
890 color: #797; |
|
891 border: 1px solid #797; |
|
892 } |
|
893 |
|
894 /* Reset picto */ |
|
895 div[id^=GPisochronReset] { |
|
896 position: absolute; |
|
897 margin-top: 5px; |
|
898 width: 28px; |
|
899 height: 28px; |
|
900 border-radius: 3px; |
|
901 opacity: 0.8; |
|
902 background-position: -281px 0; |
|
903 transition: opacity 0.2s ease-out; |
|
904 cursor: pointer; |
|
905 } |
|
906 |
|
907 div[id^=GPisochronReset]:hover { |
|
908 opacity: 1; |
|
909 } |
|
910 |
|
911 /* LAYER SWITCHER */ |
|
912 |
|
913 #GPlayerSwitcher { |
|
914 font-size: 11px; |
|
915 } |
|
916 |
|
917 #GPlayerSwitcher [draggable] { |
|
918 -moz-user-select: none; |
|
919 -khtml-user-select: none; |
|
920 -webkit-user-select: none; |
|
921 user-select: none; |
|
922 /* Required to make elements draggable in old WebKit */ |
|
923 -khtml-user-drag: element; |
|
924 -webkit-user-drag: element; |
|
925 } |
|
926 |
|
927 /* Manage opening of the components through hiden checkboxes */ |
|
928 |
|
929 #GPlayerSwitcher input[type="checkbox"] + div, |
|
930 #GPlayerSwitcher input[type="checkbox"] + label + div { |
|
931 max-height: 0px; |
|
932 } |
|
933 |
|
934 #GPlayerSwitcher label { |
|
935 display: block; |
|
936 } |
|
937 |
|
938 /* Showing/hiding layers list */ |
|
939 |
|
940 #GPshowLayersListPicto { |
|
941 position: relative; |
|
942 float: right; |
|
943 display: block; |
|
944 opacity: 1; |
|
945 transition: opacity 0.5s ease-out 0s, box-shadow 0.5s ease-out 0s, border 0.5s ease-out 0s, border-radius 0.5s ease-out 0s; |
|
946 cursor: pointer; |
|
947 } |
|
948 |
|
949 #GPshowLayersListOpen, |
|
950 #GPshowLayersListClose { |
|
951 position: absolute; |
|
952 display: block; |
|
953 transition: border-radius 0.5s ease-out 0s, opacity 0.5s ease-out 0s; |
|
954 } |
|
955 |
|
956 #GPshowLayersListOpen { |
|
957 background-position: 0 0; |
|
958 opacity: 1; |
|
959 } |
|
960 |
|
961 #GPshowLayersListClose { |
|
962 opacity: 0; |
|
963 } |
|
964 |
|
965 #GPlayerSwitcher input[type="checkbox"]:checked + div + #GPshowLayersListPicto { |
|
966 border-top-left-radius: 0; |
|
967 border-top-right-radius: 0; |
|
968 } |
|
969 |
|
970 #GPlayerSwitcher input[type="checkbox"]:checked + div + #GPshowLayersListPicto #GPshowLayersListClose { |
|
971 opacity: 1; |
|
972 } |
|
973 |
|
974 /* Layers list */ |
|
975 |
|
976 #GPlayersList { |
|
977 position: relative; |
|
978 width: 180px; |
|
979 border-bottom-right-radius: 0; |
|
980 opacity: 0; |
|
981 overflow: auto; |
|
982 transition: max-height 0.5s ease-out 0s, opacity 0.5s ease-out 0.25s; |
|
983 } |
|
984 |
|
985 #GPlayerSwitcher input[type="checkbox"]:checked + #GPlayersList { |
|
986 max-height: 232px; |
|
987 opacity: 1; |
|
988 transition: max-height 0.5s ease-in 0s, opacity 0.25s ease-in 0s; |
|
989 } |
|
990 |
|
991 /* Layer : general */ |
|
992 |
|
993 .GPlayerSwitcher_layer { |
|
994 position: relative; |
|
995 top: 0; |
|
996 background-color: #FFF; |
|
997 border-bottom: 1px dotted #CCC; |
|
998 overflow: hidden; |
|
999 } |
|
1000 |
|
1001 #GPlayersList .GPlayerSwitcher_layer:last-child { |
|
1002 border-bottom: none; |
|
1003 } |
|
1004 |
|
1005 .GPlayerBasicTools, |
|
1006 .GPlayerAdvancedTools { |
|
1007 position: relative; |
|
1008 width: 100%; |
|
1009 height: 28px; |
|
1010 } |
|
1011 |
|
1012 .GPlayerVisibility, |
|
1013 .GPlayerInfo, |
|
1014 .GPlayerInfoOpened, |
|
1015 .GPlayerRemove { |
|
1016 width: 28px; |
|
1017 height: 28px; |
|
1018 cursor: pointer; |
|
1019 } |
|
1020 |
|
1021 .GPlayerVisibility, |
|
1022 .GPlayerName, |
|
1023 .GPlayerInfo, |
|
1024 .GPlayerInfoOpened, |
|
1025 .GPlayerRemove, |
|
1026 .GPlayerOpacity, |
|
1027 .GPlayerOpacityValue { |
|
1028 position: absolute; |
|
1029 top: 0; |
|
1030 } |
|
1031 |
|
1032 .GPghostLayer { |
|
1033 opacity: 0; |
|
1034 } |
|
1035 |
|
1036 /* Layer basic tools */ |
|
1037 |
|
1038 .GPlayerBasicTools { |
|
1039 background-color: #FFF; |
|
1040 } |
|
1041 |
|
1042 .GPlayerVisibility { |
|
1043 left: 0; |
|
1044 background-position: -28px 0; |
|
1045 } |
|
1046 |
|
1047 input[type="checkbox"]:checked + .GPlayerVisibility { |
|
1048 background-position: 0 0; |
|
1049 } |
|
1050 |
|
1051 .GPlayerName { |
|
1052 left: 28px; |
|
1053 width: calc(100% - 56px); |
|
1054 line-height: 28px; |
|
1055 overflow: hidden; |
|
1056 white-space: nowrap; |
|
1057 text-overflow: ellipsis; |
|
1058 padding-left: 4px; |
|
1059 cursor: move; |
|
1060 } |
|
1061 |
|
1062 .outOfRange .GPlayerName { |
|
1063 color: #AAA; |
|
1064 } |
|
1065 |
|
1066 /* Showing layer advanced tools */ |
|
1067 |
|
1068 .GPshowLayerAdvancedTools { |
|
1069 top: 0; |
|
1070 right: 0; |
|
1071 background-position: -112px 0; |
|
1072 } |
|
1073 |
|
1074 .GPlayerAdvancedTools { |
|
1075 display: block; |
|
1076 max-height: 0; |
|
1077 opacity: 0; |
|
1078 transition: max-height 0.5s ease-out 0s, opacity 0.5s ease-out 0s; |
|
1079 } |
|
1080 |
|
1081 #GPlayerSwitcher input[type="checkbox"]:checked + label + .GPlayerAdvancedTools { |
|
1082 max-height: 28px; |
|
1083 opacity: 1; |
|
1084 } |
|
1085 |
|
1086 /* Layer advanced tools */ |
|
1087 |
|
1088 .GPlayerInfo { |
|
1089 left: 0; |
|
1090 background-position: -55px 0; |
|
1091 } |
|
1092 |
|
1093 .GPlayerInfoOpened { |
|
1094 left: 0; |
|
1095 background-position: -83px 0; |
|
1096 } |
|
1097 |
|
1098 .GPlayerOpacity { |
|
1099 left: 28px; |
|
1100 width: calc(100% - 100px); |
|
1101 height: 28px; |
|
1102 padding-left: 8px; |
|
1103 } |
|
1104 |
|
1105 .GPlayerOpacityValue { |
|
1106 width: 32px; |
|
1107 left: calc(100% - 60px); |
|
1108 line-height: 28px; |
|
1109 font-size: 10px; |
|
1110 font-style: italic; |
|
1111 cursor: default; |
|
1112 } |
|
1113 |
|
1114 .GPlayerRemove { |
|
1115 right: 0; |
|
1116 background-position: -140px 0; |
|
1117 } |
|
1118 |
|
1119 /* Opacity slider : general */ |
|
1120 |
|
1121 .GPlayerOpacity input { |
|
1122 -webkit-appearance: none; |
|
1123 -moz-appearance: none; |
|
1124 background: none; |
|
1125 display: block; |
|
1126 width: 100%; |
|
1127 height: 100%; |
|
1128 margin: 0; |
|
1129 padding: 0; |
|
1130 overflow: hidden; |
|
1131 cursor: pointer; |
|
1132 } |
|
1133 |
|
1134 .GPlayerOpacity input[type="range"]:focus { |
|
1135 box-shadow: none; |
|
1136 outline: none; |
|
1137 } |
|
1138 |
|
1139 /* Opacity slider : Chrome, Safari, Opera */ |
|
1140 |
|
1141 .GPlayerOpacity input[type="range"]::-webkit-slider-runnable-track { |
|
1142 -webkit-appearance: none; |
|
1143 height: 3px; |
|
1144 } |
|
1145 |
|
1146 .GPlayerOpacity input[type="range"]::-webkit-slider-thumb:before { |
|
1147 position: absolute; |
|
1148 top: 0; |
|
1149 right: 50%; |
|
1150 left: -200px; |
|
1151 height: 3px; |
|
1152 pointer-events: none; |
|
1153 } |
|
1154 |
|
1155 .GPlayerOpacity input[type="range"]::-webkit-slider-thumb { |
|
1156 width: 9px; |
|
1157 height: 17px; |
|
1158 -webkit-appearance: none; |
|
1159 border: 2px solid #FFF; |
|
1160 background-color: #505050; |
|
1161 position: relative; |
|
1162 top: -7px; |
|
1163 } |
|
1164 |
|
1165 /* Opacity slider : Firefox */ |
|
1166 |
|
1167 .GPlayerOpacity input[type="range"]::-moz-range-track { |
|
1168 width: 80px; |
|
1169 height: 3px; |
|
1170 } |
|
1171 |
|
1172 .GPlayerOpacity input[type="range"]::-moz-range-thumb { |
|
1173 width: 5px; |
|
1174 height: 13px; |
|
1175 border: 2px solid #FFF; |
|
1176 border-radius: 0; |
|
1177 box-shadow: 0; |
|
1178 background-color: #505050; |
|
1179 position: relative; |
|
1180 } |
|
1181 |
|
1182 /* Opacity slider : IE */ |
|
1183 |
|
1184 .GPlayerOpacity input[type="range"]::-ms-track { |
|
1185 border: 0; |
|
1186 border-color: transparent; |
|
1187 border-radius: 0; |
|
1188 border-width: 0; |
|
1189 color: transparent; |
|
1190 height: 3px; |
|
1191 width: 80px; |
|
1192 } |
|
1193 |
|
1194 .GPlayerOpacity input[type="range"]::-ms-fill-lower, |
|
1195 .GPlayerOpacity input[type="range"]::-ms-fill-upper { |
|
1196 background: transparent; |
|
1197 border-radius: 0; |
|
1198 } |
|
1199 |
|
1200 .GPlayerOpacity input[type="range"]::-ms-thumb { |
|
1201 width: 5px; |
|
1202 height: 13px; |
|
1203 border: 2px solid #FFF; |
|
1204 background-color: #505050; |
|
1205 } |
|
1206 |
|
1207 .GPlayerOpacity input[type="range"]::-ms-tooltip { |
|
1208 display: none; |
|
1209 } |
|
1210 |
|
1211 /* Layer info panel */ |
|
1212 |
|
1213 #GPlayerInfoPanel { |
|
1214 position: absolute; |
|
1215 top: 0; |
|
1216 overflow-y: hidden; |
|
1217 padding-top: 10px; |
|
1218 padding-bottom: 10px; |
|
1219 } |
|
1220 |
|
1221 .GPlayerInfoPanelOpened { |
|
1222 display: block; |
|
1223 } |
|
1224 |
|
1225 .GPlayerInfoPanelClosed { |
|
1226 display: none; |
|
1227 } |
|
1228 |
|
1229 #GPlayerInfoContent { |
|
1230 position: relative; |
|
1231 width: 280px; |
|
1232 max-height: 200px; |
|
1233 overflow-y: auto; |
|
1234 padding-left: 10px; |
|
1235 padding-right: 10px; |
|
1236 } |
|
1237 |
|
1238 #GPlayerInfoTitle { |
|
1239 width: calc(100% - 52px); |
|
1240 margin: auto; |
|
1241 margin-bottom: 10px; |
|
1242 padding-bottom: 5px; |
|
1243 text-align: center; |
|
1244 font-size: 1.1em; |
|
1245 font-weight: bold; |
|
1246 } |
|
1247 |
|
1248 #GPlayerInfoQuicklook { |
|
1249 position: absolute; |
|
1250 top: -2px; |
|
1251 left: 10px; |
|
1252 width: 20px; |
|
1253 height: 20px; |
|
1254 cursor: pointer; |
|
1255 } |
|
1256 |
|
1257 #GPlayerInfoClose { |
|
1258 position: absolute; |
|
1259 top: -8px; |
|
1260 right: 10px; |
|
1261 width: 28px; |
|
1262 height: 28px; |
|
1263 cursor: pointer; |
|
1264 } |
|
1265 |
|
1266 #GPlayerInfoDescription { |
|
1267 font-size: 0.9em; |
|
1268 } |
|
1269 |
|
1270 .GPlayerInfoSubtitle { |
|
1271 padding-left: 35px; |
|
1272 font-weight: bold; |
|
1273 margin-top: 10px; |
|
1274 margin-bottom: 4px; |
|
1275 } |
|
1276 |
|
1277 .GPlayerInfoLink, |
|
1278 .GPlayerInfoPopup { |
|
1279 line-height: 20px; |
|
1280 padding-left: 23px; |
|
1281 white-space: nowrap; |
|
1282 overflow-x: hidden; |
|
1283 text-overflow: ellipsis; |
|
1284 color: #999999; |
|
1285 background-repeat: no-repeat; |
|
1286 cursor: pointer; |
|
1287 } |
|
1288 |
|
1289 .GPlayerInfoLink { |
|
1290 background-position: 0 -20px; |
|
1291 } |
|
1292 |
|
1293 .GPlayerInfoLink:hover, |
|
1294 .GPlayerInfoPopup:hover { |
|
1295 color: #333; |
|
1296 } |
|
1297 |
|
1298 .GPlayerInfoLink a, |
|
1299 .GPlayerInfoLink a:visited |
|
1300 .GPlayerInfoLink a:focus |
|
1301 .GPlayerInfoLink a:hover { |
|
1302 text-decoration: none; |
|
1303 color: inherit; |
|
1304 } |
|
1305 /* Location */ |
|
1306 |
|
1307 /* Location form */ |
|
1308 |
|
1309 .GPlocationStageFlexInput { |
|
1310 max-height: 28px; |
|
1311 opacity: 1; |
|
1312 } |
|
1313 |
|
1314 .GPlocationStageFlexInputHidden { |
|
1315 max-height: 0; |
|
1316 opacity: 0; |
|
1317 overflow: hidden; |
|
1318 } |
|
1319 |
|
1320 .GPlocationOriginVisible { |
|
1321 display: block; |
|
1322 } |
|
1323 |
|
1324 .GPlocationOriginHidden { |
|
1325 display: none; |
|
1326 } |
|
1327 |
|
1328 label.GPlocationOriginPointerImg[id*="GPlocationOriginPointerImg"] { |
|
1329 width: 28px; |
|
1330 border-top-right-radius: 3px; |
|
1331 border-bottom-right-radius: 3px; |
|
1332 border-right: 1px solid #999; |
|
1333 } |
|
1334 |
|
1335 input[id*="GPlocationOriginPointer"] + .GPlocationOriginPointerImg { |
|
1336 background-position: -1px -1px; |
|
1337 } |
|
1338 |
|
1339 input[id*="GPlocationOriginPointer"]:checked + .GPlocationOriginPointerImg { |
|
1340 background-position: -29px -1px; |
|
1341 } |
|
1342 |
|
1343 .GPlocationStageRemove, |
|
1344 div[id^=GPlocationStageAdd] { |
|
1345 width: 28px; |
|
1346 border: none; |
|
1347 cursor: pointer; |
|
1348 } |
|
1349 |
|
1350 .GPlocationStageRemove { |
|
1351 background-position: -84px 0; |
|
1352 } |
|
1353 |
|
1354 div[id^=GPlocationStageAdd] { |
|
1355 background-position: -56px 0; |
|
1356 } |
|
1357 |
|
1358 /* Showing/hiding drawing panel */ |
|
1359 |
|
1360 label[id^=GPshowMeasureAreaPicto-] { |
|
1361 display: inline-block; |
|
1362 } |
|
1363 |
|
1364 input[id^=GPshowMeasureArea-] + label { |
|
1365 display: block; |
|
1366 } |
|
1367 |
|
1368 input[id^=GPshowMeasureArea-]:checked + label { |
|
1369 display: block; |
|
1370 background-color: rgba(0,60,136,0.5); |
|
1371 } |
|
1372 |
|
1373 input[id^=GPshowMeasureArea-] + label + div { |
|
1374 display: block; |
|
1375 } |
|
1376 |
|
1377 input[id^=GPshowMeasureArea-]:checked + label + div { |
|
1378 display: block; |
|
1379 } |
|
1380 |
|
1381 /* Showing/hiding drawing panel */ |
|
1382 |
|
1383 label[id^=GPshowMeasureAzimuthPicto-] { |
|
1384 display: inline-block; |
|
1385 } |
|
1386 |
|
1387 input[id^=GPshowMeasureAzimuth-] + label { |
|
1388 display: block; |
|
1389 } |
|
1390 |
|
1391 input[id^=GPshowMeasureAzimuth-]:checked + label { |
|
1392 display: block; |
|
1393 background-color: rgba(0,60,136,0.5); |
|
1394 } |
|
1395 |
|
1396 input[id^=GPshowMeasureAzimuth-] + label + div { |
|
1397 display: block; |
|
1398 } |
|
1399 |
|
1400 input[id^=GPshowMeasureAzimuth-]:checked + label + div { |
|
1401 display: block; |
|
1402 } |
|
1403 |
|
1404 /* Showing/hiding drawing panel */ |
|
1405 |
|
1406 label[id^=GPshowMeasureLengthPicto-] { |
|
1407 display: inline-block; |
|
1408 } |
|
1409 |
|
1410 input[id^=GPshowMeasureLength-] + label { |
|
1411 display: block; |
|
1412 } |
|
1413 |
|
1414 input[id^=GPshowMeasureLength-]:checked + label { |
|
1415 display: block; |
|
1416 background-color: rgba(0,60,136,0.5); |
|
1417 } |
|
1418 |
|
1419 input[id^=GPshowMeasureLength-] + label + div { |
|
1420 display: block; |
|
1421 } |
|
1422 |
|
1423 input[id^=GPshowMeasureLength-]:checked + label + div { |
|
1424 display: block; |
|
1425 } |
|
1426 |
|
1427 /* MEASURE TOOL */ |
|
1428 |
|
1429 .tooltip { |
|
1430 position: relative; |
|
1431 background: rgba(0, 0, 0, 0.5); |
|
1432 border-radius: 4px; |
|
1433 color: white; |
|
1434 padding: 4px 8px; |
|
1435 white-space: nowrap; |
|
1436 } |
|
1437 |
|
1438 .tooltip-measure { |
|
1439 font-weight: bold; |
|
1440 } |
|
1441 |
|
1442 .tooltip-info { |
|
1443 font-size: 0.75em; |
|
1444 text-align: center; |
|
1445 } |
|
1446 |
|
1447 .tooltip-static { |
|
1448 background-color: #ffcc33; |
|
1449 color: black; |
|
1450 border: 1px solid white; |
|
1451 } |
|
1452 |
|
1453 .tooltip-hidden { |
|
1454 display: none; |
|
1455 } |
|
1456 |
|
1457 .tooltip-measure::before, |
|
1458 .tooltip-info::before, |
|
1459 .tooltip-static::before { |
|
1460 border-top: 6px solid rgba(0, 0, 0, 0.5); |
|
1461 border-right: 6px solid transparent; |
|
1462 border-left: 6px solid transparent; |
|
1463 content: ""; |
|
1464 position: absolute; |
|
1465 bottom: -6px; |
|
1466 margin-left: -7px; |
|
1467 left: 50%; |
|
1468 } |
|
1469 |
|
1470 .tooltip-static::before { |
|
1471 border-top-color: #ffcc33; |
|
1472 } |
|
1473 |
|
1474 /* MOUSE POSITION */ |
|
1475 |
|
1476 /* Showing/hiding mouse position panel */ |
|
1477 |
|
1478 label[id^=GPshowMousePositionPicto] { |
|
1479 display: inline-block; |
|
1480 } |
|
1481 |
|
1482 input[id^=GPshowMousePosition-] + label { |
|
1483 display: block; |
|
1484 } |
|
1485 |
|
1486 input[id^=GPshowMousePosition-]:checked + label { |
|
1487 display: none; |
|
1488 } |
|
1489 |
|
1490 input[id^=GPshowMousePosition-] + label + div { |
|
1491 display: none; |
|
1492 } |
|
1493 |
|
1494 input[id^=GPshowMousePosition-]:checked + label + div { |
|
1495 display: block; |
|
1496 } |
|
1497 |
|
1498 /* General panels */ |
|
1499 |
|
1500 div[id^=GPmousePositionPanel-] { |
|
1501 width: 240px; |
|
1502 overflow: hidden; |
|
1503 } |
|
1504 |
|
1505 /* Basic infos */ |
|
1506 |
|
1507 div[id^=GPmousePositionBasicPanel] { |
|
1508 padding: 10px 15px; |
|
1509 } |
|
1510 |
|
1511 .GPmousePositionLabel, |
|
1512 .GPmousePositionCoords { |
|
1513 display: inline-block; |
|
1514 line-height: 20px; |
|
1515 } |
|
1516 |
|
1517 .GPmousePositionLabel { |
|
1518 width: 80px; |
|
1519 font-weight: bold; |
|
1520 } |
|
1521 |
|
1522 .GPmousePositionCoords { |
|
1523 width: 110px; |
|
1524 } |
|
1525 |
|
1526 /* Showing settings */ |
|
1527 |
|
1528 .GPshowMousePositionSettingsPicto { |
|
1529 bottom: 5px; |
|
1530 right: 0; |
|
1531 transition: all 0.5s ease-out 0s; |
|
1532 } |
|
1533 |
|
1534 div[id^=GPmousePosition-] input[type="checkbox"]:checked + .GPshowMousePositionSettingsPicto { |
|
1535 bottom: 100px; |
|
1536 } |
|
1537 |
|
1538 div[id^=GPmousePositionSettings-] { |
|
1539 display: block; |
|
1540 max-height: 0; |
|
1541 opacity: 0; |
|
1542 transition: max-height 0.5s ease-out 0s, opacity 0.5s ease-out 0s; |
|
1543 } |
|
1544 |
|
1545 div[id^=GPmousePosition-] input[type="checkbox"]:checked + label + div[id^=GPmousePositionSettings-] { |
|
1546 max-height: 95px; |
|
1547 opacity: 1; |
|
1548 } |
|
1549 |
|
1550 /* Settings */ |
|
1551 |
|
1552 div[id^=GPmousePositionSettings-] { |
|
1553 height: 95px; |
|
1554 padding-left: 0 15px; |
|
1555 overflow: hidden; |
|
1556 } |
|
1557 |
|
1558 .GPmousePositionSettingsLabel { |
|
1559 display: block; |
|
1560 margin: auto; |
|
1561 text-align: center; |
|
1562 font-weight: bold; |
|
1563 line-height: 16px; |
|
1564 } |
|
1565 |
|
1566 .GPmousePositionSettingsSelect { |
|
1567 width: 180px; |
|
1568 margin-top: 5px; |
|
1569 } |
|
1570 |
|
1571 /* Map center localisation */ |
|
1572 |
|
1573 #GPmapCenter { |
|
1574 display: none; |
|
1575 position: absolute; |
|
1576 top: 50%; |
|
1577 left: 50%; |
|
1578 width: 50px; |
|
1579 height: 50px; |
|
1580 margin-top: -25px; |
|
1581 margin-left: -25px; |
|
1582 } |
|
1583 |
|
1584 #GPmapCenter.GPmapCenterVisible { |
|
1585 display: block; |
|
1586 } |
|
1587 |
|
1588 /* REVERSE GEOCODING */ |
|
1589 |
|
1590 [id^="GPreverseGeocoding-"] { |
|
1591 top: 180px; |
|
1592 } |
|
1593 |
|
1594 /* Showing/hiding reverse geocoding panel */ |
|
1595 |
|
1596 [id^="GPshowReverseGeocodingPicto-"] { |
|
1597 display: inline-block; |
|
1598 } |
|
1599 |
|
1600 [id^="GPshowReverseGeocoding-"] + label { |
|
1601 display: block; |
|
1602 } |
|
1603 |
|
1604 [id^="GPshowReverseGeocoding-"]:checked + label { |
|
1605 display: none; |
|
1606 } |
|
1607 |
|
1608 [id^="GPshowReverseGeocoding-"] + label + div { |
|
1609 display: none; |
|
1610 } |
|
1611 |
|
1612 [id^="GPshowReverseGeocoding-"]:checked + label + div { |
|
1613 display: block; |
|
1614 } |
|
1615 |
|
1616 /* General panels */ |
|
1617 |
|
1618 div[id^=GPreverseGeocodingResultsClose] { |
|
1619 top: 0; |
|
1620 right: 0; |
|
1621 width: 30px; |
|
1622 height: 32px; |
|
1623 /*background-position: -26px 0;*/ |
|
1624 } |
|
1625 |
|
1626 [id^="GPreverseGeocodingPanel-"] { |
|
1627 width: 280px; |
|
1628 } |
|
1629 |
|
1630 .GPreverseGeocodingComponentHidden { |
|
1631 display: none; |
|
1632 } |
|
1633 |
|
1634 div[id^="GPreverseGeocodingReturnPicto-"] { |
|
1635 position: absolute; |
|
1636 width: 26px; |
|
1637 height: 26px; |
|
1638 border-radius: 3px; |
|
1639 opacity: 1; |
|
1640 background-position: 0 0; |
|
1641 cursor: pointer; |
|
1642 } |
|
1643 |
|
1644 .GPreverseGeocodingReturnPictoHidden { |
|
1645 display: none; |
|
1646 } |
|
1647 |
|
1648 /* Calc waiting */ |
|
1649 |
|
1650 .GPreverseGeocodingCalcWaitingContainerVisible, |
|
1651 .GPreverseGeocodingCalcWaitingContainerHidden { |
|
1652 position: absolute; |
|
1653 top: 32px; |
|
1654 bottom: 0; |
|
1655 left: 0; |
|
1656 right: 0; |
|
1657 background-color: rgba(255,255,255,0.9); |
|
1658 font-size: 1.5em; |
|
1659 font-weight: bold; |
|
1660 overflow: hidden; |
|
1661 } |
|
1662 |
|
1663 .GPreverseGeocodingCalcWaitingContainerVisible { |
|
1664 display: -webkit-flex; |
|
1665 display: -ms-flexbox; |
|
1666 display: -webkit-box; |
|
1667 display: flex; |
|
1668 } |
|
1669 |
|
1670 .GPreverseGeocodingCalcWaitingContainerHidden { |
|
1671 display: none; |
|
1672 } |
|
1673 |
|
1674 .GPreverseGeocodingCalcWaiting { |
|
1675 margin: auto; |
|
1676 } |
|
1677 |
|
1678 /* Search panel */ |
|
1679 |
|
1680 [id^="GPreverseGeocodingForm-"] { |
|
1681 position: relative; |
|
1682 max-height: 270px; |
|
1683 overflow-y: auto; |
|
1684 padding-left: 15px; |
|
1685 padding-right: 15px; |
|
1686 padding-top: 10px; |
|
1687 } |
|
1688 |
|
1689 .GPreverseGeocodingCodeLabel, |
|
1690 .GPreverseGeocodingFilterLabel { |
|
1691 max-width: 105px; |
|
1692 } |
|
1693 |
|
1694 .GPreverseGeocodingCodeLabel, |
|
1695 .GPreverseGeocodingCode { |
|
1696 margin-top: 5px; |
|
1697 margin-bottom: 0; |
|
1698 } |
|
1699 |
|
1700 .GPreverseGeocodingFilterLabel, |
|
1701 .GPreverseGeocodingFilterInput { |
|
1702 margin-bottom: 5px; |
|
1703 } |
|
1704 |
|
1705 input[id^="GPreverseGeocodingSubmit-"] { |
|
1706 margin-top: 5px; |
|
1707 margin-bottom: 15px; |
|
1708 width: 100px; |
|
1709 } |
|
1710 |
|
1711 /* Calc waiting */ |
|
1712 |
|
1713 .GPreverseGeocodingCalcWaitingContainerVisible, |
|
1714 .GPreverseGeocodingCalcWaitingContainerHidden { |
|
1715 position: absolute; |
|
1716 top: 32px; |
|
1717 bottom: 0; |
|
1718 left: 0; |
|
1719 right: 0; |
|
1720 background-color: rgba(255,255,255,0.9); |
|
1721 font-size: 1.5em; |
|
1722 font-weight: bold; |
|
1723 overflow: hidden; |
|
1724 } |
|
1725 |
|
1726 .GPreverseGeocodingCalcWaitingContainerVisible { |
|
1727 display: -webkit-flex; |
|
1728 display: -ms-flexbox; |
|
1729 display: -webkit-box; |
|
1730 display: flex; |
|
1731 } |
|
1732 |
|
1733 .GPreverseGeocodingCalcWaitingContainerHidden { |
|
1734 display: none; |
|
1735 } |
|
1736 |
|
1737 .GPreverseGeocodingCalcWaiting { |
|
1738 margin: auto; |
|
1739 } |
|
1740 |
|
1741 /* Result panel */ |
|
1742 |
|
1743 div[id^=GPreverseGeocodingResultsList-] { |
|
1744 position: relative; |
|
1745 max-height: 210px; |
|
1746 overflow-y: auto; |
|
1747 } |
|
1748 |
|
1749 /* ROUTE */ |
|
1750 |
|
1751 div[id^=GProute-] { |
|
1752 top: 100px; |
|
1753 } |
|
1754 |
|
1755 /* Showing/hiding route panel */ |
|
1756 |
|
1757 label[id^=GPshowRoutePicto] { |
|
1758 display: inline-block; |
|
1759 } |
|
1760 |
|
1761 input[id^=GPshowRoute-] + label { |
|
1762 display: block; |
|
1763 } |
|
1764 |
|
1765 input[id^=GPshowRoute-]:checked + label { |
|
1766 display: none; |
|
1767 } |
|
1768 |
|
1769 input[id^=GPshowRoute-] + label + div { |
|
1770 display: none; |
|
1771 } |
|
1772 |
|
1773 input[id^=GPshowRoute-]:checked + label + div { |
|
1774 display: block; |
|
1775 } |
|
1776 |
|
1777 /* General panels */ |
|
1778 |
|
1779 div[id^=GProutePanel-] { |
|
1780 width: 320px; |
|
1781 } |
|
1782 |
|
1783 .GProuteComponentHidden { |
|
1784 display: none; |
|
1785 } |
|
1786 |
|
1787 /* Calc waiting */ |
|
1788 |
|
1789 .GProuteCalcWaitingContainerVisible, |
|
1790 .GProuteCalcWaitingContainerHidden { |
|
1791 position: absolute; |
|
1792 top: 32px; |
|
1793 bottom: 0; |
|
1794 left: 0; |
|
1795 right: 0; |
|
1796 background-color: rgba(255,255,255,0.9); |
|
1797 font-size: 1.5em; |
|
1798 font-weight: bold; |
|
1799 overflow: hidden; |
|
1800 } |
|
1801 |
|
1802 .GProuteCalcWaitingContainerVisible { |
|
1803 display: -webkit-flex; |
|
1804 display: -ms-flexbox; |
|
1805 display: -webkit-box; |
|
1806 display: flex; |
|
1807 } |
|
1808 |
|
1809 .GProuteCalcWaitingContainerHidden { |
|
1810 display: none; |
|
1811 } |
|
1812 |
|
1813 .GProuteCalcWaiting { |
|
1814 margin: auto; |
|
1815 } |
|
1816 |
|
1817 /* Route form */ |
|
1818 |
|
1819 form[id^=GProuteForm] { |
|
1820 padding: 15px; |
|
1821 } |
|
1822 |
|
1823 .GProuteFormMini { |
|
1824 max-height: 58px; |
|
1825 overflow: hidden; |
|
1826 -webkit-transform: translateY(-5px); |
|
1827 transform: translateY(-5px); |
|
1828 } |
|
1829 |
|
1830 .GProuteStageFlexInput { |
|
1831 max-height: 28px; |
|
1832 opacity: 1; |
|
1833 } |
|
1834 |
|
1835 .GProuteStageFlexInputHidden { |
|
1836 max-height: 0; |
|
1837 opacity: 0; |
|
1838 overflow: hidden; |
|
1839 } |
|
1840 |
|
1841 form[id^=GProuteForm] > .GPlocationStageFlexInput { |
|
1842 margin-top: 5px; |
|
1843 } |
|
1844 |
|
1845 form[id^=GProuteForm] > .GPlocationStageFlexInputHidden { |
|
1846 margin-top: 0; |
|
1847 } |
|
1848 |
|
1849 form[id^=GProuteForm].GProuteFormMini .GPlocationStageFlexInput:first-child { |
|
1850 margin-top: 5px; |
|
1851 } |
|
1852 |
|
1853 .GProuteOriginVisible { |
|
1854 display: block; |
|
1855 } |
|
1856 |
|
1857 .GProuteOriginHidden { |
|
1858 display: none; |
|
1859 } |
|
1860 |
|
1861 label.GProuteOriginPointerImg[id*="GProuteOriginPointerImg"] { |
|
1862 width: 28px; |
|
1863 border-top-right-radius: 3px; |
|
1864 border-bottom-right-radius: 3px; |
|
1865 border-right: 1px solid #999; |
|
1866 } |
|
1867 |
|
1868 input[id*="GProuteOriginPointer"] + .GProuteOriginPointerImg { |
|
1869 background-position: -1px -1px; |
|
1870 } |
|
1871 |
|
1872 input[id*="GProuteOriginPointer"]:checked + .GProuteOriginPointerImg { |
|
1873 background-position: -29px -1px; |
|
1874 } |
|
1875 |
|
1876 .GProuteStageRemove, |
|
1877 div[id^=GProuteStageAdd] { |
|
1878 width: 28px; |
|
1879 border: none; |
|
1880 cursor: pointer; |
|
1881 } |
|
1882 |
|
1883 .GProuteFormMini .GProuteStageRemove, |
|
1884 .GProuteFormMini div[id^=GProuteStageAdd] { |
|
1885 display: none; |
|
1886 } |
|
1887 |
|
1888 .GProuteStageRemove { |
|
1889 background-position: -84px 0; |
|
1890 } |
|
1891 |
|
1892 div[id^=GProuteStageAdd] { |
|
1893 background-position: -56px 0; |
|
1894 } |
|
1895 |
|
1896 /* Mode choice */ |
|
1897 |
|
1898 div[id^=GProuteModeChoice] { |
|
1899 display: -webkit-flex; |
|
1900 display: -ms-flexbox; |
|
1901 display: -webkit-box; |
|
1902 display: flex; |
|
1903 -webkit-justify-content: space-around; |
|
1904 -ms-flex-pack: distribute; |
|
1905 justify-content: space-around; |
|
1906 margin: 15px 0; |
|
1907 } |
|
1908 |
|
1909 .GProuteModeLabel { |
|
1910 display: block; |
|
1911 text-align: center; |
|
1912 margin-bottom: 5px; |
|
1913 } |
|
1914 |
|
1915 div[id^=GProuteTransportChoice] input { |
|
1916 display: none; |
|
1917 } |
|
1918 |
|
1919 .GProuteTransportImg { |
|
1920 display: inline-block; |
|
1921 width: 28px; |
|
1922 height: 28px; |
|
1923 cursor: pointer; |
|
1924 } |
|
1925 |
|
1926 .GProuteTransportImg:first-of-type { |
|
1927 margin-left: 18px; |
|
1928 margin-right: 10px; |
|
1929 } |
|
1930 |
|
1931 input[id^=GProuteTransportCar] + .GProuteTransportImg { |
|
1932 background-position: -112px 0; |
|
1933 } |
|
1934 |
|
1935 input[id^=GProuteTransportCar]:checked + .GProuteTransportImg { |
|
1936 background-position: -140px 0; |
|
1937 } |
|
1938 |
|
1939 input[id^=GProuteTransportPedestrian] + .GProuteTransportImg { |
|
1940 background-position: -168px 0; |
|
1941 } |
|
1942 |
|
1943 input[id^=GProuteTransportPedestrian]:checked + .GProuteTransportImg { |
|
1944 background-position: -196px 0; |
|
1945 } |
|
1946 |
|
1947 select[id^=GProuteComputationSelect] { |
|
1948 width: 100px; |
|
1949 } |
|
1950 |
|
1951 /* Showing/hiding exclusions */ |
|
1952 |
|
1953 input[id^=GPshowRouteExclusions] { |
|
1954 display: none; |
|
1955 } |
|
1956 |
|
1957 .GPshowRouteExclusionsPicto { |
|
1958 top: 185px; |
|
1959 right: 0; |
|
1960 transition: all 0.3s ease-out 0s; |
|
1961 } |
|
1962 |
|
1963 input[id^=GPshowRouteExclusions] + label + div[id^=GProuteExclusions] { |
|
1964 max-height: 0; |
|
1965 opacity: 0; |
|
1966 margin-bottom: 0; |
|
1967 } |
|
1968 |
|
1969 input[id^=GPshowRouteExclusions]:checked + label + div[id^=GProuteExclusions] { |
|
1970 display: block; |
|
1971 max-height: 60px; |
|
1972 opacity: 1; |
|
1973 margin-bottom: 15px; |
|
1974 } |
|
1975 |
|
1976 /* Exclusions */ |
|
1977 |
|
1978 div[id^=GProuteExclusions] { |
|
1979 transition: max-height 0.5s ease-in-out 0.25s, opacity 0.5s ease-in-out 0.25s, margin 0.3s ease-in-out 0.25s; |
|
1980 overflow: hidden; |
|
1981 } |
|
1982 |
|
1983 .GProuteExclusionsLabel { |
|
1984 display: block; |
|
1985 text-align: center; |
|
1986 margin-bottom: 10px; |
|
1987 font-weight: bold; |
|
1988 line-height: 16px; |
|
1989 } |
|
1990 |
|
1991 .GProuteExclusionsOptions { |
|
1992 display: -webkit-flex; |
|
1993 display: -ms-flexbox; |
|
1994 display: -webkit-box; |
|
1995 display: flex; |
|
1996 -webkit-justify-content: space-around; |
|
1997 -ms-flex-pack: distribute; |
|
1998 justify-content: space-around; |
|
1999 } |
|
2000 |
|
2001 .GProuteExclusionsOption { |
|
2002 display: block; |
|
2003 height: 28px; |
|
2004 line-height: 26px; |
|
2005 color: #A77; |
|
2006 background-color: #FEE; |
|
2007 padding-left: 28px; |
|
2008 padding-right: 5px; |
|
2009 border: 1px solid #A77; |
|
2010 border-radius: 3px; |
|
2011 cursor: pointer; |
|
2012 } |
|
2013 |
|
2014 input:checked + .GProuteExclusionsOption { |
|
2015 background-color: #EFE; |
|
2016 background-position: 0 -28px; |
|
2017 color: #797; |
|
2018 border: 1px solid #797; |
|
2019 } |
|
2020 |
|
2021 /* Reset picto */ |
|
2022 div[id^=GProuteReset] { |
|
2023 position: absolute; |
|
2024 width: 28px; |
|
2025 height: 28px; |
|
2026 border-radius: 3px; |
|
2027 opacity: 0.8; |
|
2028 background-position: -224px 0; |
|
2029 transition: opacity 0.2s ease-out; |
|
2030 cursor: pointer; |
|
2031 } |
|
2032 |
|
2033 div[id^=GProuteReset]:hover { |
|
2034 opacity: 1; |
|
2035 } |
|
2036 |
|
2037 /* Result panel */ |
|
2038 |
|
2039 div[id^=GProuteResultsPanel] { |
|
2040 padding: 15px; |
|
2041 } |
|
2042 |
|
2043 .GProuteResultStage { |
|
2044 display: -webkit-flex; |
|
2045 display: -ms-flexbox; |
|
2046 display: -webkit-box; |
|
2047 display: flex; |
|
2048 } |
|
2049 |
|
2050 div[id^=GProuteResultsStages] { |
|
2051 margin-bottom: 15px; |
|
2052 } |
|
2053 |
|
2054 .GProuteResultStageLabel, |
|
2055 .GProuteResultStageValue, |
|
2056 .GProuteResultsValueLabel, |
|
2057 div[id^=GProuteResultsValueDist], |
|
2058 div[id^=GProuteResultsValueTime] { |
|
2059 display: inline-block; |
|
2060 line-height: 18px; |
|
2061 } |
|
2062 |
|
2063 .GProuteResultStageLabel, |
|
2064 .GProuteResultsValueLabel { |
|
2065 color: #666; |
|
2066 } |
|
2067 |
|
2068 .GProuteResultStageLabel { |
|
2069 width: 60px; |
|
2070 } |
|
2071 |
|
2072 .GProuteResultsValueLabel { |
|
2073 width: 65px; |
|
2074 } |
|
2075 |
|
2076 .GProuteResultStageValue { |
|
2077 -webkit-flex: 1; |
|
2078 -webkit-box-flex: 1; |
|
2079 -ms-flex: 1; |
|
2080 flex: 1; |
|
2081 overflow-x: hidden; |
|
2082 white-space: nowrap; |
|
2083 text-overflow: ellipsis; |
|
2084 } |
|
2085 |
|
2086 div[id^=GProuteResultsValueDist], |
|
2087 div[id^=GProuteResultsValueTime] { |
|
2088 width: 80px; |
|
2089 font-weight: bold; |
|
2090 } |
|
2091 |
|
2092 div[id^=GProuteResults-] { |
|
2093 display: -webkit-flex; |
|
2094 display: -ms-flexbox; |
|
2095 display: -webkit-box; |
|
2096 display: flex; |
|
2097 -webkit-justify-content: space-between; |
|
2098 -webkit-box-pack: justify; |
|
2099 -ms-flex-pack: justify; |
|
2100 justify-content: space-between; |
|
2101 -webkit-align-items: center; |
|
2102 -webkit-box-align: center; |
|
2103 -ms-flex-align: center; |
|
2104 align-items: center; |
|
2105 margin-bottom: 10px; |
|
2106 } |
|
2107 |
|
2108 select[id^=GProuteResultsComputationSelect] { |
|
2109 width: 100px; |
|
2110 } |
|
2111 |
|
2112 div[id^=GProuteResultsNew] { |
|
2113 width: 28px; |
|
2114 height: 28px; |
|
2115 border-radius: 3px; |
|
2116 opacity: 0.8; |
|
2117 background-position: -224px 0; |
|
2118 transition: opacity 0.2s ease-out; |
|
2119 cursor: pointer; |
|
2120 } |
|
2121 |
|
2122 div[id^=GProuteResultsNew]:hover { |
|
2123 opacity: 1; |
|
2124 } |
|
2125 |
|
2126 /* Results details header */ |
|
2127 |
|
2128 .GPfakeBorder { |
|
2129 display: inline-block; |
|
2130 height: 14px; |
|
2131 width: 60px; |
|
2132 border-bottom: 1px solid #999; |
|
2133 } |
|
2134 |
|
2135 .GPfakeBorderLeft { |
|
2136 margin-left:15px; |
|
2137 } |
|
2138 |
|
2139 input[id^=GProuteResultsShowDetails] + label, |
|
2140 input[id^=GProuteResultsShowDetails] + label + label { |
|
2141 width: 130px; |
|
2142 line-height: 28px; |
|
2143 vertical-align: top; |
|
2144 text-align: center; |
|
2145 font-weight: bold; |
|
2146 cursor: pointer; |
|
2147 transition: color 0.2s ease-out; |
|
2148 } |
|
2149 |
|
2150 input[id^=GProuteResultsShowDetails] + label, |
|
2151 input[id^=GProuteResultsShowDetails]:checked + label + label { |
|
2152 display: inline-block; |
|
2153 } |
|
2154 |
|
2155 input[id^=GProuteResultsShowDetails]:checked + label, |
|
2156 input[id^=GProuteResultsShowDetails] + label + label { |
|
2157 display: none; |
|
2158 } |
|
2159 |
|
2160 input[id^=GProuteResultsShowDetails] + label + label + div + div[id^=GProuteResultsDetails] { |
|
2161 max-height: 0; |
|
2162 opacity: 0; |
|
2163 } |
|
2164 |
|
2165 input[id^=GProuteResultsShowDetails]:checked + label + label + div + div[id^=GProuteResultsDetails] { |
|
2166 max-height: 200px; |
|
2167 opacity: 1; |
|
2168 } |
|
2169 |
|
2170 div[id^=GProuteResultsDetails] { |
|
2171 overflow-y: auto; |
|
2172 transition: max-height 0.5s ease-in-out 0.25s, opacity 0.5s ease-in-out 0.25s; |
|
2173 } |
|
2174 |
|
2175 .GProuteResultsDetailsNumber, |
|
2176 .GProuteResultsDetailsInstruction { |
|
2177 display: inline-block; |
|
2178 margin-top: 4px; |
|
2179 line-height: 16px; |
|
2180 color: #666; |
|
2181 } |
|
2182 |
|
2183 .GProuteResultsDetailsNumber { |
|
2184 font-weight: bold; |
|
2185 width: 22px; |
|
2186 text-align: right; |
|
2187 vertical-align: top; |
|
2188 } |
|
2189 |
|
2190 .GProuteResultsDetailsInstruction { |
|
2191 width: calc(100% - 30px); |
|
2192 padding-left: 5px; |
|
2193 } |
|
2194 |
|
2195 /* SEARCH ENGINE */ |
|
2196 |
|
2197 input[id^=GPshowSearchEngine-] + label + form[id^=GPsearchInput-] { |
|
2198 max-width: 0px; |
|
2199 } |
|
2200 |
|
2201 #GPlayerSwitcher label { /* FIXME !? */ |
|
2202 display: block; |
|
2203 } |
|
2204 |
|
2205 /* Showing/hiding search engine input */ |
|
2206 |
|
2207 input[id^=GPshowSearchEngine-] { |
|
2208 display: none; |
|
2209 } |
|
2210 |
|
2211 label[id^=GPshowSearchEnginePicto] { |
|
2212 display: inline-block; |
|
2213 transition: border-radius 0s ease-out 0s; |
|
2214 transition-delay: 0.5s; |
|
2215 } |
|
2216 |
|
2217 input[id^=GPshowSearchEngine-]:checked + label { |
|
2218 border-top-right-radius: 0; |
|
2219 border-bottom-right-radius: 0; |
|
2220 transition-delay: 0s; |
|
2221 } |
|
2222 |
|
2223 input[id^=GPshowSearchEngine-] + label + form[id^=GPsearchInput-] { |
|
2224 max-width: 0px; |
|
2225 border: none; |
|
2226 transition: max-width 0.5s ease-out 0s; |
|
2227 } |
|
2228 |
|
2229 input[id^=GPshowSearchEngine-]:checked + label + form[id^=GPsearchInput-] { |
|
2230 max-width: 280px; |
|
2231 } |
|
2232 |
|
2233 input[id^=GPshowSearchEngine-] + label + form[id^=GPsearchInput-] + div[id^=GPshowAdvancedSearch] { |
|
2234 display: none; |
|
2235 } |
|
2236 |
|
2237 input[id^=GPshowSearchEngine-]:checked + label + form[id^=GPsearchInput-] + div[id^=GPshowAdvancedSearch] { |
|
2238 display: inline-block; |
|
2239 } |
|
2240 |
|
2241 div[id^=GPautoCompleteList] { |
|
2242 display: none; |
|
2243 } |
|
2244 |
|
2245 input[id^=GPshowSearchEngine-]:checked + label + form[id^=GPsearchInput-] + div[id^=GPautoCompleteList] { |
|
2246 display: block; |
|
2247 } |
|
2248 |
|
2249 /* Simple search input */ |
|
2250 |
|
2251 form[id^=GPsearchInput-] { |
|
2252 display: inline-block; |
|
2253 position: relative; |
|
2254 left: -3px; |
|
2255 width: 280px; |
|
2256 overflow: hidden; |
|
2257 } |
|
2258 |
|
2259 form[id^=GPsearchInput-] input { |
|
2260 display: block; |
|
2261 width: 100%; |
|
2262 height: 100%; |
|
2263 border: 1px solid #999; |
|
2264 border-top-right-radius: 5px; |
|
2265 border-bottom-right-radius: 5px; |
|
2266 padding: 0; |
|
2267 padding-right: 30px; |
|
2268 padding-left: 5px; |
|
2269 color: #333; |
|
2270 font-size: 1.0em; |
|
2271 } |
|
2272 |
|
2273 form[id^=GPsearchInput-] input:disabled { |
|
2274 background-color: #DDD; |
|
2275 color: #999; |
|
2276 } |
|
2277 |
|
2278 div[id^=GPsearchInputReset] { |
|
2279 position: absolute; |
|
2280 top: 0; |
|
2281 right: 0; |
|
2282 width: 30px; |
|
2283 height: 32px; |
|
2284 background-position: -30px 0; |
|
2285 cursor: pointer; |
|
2286 } |
|
2287 |
|
2288 /* General panels */ |
|
2289 |
|
2290 div[id^=GPgeocodeResultsClose], |
|
2291 div[id^=GPadvancedSearchClose] { |
|
2292 top: 0; |
|
2293 right: 0; |
|
2294 width: 30px; |
|
2295 height: 32px; |
|
2296 } |
|
2297 |
|
2298 div[id^=GPgeocodeResultsClose] { |
|
2299 background-position: 0 0; |
|
2300 } |
|
2301 |
|
2302 div[id^=GPadvancedSearchClose] { |
|
2303 background-repeat: no-repeat; |
|
2304 } |
|
2305 |
|
2306 /* Advanced search picto */ |
|
2307 |
|
2308 div[id^=GPshowAdvancedSearch] { |
|
2309 transition: border-radius 0s ease-out 0s; |
|
2310 transition-delay: 0.5s; |
|
2311 } |
|
2312 |
|
2313 /* Advanced search panel */ |
|
2314 |
|
2315 div[id^=GPadvancedSearchPanel] { |
|
2316 display: none; |
|
2317 width: 280px; |
|
2318 vertical-align: top; |
|
2319 overflow: hidden; |
|
2320 } |
|
2321 |
|
2322 form[id^=GPadvancedSearchForm] { |
|
2323 max-height: 220px; |
|
2324 overflow-y: auto; |
|
2325 padding-left: 15px; |
|
2326 padding-right: 15px; |
|
2327 } |
|
2328 |
|
2329 .GPadvancedSearchCodeLabel, |
|
2330 .GPadvancedSearchFilterLabel { |
|
2331 max-width: 105px; |
|
2332 } |
|
2333 |
|
2334 .GPadvancedSearchCodeLabel, |
|
2335 .GPadvancedSearchCode, |
|
2336 div[id^=GPadvancedSearchFilters] { |
|
2337 margin-top: 15px; |
|
2338 } |
|
2339 |
|
2340 .GPadvancedSearchFilterLabel, |
|
2341 .GPadvancedSearchFilterInput { |
|
2342 margin-bottom: 5px; |
|
2343 } |
|
2344 |
|
2345 input[id^=GPadvancedSearchSubmit] { |
|
2346 margin-top: 10px; |
|
2347 margin-bottom: 15px; |
|
2348 } |
|
2349 |
|
2350 /* Autocomplete list / geocode results */ |
|
2351 |
|
2352 div[id^=GPautoCompleteList], |
|
2353 div[id^=GPgeocodeResultsList] { |
|
2354 width: 280px; |
|
2355 } |
|
2356 |
|
2357 div[id^=GPautoCompleteList] { |
|
2358 top: 35px; |
|
2359 } |
|
2360 |
|
2361 div[id^=GPgeocodeResultsList] { |
|
2362 display: none; |
|
2363 position: absolute; |
|
2364 top: 40px; |
|
2365 border-radius: 4px; |
|
2366 overflow: hidden; |
|
2367 } |
|
2368 |
|
2369 div[id^=GPgeocodeResults-] { |
|
2370 background-color: #FFF; |
|
2371 max-height: 140px; |
|
2372 overflow-y: auto; |
|
2373 } |
|
2374 |
|
2375 |
|
2376 .GPwidget { |
|
2377 position: relative; /* overwritten */ |
|
2378 } |
|
2379 |
|
2380 |
|
2381 #GPadvancedToolsPanel { |
|
2382 position: initial; /* overwritten */ |
|
2383 } |
|
2384 |
|
2385 /* General panels */ |
|
2386 |
|
2387 .GPpanel { |
|
2388 box-shadow: 0 1px 5px #000; |
|
2389 border-radius: 5px; |
|
2390 } |
|
2391 |
|
2392 .GPpanelHeader { |
|
2393 height: 32px; |
|
2394 background-color: #FFF; |
|
2395 border-top-left-radius: 5px; |
|
2396 border-top-right-radius: 5px; |
|
2397 } |
|
2398 |
|
2399 .GPpanelTitle { |
|
2400 width: calc(100% - 60px); |
|
2401 margin: auto; |
|
2402 line-height: 32px; |
|
2403 color: #C77A04; |
|
2404 border-bottom: 1px solid #C77A04; |
|
2405 } |
|
2406 |
|
2407 .GPpanelClose { |
|
2408 top: 0; |
|
2409 right: 0; |
|
2410 width: 30px; |
|
2411 height: 32px; |
|
2412 background-position: -30px 1px; |
|
2413 } |
|
2414 |
|
2415 .GPpanelReduce { |
|
2416 top: 0; |
|
2417 right: 30px; |
|
2418 width: 30px; |
|
2419 height: 32px; |
|
2420 background-position: -60px 1px; |
|
2421 } |
|
2422 |
|
2423 /* Showing/hiding advanced panel */ |
|
2424 |
|
2425 .GPshowAdvancedToolPicto { |
|
2426 width: 30px; |
|
2427 height: 30px; |
|
2428 box-shadow: 0 1px 5px #000; |
|
2429 background-color: #FFF; |
|
2430 border-radius: 5px; |
|
2431 } |
|
2432 |
|
2433 .GPshowAdvancedToolPicto:hover { |
|
2434 background-color: #F4F4F4; |
|
2435 } |
|
2436 |
|
2437 .GPshowAdvancedToolOpen { |
|
2438 width: 100%; |
|
2439 height: 100%; |
|
2440 } |
|
2441 |
|
2442 /* Submit inputs */ |
|
2443 |
|
2444 input.GPinputSubmit { |
|
2445 background-color: #C77A04; |
|
2446 } |
|
2447 |
|
2448 /* Showing additional hidden options */ |
|
2449 |
|
2450 .GPshowMoreOptions { |
|
2451 background-image: url("../img/gp/GPshowMoreOptions.png"); |
|
2452 } |
|
2453 |
|
2454 div[id^=GPelevationPath-] { |
|
2455 top: 0; /*overwritten*/ |
|
2456 } |
|
2457 |
|
2458 /* Showing/hiding elevationPath panel */ |
|
2459 |
|
2460 label[id^=GPshowElevationPathPicto] { |
|
2461 display: inline-block; |
|
2462 } |
|
2463 |
|
2464 input[id^=GPshowElevationPath-] + label { |
|
2465 display: block; |
|
2466 } |
|
2467 |
|
2468 input[id^=GPshowElevationPath-]:checked + label { |
|
2469 /* display: none; */ |
|
2470 } |
|
2471 |
|
2472 input[id^=GPshowElevationPath-] + label + div { |
|
2473 display: none; |
|
2474 } |
|
2475 |
|
2476 input[id^=GPshowElevationPath-]:checked + label + div { |
|
2477 display: block; |
|
2478 } |
|
2479 |
|
2480 span[id^=GPshowElevationPathOpen] { |
|
2481 background-image: url("../img/gp/GPshowElevationPath.png"); |
|
2482 } |
|
2483 |
|
2484 /* Panel */ |
|
2485 |
|
2486 [id^=GPelevationPathPanelClose] { |
|
2487 background-image: url("../img/gp/GPshowElevationPath.png"); |
|
2488 } |
|
2489 |
|
2490 div[id^=GPelevationPathPanelReduce] { |
|
2491 background-image: url("../img/gp/GPshowElevationPath.png"); |
|
2492 } |
|
2493 |
|
2494 [id^=GPelevationPathPanel-] { |
|
2495 width: 280px; |
|
2496 } |
|
2497 |
|
2498 /* ELEVATION PATH DISPLAY */ |
|
2499 |
|
2500 [id^=GPelevationPathProfil] { |
|
2501 height: 150px; |
|
2502 width: inherit; |
|
2503 line-height: normal; /* surcharge leaflet container */ |
|
2504 } |
|
2505 |
|
2506 /*.GPpanelHeader { |
|
2507 padding: unset; |
|
2508 }*/ |
|
2509 |
|
2510 /* |
|
2511 @media (min-width:720px) and (min-height:720px) { |
|
2512 |
|
2513 [id^=GPelevationPathPanel] { |
|
2514 top: 15px; |
|
2515 left: 15px; |
|
2516 } |
|
2517 |
|
2518 } |
|
2519 |
|
2520 @media (min-width:720px) and (min-height:520px) { |
|
2521 |
|
2522 [id^=GPelevationPathPanel] { |
|
2523 width: 460px; |
|
2524 } |
|
2525 |
|
2526 [id^=GPelevationPathProfil] { |
|
2527 height: 220px; |
|
2528 } |
|
2529 |
|
2530 } |
|
2531 |
|
2532 @media (max-width:560px), (max-height:340px) { |
|
2533 |
|
2534 [id^=GPelevationPathPanel] { |
|
2535 display: none !important; |
|
2536 } |
|
2537 |
|
2538 } |
|
2539 */ |
|
2540 |
|
2541 /* ISOCHRON */ |
|
2542 |
|
2543 div[id^=GPisochron-] { |
|
2544 /* left: 10px; */ |
|
2545 top: 0; /*overwritten*/ |
|
2546 } |
|
2547 |
|
2548 /* Showing/hiding isochron panel */ |
|
2549 |
|
2550 span[id^=GPshowIsochronOpen] { |
|
2551 background-image: url("../img/gp/GPisochronOpen.png"); |
|
2552 } |
|
2553 |
|
2554 /* General panels */ |
|
2555 |
|
2556 div[id^=GPisochronPanel-] { |
|
2557 left: 10px; |
|
2558 } |
|
2559 |
|
2560 div[id^=GPisochronPanelClose] { |
|
2561 background-image: url("../img/gp/GPisochronOpen.png"); |
|
2562 } |
|
2563 |
|
2564 div[id^=GPisochronPanelReduce] { |
|
2565 background-image: url("../img/gp/GPisochronOpen.png"); |
|
2566 } |
|
2567 |
|
2568 /* Calc waiting */ |
|
2569 |
|
2570 .GPisochronCalcWaitingContainerVisible, |
|
2571 .GPisochronCalcWaitingContainerHidden { |
|
2572 border-radius: 5px; |
|
2573 } |
|
2574 |
|
2575 /* Isochron form */ |
|
2576 |
|
2577 .GPisochronChoiceAlt input:checked + label + span { |
|
2578 color: #C77A04; |
|
2579 } |
|
2580 |
|
2581 .GPisochronOriginPointerImg, |
|
2582 .GPisochronChoiceAltImg, |
|
2583 .GPisochronTransportImg { |
|
2584 background-image: url("../img/gp/GPisochronOptions.png"); |
|
2585 } |
|
2586 |
|
2587 .GPisoExclusionsOption { |
|
2588 background-image: url("../img/gp/GPisochronCheck.png"); |
|
2589 } |
|
2590 |
|
2591 /* Reset picto */ |
|
2592 div[id^=GPisochronReset] { |
|
2593 background-color: #C77A04; |
|
2594 background-image: url("../img/gp/GPisochronOptions.png"); |
|
2595 } |
|
2596 |
|
2597 /* LAYER SWITCHER LEAFLET */ |
|
2598 |
|
2599 #GPlayerSwitcher { |
|
2600 top: 10px; |
|
2601 right: 10px; |
|
2602 } |
|
2603 |
|
2604 /* Showing/hiding layers list */ |
|
2605 |
|
2606 #GPshowLayersListPicto { |
|
2607 width: 36px; |
|
2608 height: 36px; |
|
2609 } |
|
2610 |
|
2611 #GPshowLayersListOpen, |
|
2612 #GPshowLayersListClose { |
|
2613 background-image: url("../img/gp/GPshowLayersList.png"); |
|
2614 } |
|
2615 |
|
2616 #GPshowLayersListClose { |
|
2617 background-position: -36px 0; |
|
2618 } |
|
2619 |
|
2620 #GPlayerSwitcher input[type="checkbox"]:checked + div + #GPshowLayersListPicto { |
|
2621 box-shadow: 0 2px 2px #000; |
|
2622 border-top: 1px solid #CCC; |
|
2623 } |
|
2624 |
|
2625 #GPlayerSwitcher input[type="checkbox"]:checked + div + #GPshowLayersListPicto #GPshowLayersListOpen { |
|
2626 opacity: 0.4; |
|
2627 } |
|
2628 |
|
2629 /* Layers list */ |
|
2630 |
|
2631 .GPlayerVisibility, |
|
2632 .GPshowLayerAdvancedTools, |
|
2633 .GPlayerInfo, |
|
2634 .GPlayerInfoOpened, |
|
2635 .GPlayerRemove { |
|
2636 background-image: url("../img/gp/GPlayerTools.png"); |
|
2637 } |
|
2638 |
|
2639 /* Opacity slider : Chrome, Safari, Opera */ |
|
2640 |
|
2641 .GPlayerOpacity input[type="range"]::-webkit-slider-runnable-track { |
|
2642 background: url("../img/gp/GPopacitySlider.png"); |
|
2643 } |
|
2644 |
|
2645 /* Opacity slider : Firefox */ |
|
2646 |
|
2647 .GPlayerOpacity input[type="range"]::-moz-range-track { |
|
2648 background: url("../img/gp/GPopacitySlider.png"); |
|
2649 } |
|
2650 |
|
2651 /* Opacity slider : IE */ |
|
2652 |
|
2653 .GPlayerOpacity input[type="range"]::-ms-track { |
|
2654 background: url("../img/gp/GPopacitySlider.png"); |
|
2655 } |
|
2656 |
|
2657 /* Layer info panel */ |
|
2658 |
|
2659 #GPlayerInfoPanel { |
|
2660 right: 190px; |
|
2661 } |
|
2662 |
|
2663 #GPlayerInfoTitle { |
|
2664 color: #C77A04; |
|
2665 border-bottom: 1px solid #C77A04; |
|
2666 } |
|
2667 |
|
2668 #GPlayerInfoQuicklook { |
|
2669 background-image: url("../img/gp/GPlayerInfo.png"); |
|
2670 } |
|
2671 |
|
2672 #GPlayerInfoClose { |
|
2673 background-image: url("../img/gp/GPlayerInfoClose.png"); |
|
2674 } |
|
2675 |
|
2676 .GPlayerInfoLink, |
|
2677 .GPlayerInfoPopup { |
|
2678 background-image: url("../img/gp/GPlayerInfo.png"); |
|
2679 } |
|
2680 |
|
2681 /* Location */ |
|
2682 |
|
2683 .GPlocationStageFlexInput { |
|
2684 margin-bottom: 5px; /*overwritten*/ |
|
2685 } |
|
2686 |
|
2687 /* Location form */ |
|
2688 |
|
2689 .GPlocationOriginPointerImg, |
|
2690 .GPlocationStageRemove, |
|
2691 div[id^=GPlocationStageAdd], |
|
2692 .GPlocationTransportImg { |
|
2693 background-image: url("../img/gp/GPlocationOptions.png"); |
|
2694 } |
|
2695 |
|
2696 /* MOUSE POSITION */ |
|
2697 |
|
2698 div[id^=GPmousePosition-] { |
|
2699 /* bottom: 10px; */ |
|
2700 /* left: 10px; */ |
|
2701 } |
|
2702 |
|
2703 /* Showing/hiding mouse position panel */ |
|
2704 |
|
2705 span[id^=GPshowMousePositionOpen] { |
|
2706 background-image: url("../img/gp/GPmousePositionOpen.png"); |
|
2707 } |
|
2708 |
|
2709 /* General panels */ |
|
2710 |
|
2711 div[id^=GPmousePositionPanelClose] { |
|
2712 background-image: url("../img/gp/GPmousePositionOpen.png"); |
|
2713 } |
|
2714 |
|
2715 /* Map center localisation */ |
|
2716 |
|
2717 #GPmapCenter { |
|
2718 background-image: url("../img/gp/GPmapCenter.png"); |
|
2719 } |
|
2720 |
|
2721 /* REVERSE GEOCODING */ |
|
2722 |
|
2723 [id^="GPreverseGeocoding-"] { |
|
2724 /*left: 10px;*/ |
|
2725 top: 0; /*overwritten*/ |
|
2726 } |
|
2727 |
|
2728 /* Showing/hiding reverse geocoding panel */ |
|
2729 |
|
2730 [id^="GPshowReverseGeocodingOpen-"] { |
|
2731 background-image: url("../img/gp/GPreverseGeocodingOpen.png"); |
|
2732 } |
|
2733 |
|
2734 /* General panels */ |
|
2735 |
|
2736 [id^="GPreverseGeocodingPanel-"] { |
|
2737 left: 10px; |
|
2738 } |
|
2739 |
|
2740 [id^="GPreverseGeocodingPanelClose-"] { |
|
2741 background-image: url("../img/gp/GPreverseGeocodingOpen.png"); |
|
2742 } |
|
2743 |
|
2744 /* Calc waiting */ |
|
2745 |
|
2746 .GPreverseGeocodingCalcWaitingContainerVisible, |
|
2747 .GPreverseGeocodingCalcWaitingContainerHidden { |
|
2748 border-radius: 5px; |
|
2749 } |
|
2750 |
|
2751 /* Results panel */ |
|
2752 |
|
2753 [id^="GPreverseGeocodingReturnPicto-"] { |
|
2754 width: 30px !important; |
|
2755 height: 30px !important; |
|
2756 background-color: #C77A04; |
|
2757 background-image: url("../img/gp/GPreturn.png"); |
|
2758 } |
|
2759 |
|
2760 .GPreverseGeocodedLocationHighlight { |
|
2761 background-color: rgba(255,200,0,0.25); |
|
2762 color: #222; |
|
2763 } |
|
2764 |
|
2765 /* ROUTE */ |
|
2766 |
|
2767 div[id^=GProute-] { |
|
2768 /* left: 10px; */ |
|
2769 top: 0; /*overwritten*/ |
|
2770 } |
|
2771 |
|
2772 .GProuteStageFlexInput { |
|
2773 margin-bottom: 5px; /*overwritten*/ |
|
2774 } |
|
2775 |
|
2776 /* Showing/hiding route panel */ |
|
2777 |
|
2778 span[id^=GPshowRouteOpen] { |
|
2779 background-image: url("../img/gp/GProuteOpen.png"); |
|
2780 } |
|
2781 |
|
2782 /* General panels */ |
|
2783 |
|
2784 div[id^=GProutePanel-] { |
|
2785 left: 10px; |
|
2786 } |
|
2787 |
|
2788 div[id^=GProutePanelClose] { |
|
2789 background-image: url("../img/gp/GProuteOpen.png"); |
|
2790 } |
|
2791 |
|
2792 /* Calc waiting */ |
|
2793 |
|
2794 .GProuteCalcWaitingContainerVisible, |
|
2795 .GProuteCalcWaitingContainerHidden { |
|
2796 border-radius: 5px; |
|
2797 } |
|
2798 |
|
2799 /* Route form */ |
|
2800 |
|
2801 .GProuteOriginPointerImg, |
|
2802 .GProuteStageRemove, |
|
2803 div[id^=GProuteStageAdd], |
|
2804 .GProuteTransportImg { |
|
2805 background-image: url("../img/gp/GProuteOptions.png"); |
|
2806 } |
|
2807 |
|
2808 .GProuteExclusionsOption { |
|
2809 background-image: url("../img/gp/GProuteCheck.png"); |
|
2810 } |
|
2811 |
|
2812 /* Results panel */ |
|
2813 |
|
2814 div[id^=GProuteResultsValueDist], |
|
2815 div[id^=GProuteResultsValueTime] { |
|
2816 color: #C77A04; |
|
2817 } |
|
2818 |
|
2819 div[id^=GProuteResultsNew] { |
|
2820 background-color: #C77A04; |
|
2821 background-image: url("../img/gp/GProuteOptions.png"); |
|
2822 } |
|
2823 |
|
2824 input[id^=GProuteResultsShowDetails] + label:hover, |
|
2825 input[id^=GProuteResultsShowDetails] + label + label:hover { |
|
2826 color: #C77A04; |
|
2827 } |
|
2828 |
|
2829 .GProuteResultsDetailsHighlight { |
|
2830 background-color: rgba(255,200,0,0.25); |
|
2831 color: #222; |
|
2832 } |
|
2833 |
|
2834 /* SEARCH ENGINE */ |
|
2835 |
|
2836 div[id^=GPsearchEngine-] { |
|
2837 /* top: 10px; */ |
|
2838 /* left: 46px; */ |
|
2839 } |
|
2840 |
|
2841 /* Showing/hiding search engine input */ |
|
2842 |
|
2843 span[id^=GPshowSearchEngineOpen] { |
|
2844 background-image: url("../img/gp/GPsearchEngineOpen.png"); |
|
2845 } |
|
2846 |
|
2847 /* Simple search input */ |
|
2848 |
|
2849 form[id^=GPsearchInput-] { |
|
2850 height: 30px; |
|
2851 } |
|
2852 |
|
2853 div[id^=GPsearchInputReset] { |
|
2854 background-image: url("../img/gp/GPsearchEngineClose.png"); |
|
2855 } |
|
2856 |
|
2857 /* General panels */ |
|
2858 |
|
2859 div[id^=GPgeocodeResultsClose] { |
|
2860 background-image: url("../img/gp/GPsearchEngineClose.png"); |
|
2861 } |
|
2862 |
|
2863 div[id^=GPadvancedSearchClose] { |
|
2864 background-image: url("../img/gp/GPsearchEngineOpen.png"); |
|
2865 background-position: -60px 0; |
|
2866 } |
|
2867 |
|
2868 /* Advanced search picto */ |
|
2869 |
|
2870 span[id^=GPshowAdvancedSearchOpen] { |
|
2871 background-image: url("../img/gp/GPsearchEngineOpen.png"); |
|
2872 background-position: -30px 0; |
|
2873 } |
|
2874 |
|
2875 /* Autocomplete list / geocode results */ |
|
2876 |
|
2877 div[id^=GPautoCompleteList], |
|
2878 div[id^=GPgeocodeResultsList] { |
|
2879 margin-left: 27px; |
|
2880 box-shadow: 0 1px 5px #000; |
|
2881 } |
|
2882 |
|
2883 div[id^=GPgeocodeResultsList] { |
|
2884 top: 38px; |
|
2885 border-radius: 5px; |
|
2886 } |
|
2887 |
|
2888 /* ================================================================== */ |
|
2889 /* Toolbars |
|
2890 /* ================================================================== */ |
|
2891 |
|
2892 .leaflet-draw-section { |
|
2893 position: relative; |
|
2894 } |
|
2895 |
|
2896 .leaflet-draw-toolbar { |
|
2897 margin-top: 12px; |
|
2898 } |
|
2899 |
|
2900 .leaflet-draw-toolbar-top { |
|
2901 margin-top: 0; |
|
2902 } |
|
2903 |
|
2904 .leaflet-draw-toolbar-notop a:first-child { |
|
2905 border-top-right-radius: 0; |
|
2906 } |
|
2907 |
|
2908 .leaflet-draw-toolbar-nobottom a:last-child { |
|
2909 border-bottom-right-radius: 0; |
|
2910 } |
|
2911 |
|
2912 .leaflet-draw-toolbar a { |
|
2913 background-image: url('../img/gp/spritesheet.png'); |
|
2914 background-repeat: no-repeat; |
|
2915 } |
|
2916 |
|
2917 .leaflet-retina .leaflet-draw-toolbar a { |
|
2918 background-image: url('../img/gp/spritesheet-2x.png'); |
|
2919 background-size: 270px 30px; |
|
2920 } |
|
2921 |
|
2922 .leaflet-draw a { |
|
2923 display: block; |
|
2924 text-align: center; |
|
2925 text-decoration: none; |
|
2926 } |
|
2927 |
|
2928 /* ================================================================== */ |
|
2929 /* Toolbar actions menu |
|
2930 /* ================================================================== */ |
|
2931 |
|
2932 .leaflet-draw-actions { |
|
2933 display: none; |
|
2934 list-style: none; |
|
2935 margin: 0; |
|
2936 padding: 0; |
|
2937 position: absolute; |
|
2938 left: 26px; /* leaflet-draw-toolbar.left + leaflet-draw-toolbar.width */ |
|
2939 top: 0; |
|
2940 white-space: nowrap; |
|
2941 } |
|
2942 |
|
2943 .leaflet-touch .leaflet-draw-actions { |
|
2944 left: 32px; |
|
2945 } |
|
2946 |
|
2947 .leaflet-right .leaflet-draw-actions { |
|
2948 right:26px; |
|
2949 left:auto; |
|
2950 } |
|
2951 |
|
2952 .leaflet-touch .leaflet-right .leaflet-draw-actions { |
|
2953 right:32px; |
|
2954 left:auto; |
|
2955 } |
|
2956 |
|
2957 .leaflet-draw-actions li { |
|
2958 display: inline-block; |
|
2959 } |
|
2960 |
|
2961 .leaflet-draw-actions li:first-child a { |
|
2962 border-left: none; |
|
2963 } |
|
2964 |
|
2965 .leaflet-draw-actions li:last-child a { |
|
2966 -webkit-border-radius: 0 4px 4px 0; |
|
2967 border-radius: 0 4px 4px 0; |
|
2968 } |
|
2969 |
|
2970 .leaflet-right .leaflet-draw-actions li:last-child a { |
|
2971 -webkit-border-radius: 0; |
|
2972 border-radius: 0; |
|
2973 } |
|
2974 |
|
2975 .leaflet-right .leaflet-draw-actions li:first-child a { |
|
2976 -webkit-border-radius: 4px 0 0 4px; |
|
2977 border-radius: 4px 0 0 4px; |
|
2978 } |
|
2979 |
|
2980 .leaflet-draw-actions a { |
|
2981 background-color: #919187; |
|
2982 border-left: 1px solid #AAA; |
|
2983 color: #FFF; |
|
2984 font: 11px/19px "Helvetica Neue", Arial, Helvetica, sans-serif; |
|
2985 line-height: 28px; |
|
2986 text-decoration: none; |
|
2987 padding-left: 10px; |
|
2988 padding-right: 10px; |
|
2989 height: 28px; |
|
2990 } |
|
2991 |
|
2992 .leaflet-touch .leaflet-draw-actions a { |
|
2993 font-size: 12px; |
|
2994 line-height: 30px; |
|
2995 height: 30px; |
|
2996 } |
|
2997 |
|
2998 .leaflet-draw-actions-bottom { |
|
2999 margin-top: 0; |
|
3000 } |
|
3001 |
|
3002 .leaflet-draw-actions-top { |
|
3003 margin-top: 1px; |
|
3004 } |
|
3005 |
|
3006 .leaflet-draw-actions-top a, |
|
3007 .leaflet-draw-actions-bottom a { |
|
3008 height: 27px; |
|
3009 line-height: 27px; |
|
3010 } |
|
3011 |
|
3012 .leaflet-draw-actions a:hover { |
|
3013 background-color: #A0A098; |
|
3014 } |
|
3015 |
|
3016 .leaflet-draw-actions-top.leaflet-draw-actions-bottom a { |
|
3017 height: 26px; |
|
3018 line-height: 26px; |
|
3019 } |
|
3020 |
|
3021 /* ================================================================== */ |
|
3022 /* Draw toolbar |
|
3023 /* ================================================================== */ |
|
3024 |
|
3025 .leaflet-draw-toolbar .leaflet-draw-draw-polyline { |
|
3026 background-position: -2px -2px; |
|
3027 } |
|
3028 |
|
3029 .leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polyline { |
|
3030 background-position: 0 -1px; |
|
3031 } |
|
3032 |
|
3033 .leaflet-draw-toolbar .leaflet-draw-draw-polygon { |
|
3034 background-position: -31px -2px; |
|
3035 } |
|
3036 |
|
3037 .leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polygon { |
|
3038 background-position: -29px -1px; |
|
3039 } |
|
3040 |
|
3041 .leaflet-draw-toolbar .leaflet-draw-draw-rectangle { |
|
3042 background-position: -62px -2px; |
|
3043 } |
|
3044 |
|
3045 .leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-rectangle { |
|
3046 background-position: -60px -1px; |
|
3047 } |
|
3048 |
|
3049 .leaflet-draw-toolbar .leaflet-draw-draw-circle { |
|
3050 background-position: -92px -2px; |
|
3051 } |
|
3052 |
|
3053 .leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circle { |
|
3054 background-position: -90px -1px; |
|
3055 } |
|
3056 |
|
3057 .leaflet-draw-toolbar .leaflet-draw-draw-marker { |
|
3058 background-position: -122px -2px; |
|
3059 } |
|
3060 |
|
3061 .leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-marker { |
|
3062 background-position: -120px -1px; |
|
3063 } |
|
3064 |
|
3065 /* ================================================================== */ |
|
3066 /* Edit toolbar |
|
3067 /* ================================================================== */ |
|
3068 |
|
3069 .leaflet-draw-toolbar .leaflet-draw-edit-edit { |
|
3070 background-position: -152px -2px; |
|
3071 } |
|
3072 |
|
3073 .leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit { |
|
3074 background-position: -150px -1px; |
|
3075 } |
|
3076 |
|
3077 .leaflet-draw-toolbar .leaflet-draw-edit-remove { |
|
3078 background-position: -182px -2px; |
|
3079 } |
|
3080 |
|
3081 .leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove { |
|
3082 background-position: -180px -1px; |
|
3083 } |
|
3084 |
|
3085 .leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled { |
|
3086 background-position: -212px -2px; |
|
3087 } |
|
3088 |
|
3089 .leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled { |
|
3090 background-position: -210px -1px; |
|
3091 } |
|
3092 |
|
3093 .leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled { |
|
3094 background-position: -242px -2px; |
|
3095 } |
|
3096 |
|
3097 .leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled { |
|
3098 background-position: -240px -2px; |
|
3099 } |
|
3100 |
|
3101 /* ================================================================== */ |
|
3102 /* Drawing styles |
|
3103 /* ================================================================== */ |
|
3104 |
|
3105 .leaflet-mouse-marker { |
|
3106 background-color: #fff; |
|
3107 cursor: crosshair; |
|
3108 } |
|
3109 |
|
3110 .leaflet-draw-tooltip { |
|
3111 background: rgb(54, 54, 54); |
|
3112 background: rgba(0, 0, 0, 0.5); |
|
3113 border: 1px solid transparent; |
|
3114 -webkit-border-radius: 4px; |
|
3115 border-radius: 4px; |
|
3116 color: #fff; |
|
3117 font: 12px/18px "Helvetica Neue", Arial, Helvetica, sans-serif; |
|
3118 margin-left: 20px; |
|
3119 margin-top: -21px; |
|
3120 padding: 4px 8px; |
|
3121 position: absolute; |
|
3122 visibility: hidden; |
|
3123 white-space: nowrap; |
|
3124 z-index: 6; |
|
3125 } |
|
3126 |
|
3127 .leaflet-draw-tooltip:before { |
|
3128 border-right: 6px solid black; |
|
3129 border-right-color: rgba(0, 0, 0, 0.5); |
|
3130 border-top: 6px solid transparent; |
|
3131 border-bottom: 6px solid transparent; |
|
3132 content: ""; |
|
3133 position: absolute; |
|
3134 top: 7px; |
|
3135 left: -7px; |
|
3136 } |
|
3137 |
|
3138 .leaflet-error-draw-tooltip { |
|
3139 background-color: #F2DEDE; |
|
3140 border: 1px solid #E6B6BD; |
|
3141 color: #B94A48; |
|
3142 } |
|
3143 |
|
3144 .leaflet-error-draw-tooltip:before { |
|
3145 border-right-color: #E6B6BD; |
|
3146 } |
|
3147 |
|
3148 .leaflet-draw-tooltip-single { |
|
3149 margin-top: -12px |
|
3150 } |
|
3151 |
|
3152 .leaflet-draw-tooltip-subtext { |
|
3153 color: #f8d5e4; |
|
3154 } |
|
3155 |
|
3156 .leaflet-draw-guide-dash { |
|
3157 font-size: 1%; |
|
3158 opacity: 0.6; |
|
3159 position: absolute; |
|
3160 width: 5px; |
|
3161 height: 5px; |
|
3162 } |
|
3163 |
|
3164 /* ================================================================== */ |
|
3165 /* Edit styles |
|
3166 /* ================================================================== */ |
|
3167 |
|
3168 .leaflet-edit-marker-selected { |
|
3169 background: rgba(254, 87, 161, 0.1); |
|
3170 border: 4px dashed rgba(254, 87, 161, 0.6); |
|
3171 -webkit-border-radius: 4px; |
|
3172 border-radius: 4px; |
|
3173 box-sizing: content-box; |
|
3174 } |
|
3175 |
|
3176 .leaflet-edit-move { |
|
3177 cursor: move; |
|
3178 } |
|
3179 |
|
3180 .leaflet-edit-resize { |
|
3181 cursor: pointer; |
|
3182 } |
|
3183 |
|
3184 /* ================================================================== */ |
|
3185 /* Old IE styles |
|
3186 /* ================================================================== */ |
|
3187 |
|
3188 .leaflet-oldie .leaflet-draw-toolbar { |
|
3189 border: 1px solid #999; |
|
3190 } |