From: Mike N. <mh...@us...> - 2005-01-05 16:47:28
|
On Wed, 2005-01-05 at 04:34, Shaun Murray wrote: > It would also have to have a template module css import as well. So 4 > style sheets. I do hope theme developers never have to modify anything > other than the /themes/zen/style.css in this example and that the > module css is largely free of fonts, colours, alignment and spacing > unless it does something out of the ordinary for a good reason. Shaun, Any class can be modified or overridden by the theme developer in /themes/zen/style.css. The css cascade loads that last and it therefore gets preferred status in the cascade. > As long as you can change a class in /themes/zen/style.css and the look > of the menu, or lists changes across all menus and lists then the > solution works. If it doesn't change some module's look, then we've > failed. Agreed. Note: I still believe in two external stylesheets with a single installed module @import. The static /conf/mod.css would be modified by boost on module install/uninstall. Core module css would load first. See my descendant selectors PoC. In addition alternate stylesheets are possible. http://phpwebsite-comm.sourceforge.net/temp/ <-- served as text/xhtml http://phpwebsite-comm.sourceforge.net/temp/xml.php <-- served as application/xhtml+xml > > Proposed example: > > <link rel="stylesheet" href="./core/style.css" type="text/css" /> > > <style type="text/css"> @import > > url("./mod/pagemaster/templates/style.css"); </style> > > <style type="text/css"> @import > > url("./themes/zen/templates/controlpanel/style.css"); </style> > > <link rel="stylesheet" href="./themes/zen/style.css" title="zen" > > type="text/css" /> -- Mike Noyes <mhnoyes at users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs |