Author: kkolinko
Date: Sun Oct  2 17:53:04 2011
New Revision: 1178209

URL: http://svn.apache.org/viewvc?rev=1178209&view=rev
Log:
https://issues.apache.org/bugzilla/show_bug.cgi?id=50923
Use more distinct color for <code> and add small spacing around it.
Do not color attribute names (the names in the first column in attribute lists 
in Configuration reference).

Commented-out unused xsl:variable.

Modified:
    tomcat/trunk/webapps/docs/tomcat-docs.xsl

Modified: tomcat/trunk/webapps/docs/tomcat-docs.xsl
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/tomcat-docs.xsl?rev=1178209&r1=1178208&r2=1178209&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/tomcat-docs.xsl (original)
+++ tomcat/trunk/webapps/docs/tomcat-docs.xsl Sun Oct  2 17:53:04 2011
@@ -69,9 +69,11 @@
       <xsl:variable name="name">
         <xsl:value-of select="."/>
       </xsl:variable>
+      <!--
       <xsl:variable name="email">
         <xsl:value-of select="@email"/>
       </xsl:variable>
+       -->
       <meta name="author" content="{$name}"/>
       <!-- Don't publish e-mail addresses
       <meta name="email" content="{$email}"/>
@@ -82,7 +84,8 @@
             td#mainBody {width: 100%;}
         </style>
         <style type="text/css">
-            code {color:rgb(0,64,64);}
+            code {color:rgb(0,128,128);padding:0 0.1em;}
+            code.attributeName {color:rgb(0,0,0);}
         </style>
     </head>
 
@@ -361,10 +364,10 @@
         <tr>
           <td align="left" valign="center">
             <xsl:if test="@required = 'true'">
-              <strong><code><xsl:value-of select="@name"/></code></strong>
+              <strong><code class="attributeName"><xsl:value-of 
select="@name"/></code></strong>
             </xsl:if>
             <xsl:if test="@required != 'true'">
-              <code><xsl:value-of select="@name"/></code>
+              <code class="attributeName"><xsl:value-of select="@name"/></code>
             </xsl:if>
           </td>
           <td align="left" valign="center">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to