User Tools

Site Tools


library:css

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
library:css [2020/03/03 13:58] roganhlibrary:css [2024/08/28 22:59] (current) – button colors sleary
Line 1: Line 1:
-===== Evergreen 3.5 ===== +===== Evergreen 3.5=====
- +
-As of Evergreen 3.5 it supports an org unit setting for adding CSS directly to the OPAC. This page will act as a repository for community members to share CSS code.+
  
 +As of Evergreen 3.5 it supports an org unit setting for adding CSS directly to the OPAC. This page will act as a repository for community members to share CSS code for customizing the OPAC.
  
 ==== Background Elements ==== ==== Background Elements ====
Line 56: Line 55:
 </code> </code>
  
 +==== Button changes ====
 +
 +Button classes beginning with ''.btn-'' are [[https://getbootstrap.com/docs/4.1/components/buttons/|Bootstrap's built-in button colors]]. 
 +
 +{{ :library:bootstrap4-buttons.png?direct |}}
 +
 +To override them in your custom styles, specify their normal, hover/focus, and disabled states:
 +
 +<code>
 +.btn-success {
 +    background: #007a54;
 +    color: white;
 +}
 +.btn-success:focus,
 +.btn-success:hover {
 +    background: #00593d;
 +    color: white;
 +}
 +.btn-success:disabled {
 +    background: #52635E;
 +    color: white;
 +}
 +</code>
library/css.1583261907.txt.gz · Last modified: 2022/02/10 13:34 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.