Skip to content

Commit

Permalink
status box: turn pulsing animation into 1-second blinking, to reduce …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
oliver committed Jul 22, 2018
1 parent 444d80f commit 0a9c106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webroot/css/_status.less
Expand Up @@ -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);
}


Expand Down

0 comments on commit 0a9c106

Please sign in to comment.