MDL-40975 Course: Make the completion tracking look the same as other icons when editing

This commit is contained in:
Andrew Nicols
2013-11-06 11:40:57 +08:00
parent 26dd99d292
commit 8d90aec2aa
5 changed files with 22 additions and 16 deletions
+5 -9
View File
@@ -354,24 +354,20 @@
position: relative;
padding: 0 0 0 16px;
}
.path-course-view li.activity span.autocompletion,
.path-course-view li.activity form.togglecompletion {
float: right;
width: 0; /* Reduce the width of the control to 0 and rely on natural overflow */
.path-course-view li.activity span.autocompletion img {
vertical-align: text-bottom;
}
.path-course-view li.activity span.autocompletion img,
.path-course-view li.activity form.togglecompletion img {
max-width: none; /* The width is 0 so ensure we don't end up with a relative max-width */
}
.path-course-view li.activity form.togglecompletion .ajaxworking {
width: 16px;
height: 16px;
position: absolute;
right: 22px;
top: 3px;
background: url([[pix:i/ajaxloader]]) no-repeat;
}
.dir-rtl.path-course-view li.activity form.togglecompletion,
.dir-rtl.path-course-view li.activity span.autocompletion {
float: left;
}
.dir-rtl.path-course-view .completionprogress {
float: none;
}