Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
868575ec
Commit
868575ec
authored
Nov 06, 2013
by
Andrew Nicols
Browse files
MDL-40975 Course: Make spinner consistent across themes
parent
052dd049
Changes
4
Hide whitespace changes
Inline
Side-by-side
course/yui/toolboxes/toolboxes.js
View file @
868575ec
...
...
@@ -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.
...
...
theme/base/style/course.css
View file @
868575ec
...
...
@@ -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 */
...
...
theme/bootstrapbase/less/moodle/course.less
View file @
868575ec
...
...
@@ -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 {
...
...
theme/bootstrapbase/style/moodle.css
View file @
868575ec
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment