]> 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)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 26 Dec 2012 19:53:39 +0000 (08:53 +1300)
commitc3825279d90147f801b435824ddab587f6378162
tree9f477b49123c0b6e90b5fd2adc5175395cfbff78
parente8716f764786232491732361e15fc4b8871569d8
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>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl