wiki:SysCssPlugin

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.

Installation

To enable this plugin, add the following to your trac.ini file:

[components]
syscss.* = enabled

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

Configuration

Choose one of these two 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 2008-03-25 07:39:08
Change my email to avoid Yahoo, which decided to brake my scraper script recently.
1439 by coderanger on 2006-10-23 00:40:39
SysCssPlugin:

Typo fix

1180 by coderanger on 2006-08-23 17:32:48
SysCssPlugin:

Sanity fix.

(more)

Author/Contributors

Author: coderanger
Maintainer: none (needsadoption)
Contributors:

Last modified 3 months ago Last modified on Jan 27, 2016, 7:10:42 AM