Author: nicolaken
Date: Sun Jun 6 14:34:45 2004
New Revision: 20863
Modified:
forrest/trunk/src/core/context/skins/krysalis-site/css/forrest.css.xslt
Log:
Formatting
Modified: forrest/trunk/src/core/context/skins/krysalis-site/css/forrest.css.xslt
==============================================================================
--- forrest/trunk/src/core/context/skins/krysalis-site/css/forrest.css.xslt (original)
+++ forrest/trunk/src/core/context/skins/krysalis-site/css/forrest.css.xslt Sun Jun 6 14:34:45
2004
@@ -23,8 +23,11 @@
<xsl:output method = "text" omit-xml-declaration="yes" />
<!-- ==================== main block colors ============================ -->
+
<xsl:template match="color[@name='header']">
-.header { background-color: <xsl:value-of select="@value"/>;} </xsl:template>
+.header { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
<xsl:template match="color[@name='tab-selected']">
.tab.selected { background-color: <xsl:value-of select="@value"/>;}
.tab.selected a:link { color: <xsl:value-of select="@link"/>; }
@@ -32,17 +35,20 @@
.tab.selected a:hover { color: <xsl:value-of select="@hlink"/>; }
.border { background-color: <xsl:value-of select="@value"/>;}
</xsl:template>
+
<xsl:template match="color[@name='tab-unselected']">
.tab.unselected { background-color: <xsl:value-of select="@value"/>;}
.tab.unselected a:link { color: <xsl:value-of select="@link"/>; }
.tab.unselected a:visited { color: <xsl:value-of select="@vlink"/>; }
.tab.unselected a:hover { color: <xsl:value-of select="@hlink"/>; }
</xsl:template>
+
<xsl:template match="color[@name='subtab-selected']">
.level2tabstrip a:link { color: <xsl:value-of select="@link"/>; }
.level2tabstrip a:visited { color: <xsl:value-of select="@vlink"/>; }
.level2tabstrip a:hover { color: <xsl:value-of select="@hlink"/>; }
</xsl:template>
+
<xsl:template match="color[@name='subtab-unselected']">
.level2tabstrip { background-color: <xsl:value-of select="@value"/>;}
.datenote { background-color: <xsl:value-of select="@value"/>;}
@@ -50,10 +56,14 @@
.level2tabstrip.unselected a:visited { color: <xsl:value-of select="@vlink"/>; }
.level2tabstrip.unselected a:hover { color: <xsl:value-of select="@hlink"/>; }
</xsl:template>
+
<xsl:template match="color[@name='heading']">
-.heading { background-color: <xsl:value-of select="@value"/>;} </xsl:template>
+.heading { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
<xsl:template match="color[@name='subheading']">
-.subheading { background-color: <xsl:value-of select="@value"/>;} </xsl:template>
+.subheading { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
<xsl:template match="color[@name='navstrip']">
.subborder { color: <xsl:value-of select="@font"/>;
@@ -86,6 +96,7 @@
color: <xsl:value-of select="@hlink"/>;}
.menu .menupagetitle { color: <xsl:value-of select="@hlink"/>;}
</xsl:template>
+
<xsl:template match="color[@name='dialog']">
.dialog { background-color: <xsl:value-of select="@value"/>;}
</xsl:template>
@@ -103,25 +114,40 @@
.menupage a:hover { background-color: <xsl:value-of select="@value"/>;
color:<xsl:value-of select="@hlink"/>}
</xsl:template>
+
<xsl:template match="color[@name='footer']">
-.footer { background-color: <xsl:value-of select="@value"/>;} </xsl:template>
+.footer { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
<!-- ==================== other colors ============================ -->
<xsl:template match="color[@name='highlight']">
-.highlight { background-color: <xsl:value-of select="@value"/>;} </xsl:template>
+.highlight { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
<xsl:template match="color[@name='fixme']">
-.fixme { border-color: <xsl:value-of select="@value"/>;} </xsl:template>
+.fixme { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
<xsl:template match="color[@name='note']">
-.note { border-color: <xsl:value-of select="@value"/>;} </xsl:template>
+.note { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
<xsl:template match="color[@name='warning']">
-.warning { border-color: <xsl:value-of select="@value"/>;} </xsl:template>
+.warning { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
<xsl:template match="color[@name='code']">
-.code { border-color: <xsl:value-of select="@value"/>;} </xsl:template>
+.code { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
<xsl:template match="color[@name='table']">
-.content .ForrestTable { background-color: <xsl:value-of select="@value"/>;} </xsl:template>
+.content .ForrestTable { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
<xsl:template match="color[@name='table-cell']">
-.content .ForrestTable td { background-color: <xsl:value-of select="@value"/>;} </xsl:template>
+.content .ForrestTable td { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
</xsl:stylesheet>
|