MDL-66930 quiz: Question type icon size and alignment in Boost.

This commit is contained in:
Luca Bösch
2019-10-18 13:51:39 +02:00
parent caa6f445e4
commit 0abefe1f2b
4 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -940,7 +940,7 @@ class edit_renderer extends \plugin_renderer_base {
$namestr = $qtype->local_name();
$icon = $this->pix_icon('icon', $namestr, $qtype->plugin_name(), array('title' => $namestr,
'class' => 'icon activityicon', 'alt' => ' ', 'role' => 'presentation'));
'class' => 'activityicon', 'alt' => ' ', 'role' => 'presentation'));
$editicon = $this->pix_icon('t/edit', '', 'moodle', array('title' => ''));
@@ -980,7 +980,7 @@ class edit_renderer extends \plugin_renderer_base {
$qtype = \question_bank::get_qtype($question->qtype, false);
$namestr = $qtype->local_name();
$icon = $this->pix_icon('icon', $namestr, $qtype->plugin_name(), array('title' => $namestr,
'class' => 'icon activityicon', 'alt' => ' ', 'role' => 'presentation'));
'class' => 'activityicon', 'alt' => ' ', 'role' => 'presentation'));
$editicon = $this->pix_icon('t/edit', $configuretitle, 'moodle', array('title' => ''));
$qbankurlparams = array(
-1
View File
@@ -939,7 +939,6 @@ table.quizreviewsummary td.cell {
}
#page-mod-quiz-edit ul.slots .activityinstance img.activityicon {
float: left;
margin: .2em 0 0;
padding: 0;
}
+3
View File
@@ -610,6 +610,9 @@ body.path-question-type {
#page-mod-quiz-edit ul.slots .activityinstance img.activityicon {
margin-top: 0;
width: 16px;
height: 16px;
padding-right: 4px;
}
.path-mod-quiz .statedetails {
+4 -1
View File
@@ -14708,7 +14708,10 @@ body.path-question-type {
overflow: hidden; }
#page-mod-quiz-edit ul.slots .activityinstance img.activityicon {
margin-top: 0; }
margin-top: 0;
width: 16px;
height: 16px;
padding-right: 4px; }
.path-mod-quiz .statedetails {
display: block;