Skip to content
Browse files

MDL-32479 - RTL Theme fixes for Moodle 2 (theme/base)

Right align Fields in forms (when in RTL mode)


  • Loading branch information...
1 parent 0a1617e commit 409c12f21a4deb46fca7f6905027592bec913027 @nadavkav nadavkav committed with nebgor Apr 21, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 theme/base/style/core.css
  2. +1 −1 theme/base/style/course.css
2 theme/base/style/core.css
@@ -661,7 +661,7 @@ body.tag .managelink {padding: 5px;}
.dir-rtl .mod-indent-huge {margin-right:300px;margin-left:0;}
.dir-rtl .felement.feditor select {margin-right:18.75%;margin-left:auto;}
-.dir-rtl .mform .fitem .felement {margin-right: 16%;margin-left:auto;}
+.dir-rtl .mform .fitem .felement {margin-right: 16%;margin-left:auto;text-align: right;}
/* Audio player size in 'block' mode (can only change width, height is hardcoded in JS) */
.resourcecontent .mediaplugin_mp3 object {height:25px; width: 600px}
2 theme/base/style/course.css
@@ -39,7 +39,7 @@
.path-course-view li.activity form.togglecompletion {display:inline;position:absolute;right:-20px;top:0;padding:0.2em 0;}
.path-course-view li.activity form.togglecompletion div {display:inline;}
.path-course-view li.activity form.togglecompletion .ajaxworking {position:absolute;top:0; left:20px;width: 20px; height: 20px;background: url([[pix:i/ajaxloader]]) no-repeat;}
-.dir-rtl.path-course-view li.activity {margin-right:0px;margin-left:20px;}
+.dir-rtl.path-course-view li.activity {margin-right:20px;margin-left:20px;}
.dir-rtl.path-course-view li.activity form.togglecompletion,
.dir-rtl.path-course-view li.activity span.autocompletion {right:-20px;left:auto;padding:0px;}
.dir-rtl.path-course-view .completionprogress {float: none;}

0 comments on commit 409c12f

Please sign in to comment.
Something went wrong with that request. Please try again.