forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: rev 43487 - in forrest/trunk/src/core/context/skins/pelt: css xslt/html
Date Tue, 07 Sep 2004 23:22:32 GMT
Author: thorsten
Date: Tue Sep  7 16:22:30 2004
New Revision: 43487

Modified:
   forrest/trunk/src/core/context/skins/pelt/css/profile.css.xslt
   forrest/trunk/src/core/context/skins/pelt/css/screen.css
   forrest/trunk/src/core/context/skins/pelt/xslt/html/document2html.xsl
   forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
Log:
fixed some color profiling issues

Modified: forrest/trunk/src/core/context/skins/pelt/css/profile.css.xslt
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt/css/profile.css.xslt	(original)
+++ forrest/trunk/src/core/context/skins/pelt/css/profile.css.xslt	Tue Sep  7 16:22:30 2004
@@ -79,14 +79,8 @@
 	color: <xsl:value-of select="@font"/>;
 }   
 </xsl:template>
-<xsl:template match="color[@name='published']">
-#published { 
-    color: <xsl:value-of select="@font"/>;
-    background: <xsl:value-of select="@value"/>; 
-}
-</xsl:template> 
 
-<xsl:template match="color[@name='navstrip']">
+<xsl:template match="color[@name='breadtrail']">
 #main .breadtrail {
 	background: <xsl:value-of select="@value"/>; 
 	color: <xsl:value-of select="@font"/>;
@@ -100,10 +94,22 @@
 }
 #top .breadtrail a:link {  color: <xsl:value-of select="@link"/>;  }
 #top .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
-#top .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
-
+#top .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }    
+</xsl:template>
+<!--Fix for other (old) profiles-->
+<xsl:template match="color[@name='navstrip']">
+#published { 
+    color: <xsl:value-of select="@font"/>;
+    background: <xsl:value-of select="@value"/>; 
+}
+</xsl:template> 
+<!--has to go after the nav-strip (no 'navstrip')-->
+<xsl:template match="color[@name='published']">
+#published { 
+    color: <xsl:value-of select="@font"/>;
+    background: <xsl:value-of select="@value"/>; 
+}
 </xsl:template> 
-
 <xsl:template match="color[@name='toolbox']">
 #menu .menupagetitle  { background-color: <xsl:value-of select="@value"/>}
 </xsl:template> 

Modified: forrest/trunk/src/core/context/skins/pelt/css/screen.css
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt/css/screen.css	(original)
+++ forrest/trunk/src/core/context/skins/pelt/css/screen.css	Tue Sep  7 16:22:30 2004
@@ -199,17 +199,6 @@
     font-size: 75%;
     z-index:10;
 }
-/* ==================== snail trail ============================ */
-
-.trail {
-  font-size: 70%; 
-  text-align: right;
-}
-.trail a:link {  font-weight: normal; }
-.trail a:visited {  font-weight: normal; }
-.trail a:active {  font-weight: normal; }
-.trail a:hover {  font-weight: normal; }
-
 /**
 * Round corner
 */
@@ -394,12 +383,22 @@
 .boxed      { background-color: #a5b6c6;}
 .underlined_5     {border-bottom: solid 5px #4C6C8F;}
 .underlined_10     {border-bottom: solid 10px #4C6C8F;}
+/* ==================== snail trail ============================ */
+
+.trail {
+  font-size: 70%; 
+  text-align: right;
+  float: right;
+  margin: 0px 5px;
+  padding: 0;
+}
+
 #minitoc-area {
     border-top: solid 1px #4C6C8F;
     border-bottom: solid 1px #4C6C8F;    
     margin-bottom: 15px;
     margin-left: 15px;
-    margin-right: 25px;
+    margin-right: 10%;
     padding-bottom: 5px;
     padding-top: 5px;
 }
@@ -414,7 +413,7 @@
 
 .pdflink {
     float: right;
-    margin: 0;
+    margin: 0px 5px;
     padding: 0;
 }
 .pdflink br {

Modified: forrest/trunk/src/core/context/skins/pelt/xslt/html/document2html.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt/xslt/html/document2html.xsl	(original)
+++ forrest/trunk/src/core/context/skins/pelt/xslt/html/document2html.xsl	Tue Sep  7 16:22:30
2004
@@ -25,13 +25,12 @@
 
   <xsl:template match="document">
     <div id="content">
-
       <div id="skinconf-printlink"/>
       <div id="skinconf-xmllink"/>
       <div id="skinconf-podlink"/>
       <div id="skinconf-txtlink"/>
       <div id="skinconf-pdflink"/>
-
+      <div id="disable-font-script"/>
       <xsl:if test="normalize-space(header/title)!=''">
         <h1><xsl:value-of select="header/title"/></h1>
       </xsl:if>

Modified: forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl	(original)
+++ forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl	Tue Sep  7 16:22:30
2004
@@ -227,14 +227,6 @@
              &#160;
            </xsl:otherwise>
           </xsl:choose>
-	      <xsl:if test="$disable-font-script = 'false'">
-			<span class="trail">
-	        Font size: 
-	          &#160;<input type="button" onclick="ndeSetTextSize('reset'); return false;"
title="Reset text" class="resetfont" value="Reset"/>      
-	          &#160;<input type="button" onclick="ndeSetTextSize('decr'); return false;"
title="Shrink text" class="smallerfont" value="-a"/>
-	          &#160;<input type="button" onclick="ndeSetTextSize('incr'); return false;"
title="Enlarge text" class="biggerfont" value="+a"/>
-            </span>
-           </xsl:if>
          </div>
 <xsl:comment>+
     |start Menu, mainarea
@@ -481,7 +473,16 @@
       </div>
     </xsl:if>
   </xsl:template>
-  
+  <xsl:template match="div[@id='disable-font-script']">
+    <xsl:if test="$disable-font-script = 'false'">
+	  <div class="trail">
+	        Font size: 
+	          &#160;<input type="button" onclick="ndeSetTextSize('reset'); return false;"
title="Reset text" class="resetfont" value="Reset"/>      
+	          &#160;<input type="button" onclick="ndeSetTextSize('decr'); return false;"
title="Shrink text" class="smallerfont" value="-a"/>
+	          &#160;<input type="button" onclick="ndeSetTextSize('incr'); return false;"
title="Enlarge text" class="biggerfont" value="+a"/>
+      </div>
+    </xsl:if>
+  </xsl:template>
 <xsl:template match="div[@id='skinconf-toc-page']">
     <xsl:if test="$config/toc">
       <xsl:if test="contains($minitoc-location,'page')">

Mime
View raw message