|Version 1 (modified by coderanger, 10 years ago) (diff)|
System-wide CSS modifications for Trac
This is a simple plugin to allow you to maintain a single CSS file for all your Trac instances.
You can configure the path to this file in two ways:
- Add a line to the [trac] section, syscss = /path/to/css/file.css
- Create a file "syscss_file.py", and place it anywhere it can be imported by python. This file should contain a single line:
file = "/path/to/css/file.css"
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 [download:syscssplugin here].
Just add the needed CSS to a file, configure it as noted above, and add syscss.* = enabled to each Trac instance.