Remy Blank skrev 26. okt. 2011 08:10: > osimons wrote: (...) >> http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance > > I have always found that this was a lot of effort just to add a custom > stylesheet. (...) > Moreover, I don't think we can expect admins to understand Genshi > templates.
I don't think it's unreasonable to expect admins to understand Genshi templates (enough to cut and paste) -- but it should be unessecary for admins to *have* to deal with templates just to change a few colours. It kind of defies the purpose of using css for (part of) the styling in the first place if you have to rewrite document structure to set a few styles. > Couldn't we add the custom stylesheet to the layout.html file > automatically, based on the presence of the style.css file in htdocs? > We could even add an option to configure the path to the file. Then > again, the mapping from file path to URL is non-trivial if the file is > outside of htdocs, which is often the case in large(er) installations, > so maybe that's a bad idea. Well, by that argument we should remove [header_logo]. I'd rather see [custom_css] added, allowing to inculde a single css-file in all pages. Eg: [custom_css] src = /site/style/local.css After all, when you change the logo to something with a different colour-selection than red/black/white you absolutely *have* to change the color theme :-) I couldn't find a ticket on this -- should we make one? Best regards, -- .---. Eirik Schwenke <eirik.schwe...@nsd.uib.no> ( NSD ) Harald HÃ¥rfagresgate 29 Rom 150 '---' N-5007 Bergen tlf: (555) 889 13 GPG-key at pgp.mit.edu Id 0x8AA3392C
signature.asc
Description: OpenPGP digital signature