]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wait #6312 @0:05
authorsoufiane <soufiane@cubedesigners.com>
Wed, 27 Sep 2023 15:08:19 +0000 (17:08 +0200)
committersoufiane <soufiane@cubedesigners.com>
Wed, 27 Sep 2023 15:08:19 +0000 (17:08 +0200)
js/quiz.js
js/quiz.match.js
style/103-question-multiple.sass
style/105-outro.sass

index 2eae95b4c75dac6a05b6268b299f26989750ecfa..64549b77f38d5de7f615303be89730327909d5fe 100644 (file)
@@ -78,6 +78,7 @@ Quiz.prototype = {
     updateIcons: function () {
         $("[data-icon]").each(function () {
             var iconId = 'quiz-' + $(this).data('icon');
+
             // L'icône est déjà en place
             if ($(this).children('svg.' + iconId).length) {
                 return;
@@ -86,6 +87,7 @@ Quiz.prototype = {
             $(this).children('svg.svg-icon').remove();
             // Puis on ajoute l'icône
             var icon = getSpriteIcon(iconId);
+
             if ($(this).is('[data-icon-prepend]')) {
                 $(this).prepend(icon);
             } else {
index 33f4fa19e70bb65c010b107370d292d2b87692ca..ca213d653deaa12fc236edc93695f09ccf653e4c 100644 (file)
@@ -89,17 +89,7 @@ QuizMatch.prototype = {
                 opacity: 1
             })
             .to(".active-screen .bottom-slider .swiper-slide", {
-                opacity: function(index) {
-                    let opacity = 1
-                    if(index === 1) {
-                        opacity = 0.48
-                    }else if(index === 2) {
-                        opacity = 0.24
-                    }else if(index === 3) {
-                        opacity = 0
-                    }
-                    return opacity
-                },
+                opacity: 1,
                 ease: "power1.inOut",
                 stagger: .15,
                 onComplete: function() {
index 273e409e99b080719785e78a3afb4a70efd73f9b..caa494ba7be11ece5eab3c992d4d0a496f45f3e7 100644 (file)
@@ -51,6 +51,7 @@
     .screen.question-multiple
         .list
             grid-gap: 8px
+            grid-template-columns: none
         .list-item
             label
                 height: 56px
index 1bedb2691163f1ceda946f3d829cf6cf1c202139..98c2a1fc8d2c670e8d9f84dd1d6083be75a299c7 100644 (file)
             width: 100%
             bottom: 0
             .btn
-                font-size: 18px
+                font-size: 16px
+            [data-icon='search']
+                +flex-config(center,'','',center)
+                svg
+                    fill: $texts-color
+                    margin-right: 10px
 
         .restart-sentence,
         .btn.restart