Commit ea883138 authored by fred's avatar fred

stop spinning the refresh icon, it kills CPU with Gecko

parent c3cf6f62
......@@ -283,10 +283,12 @@ img.right, img.left{max-width:50%;}
.spinning {
position:relative;
/*
-webkit-animation: rotation 10s infinite linear;
-moz-animation: rotation 10s infinite linear;
-o-animation: rotation 10s infinite linear;
animation: rotation 10s infinite linear;
*/
}
@-webkit-keyframes rotation {
from {-webkit-transform: rotate(0deg);}
......
......@@ -80,6 +80,14 @@ h5.focus-title {
padding:5px 7px 0px 7px;
}
#RefreshWhatsOnAir {
opacity: 0.2;
}
#RefreshWhatsOnAir.spinning {
opacity: 0.8;
}
/****************************************************/
/* WRAPPER */
/****************************************************/
......
......@@ -14,8 +14,8 @@
<div class="label">{% trans 'live' %}</div>
</span>
<div id="CurrentlyPlaying">
<button class="icon-refresh" id="RefreshWhatsOnAir"></button>
<span id="WhatsOnAir"></span>
<button class="icon-refresh" id="RefreshWhatsOnAir"></button>
</div>
<audio
id="DirectStreamPanik"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment