2020-06-30 08:23:46 +02:00
|
|
|
$day-fg: black;
|
|
|
|
$day-bg: white;
|
2020-07-07 04:11:51 +02:00
|
|
|
$day-tooltip-bg: #fcfcfc;
|
2020-06-30 08:23:46 +02:00
|
|
|
$night-fg: white;
|
|
|
|
$night-bg: #222;
|
2020-07-07 04:11:51 +02:00
|
|
|
$night-tooltip-bg: #272727;
|
2020-06-30 08:23:46 +02:00
|
|
|
|
2020-06-22 07:00:45 +02:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2020-06-28 12:52:38 +02:00
|
|
|
body {
|
|
|
|
font-family: Arial;
|
2020-06-30 08:23:46 +02:00
|
|
|
background: $day-bg;
|
|
|
|
color: $day-fg;
|
2020-06-28 12:52:38 +02:00
|
|
|
}
|
|
|
|
|
2020-06-22 07:00:45 +02:00
|
|
|
.graph-tooltip {
|
|
|
|
position: absolute;
|
|
|
|
background-color: white;
|
|
|
|
padding: 15px;
|
|
|
|
border-radius: 5px;
|
2020-06-27 07:35:34 +02:00
|
|
|
font-size: 15px;
|
2020-06-22 07:00:45 +02:00
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: opacity 0.3s;
|
2020-06-30 08:23:46 +02:00
|
|
|
color: $day-fg;
|
2020-07-07 04:11:51 +02:00
|
|
|
background: $day-tooltip-bg;
|
2020-06-22 07:00:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.graph {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2020-07-04 05:49:42 +02:00
|
|
|
max-width: 80em;
|
2020-06-22 07:00:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.graph h1 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-domain-line .domain {
|
2020-07-07 04:06:27 +02:00
|
|
|
opacity: 0.05;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tick {
|
|
|
|
line {
|
|
|
|
opacity: 0.1;
|
|
|
|
}
|
|
|
|
|
|
|
|
text {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2020-06-22 07:00:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.range-box {
|
2020-06-26 07:34:21 +02:00
|
|
|
position: fixed;
|
2020-06-27 07:35:34 +02:00
|
|
|
z-index: 1;
|
2020-06-26 07:34:21 +02:00
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 4em;
|
2020-06-30 08:23:46 +02:00
|
|
|
color: $day-fg;
|
|
|
|
background: $day-bg;
|
2020-06-26 07:34:21 +02:00
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.range-box-pad {
|
|
|
|
height: 4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.range-box-inner {
|
2020-06-22 07:00:45 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2020-06-27 13:45:16 +02:00
|
|
|
.range-box-inner > * {
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
|
2020-06-23 12:43:19 +02:00
|
|
|
.graph .area {
|
2020-06-22 07:00:45 +02:00
|
|
|
opacity: 0.05;
|
|
|
|
pointer-events: none;
|
2020-06-30 08:23:46 +02:00
|
|
|
fill: $day-fg;
|
2020-06-23 05:43:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.axis-label {
|
|
|
|
text-anchor: middle;
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.y-axis-label {
|
2020-06-28 07:23:36 +02:00
|
|
|
writing-mode: vertical-lr;
|
2020-06-23 05:43:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hoverzone rect {
|
|
|
|
fill: none;
|
|
|
|
pointer-events: all;
|
2020-06-22 07:00:45 +02:00
|
|
|
}
|
2020-06-26 07:34:21 +02:00
|
|
|
|
2020-06-27 07:35:34 +02:00
|
|
|
.hoverzone rect:hover {
|
|
|
|
fill: grey;
|
|
|
|
opacity: 0.05;
|
|
|
|
}
|
|
|
|
|
2020-06-26 07:34:21 +02:00
|
|
|
@keyframes spin {
|
|
|
|
0% {
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.spin {
|
|
|
|
position: absolute;
|
|
|
|
animation: spin;
|
|
|
|
animation-duration: 1s;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 2em;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spin.active {
|
2020-06-26 11:25:02 +02:00
|
|
|
opacity: 0.5;
|
2020-06-26 07:34:21 +02:00
|
|
|
transition: opacity 1s;
|
|
|
|
}
|
2020-06-27 07:35:34 +02:00
|
|
|
|
|
|
|
.legend-outer {
|
2020-06-27 12:31:33 +02:00
|
|
|
text-align: center;
|
2020-06-27 07:35:34 +02:00
|
|
|
}
|
2020-06-28 09:44:51 +02:00
|
|
|
|
|
|
|
.subtitle {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2020-06-30 08:23:46 +02:00
|
|
|
|
|
|
|
body.night-mode {
|
|
|
|
background: $night-bg;
|
|
|
|
color: $night-fg;
|
|
|
|
}
|
|
|
|
|
2020-07-06 06:01:49 +02:00
|
|
|
.no-data {
|
|
|
|
text {
|
|
|
|
text-anchor: middle;
|
|
|
|
fill: grey;
|
|
|
|
}
|
|
|
|
rect {
|
|
|
|
fill: $day-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-30 08:23:46 +02:00
|
|
|
.night-mode {
|
|
|
|
.graph-tooltip {
|
2020-07-07 04:11:51 +02:00
|
|
|
background: $night-tooltip-bg;
|
2020-06-30 08:23:46 +02:00
|
|
|
color: $night-fg;
|
|
|
|
}
|
|
|
|
.range-box {
|
|
|
|
background: $night-bg;
|
|
|
|
color: $night-fg;
|
|
|
|
}
|
|
|
|
.graph .area {
|
|
|
|
fill: $night-fg;
|
|
|
|
opacity: 0.1;
|
|
|
|
}
|
2020-07-06 06:01:49 +02:00
|
|
|
.no-data rect {
|
|
|
|
fill: $night-bg;
|
|
|
|
}
|
2020-06-30 08:23:46 +02:00
|
|
|
}
|
2020-07-04 05:38:46 +02:00
|
|
|
|
|
|
|
.centered {
|
|
|
|
text-align: center;
|
|
|
|
}
|