Bug 10619 - fix errors in sco.css for the CCSR OPAC templates
authorOwen Leonard <oleonard@myacpl.org>
Thu, 1 Aug 2013 14:09:51 +0000 (10:09 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 8 Sep 2013 06:33:53 +0000 (06:33 +0000)
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@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
CSS changes only, works nicely.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/ccsr/en/css/sco.css

index 17fc9aa..58eb45e 100644 (file)
@@ -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;
 }
@@ -221,7 +221,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;
@@ -236,7 +236,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;
@@ -345,4 +345,9 @@ div.ft {
 .nosort.sorting {
     padding-right: 19px;
     background: #EEEEEE none;
-}
\ No newline at end of file
+}
+
+#top-bar,
+#main_footer {
+    display: none;
+}