[Koha-patches] [PATCH] Bug 10619 - sco.css missing for CCSR OPAC templates

Srdjan srdjan at catalyst.net.nz
Fri Aug 2 05:25:24 CEST 2013


From: Owen Leonard <oleonard at myacpl.org>

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 <srdjan at catalyst.net.nz>
---
 koha-tmpl/opac-tmpl/ccsr/en/css/sco.css | 18 +++++++++++-------
 1 file changed, 11 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 5a79a47..d065fc6 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,7 @@ span.lang{
 div.ft {
  clear : both;
 }
+#top-bar,
+#main_footer {
+    display: none;
+}
\ No newline at end of file
-- 
1.8.1.2


More information about the Koha-patches mailing list