From e5eab778ce68e4187466b4fac0456d7e322d6ff3 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 1 Aug 2013 10:09:51 -0400 Subject: [PATCH] Bug 10619 - fix errors in sco.css for the CCSR OPAC templates sco.css is not missing from CCSR, but some image paths in the CSS are incorrect, resulting in some missing images. This patch corrects those broken paths. This patch also hides the Cart/Lists/login region of the template which should not be visible in self checkout. To test, enable self-checkout and switch to the CCSR theme. Load a patron for self-checkout and confirm that images associated with buttons appear correctly: By the help link in the upper-right, on the 'Finish' button, etc. Try checking out an item which is already checked out to that patron to see more examples. Signed-off-by: Srdjan Signed-off-by: Katrin Fischer CSS changes only, works nicely. Signed-off-by: Galen Charlton (cherry picked from commit 794f0f28c931ae885232c23d02f94bfed66158f5) Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 668e9cfcf4b678658a51652f59b527ce5953f2c6) Signed-off-by: Bernardo Gonzalez Kriegel (cherry picked from commit 668e9cfcf4b678658a51652f59b527ce5953f2c6) --- koha-tmpl/opac-tmpl/ccsr/en/css/sco.css | 39 ++++++++++++++++++++----- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/opac-tmpl/ccsr/en/css/sco.css b/koha-tmpl/opac-tmpl/ccsr/en/css/sco.css index 5a79a4714f..e3c8073918 100644 --- a/koha-tmpl/opac-tmpl/ccsr/en/css/sco.css +++ b/koha-tmpl/opac-tmpl/ccsr/en/css/sco.css @@ -140,27 +140,27 @@ div.message { .dialog input.back { - background : #FFF url(../../famfamfam/silk/arrow_left.png) no-repeat 4px center; + background : #FFF url(/opac-tmpl/lib/famfamfam/silk/arrow_left.png) no-repeat 4px center; padding : .4em .4em .4em 25px; } .dialog input.return { - background : #FFF url(../../famfamfam/silk/book_previous.png) no-repeat 4px center; + background : #FFF url(/opac-tmpl/lib/famfamfam/silk/book_previous.png) no-repeat 4px center; padding : .4em .4em .4em 25px; } .dialog input.renew { - background : #FFF url(../../famfamfam/silk/arrow_refresh.png) no-repeat 4px center; + background : #FFF url(/opac-tmpl/lib/famfamfam/silk/arrow_refresh.png) no-repeat 4px center; padding : .4em .4em .4em 25px; } .dialog input.cancel { - background : #FFF url(../../famfamfam/silk/cancel.png) no-repeat 4px center; + background : #FFF url(/opac-tmpl/lib/famfamfam/silk/cancel.png) no-repeat 4px center; padding : .4em .4em .4em 25px; } input.finish { - background : #dbe7ff url(../../famfamfam/silk/stop.png) no-repeat 4px center; + background : #dbe7ff url(/opac-tmpl/lib/famfamfam/silk/stop.png) no-repeat 4px center; border : 1px outset #666; padding : .2em .2em .2em 25px; } @@ -234,7 +234,7 @@ input.focus { border : 2px inset #336699; } #checkouthelp { - background : #FFF url("../../famfamfam/silk/help.png") no-repeat 4px center; + background : #FFF url("/opac-tmpl/lib/famfamfam/silk/help.png") no-repeat 4px center; padding : 3px 3px 3px 26px; position : absolute; top : 0; @@ -249,7 +249,7 @@ div.button a:link, div.button a:visited, div.button a:hover, div.button a:active { - background : #FFF url(../../famfamfam/silk/book_previous.png) no-repeat 4px center; + background : #FFF url(/opac-tmpl/lib/famfamfam/silk/book_previous.png) no-repeat 4px center; border : 1px outset #666; color : #000; padding : .4em .4em .4em 25px; @@ -339,3 +339,28 @@ span.lang{ div.ft { clear : both; } + +.sorting_asc { + padding-right: 19px; + background: url("../../images/asc.gif") no-repeat scroll right center #EEEEEE; +} +.sorting_desc { + padding-right: 19px; + background: url("../../images/desc.gif") no-repeat scroll right center #EEEEEE; +} +.sorting { + padding-right: 19px; + background: url("../../images/ascdesc.gif") no-repeat scroll right center #EEEEEE; +} +.nosort, +.nosort.sorting_asc, +.nosort.sorting_desc, +.nosort.sorting { + padding-right: 19px; + background: #EEEEEE none; +} + +#top-bar, +#main_footer { + display: none; +} -- 2.39.5