You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/11/05 16:05:38 UTC

svn commit: r592031 - in /lenya/sandbox/modules: docustyle/resources/css/page.css docustyle/xslt/page2xhtml.xsl forrest/xslt/forrestDocument202xhtml.xsl

Author: andreas
Date: Mon Nov  5 07:05:37 2007
New Revision: 592031

URL: http://svn.apache.org/viewvc?rev=592031&view=rev
Log:
Fixed anchors for toc, layout update

Modified:
    lenya/sandbox/modules/docustyle/resources/css/page.css
    lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl
    lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl

Modified: lenya/sandbox/modules/docustyle/resources/css/page.css
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/resources/css/page.css?rev=592031&r1=592030&r2=592031&view=diff
==============================================================================
--- lenya/sandbox/modules/docustyle/resources/css/page.css (original)
+++ lenya/sandbox/modules/docustyle/resources/css/page.css Mon Nov  5 07:05:37 2007
@@ -55,13 +55,9 @@
 /* tabs */
 
 ul#tabs {
-  clear: left;
-  float: left;
-  width: 100%;
   font-weight: bold;
   font-size: 11pt;
-  margin: 0 0 0 0;
-  border-collapse: collapse;
+  margin: 0;
   padding: 0 0 0 200px;
   list-style-type: none;
   background: url('/modules/docustyle/images/gradient.png') left bottom repeat-x;
@@ -96,11 +92,16 @@
   color: #333344;
 }
 
+#tabsSeparator {
+  clear: left;
+}
+
 /* menu */
 
 #menu, #body {
   display: table-cell;
   vertical-align: top;
+  background-color: white;
 }
 
 #menu {
@@ -224,7 +225,6 @@
   border: none;
   padding: 1em 0;
   font-size: 10pt;
-  background-color: white;
 }
 
 #footer {

Modified: lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl?rev=592031&r1=592030&r2=592031&view=diff
==============================================================================
--- lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl (original)
+++ lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl Mon Nov  5 07:05:37 2007
@@ -100,6 +100,7 @@
               <div id="tagline">Open Source Content Management</div>
             </div>
             <xsl:apply-templates select="xhtml:ul[@id = 'tabs']"/>
+            <div id="tabsSeparator"/>
           </div>
           <!--
           -->

Modified: lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl?rev=592031&r1=592030&r2=592031&view=diff
==============================================================================
--- lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl (original)
+++ lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl Mon Nov  5 07:05:37 2007
@@ -71,6 +71,10 @@
   </xsl:template>
   
   <xsl:template match="section">
+    <xsl:variable name="id">
+      <xsl:call-template name="generate-id"/>
+    </xsl:variable>
+    <a name="{$id}"/>
     <xsl:apply-templates/>
   </xsl:template>
   



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org