Permalink
Browse files

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

… into MOODLE_24_STABLE
  • Loading branch information...
2 parents e7a68ca + b213281 commit 3e72333f0c1084eae7dbeef5cc2197fe05ac4c2e Sam Hemelryk committed Jan 28, 2013
Showing with 12 additions and 8 deletions.
  1. +5 −6 mod/quiz/edit.php
  2. +7 −2 mod/quiz/styles.css
View
@@ -458,12 +458,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
@@ -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;}

0 comments on commit 3e72333

Please sign in to comment.