From 587397becfaae9492f27e0e4675d4fe0b0a42161 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Thu, 2 Oct 2008 02:45:25 +0000 Subject: [PATCH] MDL-8547 Time remaining covers question text in the quiz when using secure mode. --- mod/quiz/attempt.php | 2 +- theme/standard/styles_layout.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mod/quiz/attempt.php b/mod/quiz/attempt.php index 1bd5de98f91..f1056f6244b 100644 --- a/mod/quiz/attempt.php +++ b/mod/quiz/attempt.php @@ -420,7 +420,7 @@ $headtags = get_html_head_contributions($pagequestions, $questions, $states); if (!empty($popup)) { define('MESSAGE_WINDOW', true); // This prevents the message window coming up - print_header($course->shortname.': '.format_string($quiz->name), '', '', '', $headtags, false, '', '', false, ''); + print_header($course->shortname.': '.format_string($quiz->name), '', '', '', $headtags, false, '', '', false, ' class="securewindow"'); include('protect_js.php'); } else { $strupdatemodule = has_capability('moodle/course:manageactivities', $coursecontext) diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 9577d246b17..057f16c8741 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -3807,6 +3807,10 @@ body#mod-quiz-view .generalbox#feedback .overriddennotice { #mod-quiz-attempt #timer .generalbox { width:150px } +#mod-quiz-attempt.securewindow .que { + margin-left: 155px; + margin-right: 155px; +} #mod-quiz-attempt #timer { position:absolute;