styling the subnavigation tree
"Andrew Burkhalter" <andrewb-PRw/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.design,gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <064A445F2590E84B9D53AD2B1A1BAA7D0EC8DC@bunnyluv.onenorthwest.office> |
[*I understand that this type of message is supposed to eventually migrate over to plone-designs, but am sending to both right now as the plone-users is quite a bit more active*] I'm looking for advice about an elegant/flexible way to style the sub-navigation tree. The tree is rendered from the file "/portal_skins/plone_portlets/portlet_navigation". Within the script, several visual elements are locally controlled including: * folder icons (should be background-image in stylesheet) * link style is totally local (i.e. <a href="" style="padding- left:0.5em;display:block">) * spacing (i.e. should be padding) This strategy seems to fly in the face of all the good work Plone has done controlling design elements using CSS, which might explain the following comment a top the file: <!-- This code is *really* messed up, and will be replaced in the next version of Plone. Do not try to make sense of this. --> 1) So, my first question would be ... what's the best guess time frame for when this portlet is updated to be more Plone 2.0/CSS friendly? Final release of v2.0? 2) In the meantime, would others recommend customizing the portlet script by stripping out the img, styling, and spacing and then replacing it with a nice CSS defined style/div? 3) And finally, will this approach upgrade gracefully? Thanks for the insight! Andrew ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click