System-wide CSS modifications for Trac

Description

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.

Bugs/Feature Requests

Existing bugs and feature requests for SysCssPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out SysCssPlugin from here using Subversion, or browse the source with Trac.

Example

To enabled it:

[components]
syscss.* = enabled

You probably want to enable it globally (usually in /usr/share/trac/conf/trac.ini).

Configuration

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

Recent Changes

[3416] by coderanger on 03/25/08 07:39:08

Change my email to avoid Yahoo, which decided to brake my scraper script recently.

[1439] by coderanger on 10/23/06 00:40:39

SysCssPlugin:

Typo fix

[1180] by coderanger on 08/23/06 17:32:48

SysCssPlugin:

Sanity fix.

[1118] by coderanger on 08/14/06 09:50:10

SysCssPlugin:

Much nicer 0.10 version.

Author/Contributors

Author: coderanger
Contributors: