From 4e09aa013baa4d7871faf0d20d1418cb8b8ffac4 Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 25 Sep 2011 03:04:10 +0200 Subject: [PATCH] Revert "datenspuren: sun rays are standard now" This reverts commit 2304e06077372c1cd2fb51aad5bb9ef2968d1f5f. is often too heavy on browsers --- content/static/datenspuren/script/clouds.js | 12 ++++++------ content/static/datenspuren/style/style.css | 16 ---------------- xsl/datenspuren/xhtml5.xsl | 3 --- 3 files changed, 6 insertions(+), 25 deletions(-) diff --git a/content/static/datenspuren/script/clouds.js b/content/static/datenspuren/script/clouds.js index ee8e8024a..c222af6a2 100644 --- a/content/static/datenspuren/script/clouds.js +++ b/content/static/datenspuren/script/clouds.js @@ -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 = $('
'); + solar.hide(); + $('#cloudy').append(solar); + $('#solar').fadeIn(1000); + setTimeout(stepClouds, 100); } else { - $('#solar').removeClass('anim-running'); - $('#solar').addClass('anim-paused'); + $('#solar').detach(); } }); }); - diff --git a/content/static/datenspuren/style/style.css b/content/static/datenspuren/style/style.css index 4925ab34f..8c72f5e3d 100644 --- a/content/static/datenspuren/style/style.css +++ b/content/static/datenspuren/style/style.css @@ -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); diff --git a/xsl/datenspuren/xhtml5.xsl b/xsl/datenspuren/xhtml5.xsl index 4c4287708..6d56eb7ea 100644 --- a/xsl/datenspuren/xhtml5.xsl +++ b/xsl/datenspuren/xhtml5.xsl @@ -46,9 +46,6 @@
-
- -