[Yanel-dev] Toolbar CSS

Guillaume Déflache guillaume.deflache at wyona.com
Tue Feb 17 18:01:23 CET 2009


Michael Wechner schrieb:
> I made some minor improvements re the toolbar CSS
> 
> src/webapp/htdocs/toolbar.css
> 
> but I think we should refactor it quite a bit, for example

Sure, see also my reply on one commit.
Also it seems like there are still some CSS rules in the HTML header.
And the browser detection code in 
http://svn.wyona.com/repos/public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelHTMLUI.java 
for CSS generation looks whoefully outdated, e.g. it seems to take care 
of IE < 6, which probably is not worth the effort nowadays!


> yaneltoolbar_menutitle is actually occuring several times, but 
> nevertheless is set with id instead class
> 
> but the problem with this example is backwards compatibility and that 
> the toolbars use hardcoded styles.

Well did it worked anyway with these multiple ids?

And WDYM by "hardcoded styles"?


> Any suggestions how to improve this are very welcome


Maybe create another set of CSS: toolbar2*.css (and please do use svn cp 
to do it if you do!)


More information about the Yanel-development mailing list