Bug 8884: (follow-up) rearrange placement of the top-bar div in CCSR
authorGalen Charlton <gmc@esilibrary.com>
Fri, 14 Jun 2013 22:55:02 +0000 (15:55 -0700)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 30 Jun 2013 15:32:48 +0000 (08:32 -0700)
commit33c12cf39588aa022eacaa0bca403c373a6bf8d5
treed49853a18b2241a1d242f52f4b647b479697a629
parent905292b6328bbc847b1b932fc15dfef9e9845295
Bug 8884: (follow-up) rearrange placement of the top-bar div in CCSR

This patch makes it easier to avoid having the top bar
overlap other OPAC page content (particularly custom
header content set via the opacheader system preference).

This is done by moving the top-nav div outside of the
main doc3 div and adjusting the CSS accordingly.  Yes,
this does end up having top-nav.inc be included from
opac-bottom.inc, but it would require touching rather
more templates to have it be included immediately after
the <body> tag.

This patch also removes a duplicate instance of the
cmspan span.

To test:

[1] Change to the CCSR OPAC theme.
[2] Before applying the patch, open a set of OPAC
    pages (e.g., main page, user page, search results, bib
    details) in your web browser.
[3] Apply the patch, and open the same OPAC pages in separate
    tabs.  Comparing the pre- and post- version of each page
    to verify that the placement
[4] Add an OpAC header using the opacheader system preference.
[5] Verify that the header is displayed without overlapping
    the top bar.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/ccsr/en/css/colors.css
koha-tmpl/opac-tmpl/ccsr/en/css/opac.css
koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc
koha-tmpl/opac-tmpl/ccsr/en/includes/opac-bottom.inc
koha-tmpl/opac-tmpl/ccsr/en/includes/top-bar.inc [new file with mode: 0644]