mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
make tooltip bg stand out slightly
This commit is contained in:
parent
5669101748
commit
ca24dfddb1
1 changed files with 4 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue