[Koha-bugs] [Bug 9169] Wrap relator code in <span> to allow for CSS customization

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 29 17:58:21 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9169

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 13778
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13778&action=edit
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;
}

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list