Hoi, Thanks for the information, and now I understand why it didn't work! By the way how do I send such a patch?
Regards, Gerard -----Oorspronkelijk bericht----- Van: Thorsten Scherler [mailto:[EMAIL PROTECTED] Verzonden: Thursday, September 07, 2006 12:58 PM Aan: user@forrest.apache.org Onderwerp: Re: How to change color of NOTE-tag? El jue, 07-09-2006 a las 12:51 +0200, Thorsten Scherler escribió: > El jue, 07-09-2006 a las 12:18 +0200, [EMAIL PROTECTED] escribió: > > Hoi Forrest users, > > > > How do I modify the colors of for example the NOTE-tag? I've tried to > > use <color name="note" value="red"/> in my skinconf.xml file, but this > > seems to change only the color of the border! > > Of the border, hmm? That is weird, isn't it? > > Regarding > http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/pelt/css/profile.css.xslt?view=markup > ... > <xsl:template match="[EMAIL PROTECTED]'note']"> > .note { border-color: <xsl:value-of select="@value"/>;} > </xsl:template> > > you are absolutely right and it seems the wanted behavior. > > However you may want to send a patch where you change this behavior like: > <color name="note" border="red" value="black" background="yellow"/> (in > skinconf) > and in above file change: > <xsl:template match="[EMAIL PROTECTED]'note']"> > .note { > border-color: <xsl:value-of select="@border"/>; > color: <xsl:value-of select="@value"/>; > background-color: <xsl:value-of select="@background"/>; > } > </xsl:template> > > BTW best to use HEX code for colors. Some code (like the round-corner images > are only working for hex). > > HTH > > salu2 > > > > > I also tried to add note { color: red } to the section extra-css in > > the skinconf.xml, but this doens't have the desired effect! > > Yeah, because it should read: .note ^ the "." since it is a class. salu2 > > Anybody any suggestions? (I use apache-forrest-0.7 in combination with > > Java 1.5!) > > > > Regards, > > > > Verhaag, Gerard > > -- Thorsten Scherler COO Spain Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED]