MDL-32479 - RTL Theme fixes for Moodle 2 (theme/base)
authorNadav Kavalerchik <nadavkav@gmail.com>
Sat, 21 Apr 2012 15:20:42 +0000 (18:20 +0300)
committerAparup Banerjee <aparup@moodle.com>
Mon, 18 Jun 2012 03:31:33 +0000 (11:31 +0800)
Right align Fields in forms (when in RTL mode)

Conflicts:

theme/base/style/course.css

theme/base/style/core.css
theme/base/style/course.css

index 1215fcc..3eee310 100644 (file)
@@ -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}
index 278b1d3..68fa49f 100644 (file)
@@ -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;}