[Dev] Image and CSS paths

Andreas Hocevar ahocevar at opengeo.org
Wed Mar 11 21:50:05 CET 2009


Hi,

while reviewing sbenthall's popup work, I realized that we have not yet 
agreed upon a structure for our css and image paths, and how we want to 
do theming.

In OpenLayers, we select a theme by using the theme's css file. In 
ExtJS, we usually use a compiled and compressed css file that contains 
all themes, and select the theme by changing the body class.

If someone wants to put efforts into creating something like jsbuild for 
css, I'd be in favor of the Ext way. Why? It will be easier for widget 
development to work with multiple small css files, which can be compiled 
for a build later. For development, we can have a *-debug.css file with 
@import for all css files.

What do others think?

Regards,
Andreas.

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Dev mailing list