library:css
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
library:css [2020/03/03 13:41] – roganh | library: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 14: | Line 13: | ||
} | } | ||
</ | </ | ||
- | Turns the color of the background above the header | + | Turns the color of the background above the link bar a dark yellow. |
+ | === Links Bar Background === | ||
+ | < | ||
+ | # | ||
+ | background-color: | ||
+ | } | ||
+ | </ | ||
+ | Turns the color of the background of the links bar a dark yellow. | ||
+ | |||
+ | === Footer Background === | ||
+ | |||
+ | < | ||
+ | body { | ||
+ | background-color: | ||
+ | } | ||
+ | # | ||
+ | background-color: | ||
+ | background-image: | ||
+ | } | ||
+ | </ | ||
+ | Turns the background of the footer and the page that continues past it a dark yellow. | ||
+ | |||
+ | ==== Font and Text Changes ==== | ||
+ | |||
+ | === Bottom Links on Front Page === | ||
+ | < | ||
+ | #footer a { | ||
+ | color: #ced42c; | ||
+ | text-shadow: | ||
+ | } | ||
+ | </ | ||
+ | Changes links on the bottom of the front page to a dark yellow. | ||
+ | |||
+ | === Footer Text on Front Page === | ||
+ | < | ||
+ | # | ||
+ | color: #ced42c; | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ==== Button changes ==== | ||
+ | |||
+ | Button classes beginning with '' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | To override them in your custom styles, specify their normal, hover/ | ||
+ | |||
+ | < | ||
+ | .btn-success { | ||
+ | background: #007a54; | ||
+ | color: white; | ||
+ | } | ||
+ | .btn-success: | ||
+ | .btn-success: | ||
+ | background: #00593d; | ||
+ | color: white; | ||
+ | } | ||
+ | .btn-success: | ||
+ | background: #52635E; | ||
+ | color: white; | ||
+ | } | ||
+ | </ |
library/css.1583260863.txt.gz · Last modified: 2022/02/10 13:34 (external edit)