UNPKG

test-github-actions-geoportal-sdk-3d

Version:

French Geoportal SDK based on OpenLayers (2D) and iTowns (3D) libraries

2,357 lines (2,004 loc) 614 kB
/*! * @brief French Geoportal SDK based on OpenLayers (2D) and iTowns (3D) libraries * * 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 0.0.1-beta.5 * @date 20/08/2020 * @build * date : 8/20/2020, 2:45:05 PM * branch : tags/0.0.1-beta.5 * commit : b89d01c * dirty : false */ /*! * geoportal-extensions-openlayers. See https://github.com/IGNF/geoportal-extensions * @license https://github.com/IGNF/geoportal-extensions/blob/master/LICENCE.md * @version 3.0.11 */ /*! * geoportal-extensions-itowns. See https://github.com/IGNF/geoportal-extensions * @license https://github.com/IGNF/geoportal-extensions/blob/master/LICENCE.md * @version 2.2.10 */ /*! * iTowns. See http://www.itowns-project.org/ * @license https://github.com/iTowns/itowns/blob/master/LICENCE.md * @version 2.19.0 */ /*! * @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 4.2.1 */ /*! * @overview OpenLayers. See http://openlayers.org/ * @copyright Copyright 2005-present, OpenLayers Contributors All rights reserved. * @license BSD 2-Clause "Simplified" License * See https://raw.githubusercontent.com/openlayers/openlayers/master/LICENCE.md * @version 5.3.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 v1.8.4 */ /*! * @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.6.0 */ .ol-box { box-sizing: border-box; border-radius: 2px; border: 2px solid blue; } .ol-mouse-position { top: 8px; right: 8px; position: absolute; } .ol-scale-line { background: rgba(0,60,136,0.3); border-radius: 4px; bottom: 8px; left: 8px; padding: 2px; position: absolute; } .ol-scale-line-inner { border: 1px solid #eee; border-top: none; color: #eee; font-size: 10px; text-align: center; margin: 1px; will-change: contents, width; } .ol-overlay-container { will-change: left,right,top,bottom; } .ol-unsupported { display: none; } .ol-viewport, .ol-unselectable { -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: rgba(0,0,0,0); } .ol-selectable { -webkit-touch-callout: default; -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; } .ol-grabbing { cursor: -webkit-grabbing; cursor: -moz-grabbing; cursor: grabbing; } .ol-grab { cursor: move; cursor: -webkit-grab; cursor: -moz-grab; cursor: grab; } .ol-control { position: absolute; background-color: rgba(255,255,255,0.4); border-radius: 4px; padding: 2px; } .ol-control:hover { background-color: rgba(255,255,255,0.6); } .ol-zoom { top: .5em; left: .5em; } .ol-rotate { top: .5em; right: .5em; transition: opacity .25s linear, visibility 0s linear; } .ol-rotate.ol-hidden { opacity: 0; visibility: hidden; transition: opacity .25s linear, visibility 0s linear .25s; } .ol-zoom-extent { top: 4.643em; left: .5em; } .ol-full-screen { right: .5em; top: .5em; } @media print { .ol-control { display: none; } } .ol-control button { display: block; margin: 1px; padding: 0; color: white; font-size: 1.14em; font-weight: bold; text-decoration: none; text-align: center; height: 1.375em; width: 1.375em; line-height: .4em; background-color: rgba(0,60,136,0.5); border: none; border-radius: 2px; } .ol-control button::-moz-focus-inner { border: none; padding: 0; } .ol-zoom-extent button { line-height: 1.4em; } .ol-compass { display: block; font-weight: normal; font-size: 1.2em; will-change: transform; } .ol-touch .ol-control button { font-size: 1.5em; } .ol-touch .ol-zoom-extent { top: 5.5em; } .ol-control button:hover, .ol-control button:focus { text-decoration: none; background-color: rgba(0,60,136,0.7); } .ol-zoom .ol-zoom-in { border-radius: 2px 2px 0 0; } .ol-zoom .ol-zoom-out { border-radius: 0 0 2px 2px; } .ol-attribution { text-align: right; bottom: .5em; right: .5em; max-width: calc(100% - 1.3em); } .ol-attribution ul { margin: 0; padding: 0 .5em; font-size: .7rem; line-height: 1.375em; color: #000; text-shadow: 0 0 2px #fff; } .ol-attribution li { display: inline; list-style: none; line-height: inherit; } .ol-attribution li:not(:last-child):after { content: " "; } .ol-attribution img { max-height: 2em; max-width: inherit; vertical-align: middle; } .ol-attribution ul, .ol-attribution button { display: inline-block; } .ol-attribution.ol-collapsed ul { display: none; } .ol-attribution:not(.ol-collapsed) { background: rgba(255,255,255,0.8); } .ol-attribution.ol-uncollapsible { bottom: 0; right: 0; border-radius: 4px 0 0; height: 1.1em; line-height: 1em; } .ol-attribution.ol-uncollapsible img { margin-top: -.2em; max-height: 1.6em; } .ol-attribution.ol-uncollapsible button { display: none; } .ol-zoomslider { top: 4.5em; left: .5em; height: 200px; } .ol-zoomslider button { position: relative; height: 10px; } .ol-touch .ol-zoomslider { top: 5.5em; } .ol-overviewmap { left: 0.5em; bottom: 0.5em; } .ol-overviewmap.ol-uncollapsible { bottom: 0; left: 0; border-radius: 0 4px 0 0; } .ol-overviewmap .ol-overviewmap-map, .ol-overviewmap button { display: inline-block; } .ol-overviewmap .ol-overviewmap-map { border: 1px solid #7b98bc; height: 150px; margin: 2px; width: 150px; } .ol-overviewmap:not(.ol-collapsed) button{ bottom: 1px; left: 2px; position: absolute; } .ol-overviewmap.ol-collapsed .ol-overviewmap-map, .ol-overviewmap.ol-uncollapsible button { display: none; } .ol-overviewmap:not(.ol-collapsed) { background: rgba(255,255,255,0.8); } .ol-overviewmap-box { border: 2px dotted rgba(0,60,136,0.7); } .ol-overviewmap .ol-overviewmap-box:hover { cursor: move; } /*! * @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.0.11 * @date 29/06/2020 * */ /*! * @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 4.2.1 */ /*! * 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.8.4 */ /*! * @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.6.0 */ /* 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; } /* 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%; } .profile-box { height: calc(100% - 15px); display:-webkit-flex; display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-flex:1; -webkit-box-flex:1; -ms-flex:1; flex:1; -webkit-box-orient:horizontal; -webkit-box-direction:normal; -webkit-flex-direction:row; -ms-flex-direction:row; flex-direction:row; } .profile-content { -webkit-flex:1; -webkit-box-flex:1; -ms-flex:1; flex:1; -webkit-justify-content:center; -webkit-box-pack:center; -ms-flex-pack:center; justify-content:center; -webkit-box-align:center; -webkit-align-items:center; -ms-flex-align:center; align-items:center; } .profile-z-vertical, .profile-z-vertical ul, .profile-x-horizontal, .profile-x-horizontal ul { display:-webkit-flex; display:-webkit-box; display:-ms-flexbox; display:flex; /*justify-content:center;*/ -webkit-align-items:center; -webkit-box-align:center; -ms-flex-align:center; align-items:center; } .profile-z-vertical, .profile-z-vertical ul, .profile-content { -webkit-box-orient:vertical; -webkit-box-direction:normal; -webkit-flex-direction:column; -ms-flex-direction:column; flex-direction:column; height:100%; } .profile-z-vertical ul, .profile-x-horizontal ul{ /*padding:0;*/ margin:0; list-style-type:none; } .profile-z-vertical{ /*background:green;*/ -webkit-flex:0 1 auto; -webkit-box-flex:0; -ms-flex:0 1 auto; flex:0 1 auto; } .profile-z-vertical ul{ /*background:pink;*/ -webkit-justify-content:space-between; -webkit-box-pack:justify; -ms-flex-pack:justify; justify-content:space-between; padding:2px 5px 2px 2px; /*border-right:1px solid #888;*/ } .profile-z-vertical .profile-unit{ /*background:gray;*/ width:100%; text-align:center; /*padding:5px 5px 2px 2px;*/ } .profile-content{ /*background:yellow;*/ /*flex:1 0 auto;*/ } .profile-content ul { background:white; -webkit-flex:1 0 auto; -webkit-box-flex:1; -ms-flex:1 0 auto; flex:1 0 auto; height:100%; width:100%; -webkit-justify-content:flex-start; -webkit-box-pack:start; -ms-flex-pack:start; justify-content:flex-start; -webkit-align-items:flex-end; -webkit-box-align:end; -ms-flex-align:end; align-items:flex-end; margin:0; padding:0; } .profile-x-horizontal{ /*background:blue;*/ -webkit-flex:0 1 auto; -webkit-box-flex:0; -ms-flex:0 1 auto; flex:0 1 auto;; width:100%; height: 15px } .profile-x-horizontal ul{ /*background:orange;*/ -webkit-justify-content:space-between; -webkit-box-pack:justify; -ms-flex-pack:justify; justify-content:space-between; /*padding:5px 2px 2px 2px;*/ width:100%; /*border-top:1px solid #888;*/ } .profile-x-fleche { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 5px solid green; } .profile-z-fleche { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid red; } .profile-z-axis { border-right: none; border-left: solid 2px #888; cursor: default; } .profile-x-axis { border-top: none; border-bottom: solid 2px #888; cursor: default; } ul#profile-data li.percent { display: inline-block; vertical-align: bottom; background-color: #C77A04; opacity : 0.3; border-top: solid 1px; border-radius: 2px; cursor: pointer; } li.axe span.bottom-axis { vertical-align: bottom; } ul#profile-data .percent:hover { display: inline-block; vertical-align: bottom; background-color: #f00; } .v0 { height: 0%; } .v1 { height: 1%; } .v2 { height: 2%; } .v3 { height: 3%; } .v4 { height: 4%; } .v5 { height: 5%; } .v6 { height: 6%; } .v7 { height: 7%; } .v8 { height: 8%; } .v9 { height: 9%; } .v10 { height: 10%; } .v11 { height: 11%; } .v12 { height: 12%; } .v13 { height: 13%; } .v14 { height: 14%; } .v15 { height: 15%; } .v16 { height: 16%; } .v17 { height: 17%; } .v18 { height: 18%; } .v19 { height: 19%; } .v20 { height: 20%; } .v21 { height: 21%; } .v22 { height: 22%; } .v23 { height: 23%; } .v24 { height: 24%; } .v25 { height: 25%; } .v26 { height: 26%; } .v27 { height: 27%; } .v28 { height: 28%; } .v29 { height: 29%; } .v30 { height: 30%; } .v31 { height: 31%; } .v32 { height: 32%; } .v33 { height: 33%; } .v34 { height: 34%; } .v35 { height: 35%; } .v36 { height: 36%; } .v37 { height: 37%; } .v38 { height: 38%; } .v39 { height: 39%; } .v40 { height: 40%; } .v41 { height: 41%; } .v42 { height: 42%; } .v43 { height: 43%; } .v44 { height: 44%; } .v45 { height: 45%; } .v46 { height: 46%; } .v47 { height: 47%; } .v48 { height: 48%; } .v49 { height: 49%; } .v50 { height: 50%; } .v51 { height: 51%; } .v52 { height: 52%; } .v53 { height: 53%; } .v54 { height: 54%; } .v55 { height: 55%; } .v56 { height: 56%; } .v57 { height: 57%; } .v58 { height: 58%; } .v59 { height: 59%; } .v60 { height: 60%; } .v61 { height: 61%; } .v62 { height: 62%; } .v63 { height: 63%; } .v64 { height: 64%; } .v65 { height: 65%; } .v66 { height: 66%; } .v67 { height: 67%; } .v68 { height: 68%; } .v69 { height: 69%; } .v70 { height: 70%; } .v71 { height: 71%; } .v72 { height: 72%; } .v73 { height: 73%; } .v74 { height: 74%; } .v75 { height: 75%; } .v76 { height: 76%; } .v77 { height: 77%; } .v78 { height: 78%; } .v79 { height: 79%; } .v80 { height: 80%; } .v81 { height: 81%; } .v82 { height: 82%; } .v83 { height: 83%; } .v84 { height: 84%; } .v85 { height: 85%; } .v86 { height: 86%; } .v87 { height: 87%; } .v88 { height: 88%; } .v89 { height: 89%; } .v90 { height: 90%; } .v91 { height: 91%; } .v92 { height: 92%; } .v93 { height: 93%; } .v94 { height: 94%; } .v95 { height: 95%; } .v96 { height: 96%; } .v97 { height: 97%; } .v98 { height: 98%; } .v99 { height: 99%; } .v100 { height: 100%; } /* 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: 1