Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'wip-MDL-29723_M23' of git://github.com/lazydaisy/moodle…

… into MOODLE_23_STABLE
  • Loading branch information...
commit b0610c8bca91bfed49a51c2782d50f9b551b1c89 2 parents c2e15c4 + 9044b7f
@samhemelryk samhemelryk authored
Showing with 12 additions and 8 deletions.
  1. +5 −6 mod/quiz/edit.php
  2. +7 −2 mod/quiz/styles.css
View
11 mod/quiz/edit.php
@@ -454,12 +454,11 @@ function module_specific_controls($totalnumber, $recurse, $category, $cmid, $cmo
echo '<div class="questionbankwindow ' . $bankclass . 'block">';
echo '<div class="header"><div class="title"><h2>';
echo get_string('questionbankcontents', 'quiz') .
- ' <a href="' . $thispageurl->out(true, array('qbanktool' => '1')) .
- '" id="showbankcmd">[' . get_string('show').
- ']</a>
- <a href="' . $thispageurl->out(true, array('qbanktool' => '0')) .
- '" id="hidebankcmd">[' . get_string('hide').
- ']</a>';
+ '&nbsp;[<a href="' . $thispageurl->out(true, array('qbanktool' => '1')) .
+ '" id="showbankcmd">' . get_string('show').
+ '</a><a href="' . $thispageurl->out(true, array('qbanktool' => '0')) .
+ '" id="hidebankcmd">' . get_string('hide').
+ '</a>]';
echo '</h2></div></div><div class="content">';
echo '<span id="questionbank"></span>';
View
9 mod/quiz/styles.css
@@ -319,9 +319,14 @@ but in terms of usability, as testing showed,
http://docs.moodle.org/dev/Quiz_UI_redesign/usability_testing_of_August_2008/Issues#Question_bank_.2F_question_adding_controls_visibility
it must be ensured that the question
bank window's title is prominent enough*/
-#page-mod-quiz-edit .questionbankwindow div.header {background-color:#009;color:#fff;background-image:none;padding-top:0.2em;font-weight:bold;}
-#page-mod-quiz-edit .questionbankwindow div.header a{text-decoration:underline;color:#FFF;}
+#page-mod-quiz-edit .questionbankwindow.block div.header {background-color:#009;background-image:none;padding-top:0.2em;font-weight:bold;border:0 none;}
+#page-mod-quiz-edit .questionbankwindow.block div.header div.title h2 {color:#FFF;text-align: center;}
#page-mod-quiz-edit .collapsed .container{display: none;}
+
+#page-mod-quiz-edit .questionbankwindow a#showbankcmd,
+#page-mod-quiz-edit .questionbankwindow a#hidebankcmd {color: #FFF;text-decoration:underline;}
+#page-mod-quiz-edit .questionbankwindow a#showbankcmd:hover,
+#page-mod-quiz-edit .questionbankwindow a#hidebankcmd:hover {color:#009;background-color:#fff;text-decoration:none;}
#page-mod-quiz-edit .questionbankwindow #showbankcmd{display:none;}
#page-mod-quiz-edit .collapsed #showbankcmd{display:inline;}
#page-mod-quiz-edit .questionbankwindow #hidebankcmd{display:inline;}
Please sign in to comment.
Something went wrong with that request. Please try again.