Merge branch 'MDL-56328-M32' of git://github.com/lazydaisy/moodle

This commit is contained in:
David Monllao 2016-10-18 16:05:53 +08:00
commit 3ac4a74777
2 changed files with 28 additions and 23 deletions

View file

@ -53,19 +53,8 @@
position: absolute; position: absolute;
} }
.editing_move {
/* Move the move icon to the start of the line */
position: absolute;
left: 0;
top: 0;
}
.mod-indent-outer { .mod-indent-outer {
/** padding-left: 0;
* Add appropriate padding such that nothing overlaps the
* absolute positioned move icon.
*/
padding-left: 32px;
} }
/* The command block for each activity */ /* The command block for each activity */
@ -145,6 +134,19 @@
.activityinstance { .activityinstance {
padding-right: 200px; padding-right: 200px;
} }
.editing_move {
/* Move the move icon to the start of the line */
position: absolute;
left: 0;
top: 0;
}
.mod-indent-outer {
/**
* Add appropriate padding such that nothing overlaps the
* absolute positioned move icon.
*/
padding-left: 32px;
}
} }
} }
} }

View file

@ -3686,18 +3686,8 @@ img.iconsmall {
left: 100%; left: 100%;
position: absolute; position: absolute;
} }
.section .activity .editing_move {
/* Move the move icon to the start of the line */
position: absolute;
left: 0;
top: 0;
}
.section .activity .mod-indent-outer { .section .activity .mod-indent-outer {
/** padding-left: 0;
* Add appropriate padding such that nothing overlaps the
* absolute positioned move icon.
*/
padding-left: 32px;
} }
.section .activity .actions { .section .activity .actions {
position: absolute; position: absolute;
@ -3757,6 +3747,19 @@ img.iconsmall {
.editing .section .activity .activityinstance { .editing .section .activity .activityinstance {
padding-right: 200px; padding-right: 200px;
} }
.editing .section .activity .editing_move {
/* Move the move icon to the start of the line */
position: absolute;
left: 0;
top: 0;
}
.editing .section .activity .mod-indent-outer {
/**
* Add appropriate padding such that nothing overlaps the
* absolute positioned move icon.
*/
padding-left: 32px;
}
.editing_show + .editing_assign, .editing_show + .editing_assign,
.editing_hide + .editing_assign { .editing_hide + .editing_assign {
margin-left: 20px; margin-left: 20px;