MDL-40975 Course: Make spinner consistent across themes

This commit is contained in:
Andrew Nicols
2013-11-06 16:06:48 +08:00
parent 052dd0490f
commit 868575ec2c
4 changed files with 12 additions and 9 deletions
-5
View File
@@ -344,11 +344,6 @@ YUI.add('moodle-course-toolboxes', function(Y) {
'id' : Y.Moodle.core_course.util.cm.getId(activity)
};
var spinner = this.add_spinner(activity);
if (BODY.hasClass('dir-ltr')) {
spinner.setStyle('left', '100%');
} else {
spinner.setStyle('right', '100%');
}
this.send_request(data, spinner);
// Handle removal/addition of the moveleft button.
+7
View File
@@ -283,6 +283,13 @@ li.section.hidden span.commands a.editing_show {cursor:default;}
}
.section .activity .spinner {
margin: 4px;
left: 100%;
position: absolute;
}
.dir-rtl .section .activity .spinner {
left: auto;
right: 100%;
}
/* Quick edit of module name */
+4 -3
View File
@@ -45,9 +45,9 @@
}
.activity {
.spinner {
margin: 4px;
left: 0;
left: 100%;
position: absolute;
vertical-align: text-bottom;
}
.editing_move {
@@ -110,7 +110,8 @@
.dir-rtl .section {
.activity {
.spinner {
left: 0;
left: auto;
right: 100%;
}
.editing_move {
File diff suppressed because one or more lines are too long