From 518debed12aaabac12662291051227eb37f1a9c3 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Mon, 14 Jul 2014 11:17:55 -0400 Subject: [PATCH] Bug 11881 - Follow-up: Add CSS entries to opac.css (prog) This adds the two classes in the spans into opac.css, and it can be overridden in a custom style sheet as needed. Only for the prog theme. To test, apply both prog patches and simply do a search on the OPAC and check the format of availability informations for each search result. By default it should be unchanged. Override the defaults by adding the following into a custom CSS file: .CommasWithLinebreaks { display: block; # block - line breaks, inline - all one line } .LabelCallNumber { display: inline; # inline - display, none - don't display } The call number will be labelled, and items will have line breaks added in the listing. --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index af9d4fb..76a2026 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -3078,3 +3078,11 @@ padding: 0.1em 0; width: 35%; font-size: 111%; } + +.CommasWithLinebreaks { + display: inline; +} + +.LabelCallNumber { + display: none; +} -- 1.7.9.5