From 411227440831b4feaab14b70ab9909cbd7bcfe79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Thu, 24 Oct 2019 07:30:50 +0200 Subject: [PATCH] MDL-67001 question: alignment and form spaces. --- question/classes/bank/view.php | 2 +- theme/bootstrapbase/less/moodle/question.less | 9 +++++++++ theme/bootstrapbase/style/moodle.css | 7 +++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/question/classes/bank/view.php b/question/classes/bank/view.php index 9421cb81771..a62bab426a4 100644 --- a/question/classes/bank/view.php +++ b/question/classes/bank/view.php @@ -652,7 +652,7 @@ class view { echo '
'; echo \html_writer::empty_tag('input', array('type' => 'hidden', 'name' => 'qbshowtext', 'value' => 0, 'id' => 'qbshowtext_off')); - echo \html_writer::checkbox('qbshowtext', '1', $showquestiontext, ' ' . get_string('showquestiontext', 'question'), + echo \html_writer::checkbox('qbshowtext', '1', $showquestiontext, get_string('showquestiontext', 'question'), array('id' => 'qbshowtext_on', 'class' => 'searchoptions mr-1')); echo "
\n"; } diff --git a/theme/bootstrapbase/less/moodle/question.less b/theme/bootstrapbase/less/moodle/question.less index d3f5b6063b8..141c30ac2c3 100644 --- a/theme/bootstrapbase/less/moodle/question.less +++ b/theme/bootstrapbase/less/moodle/question.less @@ -482,6 +482,15 @@ body.path-question-type .fitem_fgroup .accesshide { padding: 0.3em 0; } +.questionbankwindow .boxaligncenter.categoryinfo { + padding-left: 0; +} + +.questionbankwindow .singlebutton div, +.questionbankwindow .singlebutton div input { + margin-left: 0; +} + #page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer { padding: 0; strong { diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index 01185537765..58de5e50db4 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -9882,6 +9882,13 @@ body.path-question-type .fitem_fgroup .accesshide { #page-mod-quiz-edit div.questionbank .categoryinfo { padding: 0.3em 0; } +.questionbankwindow .boxaligncenter.categoryinfo { + padding-left: 0; +} +.questionbankwindow .singlebutton div, +.questionbankwindow .singlebutton div input { + margin-left: 0; +} #page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer { padding: 0; }