]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wait #6388 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 10 Oct 2023 18:33:19 +0000 (20:33 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 10 Oct 2023 18:33:19 +0000 (20:33 +0200)
js/quiz.animations.js
js/quiz.js
js/quiz.screen.intro.js
style/101-header-footer.sass

index d9a22a24a4656ea4cc65fad7bc97483f5cf15494..d13c662e64b85aa77b083c2a19852d235501d4f6 100644 (file)
@@ -126,6 +126,10 @@ QuizAnimations.prototype = {
                 $(".active-screen .list-item").addClass("complete")
             }
         }, .7)
+    },
+
+    globalAnimations:function(){
+        gsap.fromTo('#credits',{y:50} ,{y:0,duration:.5},0.35);
     }
 }
 
index ef6e390a29f12493cd1a2263a687203dac0698fe..ff022a843b93e7b107f038fb5279ba0a93902baf 100644 (file)
@@ -74,6 +74,9 @@ Quiz.prototype = {
             }
             this.screens.showScreen('q-' + (state.q + 1), callback);
         }
+
+        this.animations.globalAnimations();
+
         this.progressbar.update();
     },
 
index b2cfdadc74dfc3a7899ea5367b2d4fe612508d3d..6ef01bc10c475a5211f1d8ccb9b5858a68ab938e 100644 (file)
@@ -29,7 +29,6 @@ QuizScreenIntro.prototype = {
             .to("#start", {
                 y: 0,
             }, .2)
-            .fromTo('#credits',{y:50}, {y: 0, duration: .5}, .3)
             .from(title.words, {
                 opacity: 0, y: 20, duration: .2, stagger: 0.05
             }, .5)
index ac1a802d38ee698e629714d317ee9cce66c1e295..9af7e1986a1f1369c025d41ce7b3d5928f9fd8c7 100644 (file)
@@ -100,7 +100,7 @@ header
     font-size: 12px
     position: absolute
     bottom: 20px
-    right: 20px
+    right: 25px
     color: $texts-color
     opacity: 0.7
     z-index: 100