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();
}
},
.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)