UNPKG

@ignf-geoportal/sdk-3d

Version:

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

119 lines (105 loc) 2.54 kB
/* Feature info popup */ .gp-feature-info-div-it { position: absolute; z-index: 10; overflow: auto; max-width: calc(100vw - 80px); min-height: 30px; padding: 10px; border-radius: 10px; font-size: 0.75em; font-family: "Open Sans", sans-serif; color: #002A50; background-color: #FFF; box-shadow: 0 0 5px #000; } /* .gp-feature-info-div-it::before { content: ""; position: absolute; border-top: 15px solid #FFF; border-right: 14px solid transparent; border-left: 14px solid transparent; bottom: -15px; margin-left: -14px; left: 50%; }*/ .gp-feature-info-div-it .closer { position: absolute; display: block; width: 30px; height: 30px; top: 0; right: 0; border: none; cursor: pointer; border-top-right-radius: 10px; background-color: #FFF; background-repeat: no-repeat; background-image: url("img/close-emeraud.svg"); background-size: 14px 14px; background-position: center; } .gp-features-content-div-it { max-width: 420px; min-width: 260px; max-height: 340px; /*overflow: auto;*/ } .gp-features-content-div-it h5, .gp-features-content-div-it h6, .gp-features-content-div-it p, .gp-features-content-div-it ul { margin: 0; } .gp-features-content-div-it ul { padding: 0; list-style-type: none; } .geoportail-popup-content h5, .geoportail-popup-content h6, .geoportail-popup-content p, .gp-att-name-div, .gp-att-description-div, .gp-att-others-div { padding: 0 10px; } .geoportail-popup-content h5:not(:last-child), .geoportail-popup-content h6:not(:last-child), .geoportail-popup-content p:not(:last-child), .gp-att-description-div:not(:last-child), .gp-att-others-div:not(:last-child) { margin-bottom: 15px; } .geoportail-popup-content h5:last-child, .geoportail-popup-content h6:last-child, .geoportail-popup-content p:last-child, .gp-att-description-div:last-child, .gp-att-others-div:last-child, .gp-att-name-div { margin-bottom: 10px; } .geoportail-popup-content h5:first-child, .geoportail-popup-content h6:first-child, .geoportail-popup-content p:first-child, .gp-att-name-div:first-child, .gp-att-description-div:first-child, .gp-att-others-div:first-child { margin-top: 10px; } .gp-att-name-div, .gp-features-content-div-it h5 { padding-right: 35px; font-weight: bold; font-size: 1.2em; text-transform: uppercase; color: #0B6BA7; } .gp-features-content-div-it h6 { font-size: 1.1em; } .gp-att-description-div:not(:last-child), .gp-att-others-div:not(:last-child) { padding-bottom: 10px; border-bottom: 1px dotted #666; }