vgritsenko 02/03/17 09:42:11
Modified: src/documentation/stylesheets book2menu.xsl site2xhtml.xsl
Log:
Attempt to make new skin look like old one (with SVGs).
Revision Changes Path
1.3 +3 -3 xml-cocoon2/src/documentation/stylesheets/book2menu.xsl
Index: book2menu.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/documentation/stylesheets/book2menu.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- book2menu.xsl 17 Mar 2002 13:32:06 -0000 1.2
+++ book2menu.xsl 17 Mar 2002 17:42:11 -0000 1.3
@@ -24,6 +24,7 @@
<xsl:variable name="encLabel" select="NetUtils:encodePath(@label)"/>
<tr>
<td valign="top" bgcolor="#959595" background="images/label-background_b.gif">
+ <img src="images/separator.gif"/><br/>
<span class="menutitle"><xsl:value-of select="@label"/></span></td>
</tr>
<xsl:apply-templates/>
@@ -35,13 +36,12 @@
<xsl:variable name="encLabel" select="NetUtils:encodePath(@label)"/>
<tr>
<td bgcolor="#959595" valign="top">
+ <xsl:attribute
name="background">images/label-background_a.gif</xsl:attribute>
<xsl:choose>
<xsl:when test="@href=$resource">
- <xsl:attribute
name="background">images/label-background_a.gif</xsl:attribute>
<span class="menuselected"><xsl:value-of select="@label"/></span>
</xsl:when>
- <xsl:otherwise>
- <xsl:attribute
name="background">images/label-background_a.gif</xsl:attribute>
+ <xsl:otherwise>
<a href="{@href}" class="menu"><xsl:value-of select="@label"/></a>
</xsl:otherwise>
</xsl:choose>
1.7 +7 -5 xml-cocoon2/src/documentation/stylesheets/site2xhtml.xsl
Index: site2xhtml.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/documentation/stylesheets/site2xhtml.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- site2xhtml.xsl 17 Mar 2002 13:32:06 -0000 1.6
+++ site2xhtml.xsl 17 Mar 2002 17:42:11 -0000 1.7
@@ -13,27 +13,29 @@
<title><xsl:value-of select="/site/document/title"/></title>
<STYLE type="text/css">
a.menu {
- color: #000000;
+ color: #FFFFFF;
text-align:left;
font-size:12px;
font-family: arial,helvetica,sanserif;
font-weight:plain;
+ font-style:italic;
+ text-decoration:none;
padding-left: 14px
}
.menutitle {
color: #000000;
text-align:left;
- font-size:12px;
+ font-size:10px;
font-family: arial,helvetica,sanserif;
font-weight:bold;
padding-left: 8px
}
.menuselected {
- color: #000000;
+ color: #FFFFFF;
text-align:left;
font-size:12px;
font-family: arial,helvetica,sanserif;
- font-weight:plain;
+ font-weight:bold;
font-style:italic;
padding-left: 14px
}
@@ -58,7 +60,7 @@
</tr>
<tr>
<td width="100%" height="35" valign="top" align="right" colspan="2"
bgcolor="#0086b2">
- <font size="5" face="arial,helvetica,sanserif"
color="#ffffff"><xsl:value-of select="/site/document/title"/></font>
+ <font size="5" face="arial,helvetica,sanserif"
color="#ffffff"><i><xsl:value-of select="/site/document/title"/></i></font>
</td>
</tr>
<tr>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]