Permalink
Browse files

MDL-35564 - Several RTL UI fixes for Course Overview block, in RTL mode

  • Loading branch information...
1 parent c8ac480 commit b62ed9d67f005ba5bcf27378a5be54a0e3745fcb @nadavkav nadavkav committed Sep 21, 2012
Showing with 33 additions and 2 deletions.
  1. +33 −2 blocks/course_overview/styles.css
@@ -15,7 +15,9 @@
.block_course_overview .profilepicture {
float: left;
}
-
+.dir-rtl.block_course_overview .profilepicture {
+ float:right;
+}
.block_course_overview .welcome_area {
width: 100%;
padding-bottom: 5px;
@@ -28,13 +30,19 @@
border-collapse: separate;
clear: none;
}
+.dir-rtl .block_course_overview .welcome_message {
+ float:right;
+}
.block_course_overview .content h2.title {
float: left;
margin-bottom: 0;
margin-top: 0;
position: relative;
}
+.dir-rtl .block_course_overview .content h2.title {
+ float:right;
+}
.block_course_overview .course_title {
position: relative;
@@ -49,12 +57,19 @@
float: left;
padding: 2px 10px 0 0;
}
+.dir-rtl.editing .block_course_overview .move {
+ float:right;
+ padding: 2px 10px;
+}
.editing .block_course_overview .moveicons {
display: block;
float: left;
padding-right: 5px;
}
+.dir-rtl.editing .block_course_overview .moveicons {
+ float:right;
+}
.editing .block_course_overview .moveup {
padding-right: 5px;
@@ -64,11 +79,17 @@
float: left;
width: 14px;
}
+.dir-rtl.editing .block_course_overview .movedownspacer {
+ float:right;
+}
.editing .block_course_overview .moveupspacer {
float: right;
width: 14px;
}
+.dir-rtl.editing .block_course_overview .moveupspacer {
+ float:left;
+}
.block_course_overview #course_list {
width: 100%;
@@ -81,6 +102,9 @@
.block_course_overview .activity_info {
clear: both;
}
+.dir-rtl .block_course_overview .activity_info {
+ margin-right: 25px;
+}
.block_course_overview .activity_overview {
padding: 2px;
@@ -90,11 +114,18 @@
text-align: left;
margin: 0;
}
+.dir-rtl .block_course_overview .singleselect {
+ text-align: right;
+}
.block_course_overview .coursemovetarget {
display: block;
height: 1em;
margin-bottom: 1em;
border-width: 2px;
border-style: dashed;
-}
+}
+
+.block_course_overview .collapsibleregioninner .name {margin-right: 20px;}
+.block_course_overview .collapsibleregioninner .info,
+.block_course_overview .collapsibleregioninner .details {margin-right: 25px;}

0 comments on commit b62ed9d

Please sign in to comment.