MDL-36629 usability: CSS adaptations for Workshop

This commit is contained in:
Frederic Massart 2012-11-27 14:52:53 +08:00
parent 01d1bb3a23
commit 94972ccae1
2 changed files with 9 additions and 1 deletions

View file

@ -285,11 +285,16 @@
background-color: #e7f1c3;
}
.path-mod-workshop .userplan th .actions {
display: inline;
}
.path-mod-workshop .userplan tr.phasetasks li {
background-image: url([[pix:mod_workshop|userplan/task-todo]]);
background-position: top left;
background-repeat: no-repeat;
list-style-type: none;
min-height: 16px;
margin: .3em 0;
}
.path-mod-workshop .userplan tr.phasetasks li.completed {
@ -557,3 +562,5 @@
margin: 2em auto;
text-align: center;
}
.path-mod-workshop .workshop-risk-dataloss { vertical-align: text-bottom; }

View file

@ -462,7 +462,8 @@ case workshop::PHASE_EVALUATION:
echo $output->help_icon('clearassessments', 'workshop');
echo html_writer::empty_tag('img', array('src' => $output->pix_url('i/risk_dataloss'),
'title' => get_string('riskdatalossshort', 'admin'),
'alt' => get_string('riskdatalossshort', 'admin')));
'alt' => get_string('riskdatalossshort', 'admin'),
'class' => 'workshop-risk-dataloss'));
echo $output->container_end();
echo $output->box_end();