]> git.koha-community.org Git - koha.git/commit
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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 15 Jul 2013 17:52:32 +0000 (14:52 -0300)
commitde8d3f7d0a74a037cf95652a6f69fb6afde24ac9
tree5668cf8dbb9f4e6c0b4e8cd912bb57d03d3e491f
parentb31e993b74a81d2b8c063410218a40374f2d8cdd
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>
(cherry picked from commit 33c12cf39588aa022eacaa0bca403c373a6bf8d5)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.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]