From: Mike N. <mh...@us...> - 2005-01-05 01:44:34
|
On Tue, 2005-01-04 at 13:37, Matthew McNaney wrote: > > Matt, > > The one issue I have with the current fallout code is the core module > > css is dynamic. It isn't always available for other modules to use, or > > did I misunderstand something? > > I think core css should be static and persistent; so module and theme > > developers can utilize it, and build on it when necessary. > > I'm not sure if I am answering this correctly so get back to me here if > I am wrong. > > What exactly should be persistent? Tables? Fonts? I'm not grilling you, > I just need my memory refreshed on this discussion as I know we have had > it before. It would benefit those who read this list to hear it anyway > so please expand upon your question. Matt, Core module css should always load in a persistent stylesheet. Currently module css is loaded dynamically with @import and it's availability isn't guaranteed. Current example: <style type="text/css"> @import url("./mod/controlpanel/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" type="text/css" /> Proposed example: <link rel="stylesheet" href="./core/style.css" type="text/css" /> <style type="text/css"> @import url("./mod/pagemaster/templates/style.css"); </style> <link rel="stylesheet" href="./themes/zen/style.css" title="zen" type="text/css" /> css class reuse: pagemaster mod wants to use the ????? class in controlpanel with a slight modification. In the first case the modified css will only work when controlpanel is active. In the proposal the controlpanel css is always available for pagemaster to modify. Does that make sense? Note: this is part of the reason I called for a single @import of loaded module css (controlled by boost) in the preferred stylesheet in my descendant selectors prof-of-concept. http://phpwebsite-comm.sourceforge.net/temp/ -- Mike Noyes <mhnoyes at users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs |