From 7e9f55f1382c4408c1c6ea29a87fb0690671bf53 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Mon, 11 Dec 2017 16:56:06 +0800 Subject: [PATCH] MDL-60750 mod_quiz: only apply form css rules on clean theme --- mod/quiz/styles.css | 5 ----- theme/bootstrapbase/less/moodle/modules.less | 4 ++++ theme/bootstrapbase/style/moodle.css | 4 ++++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/mod/quiz/styles.css b/mod/quiz/styles.css index 6e85f990e76..599ab553614 100644 --- a/mod/quiz/styles.css +++ b/mod/quiz/styles.css @@ -378,11 +378,6 @@ table.quizattemptsummary .noreviewmessage { display: none; } -#mod_quiz_preflight_form .femptylabel .felement { - margin: 0; - padding: 0; -} - .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup { width: 600px; } diff --git a/theme/bootstrapbase/less/moodle/modules.less b/theme/bootstrapbase/less/moodle/modules.less index 796edf126dd..58a74b345b0 100644 --- a/theme/bootstrapbase/less/moodle/modules.less +++ b/theme/bootstrapbase/less/moodle/modules.less @@ -805,6 +805,10 @@ div#dock { } // Quiz module +#mod_quiz_preflight_form .femptylabel .felement { + margin: 0; + padding: 0; +} // Question navigation block. .path-mod-quiz #mod_quiz_navblock { diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index 940f2cc4dbc..6632275269d 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -17882,6 +17882,10 @@ div#dock { width: inherit; height: inherit; } +#mod_quiz_preflight_form .femptylabel .felement { + margin: 0; + padding: 0; +} .path-mod-quiz #mod_quiz_navblock .qnbutton { text-decoration: none; font-size: 14px;