Skip to content

Commit

Permalink
Merge branch 'MDL-66930-master' of https://github.com/lucaboesch/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
snake committed Oct 21, 2019
2 parents 95852a3 + 87174e0 commit d2982a1
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 6 deletions.
2 changes: 1 addition & 1 deletion mod/quiz/classes/output/edit_renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ public function question_name(structure $structure, $slot, $pageurl) {
$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' => ''));

Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ table.quizreviewsummary td.cell {
}

#page-mod-quiz-edit ul.slots .activityinstance img.activityicon {
float: left;
float: inherit;
margin: .2em 0 0;
padding: 0;
}
Expand Down
10 changes: 10 additions & 0 deletions theme/boost/scss/moodle/question.scss
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,15 @@ body.path-question-type {
}
img.activityicon {
margin-left: 0;
width: 16px;
height: 16px;
padding-right: 4px;
}
}

#page-mod-quiz-edit .activity {
img.activityicon {
vertical-align: text-top;
}
}

Expand Down Expand Up @@ -620,6 +629,7 @@ body.path-question-type {

#page-mod-quiz-edit ul.slots .activityinstance img.activityicon {
margin-top: 0;
padding-right: 4px;
}

.path-mod-quiz .statedetails {
Expand Down
11 changes: 9 additions & 2 deletions theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -15173,7 +15173,13 @@ body.path-question-type {
padding-left: 0; }

#page-mod-quiz-edit ul.slots .activityinstance img.activityicon {
margin-left: 0; }
margin-left: 0;
width: 16px;
height: 16px;
padding-right: 4px; }

#page-mod-quiz-edit .activity img.activityicon {
vertical-align: text-top; }

#page-mod-quiz-edit .box.generalbox.questionbank {
padding: 0.5em; }
Expand Down Expand Up @@ -15300,7 +15306,8 @@ body.path-question-type {
overflow: hidden; }

#page-mod-quiz-edit ul.slots .activityinstance img.activityicon {
margin-top: 0; }
margin-top: 0;
padding-right: 4px; }

.path-mod-quiz .statedetails {
display: block;
Expand Down
11 changes: 9 additions & 2 deletions theme/classic/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -15439,7 +15439,13 @@ body.path-question-type {
padding-left: 0; }

#page-mod-quiz-edit ul.slots .activityinstance img.activityicon {
margin-left: 0; }
margin-left: 0;
width: 16px;
height: 16px;
padding-right: 4px; }

#page-mod-quiz-edit .activity img.activityicon {
vertical-align: text-top; }

#page-mod-quiz-edit .box.generalbox.questionbank {
padding: 0.5em; }
Expand Down Expand Up @@ -15570,7 +15576,8 @@ body.path-question-type {
overflow: hidden; }

#page-mod-quiz-edit ul.slots .activityinstance img.activityicon {
margin-top: 0; }
margin-top: 0;
padding-right: 4px; }

.path-mod-quiz .statedetails {
display: block;
Expand Down

0 comments on commit d2982a1

Please sign in to comment.