Browse Source

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 <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Owen Leonard 11 months ago
committed by Jonathan Druart
parent
commit
018720aa5e
  1. 43
      koha-tmpl/intranet-tmpl/prog/css/addbiblio.css
  2. 38
      koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt
  3. 1
      koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt

43
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;
}

38
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt

@ -12,44 +12,6 @@
</title>
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/addbiblio.css") | $raw %]
[% FILTER collapse %]
<style>
.marc_field {
display: inline-block;
padding: .3em;
border-radius: 3px;
}
.marc_subfield {
font-weight: bold;
color: #666;
}
.marc_subfield_desc {
color: #00698a;
font-style: italic;
}
.auth_subfield {
display: flex;
}
.tag {
padding: .4em 0;
}
.tag_desc {
color: #026;
}
.tag_num {
color: #080;
}
.tag_title {
font-size: 100%;
font-weight: bold;
padding: 0;
}
.ui-tabs-nav.ui-widget-header {
border-bottom: 1px solid #b9d8d9;
border-radius: 0;
}
</style>
[% END %]
</head>
<body id="auth_detail" class="auth">

1
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt

@ -5,6 +5,7 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Cataloging authority plugin</title>
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/addbiblio.css") | $raw %]
</head>
<body id="auth_searchresultlist_auth" class="auth">

Loading…
Cancel
Save