From 018720aa5e0c82ad52821789f8878905f1d9affb Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 22 Oct 2020 12:27:17 +0000 Subject: [PATCH] Bug 12533: (follow-up) Add CSS to preview display of authority MARC This patch adds the same CSS used by authorities/detail.tt to the modal preview of the authority record shown in the authorities search result popup. Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/css/addbiblio.css | 43 +++++++++++++++++++ .../prog/en/modules/authorities/detail.tt | 38 ---------------- .../authorities/searchresultlist-auth.tt | 1 + 3 files changed, 44 insertions(+), 38 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css index 1344360d21..febbd2096d 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css +++ b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css @@ -383,3 +383,46 @@ tbody tr.active td { .ui-autocomplete { z-index: 2000; } + +#authoritiestabs .marc_field { + display: inline-block; + padding: .3em; + border-radius: 3px; +} + +#authoritiestabs .marc_subfield { + font-weight: bold; + color: #666; +} + +#authoritiestabs .marc_subfield_desc { + color: #00698a; + font-style: italic; +} + +#authoritiestabs .auth_subfield { + display: flex; +} + +#authoritiestabs .tag { + padding: .4em 0; +} + +#authoritiestabs .tag_desc { + color: #026; +} + +#authoritiestabs .tag_num { + color: #080; +} + +#authoritiestabs .tag_title { + font-size: 100%; + font-weight: bold; + padding: 0; +} + +#authoritiestabs .ui-tabs-nav.ui-widget-header { + border-bottom: 1px solid #b9d8d9; + border-radius: 0; +} diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt index 2670138b72..62f05615c6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt @@ -12,44 +12,6 @@ [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/addbiblio.css") | $raw %] -[% FILTER collapse %] - -[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt index ec1092bcfe..aff29d5030 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt @@ -5,6 +5,7 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Cataloging authority plugin [% INCLUDE 'doc-head-close.inc' %] +[% Asset.css("css/addbiblio.css") | $raw %] -- 2.39.5