Bugzilla – Attachment 17315 Details for
Bug 10017
Opac CCSR template do not cope well with right-to-left languages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
OPAC-CCSR-Right-to-left-css
0001-Bug-8061-OPAC-CCSR-Right-to-left-css.patch (text/plain), 11.00 KB, created by
Karam Qubsi
on 2013-04-09 18:18:13 UTC
(
hide
)
Description:
OPAC-CCSR-Right-to-left-css
Filename:
MIME Type:
Creator:
Karam Qubsi
Created:
2013-04-09 18:18:13 UTC
Size:
11.00 KB
patch
obsolete
>From f6f840d1501ef4908884ac31572c01d6c2fd859d Mon Sep 17 00:00:00 2001 >From: Karam Qubsi <karamqubsi@gmail.com> >Date: Mon, 8 Apr 2013 15:17:30 +0300 >Subject: [PATCH] Bug 8061 OPAC-CCSR-Right-to-left-css This patch will add > css file for the Opac cssr link this css file in the > doc-head-close.inc and add new image : > arrow-left-grey-11x6.png for the opposite direction of the > right existing one . the test plan is the same for the > oldest patches for opac prog and intranet ... > >--- > koha-tmpl/opac-tmpl/ccsr/en/css/right-to-left.css | 235 ++++++++++++++++++++ > .../opac-tmpl/ccsr/en/includes/doc-head-close.inc | 3 + > .../opac-tmpl/ccsr/images/arrow-left-grey-11x6.png | Bin 0 -> 2911 bytes > 3 files changed, 238 insertions(+) > create mode 100644 koha-tmpl/opac-tmpl/ccsr/en/css/right-to-left.css > create mode 100644 koha-tmpl/opac-tmpl/ccsr/images/arrow-left-grey-11x6.png > >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 >new file mode 100644 >index 0000000..691d170 >--- /dev/null >+++ b/koha-tmpl/opac-tmpl/ccsr/en/css/right-to-left.css >@@ -0,0 +1,235 @@ >+/*Search form */ >+form#searchform select { >+ display:none; >+ right: -9999em; >+ position: absolute; >+} >+div#menu { >+ border-left: 1px solid rgb(151, 151, 151); >+ font-size: 94%; >+ margin-left: 0.5em; >+ >+} >+/*text alignment */ >+body, >+#doc, >+#doc2, >+#doc3, >+#doc4, >+.yui-t1, >+.yui-t2, >+.yui-t3, >+.yui-t4, >+.yui-t5, >+.yui-t6, >+.yui-t7, >+table#marc th, >+caption >+{ >+ text-align: right; >+ direction: rtl; >+} >+h4 >+{ >+ text-align: right !important; >+} >+ >+/*floats*/ >+.yui-g .yui-u, .yui-g .yui-g, .yui-g .yui-gb, .yui-g .yui-gc, .yui-g .yui-gd, .yui-g .yui-ge, .yui-g .yui-gf, .yui-gc .yui-u, .yui-gd .yui-g, .yui-g .yui-gc .yui-u, .yui-ge .yui-u, .yui-ge .yui-g, .yui-gf .yui-g, .yui-gf .yui-u { >+ float: left; >+} >+.yui-g div.first, .yui-g div.first, .yui-gc div.first, .yui-gc div.first div.first, .yui-gd div.first, .yui-ge div.first, .yui-gf div.first { >+ float: right; >+} >+fieldset.rows label, fieldset.rows span.label { >+ float: right; >+ margin-right: 1em; >+ text-align: right; >+} >+.yui-t1 .yui-b { >+ float: right; >+ width: 12.3207em; >+} >+ >+ >+#opacmainuserblock, #news { >+ margin-right: 7em; >+} >+ul#menu-left { >+ margin: 0px 30px 0px 0px ; >+ float: right; >+} >+#members { >+ background: none repeat scroll 0% 0% transparent; >+ margin: 0px; >+ padding: 0px; >+ float: left; >+} >+#members li { >+ float: right; >+ border-left: medium none; >+} >+.ui-tabs .ui-tabs-nav li { >+ float: right; >+} >+div.rating-cancel, div.star-rating { >+ float: right; >+} >+.left { >+ float: right; >+} >+input#searchsubmit.left { >+ float:right; >+} >+ >+#fluid-offset { >+ float: left; >+ width: 100%; >+} >+ >+#moresearches a:link, #moresearches a:visited { >+ background: url("../../images/arrow-left-grey-11x6.png") no-repeat scroll right center transparent; >+ margin-left: 0px; >+ padding-left: 0px; >+ padding-right: 12px; >+} >+ >+form.single-library .input-wrapper { >+ margin: 0px 0px 0px 237px; >+} >+ >+form.single-library #filters .jqTransformSelectWrapper, form.multi-libraries #libraries .jqTransformSelectWrapper { >+ left: 50px; >+ right: auto; >+} >+form#searchform input[type="submit"] { >+ margin-right: 4px; >+ position: absolute; >+ left: 10px; >+ right: auto; >+} >+ul#i18nMenu li { >+float:right !important; >+} >+div.lang { >+float:right !important; >+} >+ >+#main_footer .colright { >+ float: left; >+} >+#main_footer .colright .koha { >+ background: url("../../images/img_logo_koha.jpg") no-repeat scroll left bottom transparent; >+} >+.yui-t1 #yui-main, >+.yui-t2 #yui-main, >+.yui-t3 #yui-main >+{ >+ float: left; >+} >+.yui-t1 #yui-main .yui-b { >+ margin-right: 13.3207em; >+} >+.yui-t1 #yui-main, .yui-t2 #yui-main, .yui-t3 #yui-main { >+ margin-right: -25em; >+ margin-left: auto; >+} >+.yui-t1 #yui-main .yui-b { >+ margin-left: auto; >+} >+body#results div#userresults { >+ border-right: 1px solid rgb(200, 200, 196); >+} >+ >+form#searchform .input-wrapper { >+ -moz-box-sizing: border-box; >+ right: -39px; >+ left: auto; >+} >+.statictabs ul li { >+ float: right; >+} >+#auth { >+ float: right; >+} >+ >+.jqTransformSelectWrapper div a { >+ left: 3px; >+ right: auto; >+} >+.jqTransformSelectWrapper div span { >+ float: right; >+} >+.resort { >+ float: left; >+} >+ >+ul#menu-left li a#cartmenulink { >+ padding: 0px 30px 0px 0px ; >+ background: url("../../images/img_toolbar-button-cart.png") no-repeat scroll right center transparent; >+} >+ul#menu-left li { >+ float: right; >+} >+div#cartDetails { >+ margin-left: -9.5em; >+} >+div#listsmenu { >+ margin-left: -125px; >+} >+ul#menu-left li#listsmenulink a { >+ padding: 0px 20px 0px 0px; >+ background: url("../../images/img_toolbar-button-lists.png") no-repeat scroll right center transparent; >+} >+div.rating-cancel, div.star-rating { >+ float: right !important; >+} >+.actions a.addtocart { >+ background-position: 49px -572px; >+ padding-right: 15px; >+ padding-left: 0px; >+} >+ >+.actions a.addtoshelf { >+ >+ background-position: 45px -27px; >+ padding-right: 13px; >+ padding-left: 0px; >+} >+ >+#social_networks span { >+ float: right; >+ margin: 0.5em 0.5em 0px !important; >+} >+#social_networks div { >+ float: right !important; >+ margin: 0.5em 0.2em 0.5em 0px !important; >+} >+#action a.addtocart, #toolbar a.addtocart { >+ background-position: 60px -265px; >+} >+#action a.print { >+ background-position: 16px -186px; >+} >+#action a { >+ padding-right: 35px; >+ padding-left: 0px !important; >+} >+ >+ >+ >+div#menu li a { >+ background: -moz-linear-gradient(right center , rgb(238, 238, 238) 0%, rgb(238, 238, 238) 96%, rgb(230, 230, 230) 97%, rgb(204, 204, 204) 99%, rgb(193, 193, 193) 100%) repeat scroll 0% 0% transparent; >+ text-decoration: none; >+ display: block; >+ border: 1px solid rgb(151, 151, 151); >+ font-size: 111%; >+ margin: 0.5em -1px 0.5em 0px; >+ padding: 0.4em 0.3em; >+} >+ >+#action a.addtoshelf, #toolbar a.addtoshelf { >+ background-image: url("../../images/sprite.png"); >+ background-position: 68px -225px; >+ background-repeat: no-repeat; >+} >diff --git a/koha-tmpl/opac-tmpl/ccsr/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/ccsr/en/includes/doc-head-close.inc >index f99eb63..fcbab2a 100644 >--- a/koha-tmpl/opac-tmpl/ccsr/en/includes/doc-head-close.inc >+++ b/koha-tmpl/opac-tmpl/ccsr/en/includes/doc-head-close.inc >@@ -24,6 +24,9 @@ > <link rel="stylesheet" type="text/css" media="print" href="[% themelang %]/css/print.css" /> > <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"> > <link rel="stylesheet" type="text/css" media="screen and (max-width:700px)" href="[% themelang %]/css/mobile.css" /> >+[% IF ( bidi ) %] >+ <link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" /> >+[% END %] > [% IF ( OPACMobileUserCSS ) %]<style type="text/css" media="screen and (max-width:700px)">[% OPACMobileUserCSS %]</style>[% END %] > [% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %] > [% IF persona %] >diff --git a/koha-tmpl/opac-tmpl/ccsr/images/arrow-left-grey-11x6.png b/koha-tmpl/opac-tmpl/ccsr/images/arrow-left-grey-11x6.png >new file mode 100644 >index 0000000000000000000000000000000000000000..cee17cc27a4b29cf1bc9834b92a1cdde36c46a2e >GIT binary patch >literal 2911 >zcmV-l3!wCgP)<h;3K|Lk000e1NJLTq000I6000XJ1^@s6TvGg&00009a7bBm000XU >z000XU0RWnu7ytkYPiaF#P*7-ZbZ>KLZ*U+<Lqi~Na&Km7Y-Iodc-oy)XH-+^7Crag >z^g>IBfRsybQWXdwQbLP>6p<z>Aqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uh<iVD~V >z<RPMtgQJLw%KPDaqifc@_vX$1wbwr9tn;0-&j-K=43<bUQ8j=JsX`tR;Dg7+#^K~H >zK!FM*Z~zbpvt%K2{UZSY_<lS*D<Z%Lz5oGu(+dayz)hRLFdT>f59&ghTmgWD0l;*T >zI7<kC6aYYajzXpYKt=(8otP$50H6c_V9R4-;{Z@C0AMG7=F<Rxo%or10RUT+Ar%3j >zkpLhQWr#!oXgdI`&sK^>09Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p >z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-<?i >z0%4j!F2Z@488U%158(66005wo6%pWr^Zj_v4zAA5HjcIqUoGmt2LB>rV&neh&#Q1i >z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_<lS*MWK+n+1cgf >z<k(8YLR(?VSAG6x!e78w{cQPuJpA|d;J)G{fihizM+Erb!p!tcr5w+a34~(Y=8s4G >zw+sLL9n&JjNn*KJDiq^U5^;`1nvC-@r6P$!k}1U{(*I=Q-z@tBKHoI}uxdU5dyy@u >zU1J0GOD7Ombim^G008p4Z^6_k2m^p<gW=D2|L;HjN1!DDfM!XOaR2~bL?kX$%CkSm >z2mk;?pn)o|K^yeJ7%adB9Ki+L!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C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 >z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R >z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw >zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD >zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| >zawq-H%e&ckC+@AhPrP6BK<z=<L*0kfKU@CX*zeqbYQT4(^U>T#_XdT7&;F71j}Joy >zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z >zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot<a{81DF0~rvGr5Xr~8u`lav1h >z1DNytV>2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} >z0001rNkl<Zc-mZ#u@OQs3`3v81Zi0VMj)37prrf^;KD2X6dB;N0<+N4!3t?9X`DMB >zt}IzP$wHXkoB28<kPEOmEaGGa-arN(s&+}PSe+ce4IuU2PQc=VrfLHq0p}SA+-GJA >zAO|NBYOc;5RqdGoRILFYKWqTIX|1)qfGe=CwS498^TVwD8vrXLBqAfbr}_W@002ov >JPDHLkV1h0@VnP4_ > >literal 0 >HcmV?d00001 > >-- >1.7.9.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10017
:
17315
|
17491
|
17497
|
17733
|
17734
|
17735
|
17736
|
17737
|
17738
|
17768
|
17769
|
17770