[Gforge-devel] css-ification of gforge

Reinhard Spisser reinhard_spisser at yahoo.it
Fri May 12 17:44:04 EDT 2006


I'm changing this again; now I have split up the .css
in two different files:

a) themes/css/gforge-compat.css contains all style
definitions removed from the code (and only these
style information)

b) themes/css/gforge.css will contain some sort of
basic stylesheet for new themes


To adapt existing themes:
- add <link rel="stylesheet" type="text/css"
href="/themes/css/gforge.css" /> in your header()
- if your header() is empty and your Theme.class
  is a subclass of Layout.class, nothing needs to be
done

- an additional stylesheet can be placed in
themes/<yourthemename>/css/theme.css; Layout.class
will detect it and add the <link> tag to you html
pages. If you wish to include other stylesheets, use
the @import url() instruction in the additional
stylesheet.


 I'll commit these changes; things should work now
better than before; I've tried thhis with the gforge
and osx theme .

Comments/suggestions are welcome.



Reinhard

Reinhard Spisser
reinhard at spisser.it


	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it


More information about the Gforge-devel mailing list