make tooltip bg stand out slightly

This commit is contained in:
Damien Elmes 2020-07-07 12:11:51 +10:00
parent 5669101748
commit ca24dfddb1

View file

@ -1,7 +1,9 @@
$day-fg: black; $day-fg: black;
$day-bg: white; $day-bg: white;
$day-tooltip-bg: #fcfcfc;
$night-fg: white; $night-fg: white;
$night-bg: #222; $night-bg: #222;
$night-tooltip-bg: #272727;
* { * {
box-sizing: border-box; box-sizing: border-box;
@ -23,7 +25,7 @@ body {
pointer-events: none; pointer-events: none;
transition: opacity 0.3s; transition: opacity 0.3s;
color: $day-fg; color: $day-fg;
background: $day-bg; background: $day-tooltip-bg;
} }
.graph { .graph {
@ -148,7 +150,7 @@ body.night-mode {
.night-mode { .night-mode {
.graph-tooltip { .graph-tooltip {
background: $night-bg; background: $night-tooltip-bg;
color: $night-fg; color: $night-fg;
} }
.range-box { .range-box {