From 339beda38b76361d1c5b5c62df193282d507b20b Mon Sep 17 00:00:00 2001 From: Mary Evans Date: Fri, 18 Nov 2011 23:50:32 +0000 Subject: [PATCH] MDL-30359-M21 Fixes for dir-rtl in theme_base CSS --- theme/base/style/core.css | 4 ++++ theme/base/style/course.css | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/theme/base/style/core.css b/theme/base/style/core.css index 5f2edfe3277..bbb9be1336b 100644 --- a/theme/base/style/core.css +++ b/theme/base/style/core.css @@ -643,6 +643,7 @@ body.tag .managelink {padding: 5px;} #page-enrol-users .enrol_user_buttons .enrolusersbutton div, #page-enrol-users .enrol_user_buttons .enrolusersbutton form {display:inline;} #page-enrol-users .enrol_user_buttons .enrolusersbutton input {padding-left:6px;padding-right:6px;} +#page-enrol-users.dir-rtl .col_userdetails .subfield_picture {float: right;} /** * Overide for RTL layout @@ -655,6 +656,9 @@ body.tag .managelink {padding: 5px;} .dir-rtl .mform .fitem .fitemtitle {float:right;} .dir-rtl .loginbox .loginform .form-label {float:right;text-align:left;} .dir-rtl .loginbox .loginform .form-input {text-align: right;} +.dir-rtl .yui3-menu-hidden {left: 0px;} +#page-admin-roles-define.dir-rtl #rolesform .felement {margin-right: 180px;} +#page-message-edit.dir-rtl table.generaltable th.c0 {text-align: right;} /** * Backup diff --git a/theme/base/style/course.css b/theme/base/style/course.css index c92f43636af..ed9a33faf08 100644 --- a/theme/base/style/course.css +++ b/theme/base/style/course.css @@ -27,7 +27,7 @@ .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 form.togglecompletion, -.dir-rtl.path-course-view li.activity span.autocompletion {right:auto;right:-20px;} +.dir-rtl.path-course-view li.activity span.autocompletion {left:auto;right:-20px;} .section img.movetarget {height:16px;width:80px;} @@ -121,7 +121,7 @@ /*all courses view*/ #page-course-index .categorylist .course.clearfloat { height: auto; } -/** +/** * Overide for RTL layout */ .dir-rtl .coursebox .info {float: right; text-align: right;}