Air-Quality-Web/client_src/css/main.css

79 lines
1.5 KiB
CSS
Raw Permalink Normal View History

/** Ensure that some assets are copied that aren't by default **/
.non-existent {
background: url(../../node_modules/leaflet/dist/images/marker-icon-2x.png),
2019-07-04 10:41:14 +00:00
url(../../node_modules/leaflet/dist/images/marker-shadow.png),
url(../logo-small.png),
url(../logo.png),
url(../logo.svg);
}
2019-01-17 14:13:22 +00:00
html, body { font-size: 100%; }
body {
display: grid;
grid-template-columns: 10em auto 10em;
grid-template-rows: auto auto;
grid-template-areas: ". header ."
". . .";
2019-01-17 14:13:22 +00:00
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;
2019-01-17 14:13:22 +00:00
background: rgba(255, 255, 255, 0.5);
border-radius: 0 0 0.25em 0.25em;
2019-01-17 16:39:47 +00:00
z-index: 100;
2019-01-17 14:13:22 +00:00
}
main {
position: absolute;
top: 0; bottom: 0; left: 0; right: 0;
2019-01-17 14:13:22 +00:00
2019-01-17 16:39:47 +00:00
z-index: 50;
}
2019-01-18 21:25:30 +00:00
.sms-panel {
top: initial !important; bottom: 0;
z-index: 100 !important;
}
2019-02-01 18:40:00 +00:00
button, a { cursor: pointer; }
2019-01-20 20:53:12 +00:00
button.selected {
font-weight: bolder;
}
.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;
}
.leaflet-control-attribution a {
color: #0050B6;
}
2019-09-18 21:41:42 +00:00
.easyPrintSizeMode .HiResLandscape {
background-image: url(images/openiconic-image.png);
}