UNPKG

geopf-extensions-openlayers

Version:

French Geoportal Extensions for OpenLayers libraries

179 lines (145 loc) 4 kB
/* ROUTE */ div[id^=GProute-] { top: 100px; left: 10px; } /* Showing/hiding panel */ button[id^="GPshowRoutePicto-"][aria-pressed="false"] + dialog { display: none; visibility: hidden; opacity: 0%; } button[id^="GPshowRoutePicto-"][aria-pressed="true"] + dialog { display: flex; flex-direction: column; visibility: visible; opacity: 100%; } /* General panels */ dialog[id^=GProutePanel-] { position: absolute; height: inherit; top: 0px; left: 34px; } button[id^=GProuteReset]:hover { opacity: 1; } /* Route form */ form[id^=GProuteForm] > .GPlocationStageFlexInput { margin-top: 5px; } form[id^=GProuteForm] > .GPlocationStageFlexInputHidden { margin-top: 0; } form[id^=GProuteForm].GProuteFormMini .GPlocationStageFlexInput:first-child { margin-top: 5px; } 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 { overflow: hidden; -webkit-transform: translateY(-5px); transform: translateY(-5px); } .GProuteFormMini button[id^=GPshowRouteExclusionsPicto], .GProuteFormMini .GProuteStageRemove, .GProuteFormMini div[id^=GProuteStageAdd], .GProuteFormMini > *:not(.selected), .GProuteFormMini div[id^="GProuteModeChoice"], .GProuteFormMini button[id^="GPshowRouteExclusions"][aria-pressed="true"] + div[id^="GProuteExclusions"], .GProuteFormMini .GPpanelFooter { display: none; } .GProuteStageRemove { background-position: -84px 0; } div[id^=GProuteStageAdd] { background-position: -56px 0; } [class*="GPlocationPoint"] { position: relative; } /* 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; } div[id^=GProuteTransportChoice] > .GProuteTransportChoice { display: inline-flex; } /* Showing/hiding exclusions */ button[id^="GPshowRouteExclusions"] { position: absolute; border: unset; bottom: unset; right: 0; transition: all 0.5s ease-out 0s; } button[id^="GPshowRouteExclusions"][aria-pressed="true"] { transform: translateY(-100%) rotateX(180deg); } button[id^=GPshowRouteExclusions][aria-pressed="false"] + div[id^=GProuteExclusions] { max-height: 0; opacity: 0; margin-bottom: 0; } button[id^=GPshowRouteExclusions][aria-pressed="true"] + div[id^=GProuteExclusions] { display: block; max-height: 76px; opacity: 1; margin-bottom: 15px; } 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; } /* Result panel */ div[id^=GProuteResultsPanel] { padding: 15px; } 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; } div[id^=GProuteResultsNew]:hover { opacity: 1; } /* Showing/hiding control Export ajouté à l'itinéraire */ div[id^=GProuteResultsPanel-].GPelementHidden + .container-buttons-plugin, div[id^=GProuteResultsPanel-].gpf-hidden + .container-buttons-plugin { display: none; }