Commit 868575ec authored by Andrew Nicols's avatar Andrew Nicols
Browse files

MDL-40975 Course: Make spinner consistent across themes

parent 052dd049
......@@ -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.
......
......@@ -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 */
......
......@@ -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 suppressed by a .gitattributes entry or the file's encoding is unsupported.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment