MDL-36912 usability: CSS adaptations for assignment

This commit is contained in:
Frederic Massart 2012-11-30 14:26:31 +08:00
parent f08c147ef0
commit 0348468bee
3 changed files with 5 additions and 1 deletions

View File

@ -772,7 +772,7 @@ class assign_grading_table extends table_sql implements renderable {
$edit .= html_writer::start_tag('ul');
$edit .= html_writer::start_tag('li', array('class'=>'menuicon'));
$menuicon = $this->output->pix_icon('i/menu', get_string('actions'));
$menuicon = $this->output->pix_icon('t/contextmenu', get_string('actions'));
$edit .= $this->output->action_link('#menu' . $row->id, $menuicon, null, array('class'=>'yui3-menu-label'));
$edit .= $this->output->container_start(array('yui3-menu', 'yui3-loading'), 'menu' . $row->id);
$edit .= $this->output->container_start(array('yui3-menu-content'));

View File

@ -114,7 +114,9 @@ div.earlysubmission {
.gradingtable .yui3-menu-label {
padding-left: 0px;
line-height: 12px;
}
.gradingtable .yui3-menu-label img { padding: 0 3px; }
.gradingtable .yui3-menu li {
list-style-type: none;
}
@ -125,6 +127,7 @@ div.earlysubmission {
.gradingtable .yui3-menu .yui3-menu-content {
border: 0px;
padding-top: 0;
}
#page-mod-assign-view div.gradingtable tr .quickgrademodified {

View File

@ -46,6 +46,7 @@ optional changes:
* new icons i/valid, i/caution and i/invalid for generic statuses.
* new icons i/grade_correct, i/grade_partiallycorrect and i/grade_incorrect for grades.
* new icon t/approve (12x12).
* new icon t/contextmenu (12x12) for a monochrome version of i/menu.
=== 2.3 ===