Permalink
Browse files

MDL-34513 - RTL Theme fixes for Moodle 2 (theme/mymobile)

+ Right align frontpage course list
+ right align activity and resource titles
+ Two Columns on/off slider fix
+ Right align content in Blocks
+ Fix checkbox question types in quiz
+ Right align titles of fields in Forms
+ minor ui tweaks
  • Loading branch information...
1 parent c5b133f commit db8e600a2304744541f03b09cb5125bce6cf4c78 @nadavkav nadavkav committed with danpoltawski Jul 24, 2012
Showing with 55 additions and 0 deletions.
  1. +1 −0 theme/mymobile/config.php
  2. +54 −0 theme/mymobile/style/jmobile11_rtl.css
@@ -35,6 +35,7 @@
// Set the stylesheets that we want to include for this theme
$THEME->sheets = array(
'jmobile11',
+ 'jmobile11_rtl',
'core',
'media'
);
@@ -0,0 +1,54 @@
+.dir-rtl .ui-collapsible-heading a {text-align: right}
+
+.dir-rtl .ui-li, .ui-li.ui-field-contain {text-align: right;}
+
+.dir-rtl .ui-li-thumb, .dir-rtl .ui-listview .ui-li-icon, .dir-rtl .ui-li-content {
+ float: right;
+ margin-left: 27px;
+}
+.dir-rtl .ui-li, .dir-rtl .ui-li.ui-field-contain {
+ text-align: right;
+}
+.dir-rtl .ui-listview .ui-li-icon {right:27px; left:auto;}
+
+.dir-rtl .mod-indent-1 { margin-right: 0px;}
+
+.dir-rtl .ui-icon-arrow-r {
+ background-position: -108px 0%;
+}
+
+.dir-rtl .ui-field-contain div.ui-slider-switch {
+ width: 10.5em;
+}
+
+.dir-rtl .coursebox h3 a .ui-btn-inner, .dir-rtl .category a .ui-btn-inner {
+ padding-right: .8em;
+ padding-left: 8px;
+}
+
+.dir-rtl .mform .fitem .felement {
+ margin-right: auto;
+ margin-left: 16%;
+ text-align: right;
+}
+
+.dir-rtl .has-myblocks .content-secondary {
+ text-align: right;
+}
+
+.dir-rtl .forumheaderlist thead .ui-btn-inner, .dir-rtl .topic .ui-btn {
+ text-align: right !important;
+ padding-right: 7px;
+}
+
+.dir-rtl .ui-li-count { left:38px; right:auto;}
+
+.dir-rtl .ui-checkbox .ui-btn, .dir-rtl .ui-radio .ui-btn {
+ text-align: right;
+}
+
+.dir-rtl .mform .fitemtitle { text-align: right !important; }
+
+.path-mod-quiz.dir-rtl .que .control {
+ width: 75%;
+}

0 comments on commit db8e600

Please sign in to comment.