]> git.evergreen-ils.org Git - working/Evergreen.git/blob - docs/RELEASE_NOTES_NEXT/tpac-css-colors.txt
Add simple README to RELEASE_NOTE_NEXT
[working/Evergreen.git] / docs / RELEASE_NOTES_NEXT / tpac-css-colors.txt
1 TPAC: Simplified CSS Color Customization
2 ========================================
3 CSS colors are now defined as a pair of Template::Toolkit files,
4 `Open-ILS/src/templates/opac/css/styles.css.tt2` and
5 `Open-ILS/src/templates/opac/parts/css/colors.tt2`. Evergreen administrators
6 can customize the color scheme for a given skin by copying `colors.tt2` into a
7 template override directory and adjusting the colors as desired.
8
9 Change required to eg_vhost.conf
10 --------------------------------
11 To enable Apache to pass the CSS file to the Template::Toolkit handler, you
12 must remove `.css` from the list of file extensions that should not be passed
13 to a handler in `eg_vhost.conf` as follows:
14
15 .From
16 ------------------------------------------------------------------------------
17 <LocationMatch ^/eg/.*(\.js|\.css|\.html|\.xhtml|\.xml|\.jpg|\.png|\.gif)$>
18     SetHandler None
19 </LocationMatch>
20 ------------------------------------------------------------------------------
21
22 .To
23 ------------------------------------------------------------------------------
24 <LocationMatch ^/eg/.*(\.js|\.html|\.xhtml|\.xml|\.jpg|\.png|\.gif)$>
25     SetHandler None
26 </LocationMatch>
27 ------------------------------------------------------------------------------
28
29 After making this change, restart Apache to make the change take effect.