svn commit: r591292 - in /lenya/sandbox/pubs/docu: resources/shared/css/page.css xslt/page2xhtml.xsl

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Fri Nov  2 03:19:20 2007
New Revision: 591292

URL: http://svn.apache.org/viewvc?rev=591292&view=rev
Log:
Added layout support for ToC

Modified:
    lenya/sandbox/pubs/docu/resources/shared/css/page.css
    lenya/sandbox/pubs/docu/xslt/page2xhtml.xsl

Modified: lenya/sandbox/pubs/docu/resources/shared/css/page.css
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/resources/shared/css/page.css?rev=591292&r1=591291&r2=591292&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/resources/shared/css/page.css (original)
+++ lenya/sandbox/pubs/docu/resources/shared/css/page.css Fri Nov  2 03:19:20 2007
@@ -480,7 +480,7 @@
   background-color: #FFCCCC;
 }
 
-div.warningTitle, div.noteTitle, div.fixmeTitle {
+div.warningTitle, div.noteTitle, div.fixmeTitle, div.tocTitle {
   float: left;
   color: Maroon;
   font-size: 80%;
@@ -490,12 +490,12 @@
   background: url('/modules/svg/tab-topLeft-5-FFCCCC-BB9999.png') left top no-repeat;
 }
 
-div.warningTitle div, div.noteTitle div, div.fixmeTitle div {
+div.warningTitle div, div.noteTitle div, div.fixmeTitle div, div.tocTitle div {
   padding: .2em 1em;
   background: url('/modules/svg/tab-topRight-5-FFCCCC-BB9999.png') right top no-repeat;
 }
 
-p.warning, p.note, p.fixme {
+p.warning, p.note, p.fixme, ul.toc {
   clear: left;
   border: solid 1px #BB9999;
   padding: .5em 1em;
@@ -513,4 +513,36 @@
 
 dd {
   margin: 0 0 .5em 1em;
-}
\ No newline at end of file
+}
+
+/* --- TOC --- */
+
+ul.toc a {
+  text-decoration: none;
+}
+
+ul.toc {
+  font-size: medium;
+  margin: 0 0 1em 0;
+  list-style-type: none;
+}
+
+ul.toc ul.toc {
+  padding: 0;
+  border: none;
+  margin-bottom: .5em;
+}
+
+ul.toc ul.toc li {
+  padding: 0 0 0 16px;
+}
+
+div#tocBottom {
+  background: url('/modules/svg/tab-bottomLeft-5-FFEEEE-BB9999.png') left bottom no-repeat;
+}
+
+div#tocBottom div {
+  height: 5px;
+  background: url('/modules/svg/tab-bottomRight-5-FFEEEE-BB9999.png') right bottom no-repeat;
+}
+

Modified: lenya/sandbox/pubs/docu/xslt/page2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/xslt/page2xhtml.xsl?rev=591292&r1=591291&r2=591292&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/xslt/page2xhtml.xsl (original)
+++ lenya/sandbox/pubs/docu/xslt/page2xhtml.xsl Fri Nov  2 03:19:20 2007
@@ -118,6 +118,10 @@
   <xsl:template name="footer">
     <div id="footer">
       <p>
+        Copyright &#169; 1999-2007 <a href="http://www.apache.org/">The Apache
+          Software Foundation</a>. All rights reserved.
+      </p>
+      <p>
         <xsl:choose>
           <xsl:when test="$lastPublishedUser != ''">
             <i18n:translate>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.