2007/2/17, Brad Fuller <brad(a)sonaural.com>om>:
Looking through the various Pier documentation, I
see that code has
changed and thus there are several different explanations of how to
change stylesheets. I want to use a different css stylesheets but I
can't find out where to change it/them. Isn't there one place to point
Pier to one stylesheet?
BTW: for some reason, I have no style sheet at all for Pier. I don't
know what I did, but I didn't edit any code... I must have loaded a new
version of some package. Anyway, unless it stomped on something else, if
I can learn where to change the stylesheet pointer, It'd give me a start.
Thanks to Christoph Wysseier Pier now supports easy custom styles with
FileLibraries. All you need to do is provide your own FileLibrary that
implements #styleCss which returns a string that is the main CSS file.
You can put all your CSS there, or in other selectors (as PierLibrary
does) or in other locations by importing the CSS files you need.
For example if #styleCss makes
@import url(basic.css);
this means #basicCss is imported. Basic FileLibrary stuff. FileLibrary
one of the classes that actually have a comment that describes what it
does.
In the configuration of your pier application under 'Pier' you can
select it in 'File Library'.
Thanks Philippe. Now that I'm back running to a basic, and slightly
older implementation, I'll check it out.