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:
parent
444d80f77e
commit
0a9c10666a
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue