forrest-svn mailing list archives

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

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/site2xhtml.xsl
Log:
fixed some issues from FOR-245

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 14:30:16 2004
@@ -131,12 +131,12 @@
 	color: <xsl:value-of select="@font"/>;
 } 
 </xsl:template> 
-<!--xsl:template match="color[@name='menuheading']">
+<xsl:template match="color[@name='menuheading']">
 #menu h1 {
     color: <xsl:value-of select="@font"/>;
     background-color: <xsl:value-of select="@value"/>;
 }   
-</xsl:template--> 
+</xsl:template> 
 <xsl:template match="color[@name='searchbox']"> 
 #top .searchbox { 
     background-color: <xsl:value-of select="@value"/> ;
@@ -144,19 +144,14 @@
 } 
 </xsl:template>
 
-<!--xsl:template match="color[@name='body']">
+<xsl:template match="color[@name='body']">
 body         { background-color: <xsl:value-of select="@value"/>;
                color: <xsl:value-of select="@font"/>;} 
 a:link { color:<xsl:value-of select="@link"/>} 
 a:visited { color:<xsl:value-of select="@vlink"/>} 
 a:hover { color:<xsl:value-of select="@hlink"/>} 
-.menupage a:link { background-color: <xsl:value-of select="@value"/>;
-                                color:<xsl:value-of select="@link"/>} 
-.menupage a:visited { background-color: <xsl:value-of select="@value"/>;
-                                color:<xsl:value-of select="@vlink"/>} 
-.menupage a:hover { background-color: <xsl:value-of select="@value"/>;
-                                color:<xsl:value-of select="@hlink"/>} 
-</xsl:template-->
+
+</xsl:template>
 
 <xsl:template match="color[@name='footer']"> 
 #footer       { background-color: <xsl:value-of select="@value"/>;} 

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 14:30:16 2004
@@ -199,6 +199,16 @@
     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
@@ -254,7 +264,7 @@
     float: left;
     width: 160px;
     padding-top: 0px;
-    top:-17px; 
+    top:-18px; 
     left:10px; 
     z-index: 20;
     background-color: #f90;
@@ -389,6 +399,7 @@
     border-bottom: solid 1px #4C6C8F;    
     margin-bottom: 15px;
     margin-left: 15px;
+    margin-right: 25px;
     padding-bottom: 5px;
     padding-top: 5px;
 }

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 14:30:16
2004
@@ -74,6 +74,8 @@
                 src="{$root}skin/getBlank.js"></script>
 	        <script type="text/javascript" language="javascript" 
 				src="{$root}skin/menu.js"></script>
+	        <script type="text/javascript" language="javascript" 
+				src="{$root}skin/fontsize.js"></script>
 <!--+
   |favicon
   +-->
@@ -89,7 +91,8 @@
 <!--+
   |HTML-body
   +-->
-      <body>
+      <body onload="init()">
+		<script type="text/javascript">ndeSetTextSize();</script>
 <!--+Site structure
   +++++++++++++++++++++++++++
      +=========================+
@@ -210,22 +213,29 @@
               document.write("Published: " + document.lastModified);
               //  -->]]></script>
         </div>
-        <xsl:choose>
-        <xsl:when test="$config/trail/@location='alt'">
-            <!--breadtrail location='alt'-->
 <xsl:comment>+
     |breadtrail
     +</xsl:comment>
-              <div class="breadtrail">
+        <div class="breadtrail">
+          <xsl:choose>
+           <xsl:when test="$config/trail/@location='alt'">
+            <!--breadtrail location='alt'-->
                   <xsl:call-template name="breadcrumbs"/>
-              </div>    
-        </xsl:when>
-        <xsl:otherwise>
-            <!--*NO* breadtrail-->
-            <div class="breadtrail" >&#160;</div>
-        </xsl:otherwise>
-</xsl:choose>
-
+           </xsl:when>
+           <xsl:otherwise>
+             <!--*NO* breadtrail-->
+             &#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
     +</xsl:comment>

Mime
View raw message