Skip to content

Commit

Permalink
MDL-36629 usability: CSS adaptations for Workshop
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Massart committed Nov 27, 2012
1 parent 01d1bb3 commit 94972cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions mod/workshop/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -557,3 +562,5 @@
margin: 2em auto;
text-align: center;
}

.path-mod-workshop .workshop-risk-dataloss { vertical-align: text-bottom; }
3 changes: 2 additions & 1 deletion mod/workshop/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@
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();
Expand Down

0 comments on commit 94972cc

Please sign in to comment.