|Version 7 (modified by coderanger, 8 years ago) (diff)|
System-wide CSS modifications for Trac
This is a simple plugin to allow you to have both system-wide and site-specific CSS. If you only need one or the other, you can simply use site_css.cs, in /path/to/env/templates/site_css.cs for site-specific, or /usr/share/trac/templates/site_css.cs for system-wide.
The default file is /usr/share/trac/templates/sys_css.css.
Security Warning: Any file in the same directory as where you place your CSS file will be accesible under /chrome/syscss/, so do not use a directory with sensitive files in it.
If you have any issues, create a new ticket.
Download the zipped source from here.
To enabled it:
[components] syscss.* = enabled
You probably want to enable it globally (usually in /usr/share/trac/conf/trac.ini).
Choose one of these methods.
To use a file:
[syscss] type = file path = /path/to/file.css
To use a URL:
[syscss] type = url file = URL