Revert "datenspuren: sun rays are standard now"

This reverts commit 2304e06077.

is often too heavy on browsers
This commit is contained in:
Astro 2011-09-25 03:04:10 +02:00
parent 4c70faf31a
commit 4e09aa013b
3 changed files with 6 additions and 25 deletions

View File

@ -159,13 +159,13 @@ $(document).ready(function() {
$('#cloudy-sun').click(function() {
funEnabled = !funEnabled;
if (funEnabled) {
$('#solar').removeClass('anim-paused');
$('#solar').addClass('anim-running');
stepClouds();
var solar = $('<div id="solar"> </div>');
solar.hide();
$('#cloudy').append(solar);
$('#solar').fadeIn(1000);
setTimeout(stepClouds, 100);
} else {
$('#solar').removeClass('anim-running');
$('#solar').addClass('anim-paused');
$('#solar').detach();
}
});
});

View File

@ -148,28 +148,12 @@ dl dd {
right: -3900px;
width: 8000px;
height: 8000px;
}
.solar-anim {
-webkit-animation: rotate 230s infinite linear;
-moz-animation: rotate 230s infinite linear;
-o-animation: rotate 230s infinite linear;
-ms-animation: rotate 230s infinite linear;
animation: rotate 230s infinite linear;
}
.anim-paused {
-webkit-animation-play-state: paused;
-moz-animation-play-state: paused;
-ms-animation-play-state: paused;
-o-animation-play-state: paused;
animation-play-state: paused;
}
.anim-running {
-webkit-animation-play-state: running;
-moz-animation-play-state: running;
-ms-animation-play-state: running;
-o-animation-play-state: running;
animation-play-state: running;
}
@-webkit-keyframes rotate {
0% {
-webkit-transform:rotate(0deg);

View File

@ -46,9 +46,6 @@
<div id="cloudy-sun" title="Click here!">
<xsl:text> </xsl:text>
</div>
<div id="solar" class="solar-anim anim-paused">
<xsl:text> </xsl:text>
</div>
</div>
<xsl:call-template name="heading">
<xsl:with-param name="title" select="$title"/>