From 04c56e00c8896f4857b0a0a1cb80058909b1536c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 26 Feb 2013 10:51:20 +0100 Subject: [PATCH] Bug 9711: Add css style for OPACPopupAuthorsSearch Bug 5888 introduces a new syspref OPACPopupAuthorsSearch. If enabled, a popup is displayed on the OPAC detail page. This development does not add the css for the ccsr theme. Test plan: Enable the OPACPopupAuthorsSearch. Check that the appearance is the same of prog and ccsr themes. Signed-off-by: Nicole C. Engard Tested on several authorities (authors, subjects, etc) works as expected Signed-off-by: Katrin Fischer Test plan: 1) Switch to CCSR theme 2) Turn off XSLT views (leaving prefs empty) 3) Turn on OPACPopupAuthorsSearch > Confirm layout is ok/broken in OPAC 4) Switch back to prog theme > Confirm layout is ok/broken in OPAC 5) Switch off OPACPopupAuthorsSearch > Confirm layout is ok/broken in OPAC 6) Switch back to CCSR > Confirm layout is ok/broken in OPAC Done. Note: Feature only works with normal view (no XSLT) Signed-off-by: Jared Camins-Esakov --- koha-tmpl/opac-tmpl/ccsr/en/css/opac.css | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/koha-tmpl/opac-tmpl/ccsr/en/css/opac.css b/koha-tmpl/opac-tmpl/ccsr/en/css/opac.css index 90a838f7b8..1560acbe4e 100644 --- a/koha-tmpl/opac-tmpl/ccsr/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/ccsr/en/css/opac.css @@ -2731,3 +2731,32 @@ a.reviewlink,a.reviewlink:visited { .idbresult img { padding-right: 6px; } + +.authorSearch { + position: absolute; + display: none; + z-index: 2; + background-color: white; + border: 1px solid black; + padding: 4px; +} +.authorSearch li { + list-style-type: none; +} +.authorSearch ul { + padding-left: 0px; +} +.subjectSearch { + position: absolute; + display: none; + z-index: 2; + background-color: white; + border: 1px solid black; + padding: 4px; +} +.subjectSearch li { + list-style-type: none; +} +.subjectSearch ul { + padding-left: 0px; +} -- 2.39.5