From 874147f87455c890c936befaa6def540cfdc21fe Mon Sep 17 00:00:00 2001 From: Karam Qubsi Date: Wed, 17 Apr 2013 13:16:00 +0300 Subject: [PATCH] [PASSED QA] Bug 10017 -Follow up handling with the multi libraries pref active This Follow up patch will handle multi libraries pref when it sets to "add" and enhance the way lists drop down menu appear Test plan for all patches ( the first one and all follow ups ) : 1- apply the patches ( from the first one and all follow up patches) 2- use 3.10 po files and update it (for the master) " ../misc/translate/ perl translate update ar-Arab " 3- install Arabic from the updated po files "perl translate install ar-Arab " 4- set opac opacthemes pref to ccsr 5- set OpacAddMastheadLibraryPulldown pref to add 6- select the Arabic from the opaclanguages pref 7- set opaclanguagesdisplay to allow 8- go to the opac and choose arabic 9- you will see all the directions from right to left (as you look at koha on a mirror ;) )) Signed-off-by: Bernardo Gonzalez Kriegel Comment: Work as decribed. No errors. With all patches applied, we get a pretty RTL interface. Well done! Signed-off-by: Katrin Fischer Changes are mostly CSS, one new image and a tiny template change. Used po files from 3.8 for testing. Looks good! --- koha-tmpl/opac-tmpl/ccsr/en/css/right-to-left.css | 28 +++++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/ccsr/en/css/right-to-left.css b/koha-tmpl/opac-tmpl/ccsr/en/css/right-to-left.css index 7844607..158a738 100644 --- a/koha-tmpl/opac-tmpl/ccsr/en/css/right-to-left.css +++ b/koha-tmpl/opac-tmpl/ccsr/en/css/right-to-left.css @@ -93,17 +93,35 @@ input#searchsubmit.left { padding-left: 0px; padding-right: 12px; } - form.single-library .input-wrapper { margin: 0px 0px 0px 237px; } +form.multi-libraries .input-wrapper +{ +margin: 0pt 0pt 0pt 416px; +} -form.single-library #filters .jqTransformSelectWrapper, form.multi-libraries #libraries .jqTransformSelectWrapper { - left: 50px; - right: auto; +.jqTransformSelectWrapper{ +float:right; +margin-right: 5px; +margin-left: -5px; +} + + +form.multi-libraries #filters .jqTransformSelectWrapper { +left:230px; +right:auto; +} +form.single-library #filters .jqTransformSelectWrapper, +form.multi-libraries #libraries .jqTransformSelectWrapper { +left:50px; +right:auto; } + + form#searchform input[type="submit"] { margin-right: 4px; + margin-left: 0pt; position: absolute; left: 10px; right: auto; @@ -174,7 +192,7 @@ div#cartDetails { margin-left: -9.5em; } div#listsmenu { - margin-left: -125px; + margin-left: -70px; } ul#menu-left li#listsmenulink a { padding: 0px 20px 0px 0px; -- 1.7.9.5