Starbeamrainbowlabs
4282ae4470
This is ported over from the air quality web interface. Proof I wrote this is, of course, available upon request.
67 lines
1.4 KiB
CSS
67 lines
1.4 KiB
CSS
@import "../../node_modules/leaflet/dist/leaflet.css";
|
|
.leaflet-fade-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-zoom-animated { will-change:auto !important; }
|
|
|
|
/** Ensure that some assets are copied that aren't by default **/
|
|
.non-existent {
|
|
background: url(../../node_modules/leaflet/dist/images/marker-icon-2x.png),
|
|
url(../../node_modules/leaflet/dist/images/marker-shadow.png),
|
|
url(../logo-small.png),
|
|
url(../logo.png),
|
|
url(../logo.svg);
|
|
}
|
|
|
|
html, body { font-size: 100%; }
|
|
body {
|
|
display: grid;
|
|
|
|
grid-template-columns: 10em auto 10em;
|
|
grid-template-rows: auto auto;
|
|
grid-template-areas: ". header ."
|
|
". . .";
|
|
|
|
font-family: sans-serif;
|
|
margin: 0; padding: 0;
|
|
}
|
|
|
|
body > h1 {
|
|
grid-area: header;
|
|
justify-self: center;
|
|
align-self: start;
|
|
|
|
margin: 0;
|
|
padding: 0.25em 0.45em;
|
|
|
|
pointer-events: none;
|
|
|
|
z-index: 100;
|
|
}
|
|
|
|
main {
|
|
position: absolute;
|
|
top: 0; bottom: 0; left: 0; right: 0;
|
|
|
|
z-index: 50;
|
|
}
|
|
|
|
#canvas-guage {
|
|
position: absolute;
|
|
bottom: 2em; right: 1em;
|
|
|
|
z-index: 1000;
|
|
}
|
|
|
|
.working { cursor: progress !important; }
|
|
|
|
.working-visual::after {
|
|
content: "";
|
|
|
|
position: relative; top: 0; left: 0;
|
|
width: 100%; height: 100%;
|
|
display: block;
|
|
z-index: 10000;
|
|
|
|
background: url(images/spinning-circles.svg) center center / 25% no-repeat;
|
|
|
|
cursor: progress !important;
|
|
pointer-events: none;
|
|
}
|