|Version 10 (modified by rjollos, 18 months 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/sys_css.css.
Security Warning: Any other file in the directory that 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