]> git.koha-community.org Git - koha.git/commit
Bug 9169 - Wrap relator code in <span> to allow for CSS customization
authorOwen Leonard <oleonard@myacpl.org>
Thu, 29 Nov 2012 16:32:52 +0000 (11:32 -0500)
committerLiz Rea <liz@catalyst.net.nz>
Mon, 28 Jan 2013 20:51:14 +0000 (09:51 +1300)
commitc3cd7357a62871279fd5222de44590ab84b4cb16
tree8ca8fc7a6da099a70baed06c36d0aff88568e825
parent14e709511d6b14880a028ee505abd0cd38961aa9
Bug 9169 - Wrap relator code in <span> to allow for CSS customization

This patch adds <span class="relatorcode"> around the display of
relator codes in the OPAC and the staff client, and adds a space
before the bracket (" [relatorcode]") for readability.

To test, add custom CSS to OPACUserCSS and IntranetUserCSS and
view a record which includes relator code data. Suggested:

.relatorcode {
    background-color: rgb(230, 240, 242);
    border-radius: 3px 3px 3px 3px;
    color: rgb(51, 51, 51);
    display: inline-block;
    font-size: 75%;
    font-weight: normal;
    margin-left: 0.4em;
    padding: 0.1em 0.4em;
}

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Liz Rea <liz@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl