status box: turn pulsing animation into 1-second blinking, to reduce CPU load

With the pulsing animation (which appears when the websocket connection is
down) the CPU load and GPU load goes up, which probably also uses up lots
of battery time.
This commit is contained in:
Oliver Gerlich 2018-07-19 22:22:25 +02:00
parent 444d80f77e
commit 0a9c10666a
1 changed files with 2 additions and 2 deletions

View File

@ -8,12 +8,12 @@ nav .status {
&.connecting,
&.running {
background-color: #ffb400;
animation: blinkDot 2s infinite;
animation: blinkDot 1s infinite steps(1);
}
&.offline,
&.failed {
background-color: #dc0067;
animation: blinkDot 1s infinite;
animation: blinkDot 2s infinite steps(1);
}