forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Addi <a...@rocktreesky.com>
Subject Re: Css question
Date Fri, 24 Jun 2005 00:57:48 GMT
Mike Jackson wrote:

>I built the sample site using forrest and everything is ok.  My question is
>about the tab menu at the top of the page.  I can't seem to find the css for
>"base-selected" or "base-not-selected" anywhere and would like to know where
>it's coming from.  I'd really like to lift this into a tiles project I'm
>working on.
>
>  
>
It is located in {projectdir}/build/site/skin/profile.css.  Tab selected 
is #top .header .current and unselected is #tabs.  It's not terribly 
clear when looking at that file but if you go look at profile.css.xslt 
you can see that's how it is mapped:

<xsl:template match="color[@name='tab-selected']">
#top .header .current { background-color: <xsl:value-of select="@value"/>;}
#top .header .current a:link {  color: <xsl:value-of select="@link"/>;  }
#top .header .current a:visited { color: <xsl:value-of select="@vlink"/>; }
#top .header .current a:hover { color: <xsl:value-of select="@hlink"/>; }
</xsl:template>

<xsl:template match="color[@name='tab-unselected']">
#tabs li      { background-color: <xsl:value-of select="@value"/> ;}
#tabs li a:link {  color: <xsl:value-of select="@link"/>;  }
#tabs li a:visited { color: <xsl:value-of select="@vlink"/>; }
#tabs li a:hover { color: <xsl:value-of select="@hlink"/>; }
</xsl:template>

<xsl:template match="color[@name='subtab-selected']">
#level2tabs       { background-color: <xsl:value-of select="@value"/> ;}
#level2tabs a:link {  color: <xsl:value-of select="@link"/>;  }
#level2tabs a:visited { color: <xsl:value-of select="@vlink"/>; }
#level2tabs a:hover { color: <xsl:value-of select="@hlink"/>; }
</xsl:template>

HTH
Addi


Mime
View raw message