From: soufiane Date: Wed, 24 Jan 2024 11:21:56 +0000 (+0100) Subject: wait #6665 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4d6ed178d2b610b58e50bdf7ee471c2b5465103a;p=fluidbook-toolbox-quiz.git wait #6665 @0:10 --- diff --git a/js/quiz.resize.js b/js/quiz.resize.js index b83e2f9..964b290 100644 --- a/js/quiz.resize.js +++ b/js/quiz.resize.js @@ -49,15 +49,20 @@ QuizResize.prototype = { const iconReset = getSpriteIcon("quiz-reset"); const textReset = this.quiz.l10n.__("Reset"); + const iconInfo = getSpriteIcon("quiz-help"); + const textInfo = this.quiz.l10n.__("More infos"); + // Exécuter ici toutes opérations qui doivent intervenir lorsque la fenêtre est redimensionnée par le système ou l'utilisateur // this.quiz.screens.intro.resize(this.ww, this.hh); // if (this.isMobile()) { $(".btn.reset .text").html(iconReset); + $(".btn.moreinfo .text").html(iconInfo); this.centerItems(); } else { $(".btn.reset .text").html(textReset); + $(".btn.moreinfo .text").html(textInfo); this.resetCenterItems(); } }, diff --git a/style/100-global.sass b/style/100-global.sass index 49af074..6a90056 100644 --- a/style/100-global.sass +++ b/style/100-global.sass @@ -190,12 +190,15 @@ body .text margin-right: 0 - &.reset + &.reset, + &.moreinfo width: 56px flex-shrink: 0 padding: 0 .text +flex-config(center, false, false, center) + svg + width: 50% .access:not(.missed):not(.ok):not(.nok) diff --git a/style/105-outro.sass b/style/105-outro.sass index 13b08b4..ed19fbd 100644 --- a/style/105-outro.sass +++ b/style/105-outro.sass @@ -187,15 +187,15 @@ &:last-of-type margin-bottom: 71px - * - .m & - font-size: 14px !important - .title-section +font-size(16) + .m & + +font-size(14) .title-block +font-size(20) + .m & + +font-size(16) &:after content: ""