]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wait #6460 @0:05
authorsoufiane <soufiane@cubedesigners.com>
Thu, 9 Nov 2023 13:35:52 +0000 (14:35 +0100)
committersoufiane <soufiane@cubedesigners.com>
Thu, 9 Nov 2023 13:35:52 +0000 (14:35 +0100)
js/quiz.accessibility.js
style/100-global.sass
views/footer.blade.php
views/screens/outro.blade.php

index 3dd5af824eaa81c493e6adf4016bf1366fa58e87..4cd048bec76b8ad410e7ba5285f4ef3288e45b12 100644 (file)
@@ -30,7 +30,7 @@ QuizAccessibility.prototype = {
 
     hideButton: function($el) {
         let status = this.quiz.data.accessibility_show_hotkeys
-        if(status) {
+        if(!status) {
             $el.hide()
         }
     }
index c27793ff06a62c1af358b64ae0c7dd7a626f0955..2178e75f93f4f7bce245021a35194c1ee63be6aa 100644 (file)
@@ -83,15 +83,15 @@ body
         +opacity(.16)
         padding-left: 22px
         padding-right: 6px
+        .text
+            margin-right: 16px
+        .access
+            margin: 0 10px 0 0
 
     &.reset
         //max-width: 144px
         .text svg
             width: 50%
-        .text
-            margin-right: 16px
-        .access
-            margin: 0 10px 0 0
 
     &.info
         max-width: 177px
@@ -184,13 +184,16 @@ body
         &.primary
             flex: 1
 
+        &.secondary
+            .text
+                margin-right: 0
+
         &.reset
             width: 56px
             flex-shrink: 0
             padding: 0
             .text
                 +flex-config(center, false, false, center)
-                margin-right: 0
 
 
     .access:not(.missed):not(.ok):not(.nok)
index d9a38e47061334dc4bd69616bb681da3f07fe785..458ed1b475570eb574d672323a1fcc90d207ff26 100644 (file)
@@ -8,7 +8,7 @@
 
     @isset($info)
         <a class="btn secondary none moreinfo" aria-keyshortcuts="M">
-            {{$__('More infos')}}
+            <span class="text">{{$__('More infos')}}</span>
             <span class="access infos">M</span>
         </a>
     @endisset
index bb8159360cc358c0abbc4e7e0287021430cf71be..b8b896277375910ba478e1efa9bf7fc96c19e7cd 100644 (file)
@@ -54,7 +54,7 @@
                 <div class="score-controls">
                     @if($data->restart_button)
                         <a class="btn secondary restart" aria-keyshortcuts="r">
-                            {{$__('Restart')}}
+                            <span class="text">{{$__('Restart')}}</span>
                             <span class="access">R</span>
                         </a>
                     @endif