git.ntnlv.ca
Repositories
Help
Report an Issue
faubourg-carte.git
Code
Commits
Branches
Tags
Search
Tree:
8e9a846
Branches
Tags
demo
faubourg-carte.git
css
style.css
touch up typos
davvalent
commited
8e9a846
at 2023-06-30 02:13:45
style.css
Blame
History
Raw
html, body { height: 100%; overflow: hidden; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; color: #333333; } body { margin: 0; } header div#information-header { display: none; padding: 10px; } header div#information-header h1 { margin: 0; } header div#information-header section { display: flex; } div.header-column { flex: 1; padding: 10px 20px 10px 0; } div.header-column h2 { margin-top: 0; } div.header-column p, div.header-column ul { line-height: 1.25; } header div#application-header { height: 40px; box-shadow: 0 3px 3px rgba(0,0,0,0.4); z-index: 500; position: relative; } header div#application-header h1 { margin: 0; font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif; height: 100%; padding: 6px; box-sizing: border-box; padding-left: 10px; } header div#application-header h1 span { font-size: 80%; color: gray; } header div#application-header a#icon { display: block; position: absolute; right: 0; top: 0; color: #333333; width: 48px; height: 40px; margin-right: 10px; font-size: x-large; text-align: center; padding-top: 6px; box-sizing: border-box; } main { height: calc(100vh - 40px); } /* leaflet */ #map { height: 100%; } .controles, header div#application-header h1 { font-weight: 900; font-size: 1.5rem; } .leaflet-control-layers-selector { top: -1px; vertical-align: text-bottom; } .popup-fixed { position: fixed; right: auto !important; bottom: auto !important; left: 0 !important; transform: none !important; margin: 0; height: 100%; width: 50%; min-width: 350px; } .popup-fixed .leaflet-popup-content-wrapper { border-radius: 0; } .popup-fixed .leaflet-popup-tip-container { display: none; } .leaflet-popup-content-wrapper, .leaflet-popup-tip { box-shadow: 3px 10px 14px rgba(0,0,0,0.4); } .leaflet-popup-content { width: 100% !important; height: calc(100vh - 40px); margin: 0; } .leaflet-fade-anim .leaflet-popup { opacity: 0; -webkit-transition: none; -moz-transition: none; transition: none; } .loader { position: absolute; inset: 0; background: rgba(255, 255, 255); /* transition: all 0.075s ease-in-out;*/ display: block; z-index: 500; text-align: center; } .loader p { position: relative; top: 40%; font-size: x-large; } .spinner { border: 5px solid #575757; border-radius: 50%; border-top: 5px solid #fff; width: 40px; height: 40px; -webkit-animation: spin 1s linear infinite; /* Safari */ animation: spin 1s linear infinite; top: 35%; margin: auto; position: relative; } /* Safari */ @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* glide.js + RDF */ /* .glide { height: 50vh; } */ .rdf-data { height: calc(50% - 40px); } /* glide.js */ /** * Les images ont des hauteurs différentes (quelques pixels) * top: 10px permet de les aligner en bas * top: -10px permet de combler l'espace créé en haut * +/- 2 px de jeu * certains écarts sont trop grands pour être pris en charge par cette solution */ .glide__track { position: relative; top: -10px; } .glide__slides { top: 10px; } .custom-glide { position: relative; } .glide__slide { max-width: 100%; position: relative; } .glide__slide img { display: block; height: auto; width: 100%; } .overlay { position: absolute; inset: 0; background: rgba(57, 57, 57, 0.7); transition: all .15s ease-in-out; } .glide__slide[class*="active"] .overlay { opacity: 0; } .glide__arrow--left{ left: 3em; } .glide__arrow--right { right: 3em; } /* RDF data */ .rdf-data { cursor: initial; overflow-x: hidden; overflow-y: auto; }