MDL-40975 Theme: Remove activity padding properly when editor displayed for RTL

This commit is contained in:
Andrew Nicols
2013-11-06 16:20:00 +08:00
parent 5609c6321d
commit 13a73a16f2
3 changed files with 22 additions and 9 deletions
+4 -1
View File
@@ -315,7 +315,10 @@ span.editinstructions {
.dir-rtl span.editinstructions { left: auto; right: 32px;}
input.titleeditor { vertical-align: text-bottom; }
.editing .course-content .section .activity.editor_displayed .activityinstance {
padding: initial;
padding-right: initial;
}
.dir-rtl.editing .course-content .section .activity.editor_displayed .activityinstance {
padding-left: initial;
}
/* Course drag and drop upload styles */
+17 -7
View File
@@ -95,7 +95,7 @@
display: none;
}
div.activityinstance {
padding: initial;
padding-right: initial;
input {
margin-bottom: initial;
@@ -114,12 +114,6 @@
right: 100%;
}
.editing_move {
/* Move the move icon to the start of the line */
left: auto;
right: 0;
}
.mod-indent {
/**
* Add appropriate padding such that nothing overlaps the
@@ -137,6 +131,22 @@
}
}
.dir-rtl.editing .section {
.activity {
.editing_move {
/* Move the move icon to the start of the line */
left: auto;
right: 0;
}
&.editor_displayed {
div.activityinstance {
padding-left: initial;
}
}
}
}
.activity img.activityicon {
margin-right: 6px;
vertical-align: text-bottom;
File diff suppressed because one or more lines are too long