geoportal-extensions-openlayers
Version:

2,489 lines (2,025 loc) • 221 kB
CSS
/*!
* @brief French Geoportal Extension for OpenLayers
*
* This software is released under the licence CeCILL-B (Free BSD compatible)
* @see http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
* @see http://www.cecill.info/licences/Licence_CeCILL-B_V1-fr.txt
* @see http://www.cecill.info/
*
* @copyright copyright (c) IGN
* @license CeCILL-B
* @author IGN
* @version 3.4.6
* @date 12/06/2025
*
*/
/*!
* @overview ol-mapbox-style - Use Mapbox Style objects with OpenLayers
* @copyright Copyright (c) 2016 openlayers
* @license BSD 2-Clause "Simplified" License
* See https://raw.githubusercontent.com/openlayers/ol-mapbox-style/master/LICENSE
* @version 6.7.0
*/
/*!
* Sortable -- JavaScript library for reorderable drag-and-drop lists on modern
* browsers and touch devices. No jQuery required. Supports Meteor, AngularJS,
* React, Polymer, Vue, Knockout and any CSS library, e.g. Bootstrap.
*
* Released under MIT LICENSE
*
* Copyright Lebedev Konstantin <ibnRubaXa@gmail.com>
* https://github.com/SortableJS/Sortable
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* @version 1.14.0
*/
/*!
* @overview Fetch - window.fetch polyfill
* @copyright Copyright (c) 2014-2016 GitHub, Inc.
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/github/fetch/master/LICENSE
* @version 3.0.0
*/
/*!
* @overview EventBus - Simple JavaScript class for managing events in JavaScript
* @copyright Copyright (c) 2014 Krasimir Tsonev
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/krasimir/EventBus/master/LICENSE
* @version 0.2.0
*/
/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.4
*/
/*!
* @overview Proj4js - Javascript reprojection library.
*
* @authors
* - Mike Adair madairATdmsolutions.ca
* - Richard Greenwood richATgreenwoodmap.com
* - Didier Richard didier.richardATign.fr
* - Stephen Irons stephen.ironsATclear.net.nz
* - Olivier Terral oterralATgmail.com
* - Calvin Metcalf cmetcalfATappgeo.com
*
* @copyright Copyright (c) 2014, Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/proj4js/proj4js/master/LICENSE.md
* @version 2.7.5
*/
/* BOOST RELIEF */
div[id^=GPboostRelief-] {
font-size: 11px;
width: 150px;
}
div[id^=GPboostRelief-] label {
display: block;
}
div[id^=GPBoostReliefListContainer-] {
position: relative;
width: 100%;
height: 28px;
padding-left: 8px;
line-height: 28px;
}
.GPlayerRelief,
.GPlayerReliefValue {
position: absolute;
top: 0;
}
.GPlayerRelief {
width: calc(100% - 60px);
height: 28px;
padding-left: 8px;
}
.GPlayerReliefValue {
width: 32px;
left: calc(100% - 40px);
line-height: 28px;
font-size: 10px;
font-style: italic;
cursor: default;
}
/* Showing/hiding boost relief panel */
label[id^=GPshowBoostReliefPicto] {
display: inline-block;
}
input[id^=GPshowBoostRelief-] + label {
display: block;
}
input[id^=GPshowBoostRelief-]:checked + label {
display: none;
}
input[id^=GPshowBoostRelief-] + label + div {
display: none;
}
input[id^=GPshowBoostRelief-]:checked + label + div {
display: block;
}
/* Showing layer advanced tools */
div[id^=GPboostRelief-] input[type="checkbox"]:checked + label + .GPlayerAdvancedToolsRelief {
max-height: 28px;
opacity: 1;
}
.GPlayerAdvancedToolsRelief {
display: block;
position: relative;
width: 100%;
border-bottom : 1px dotted #CCC;
background-color : #FFF;
}
.GPlayerReliefLayerId {
position: relative;
width: 100px;
height: 28px;
padding-left: 8px;
line-height: 28px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
/* Relief slider : general */
.GPlayerRelief input {
-webkit-appearance: none;
-moz-appearance: none;
background: none;
display: block;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
cursor: pointer;
}
.GPlayerRelief input[type="range"]:focus {
box-shadow: none;
outline: none;
}
/* Relief slider : Chrome, Safari, Opera */
.GPlayerRelief input[type="range"]::-webkit-slider-runnable-track {
-webkit-appearance: none;
height: 3px;
}
.GPlayerRelief input[type="range"]::-webkit-slider-thumb:before {
position: absolute;
top: 0;
right: 50%;
left: -200px;
height: 3px;
pointer-events: none;
}
.GPlayerRelief input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 9px;
height: 17px;
-webkit-appearance: none;
border: 2px solid #FFF;
background-color: #505050;
position: relative;
top: -7px;
}
/* Relief slider : Firefox */
.GPlayerRelief input[type="range"]::-moz-range-track {
width: 80px;
height: 3px;
}
.GPlayerRelief input[type="range"]::-moz-range-thumb {
width: 5px;
height: 13px;
border: 2px solid #FFF;
border-radius: 0;
box-shadow: 0;
background-color: #505050;
position: relative;
}
/* Relief slider : IE */
.GPlayerRelief input[type="range"]::-ms-track {
border: 0;
border-color: transparent;
border-radius: 0;
border-width: 0;
color: transparent;
height: 3px;
width: 80px;
}
.GPlayerRelief input[type="range"]::-ms-fill-lower,
.GPlayerRelief input[type="range"]::-ms-fill-upper {
background: transparent;
border-radius: 0;
}
.GPlayerRelief input[type="range"]::-ms-thumb {
width: 5px;
height: 13px;
border: 2px solid #FFF;
background-color: #505050;
}
.GPlayerRelief input[type="range"]::-ms-tooltip {
display: none;
}
/* BUILDINGS */
div[id^=GPbuildings-] {
font-size: 11px;
}
div[id^=GPbuildings-] label {
display: block;
}
label[id^=GPshowBuildingsPicto] {
display: inline-block;
cursor: pointer;
}
/* MOUSE POSITION */
/* Showing/hiding drawing panel */
label[id^=GPshowDrawingPicto-] {
display: inline-block;
}
input[id^=GPshowDrawing-] + label {
display: block;
}
input[id^=GPshowDrawing-]:checked + label {
display: none;
}
input[id^=GPshowDrawing-] + label + div {
display: none;
}
input[id^=GPshowDrawing-]:checked + label + div {
display: block;
}
/* General panels */
div[id^=GPdrawingPanel-] {
width: 240px;
overflow: hidden;
}
/* Basic infos */
div[id^=GPdrawingBasicPanel-] {
padding: 10px 15px;
}
.GPdrawingLabel,
.GPdrawingCoords {
display: inline-block;
line-height: 20px;
}
.GPdrawingLabel {
width: 80px;
font-weight: bold;
}
.GPdrawingCoords {
width: 110px;
}
/* markers selector */
.marker-input-radio {
display : none ;
}
input.marker-input-radio:checked + label {
border: 1px solid red;
}
div[id^=GPelevationPathPanelInfo] {
display: none; /* on n'affiche pas le bouton d'information par defaut */
}
/* Calc waiting */
.GPelevationPathCalcWaitingContainerVisible,
.GPelevationPathCalcWaitingContainerHidden {
position: absolute;
top: 32px;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(255,255,255,0.9);
font-size: 1.5em;
font-weight: bold;
overflow: hidden;
}
.GPelevationPathInformationsContainerVisible,
.GPelevationPathInformationsContainerHidden {
position: absolute;
top: 32px;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(255,255,255,0.9);
font-size: 13px;
font-weight: bold;
overflow: hidden;
}
.GPelevationPathCalcWaitingContainerVisible {
display: -webkit-flex;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.GPelevationPathInformationsContainerVisible {
display: -webkit-flex;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
flex-direction: column;
}
.GPelevationPathCalcWaitingContainerHidden,
.GPelevationPathInformationsContainerHidden {
display: none;
}
.GPelevationPathCalcWaiting,
.GPelevationPathInformations {
margin: auto;
}
.GPelevationPathInformations {
font-size: 0.8em;
}
.GPelevationPathCalcWaitingContainerVisible,
.GPelevationPathCalcWaitingContainerHidden,
.GPelevationPathInformationsContainerVisible,
.GPelevationPathInformationsContainerHidden {
border-radius: 5px;
}
/* CSS : Raw */
#profileElevationRaw {
resize: none;
padding: unset;
}
/* CSS : default */
#profileElevationByDefault {
display:-webkit-flex;
display:-webkit-box;
display:-ms-flexbox;
display:flex;
-webkit-box-orient:vertical;
-webkit-box-direction:normal;
-webkit-flex-direction:column;
-ms-flex-direction:column;
flex-direction:column;
height:100%;
}
.altiPathValue {
font-weight: 700;
fill: #5E5E5E;
}
.altiPathCoords {
font-style: italic;
fill: #5E5E5E;
}
.tooltipInit {
opacity: 0;
}
.tooltipFadeIn {
transition: opacity 300ms ease 0ms, transform 50ms ease 0s, top 50ms ease 0s, left 50ms ease 0s;
opacity: 1;
}
.tooltipFadeOut {
transition: opacity 500ms ease 0ms;
opacity: 0;
}
/* CSS : D3 */
.axis-d3 > text {
fill: rgb(94, 94, 94);
font-family: Verdana;
font-size: 10px;
opacity: 1;
text-anchor: end;
}
.axis-d3 {
fill: none;
stroke: #5E5E5E;
stroke-width: 1;
shape-rendering: crispEdges;
}
.area-d3 {
fill: #C77A04;
stroke: #5E5E5E;
stroke-width: 0;
fill-opacity: 0.4;
}
.line-d3 {
fill: none;
stroke: #C77A04;
stroke-width: 1px;
}
.grid-d3 .tick {
stroke: lightgrey;
opacity: 0.7;
}
.grid-d3 path {
stroke-width: 0;
}
.grid-d3 .tick {
stroke: lightgrey;
opacity: 0.7;
}
.grid-d3 path {
stroke-width: 0;
}
.overlay-d3 {
fill: none;
pointer-events: all;
}
.focusLine-d3 {
fill: none;
stroke: #C77A04;
stroke-width: 0.5px;
}
.focusCircle-d3 {
fill: #C77A04;
}
div.tooltip-d3 {
position: inherit;;
text-align: left;
width: 80px;
height: 45px;
padding: 5px;
font: 8px sans-serif;
background: white;
border: 0px;
border-radius: 8px;
pointer-events: none;
}
/* Widgets : general */
.GPwidget {
position: absolute;
font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
font-size: 13px;
color: #333;
}
.GPwidget input[type='text'],
.GPwidget input[type='button'] {
-webkit-appearance: none;
color: #333333;
}
.GPwidget input[type="checkbox"] {
display: none;
}
.GPwidget select {
padding-left: 3px;
border-radius: 3px;
}
.GPwidget form {
margin-bottom: 0;
}
.GPwidget * {
box-sizing: border-box;
background-repeat: no-repeat;
}
/* waiting */
.GPwaiting {
background-image : url(data:image/gif;base64,R0lGODlhNAA0AIQSAAFkpSZ5sAGV3k2Ruiao3kOj1/GUBk225pe/B4S83XrK75HH3qrS5szMzNbW1sHe797e3ubm5v///////////////////////////////////////////////////////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAQAfACwAAAAANAA0AAAF5uAnjmRpnmiqrmzrvnAsz3T9FXhh72Ke8zWfDzgT/ogxIw55cjgiJ6XOhKjaII1sNio8Vb8ImnbMXVLBVhl2vI2hvzIHOwt9veGxyLwhu4dlcw59bzVjgjNoPHU2f0yOj5CRkpMocg2HjwaaBitzmZuaKWuGTKCgKHt8SKabqHulrJwno1qYQLGyJ56OrCuWtrChlMPExcbHH4s1ymK1NJZtM4Fxu3mvMXvMLdBj2ip60zG0WoBzENLVJL+66TDj7GQmbOc1EE9N4SURDvSRqcgj/gH8wC0LsGPtAK7pN7Chw4cQSYQAACH5BAUBAB8ALBYABAAaACcAAAVw4PdBTQOJaKquX+k2bJw6b+nIcu3isV7yLFrttioYczWWcVmICYkq5hKolB6pKOsUm9Vyu9JvKiyOls/otHqNQ7gR6ff7LJeX63Mx3n3f0+txeWyDhIVlBmsGiopoi45njo9fkZKTlIhil42RaYsxIQAh+QQFAQAfACwWAAkAGgAnAAAFdOAnjmQZOVCprmTjuikrf289y/Ub32SUuw6e6teICEuO31GVfC1Zxqd0Sq1arYVsAavNUrvdKVgrHm+l5jMazPVe3/C4/IN4I+73Kn5P3fOffn+AgXUqBocGK4QriIiKfoaNjip4LJKTT5eHU5qJnJJWjVUhACH5BAUBAB8ALAkAFgAnABoAAAV04CeOZGmepdM0Duq+5yo3cO2qcwPZPJnLveBvFezhZrsi76cM4lrNqHRKrVpPhmoBZuh2o4VwGOUtK8VoU9lcRKdJazbP/R7Fv236tnQ/If4IJ3pYa36Af4JuLl6Gh4gmYlKOgFclk4+VIpeBmSOTnZaUTSEAIfkEBQEAHwAsBAAWACcAGgAABXfg9xmkIZ5oqq5rWbJwnLqubLP0e+9nTvJAnwnIyxGJtaNyyWw6n1Ao4hmRIa7XpaPBbbCw4OO2y1WBw0Ryt4o6o3cRNdeRcmfTcojZvSr4CytyXntvKH9/gWR6X3cph4crEQ6LSo+IUYaWgJgnmpucIpagjpc3IQAh+QQFAQAfACwEAAkAGgAnAAAFb+AnjqJhkmiamqyhvmjLwrA806p946Tu8isbMNca1ozIpHLJTCKeiCYUupxOlVaqMxvdZqtWqbZJLpvPyEK5wGYz23AlPJ6c0412t9yucjQaDi98KX+FDTBtfYZ/gUmLhUqPf0p+i42Oi00QfxAiIQAh+QQFAQAfACwEAAQAGgAnAAAFc+AnjmRZGqhhrmyasrDounE7o/V64yvi6zuTb4gA0oTEn+lYSg5zSGcROpJOqVUntknc9rzgsHhMLhXOhTEaHV6vwW62N36G09tutbzM7/v/JhFlDYQNDmKFhYdeEYmFYA6OhIJbEJINYZdhlolkEA6UUCEAIfkEAQEAHwAsBAAEACcAGgAABXXgJ45kWSIoYq5sS6apK8swPN9mHeP8p6O9UmG4+qlMhmRryCwUa6uk1LBqMp9A5FQptBKDW2nX6+SFxSRyuXemjpvBz5lljYu2srX9vu/7/4CBgh8NhQ6DK4WKDYgkEIuGjSKQipKElIySj5CHlpSWIw6RoCEAOw==);
background-position : center center;
background-repeat : no-repeat;
}
/* General panels */
.GPpanel {
background-color: #FFF;
}
.GPpanelHeader {
position: relative;
width: 100%;
}
.GPpanelTitle {
width: 100%;
height: 100%;
text-align: center;
font-weight: bold;
}
.GPpanelClose, .GPpanelReduce, .GPpanelInfo {
position: absolute;
cursor: pointer;
}
/* Showing/hiding advanced panels */
.GPshowAdvancedToolPicto {
position: relative;
box-sizing: border-box;
cursor: pointer;
}
.GPshowAdvancedToolOpen {
position: absolute;
display: block;
box-sizing: border-box;
}
/* Flex inputs */
.GPflexInput {
display: -webkit-flex;
display: -ms-flexbox;
display: -webkit-box;
display: flex;
transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}
/* FIXME tempory hack with :not(.GPlocationOriginHidden) !
.GPflexInput > *:not(.GPlocationOriginHidden) */
.GPflexInput > * {
display: block;
height: 28px;
line-height: 26px;
border: 1px solid #999;
border-radius: 0;
}
.GPflexInput *:not(:last-child) {
border-right:none;
}
.GPflexInput *:first-child {
border-radius: 3px 0 0 3px;
}
.GPflexInput *:last-child {
border-radius: 0 3px 3px 0;
}
.GPflexInput > *:not(input) {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.GPflexInput > input {
-webkit-flex: 1;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
padding: 0 5px;
min-width: 0;
}
.GPflexInput > select {
-webkit-flex: 1;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
padding-right: 7px;
}
.GPflexInput > label {
background-color: #F2F2F2;
color: #666;
padding-left: 7px;
padding-right: 9px;
cursor: pointer;
}
/* Particular inputs */
.GPinputSelect {
display: block;
height: 28px;
line-height: 26px;
margin: auto;
border: 1px solid #999;
color: #333;
cursor: pointer;
}
input.GPinputSubmit {
display: block;
width: 80px;
margin: auto;
height: 28px;
line-height: 26px;
padding: 0;
background: none;
border: none;
border-radius: 3px;
font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
color: #FFF;
font-weight: bold;
opacity: 0.8;
transition: opacity 0.2s ease-out;
cursor: pointer;
}
input.GPinputSubmit:hover {
opacity: 1;
}
/* Autocomplete/geocode results */
.GPautoCompleteList,
.GPadvancedAutoCompleteList {
z-index: 2;
display: none;
position: absolute;
max-height: 140px;
background-color: #FFF;
border: 1px solid #999;
overflow-y: hidden;
}
.GPadvancedAutoCompleteList {
width: calc(100% - 28px);
border-top: none;
font-size: 0.9em;
}
.GPautoCompleteProposal {
width: 100%;
height: 28px;
line-height: 16px;
padding: 6px 10px;
color: #5E5E5E;
font-size: 1.0em;
overflow: hidden;
white-space: nowrap;
text-overflow:ellipsis;
cursor: pointer;
}
.GPautoCompleteProposal:hover {
color: #000000;
background-color: #CEDBEF
}
/* Showing additional hidden options */
.GPshowMoreOptions {
display: block;
position: absolute;
width: 28px;
height: 28px;
cursor: pointer;
transition: all 0.5s ease-out 0s;
}
input[type="checkbox"]:checked + .GPshowMoreOptions {
-webkit-transform: rotateX(180deg);
transform: rotateX(180deg);
/* bottom: 90px; */
}
/* GET FEATURE INFO */
label[id^=GPgetFeatureInfoPicto] {
display: inline-block;
}
div[id^=GPgetFeatureInfo-] + label {
display: block;
}
span[id^=GPgetFeatureInfoActivate],
span[id^=GPgetFeatureInfoDeactivate] {
position: absolute;
display: block;
transition: border-radius 0.5s ease-out 0s, opacity 0.5s ease-out 0s;
}
span[id^=GPgetFeatureInfoActivate] {
background-position: 0 0;
opacity: 1;
}
span[id^=GPgetFeatureInfoDeactivate] {
opacity: 0;
}
div[id^=GPgetFeatureInfo-] input[type="checkbox"]:not(:checked) + label[id^=GPgetFeatureInfoPicto] span[id^=GPgetFeatureInfoDeactivate] {
opacity: 1;
}
/* ISOCHRON */
div[id^=GPisochron-] {
top: 140px;
}
/* Showing/hiding mouse position panel */
label[id^=GPshowIsochronPicto] {
display: inline-block;
}
input[id^=GPshowIsochron-] + label {
display: block;
}
input[id^=GPshowIsochron-]:checked + label {
display: none;
}
input[id^=GPshowIsochron-] + label + div {
display: none;
}
input[id^=GPshowIsochron-]:checked + label + div {
display: block;
}
/* General panels */
div[id^=GPisochronPanel-] {
width: 280px;
}
/* Calc waiting */
.GPisochronCalcWaitingContainerVisible,
.GPisochronCalcWaitingContainerHidden {
position: absolute;
top: 32px;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(255,255,255,0.9);
font-size: 1.5em;
font-weight: bold;
overflow: hidden;
}
.GPisochronCalcWaitingContainerVisible {
display: -webkit-flex;
display: -ms-flexbox;
display: -webkit-box;
display: flex;
}
.GPisochronCalcWaitingContainerHidden {
display: none;
}
.GPisochronCalcWaiting {
margin: auto;
}
/* Isochron form */
form[id^=GPisochronForm] {
padding: 15px;
}
.GPisochronFormMini {
max-height: 58px;
overflow: hidden;
}
.GPisochronFormMini div[id^="GPisochronReset-"],
.GPisochronFormMini label[id^="GPshowIsoExclusionsPicto-"] {
display: none;
}
.GPisochronOriginVisible {
display: block;
}
.GPisochronOriginHidden {
display: none;
}
.GPisochronOriginPointerImg {
width: 28px;
background-color: #F2F2F2;
cursor: pointer;
}
input[id^="GPisochronOriginPointer"] + .GPisochronOriginPointerImg {
background-position: -1px -1px;
}
input[id^="GPisochronOriginPointer"]:checked + .GPisochronOriginPointerImg {
background-position: -29px -1px;
}
input[id^=GPisochronSubmit] {
margin-top: 5px;
}
/* Alternative choice */
div[id^=GPisochronChoice] {
display: -webkit-flex;
display: -ms-flexbox;
display: -webkit-box;
display: flex;
width: 160px;
-webkit-justify-content: space-between;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
margin: auto;
margin-top: 15px;
margin-bottom: 5px;
}
.GPisochronChoiceAlt input {
display: none;
}
.GPisochronChoiceAltImg {
display: block;
width: 28px;
height: 28px;
margin: auto;
cursor: pointer;
}
input[id^=GPisochronChoiceAltChron] + .GPisochronChoiceAltImg {
background-position: -56px 0;
}
input[id^=GPisochronChoiceAltChron]:checked + .GPisochronChoiceAltImg {
background-position: -84px 0;
}
input[id^=GPisochronChoiceAltDist] + .GPisochronChoiceAltImg {
background-position: -112px 0;
}
input[id^=GPisochronChoiceAltDist]:checked + .GPisochronChoiceAltImg {
background-position: -140px 0;
}
.GPisochronChoiceAlt span {
cursor: pointer;
display:block;
color: #999;
}
.GPisochronValueHidden {
display: none;
}
div[id^=GPisochronValueChron],
div[id^=GPisochronValueDist] {
width: 220px;
margin: auto;
}
/* Mode choice */
div[id^=GPisochronModeChoice] {
display: -webkit-flex;
display: -ms-flexbox;
display: -webkit-box;
display: flex;
-webkit-justify-content: space-between;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
margin: 15px 0;
}
.GPisochronModeLabel {
display: block;
text-align: center;
margin-bottom: 5px;
}
div[id^=GPisochronTransportChoice] input {
display: none;
}
.GPisochronTransportImg {
display: inline-block;
width: 28px;
height: 28px;
cursor: pointer;
}
.GPisochronTransportImg:first-of-type {
margin-left: 18px;
margin-right: 10px;
}
input[id^=GPisochronTransportCar] + .GPisochronTransportImg {
background-position: -168px 0;
}
input[id^=GPisochronTransportCar]:checked + .GPisochronTransportImg {
background-position: -196px 0;
}
input[id^=GPisochronTransportPedestrian] + .GPisochronTransportImg {
background-position: -224px 0;
}
input[id^=GPisochronTransportPedestrian]:checked + .GPisochronTransportImg {
background-position: -252px 0;
}
select[id^=GPisochronDirectionSelect] {
width: 80px;
}
/* Showing/hiding exclusions */
input[id^=GPshowIsoExclusions] {
display: none;
}
.GPshowIsoExclusionsPicto {
top: 250px;
right: 0;
transition: all 0.5s ease-out 0s;
}
input[id^=GPshowIsoExclusions] + label + div[id^=GPisoExclusions] {
max-height: 0;
opacity: 0;
margin-bottom: 0;
}
input[id^=GPshowIsoExclusions]:checked + label + div[id^=GPisoExclusions] {
display: block;
max-height: 60px;
opacity: 1;
margin-bottom: 15px;
}
/* Exclusions */
div[id^=GPisoExclusions] {
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;
overflow: hidden;
}
.GPisoExclusionsLabel {
display: block;
text-align: center;
margin-bottom: 10px;
font-weight: bold;
line-height: 16px;
}
.GPisoExclusionsOptions {
display: -webkit-flex;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-around;
-ms-flex-pack: distribute;
justify-content: space-around;
}
.GPisoExclusionsOption {
display: block;
height: 28px;
line-height: 26px;
color: #A77;
background-color: #FEE;
padding-left: 28px;
padding-right: 5px;
border: 1px solid #A77;
border-radius: 3px;
cursor: pointer;
}
input:checked + .GPisoExclusionsOption {
background-color: #EFE;
background-position: 0 -28px;
color: #797;
border: 1px solid #797;
}
/* Reset picto */
div[id^=GPisochronReset] {
position: absolute;
margin-top: 5px;
width: 28px;
height: 28px;
border-radius: 3px;
opacity: 0.8;
background-position: -281px 0;
transition: opacity 0.2s ease-out;
cursor: pointer;
}
div[id^=GPisochronReset]:hover {
opacity: 1;
}
/* LAYER SWITCHER */
div[id^=GPlayerSwitcher-] {
font-size: 11px;
}
div[id^=GPlayerSwitcher-] [draggable] {
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
user-select: none;
/* Required to make elements draggable in old WebKit */
-khtml-user-drag: element;
-webkit-user-drag: element;
}
/* Manage opening of the components through hiden checkboxes */
div[id^=GPlayerSwitcher-] input[type="checkbox"] + div,
div[id^=GPlayerSwitcher-] input[type="checkbox"] + label + div {
max-height: 0px;
}
div[id^=GPlayerSwitcher-] label {
display: block;
}
/* Showing/hiding layers list */
label[id^=GPshowLayersListPicto] {
position: relative;
float: right;
display: block;
opacity: 1;
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;
cursor: pointer;
}
span[id^=GPshowLayersListOpen],
span[id^=GPshowLayersListClose] {
position: absolute;
display: block;
transition: border-radius 0.5s ease-out 0s, opacity 0.5s ease-out 0s;
}
span[id^=GPshowLayersListOpen] {
background-position: 0 0;
opacity: 1;
}
span[id^=GPshowLayersListClose] {
opacity: 0;
}
div[id^=GPlayerSwitcher-] input[type="checkbox"]:checked + div + label[id^=GPshowLayersListPicto] {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
div[id^=GPlayerSwitcher-] input[type="checkbox"]:checked + div + label[id^=GPshowLayersListPicto] span[id^=GPshowLayersListClose] {
opacity: 1;
}
/* Layers list */
div[id^=GPlayersList] {
position: relative;
width: 180px;
border-bottom-right-radius: 0;
opacity: 0;
overflow: auto;
transition: max-height 0.5s ease-out 0s, opacity 0.5s ease-out 0.25s;
}
div[id^=GPlayerSwitcher-] input[type="checkbox"]:checked + div[id^=GPlayersList] {
max-height: 232px;
opacity: 1;
transition: max-height 0.5s ease-in 0s, opacity 0.25s ease-in 0s;
}
/* Layer : general */
.GPlayerSwitcher_layer {
position: relative;
top: 0;
background-color: #FFF;
border-bottom: 1px dotted #CCC;
overflow: hidden;
}
div[id^=GPlayersList] .GPlayerSwitcher_layer:last-child {
border-bottom: none;
}
.GPlayerBasicTools,
.GPlayerAdvancedTools {
position: relative;
width: 100%;
height: 28px;
}
.GPlayerVisibility,
.GPlayerInfo,
.GPlayerInfoOpened,
.GPlayerRemove {
width: 28px;
height: 28px;
cursor: pointer;
}
.GPlayerVisibility,
.GPlayerName,
.GPlayerInfo,
.GPlayerInfoOpened,
.GPlayerRemove,
.GPlayerOpacity,
.GPlayerOpacityValue {
position: absolute;
top: 0;
}
.GPghostLayer {
opacity: 0;
}
/* Layer basic tools */
.GPlayerBasicTools {
background-color: #FFF;
}
.GPlayerVisibility {
left: 0;
background-position: -28px 0;
}
input[type="checkbox"]:checked + .GPlayerVisibility {
background-position: 0 0;
}
.GPlayerName {
left: 28px;
width: calc(100% - 56px);
line-height: 28px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding-left: 4px;
cursor: move;
}
.outOfRange .GPlayerName {
color: #AAA;
}
/* Showing layer advanced tools */
.GPshowLayerAdvancedTools {
top: 0;
right: 0;
background-position: -112px 0;
}
.GPlayerAdvancedTools {
display: block;
max-height: 0;
opacity: 0;
transition: max-height 0.5s ease-out 0s, opacity 0.5s ease-out 0s;
}
div[id^=GPlayerSwitcher-] input[type="checkbox"]:checked + label + .GPlayerAdvancedTools {
max-height: 28px;
opacity: 1;
}
/* Layer advanced tools */
.GPlayerInfo {
left: 0;
background-position: -55px 0;
}
.GPlayerInfoOpened {
left: 0;
background-position: -83px 0;
}
.GPlayerOpacity {
left: 28px;
width: calc(100% - 100px);
height: 28px;
padding-left: 8px;
}
.GPlayerOpacityValue {
width: 32px;
left: calc(100% - 60px);
line-height: 28px;
font-size: 10px;
font-style: italic;
cursor: default;
}
.GPlayerRemove {
right: 0;
background-position: -140px 0;
}
/* Opacity slider : general */
.GPlayerOpacity input {
-webkit-appearance: none;
-moz-appearance: none;
background: none;
display: block;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
cursor: pointer;
}
.GPlayerOpacity input[type="range"]:focus {
box-shadow: none;
outline: none;
}
/* Opacity slider : Chrome, Safari, Opera */
.GPlayerOpacity input[type="range"]::-webkit-slider-runnable-track {
-webkit-appearance: none;
height: 3px;
}
.GPlayerOpacity input[type="range"]::-webkit-slider-thumb:before {
position: absolute;
top: 0;
right: 50%;
left: -200px;
height: 3px;
pointer-events: none;
}
.GPlayerOpacity input[type="range"]::-webkit-slider-thumb {
width: 9px;
height: 17px;
-webkit-appearance: none;
border: 2px solid #FFF;
background-color: #505050;
position: relative;
top: -7px;
}
/* Opacity slider : Firefox */
.GPlayerOpacity input[type="range"]::-moz-range-track {
width: 80px;
height: 3px;
}
.GPlayerOpacity input[type="range"]::-moz-range-thumb {
width: 5px;
height: 13px;
border: 2px solid #FFF;
border-radius: 0;
box-shadow: 0;
background-color: #505050;
position: relative;
}
/* Opacity slider : IE */
.GPlayerOpacity input[type="range"]::-ms-track {
border: 0;
border-color: transparent;
border-radius: 0;
border-width: 0;
color: transparent;
height: 3px;
width: 80px;
}
.GPlayerOpacity input[type="range"]::-ms-fill-lower,
.GPlayerOpacity input[type="range"]::-ms-fill-upper {
background: transparent;
border-radius: 0;
}
.GPlayerOpacity input[type="range"]::-ms-thumb {
width: 5px;
height: 13px;
border: 2px solid #FFF;
background-color: #505050;
}
.GPlayerOpacity input[type="range"]::-ms-tooltip {
display: none;
}
/* Layer info panel */
div[id^=GPlayerInfoPanel] {
position: absolute;
top: 0;
overflow-y: hidden;
padding-top: 10px;
padding-bottom: 10px;
}
.GPlayerInfoPanelOpened {
display: block;
}
.GPlayerInfoPanelClosed {
display: none;
}
div[id^=GPlayerInfoContent] {
position: relative;
width: 280px;
max-height: 200px;
overflow-y: auto;
padding-left: 10px;
padding-right: 10px;
}
div[id^=GPlayerInfoTitle] {
width: calc(100% - 52px);
margin: auto;
margin-bottom: 10px;
padding-bottom: 5px;
text-align: center;
font-size: 1.1em;
font-weight: bold;
}
div[id^=GPlayerInfoQuicklook] {
position: absolute;
top: -2px;
left: 10px;
width: 20px;
height: 20px;
cursor: pointer;
}
div[id^=GPlayerInfoClose] {
position: absolute;
top: -8px;
right: 10px;
width: 28px;
height: 28px;
cursor: pointer;
}
div[id^=GPlayerInfoDescription] {
font-size: 0.9em;
}
div[id^=GPlayerInfoLegend] {
}
div[id^=GPlayerInfoMetadata] {
}
.GPlayerInfoSubtitle {
padding-left: 35px;
font-weight: bold;
margin-top: 10px;
margin-bottom: 4px;
}
.GPlayerInfoLink,
.GPlayerInfoPopup {
line-height: 20px;
padding-left: 23px;
white-space: nowrap;
overflow-x: hidden;
text-overflow: ellipsis;
color: #999999;
background-repeat: no-repeat;
cursor: pointer;
}
.GPlayerInfoLink {
background-position: 0 -20px;
}
.GPlayerInfoLink:hover,
.GPlayerInfoPopup:hover {
color: #333;
}
.GPlayerInfoLink a,
.GPlayerInfoLink a:visited
.GPlayerInfoLink a:focus
.GPlayerInfoLink a:hover {
text-decoration: none;
color: inherit;
}
/* Location */
/* Location form */
.GPlocationStageFlexInput {
max-height: 28px;
opacity: 1;
}
.GPlocationStageFlexInputHidden {
max-height: 0;
opacity: 0;
overflow: hidden;
}
.GPlocationOriginVisible {
display: block;
}
.GPlocationOriginHidden {
display: none;
}
label.GPlocationOriginPointerImg[id*="GPlocationOriginPointerImg"] {
width: 28px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-right: 1px solid #999;
}
input[id*="GPlocationOriginPointer"] + .GPlocationOriginPointerImg {
background-position: -1px -1px;
}
input[id*="GPlocationOriginPointer"]:checked + .GPlocationOriginPointerImg {
background-position: -29px -1px;
}
.GPlocationStageRemove,
div[id^=GPlocationStageAdd] {
width: 28px;
border: none;
cursor: pointer;
}
.GPlocationStageRemove {
background-position: -84px 0;
}
div[id^=GPlocationStageAdd] {
background-position: -56px 0;
}
/* Showing/hiding drawing panel */
label[id^=GPshowMeasureAreaPicto-] {
display: inline-block;
}
input[id^=GPshowMeasureArea-] + label {
display: block;
}
input[id^=GPshowMeasureArea-]:checked + label {
display: block;
background-color: rgba(0,60,136,0.5);
}
input[id^=GPshowMeasureArea-] + label + div {
display: block;
}
input[id^=GPshowMeasureArea-]:checked + label + div {
display: block;
}
/* Showing/hiding drawing panel */
label[id^=GPshowMeasureAzimuthPicto-] {
display: inline-block;
}
input[id^=GPshowMeasureAzimuth-] + label {
display: block;
}
input[id^=GPshowMeasureAzimuth-]:checked + label {
display: block;
background-color: rgba(0,60,136,0.5);
}
input[id^=GPshowMeasureAzimuth-] + label + div {
display: block;
}
input[id^=GPshowMeasureAzimuth-]:checked + label + div {
display: block;
}
/* Showing/hiding drawing panel */
label[id^=GPshowMeasureLengthPicto-] {
display: inline-block;
}
input[id^=GPshowMeasureLength-] + label {
display: block;
}
input[id^=GPshowMeasureLength-]:checked + label {
display: block;
background-color: rgba(0,60,136,0.5);
}
input[id^=GPshowMeasureLength-] + label + div {
display: block;
}
input[id^=GPshowMeasureLength-]:checked + label + div {
display: block;
}
/* MEASURE TOOL */
.GPmeasureTooltip {
position: relative;
background: rgba(0, 0, 0, 0.5);
border-radius: 4px;
color: white;
padding: 4px 8px;
white-space: nowrap;
}
.GPmeasureTooltip-measure {
font-weight: bold;
}
.GPmeasureTooltip-info {
font-size: 0.75em;
text-align: center;
}
.GPmeasureTooltip-static {
background-color: #ffcc33;
color: black;
border: 1px solid white;
}
.GPmeasureTooltip-hidden {
display: none;
}
.GPmeasureTooltip-measure::before,
.GPmeasureTooltip-info::before,
.GPmeasureTooltip-static::before {
border-top: 6px solid rgba(0, 0, 0, 0.5);
border-right: 6px solid transparent;
border-left: 6px solid transparent;
content: "";
position: absolute;
bottom: -6px;
margin-left: -7px;
left: 50%;
}
.GPmeasureTooltip-static::before {
border-top-color: #ffcc33;
}
/* MOUSE POSITION */
/* Showing/hiding mouse position panel */
label[id^=GPshowMousePositionPicto] {
display: inline-block;
}
input[id^=GPshowMousePosition-] + label {
display: block;
}
input[id^=GPshowMousePosition-]:checked + label {
display: none;
}
input[id^=GPshowMousePosition-] + label + div {
display: none;
}
input[id^=GPshowMousePosition-]:checked + label + div {
display: block;
}
/* General panels */
div[id^=GPmousePositionPanel-] {
width: 300px;
overflow: hidden;
}
/* Basic infos */
div[id^=GPmousePositionBasicPanel] {
padding: 10px 15px;
position: relative;
}
.GPmousePositionLabel,
.GPmousePositionCoords {
display: inline-block;
line-height: 20px;
}
.GPmousePositionLabel {
width: 80px;
font-weight: bold;
}
.GPmousePositionCoords {
width: 110px;
}
/* Showing settings */
.GPshowMousePositionSettingsPicto {
bottom: 5px;
right: 0;
transition: all 0.5s ease-out 0s;
}
div[id^=GPmousePosition-] input[type="checkbox"]:checked + .GPshowMousePositionSettingsPicto {
bottom: 100px;
}
div[id^=GPmousePositionSettings-] {
display: block;
max-height: 0;
opacity: 0;
transition: max-height 0.5s ease-out 0s, opacity 0.5s ease-out 0s;
}
div[id^=GPmousePosition-] input[type="checkbox"]:checked + label + div[id^=GPmousePositionSettings-] {
max-height: 95px;
opacity: 1;
}
/* Settings */
div[id^=GPmousePositionSettings-] {
height: 95px;
padding-left: 0 15px;
overflow: hidden;
}
.GPmousePositionSettingsLabel {
display: block;
margin: auto;
text-align: center;
font-weight: bold;
line-height: 16px;
}
.GPmousePositionSettingsSelect {
width: 180px;
margin-top: 5px;
}
/* General panels */
div[id^=GPmousePositionCoordinate-] input.error {
border: 1px solid rgb(255, 0, 0);
}
div[id^=GPmousePositionCoordinate-] input[readonly] {
border: 1px solid transparent;
padding: 2px;
text-align: right;
}
input[id^=GPmousePositionLat-], input[id^=GPmousePositionLon-] {
width: 120px;
}
span[id^=GPmousePositionAlt-] {
display: inline-block;
padding: 2px;
width: 120px;
line-height: 20px;
text-align: right;
}
/* sexagesimal coordinates */
.GPSexagesimal, .GPSexagesimalsec {
margin:0;
border: 1px solid rgb(204, 204, 204);
border-radius: 4px;
}
input:read-only.GPSexagesimal, input:read-only.GPSexagesimalsec {
text-align: right;
}
.GPSexagesimal {
width: 30px;
}
.GPSexagesimalsec {
width: 45px;
}
.GPmousePositionSexagesimalLabel {
font-size: 1.2em;
vertical-align: middle;
padding: 0;
}
/* direction N/S ou E/O */
select.GPmousePositionDirection {
border: 1px solid #999;
margin-left: 2px;
}
select.GPmousePositionDirection:disabled{
border: none;
background: transparent;
color: black;
/*For FireFox*/
-webkit-appearance: none;
/*For Chrome*/
-moz-appearance: none;
}
/*For IE10+*/
select.GPmousePositionDirection:disabled::-ms-expand {
display: none;
}
select.GPmousePositionDirection:disabled::-ms-value {
color: black;
}
.GPmousePositionUnits,
.GPmousePositionAltitudeUnits {
margin-left: 5px;
}
/* EDIT COORDINATES TOOLS */
.GPmousePositionPanelEditTools {
position: absolute;
top: 20px;
right: 5px;
}
.GPmousePositionEditTool {
width: 18px;
height: 18px;
display: inline-block;
cursor: pointer;
}
span[id^=GPmousePositionCloseEdit] {
background-position: -18px 0;
margin-left: 5px;
}
img[id^=GPmousePositionMarker]:hover {
cursor: pointer;
opacity: 0.7;
}
/* Map center localisation */
#GPmapCenter {
display: none;
position: absolute;
top: 50%;
left: 50%;
width: 50px;
height: 50px;
margin-top: -25px;
margin-left: -25px;
}
#GPmapCenter.GPmapCenterVisible {
display: block;
}
/* REVERSE GEOCODING */
[id^="GPreverseGeocoding-"] {
top: 180px;
}
/* Showing/hiding reverse geocoding panel */
[id^="GPshowReverseGeocodingPicto-"] {
display: inline-block;
}
[id^="GPshowReverseGeocoding-"] + label {
display: block;
}
[id^="GPshowReverseGeocoding-"]:checked + label {
display: none;
}
[id^="GPshowReverseGeocoding-"] + label + div {
display: none;
}
[id^="GPshowReverseGeocoding-"]:checked + label + div {
display: block;
}
/* General panels */
div[id^=GPreverseGeocodingResultsClose] {
top: 0;
right: 0;
width: 30px;
height: 32px;
/*background-position: -26px 0;*/
}
[id^="GPreverseGeocodingPanel-"] {
width: 280px;
}
.GPreverseGeocodingComponentHidden {
display: none;
}
div[id^="GPreverseGeocodingReturnPicto-"] {
position: absolute;
width: 26px;
height: 26px;
border-radius: 3px;
opacity: 1;
background-position: 0 0;
cursor: pointer;
}
.GPreverseGeocodingReturnPictoHidden {
display: none;
}
/* Calc waiting */
.GPreverseGeocodingCalcWaitingContainerVisible,
.GPreverseGeocodingCalcWaitingContainerHidden {
position: absolute;
top: 32px;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(255,255,255,0.9);
font-size: 1.5em;
font-weight: bold;
overflow: hidden;
}
.GPreverseGeocodingCalcWaitingContainerVisible {
display: -webkit-flex;
display: -ms-flexbox;
display: -webkit-box;
display: flex;
}
.GPreverseGeocodingCalcWaitingContainerHidden {
display: none;
}
.GPreverseGeocodingCalcWaiting {
margin: auto;
}
/* Search panel */
[id^="GPreverseGeocodingForm-"] {
position: relative;
max-height: 270px;
overflow-y: auto;
padding-left: 15px;
padding-right: 15px;
padding-top: 10px;
}
.GPreverseGeocodingCodeLabel,
.GPreverseGeocodingFilterLabel {
max-width: 105px;
}
.GPreverseGeocodingCodeLabel,
.GPreverseGeocodingCode {
margin-top: 5px;
margin-bottom: 0;
}
.GPreverseGeocodingFilterLabel,
.GPreverseGeocodingFilterInput {
margin-bottom: 5px;
}
input[id^="GPreverseGeocodingSubmit-"] {
margin-top: 5px;
margin-bottom: 15px;
width: 100px;
}
/* Calc waiting */
/* TODO: waiting */
.GPreverseGeocodingCalcWaitingContainerVisible,
.GPreverseGeocodingCalcWaitingContainerHidden {
position: absolute;
top: 32px;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(255,255,255,0.9);
font-size: 1.5em;
font-weight: bold;
overflow: hidden;
}
.GPreverseGeocodingCalcWaitingContainerVisible {
display: -webkit-flex;
display: -ms-flexbox;
display: -webkit-box;
display: flex;
}
.GPreverseGeocodingCalcWaitingContainerHidden {
display: none;
}
.GPreverseGeocodingCalcWaiting {
margin: auto;
}
/* Result panel */
div[id^=GPreverseGeocodingResultsList-] {
position: relative;
max-height: 210px;
overflow-y: auto;
}
/* ROUTE */
div[id^=GProute-] {
top: 100px;
}
/* Showing/hiding route panel */
label[id^=GPshowRoutePicto] {
display: inline-block;
}
input[id^=GPshowRoute-] + label {
display: block;
}
input[id^=GPshowRoute-]:checked + label {
display: none;
}
input[id^=GPshowRoute-] + label + div {
display: none;
}
input[id^=GPshowRoute-]:checked + label + div {
display: block;
}
/* General panels */
div[id^=GProutePanel-] {
width: 320px;
}
.GProuteComponentHidden {
display: none;
}
/* Calc waiting */
.GProuteCalcWaitingContainerVisible,
.GProuteCalcWaitingContainerHidden {
position: absolute;
top: 32px;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(255,255,255,0.9);
font-size: 1.5em;
font-weight: bold;
overflow: hidden;
}
.GProuteCalcWaitingContainerVisible {
display: -webkit-flex;
display: -ms-flexbox;
display: -webkit-box;
display: flex;
}
.GProuteCalcWaitingContainerHidden {
display: none;
}
.GProuteCalcWaiting {
margin: auto;
}
/* Route form */
form[id^=GProuteForm] {
padding: 15px;
}
.GProuteFormMini {
max-height: 58px;
overflow: hidden;
-webkit-transform: translateY(-5px);
transform: translateY(-5px);
}
.GProuteStageFlexInput {
max-height: 28px;
opacity: 1;
}
.GProuteStageFlexInputHidden {
max-height: 0;
opacity: 0;
overflow: hidden;
}
form[id^=GProuteForm] > .GPlocationStageFlexInput {
margin-top: 5px;
}
form[id^=GProuteForm] > .GPlocationStageFlexInputHidden {
margin-top: 0;
}
form[id^=GProuteForm].GProuteFormMini .GPlocationStageFlexInput:first-child {
margin-top: 5px;
}
.GProuteOriginVisible {
display: block;
}
.GProuteOriginHidden {
display: none;
}
label.GProuteOriginPointerImg[id*="GProuteOriginPointerImg"] {
width: 28px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-right: 1px solid #999;
}
input[id*="GProuteOriginPointer"] + .GProuteOriginPointerImg {
background-position: -1px -1px;
}
input[id*="GProuteOriginPointer"]:checked + .GProuteOriginPointerImg {
background-position: -29px -1px;
}
.GProuteStageRemove,
div[id^=GProuteStageAdd] {
width: 28px;
border: none;
cursor: pointer;
}
.GProuteFormMini .GProuteStageRemove,
.GProuteFormMini div[id^=GProuteStageAdd] {
display: none;
}
.GProuteStageRemove {
background-position: -84px 0;
}
div[id^=GProuteStageAdd] {
background-position: -56px 0;
}
/* Mode choice */
div[id^=GProuteModeChoice] {
display: -webkit-flex;
display: -ms-flexbox;
display: -webkit-box;
display: flex;
-webkit-justify-content: space-around;
-ms-flex-pack: distribute;
justify-content: space-around;
margin: 15px 0;
}
.GProuteModeLabel {
display: block;
text-align: center;
margin-bottom: 5px;
}
div[id^=GProuteTransportChoice] input {
display: none;
}
.GProuteTransportImg {
display: inline-block;
width: 28px;
height: 28px;
cursor: pointer;
}
.GProuteTransportImg:first-of-type {
margin-left: 18px;
margin-right: 10px;
}
input[id^=GProuteTransportCar] + .GProuteTransportImg {
background-position: -112px 0;
}
input[id^=GProuteTransportCar]:checked + .GProuteTransportImg {
background-position: -140px 0;
}
input[id^=GProuteTransportPedestrian] + .GProuteTransportImg {
background-position: -168px 0;
}
input[id^=GProuteTransportPedestrian]:checked + .GProuteTransportImg {
background-position: -196px 0;
}
select[id^=GProuteComputationSelect] {
width: 100px;
}
/* Showing/hiding exclusions */
input[id^=GPshowRouteExclusions] {
display: none;
}
.GPshowRouteExclusionsPicto {
/* top: 185px; */
/* bottom: 25px; */
right: 0;
transition: all 0.3s ease-out 0s;
}
input[id^=GPshowRouteExclusions] + label + div[id^=GProuteExclusions] {
max-height: 0;
opacity: 0;
margin-bottom: 0;
}
input[id^=GPshowRouteExclusions]:checked + label + div[id^=GProuteExclusions] {
display: block;
max-height: 60px;
opacity: 1;
margin-bottom: 15px;
}
/* Exclusions */
div[id^=GProuteExclusions] {
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;
overflow: hidden;
}
.GProuteExclusionsLabel {
display: block;
text-align: center;
margin-bottom: 10px;
font-weight: bold;
line-height: 16px;
}
.GProuteExclusionsOptions {
display: -webkit-flex;
display: -ms-flexbox;
display: -webkit-box;
display: flex;
-webkit-justify-content: space-around;
-ms-flex-pack: distribute;
justify-content: space-around;
}
.GProuteExclusionsOption {
display: block;
height: 28px;
line-height: 26px;
color: #A77;
background-color: #FEE;
padding-left: 28px;
padding-right: 5px;
border: 1px solid #A77;
border-radius: 3px;
cursor: pointer;
}
input:checked + .GProuteExclusionsOption {
background-color: #EFE;
background-position: 0 -28px;
color: #797;
border: 1px solid #797;
}
/* Reset picto */
div[id^=GProuteReset] {
position: absolute;
width: 28px;
height: 28px;
border-radius: 3px;
opacity: 0.8;
background-position: -224px 0;
transition: opacity 0.2s ease-out;
cursor: pointer;
}
div[id^=GProuteReset]:hover {
opacity: 1;
}
/* Result panel */
div[id^=GProuteResultsPanel] {
padding: 15px;
}
.GProuteResultStage {
display: -webkit-flex;
display: -ms-flexbox;
display: -webkit-box;
display: flex;
}
div[id^=GProuteResultsStages] {
margin-bottom: 15px;
}
.GProuteResultStageLabel,
.GProuteResultStageValue,
.GProuteResultsValueLabel,
div[id^=GProuteResultsValueDist],
div[id^=GProuteResultsValueTime] {
display: inline-block;
line-height: 18px;
}
.GProuteResultStageLabel,
.GProuteResultsValueLabel {
color: #666;
}
.GProuteResultStageLabel {
width: 60px;
}
.GProuteResultsValueLabel {
width: 65px;
}
.GProuteResultStageValue {
-webkit-flex: 1;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
overflow-x: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
div[id^=GProuteResultsValueDist],
div[id^=GProuteResultsValueTime] {
width: 80px;
font-weight: bold;
}
div[id^=GProuteResults-] {
display: -webkit-flex;
display: -ms-flexbox;
display: -webkit-box;
display: flex;
-webkit-justify-content: space-between;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin-bottom: 10px;
}
select[id^=GProuteResultsComputationSelect] {
width: 100px;
}
div[id^=GProuteResultsNew] {
width: 28px;
height: 28px;
border-radius: 3px;
opacity: 0.8;
background-position: -224px 0;
transition: opacity 0.2s ease-out;
cursor: pointer;
}
div[id^=GProuteResultsNew]:hover {
opacity: 1;
}
/* Results details header */
.GPfakeBorder {
display: inline-block;
height: 14px;
width: 60px;
border-bottom: 1px solid #999;
}
.GPfakeBorderLeft {
margin-left:15px;
}
input[id^=GProuteResultsShowDetails] + label,
input[id^=GProuteResultsShowDetails] + label + label {
width: 130px;
line-height: 28px;
vertical-align: top;
text-align: center;
font-weight: bold;
cursor: pointer;
transition: color 0.2s ease-out;
}
input[id^=GProuteResultsShowDetails] + label,
input[id^=GProuteResultsShowDetails]:checked + label + label {
display: inline-block;
}
input[id^=GProuteResultsShowDetails]:checked + label,
input[id^=GProuteResultsShowDetails] + label + label {
display: none;
}
input[id^=GProuteResultsShowDetails] + label + label + div + div[id^=GProuteResultsDetails] {
max-height: 0;
opacity: 0;
}
input[id^=GProuteResultsShowDetails]:checked + label + label + div + div[id^=GProuteResultsDetails] {
max-height: 200px;
opacity: 1;
}
div[id^=GProuteResultsDetails] {