You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2006/07/07 22:56:48 UTC

svn commit: r419982 - in /forrest/site/skin: forrest.css.xslt images/corner-imports.svg.xslt images/dc.svg.xslt images/poddoc.svg.xslt images/rc.svg.xslt images/txtdoc.svg.xslt profile.css.xslt

Author: rgardler
Date: Fri Jul  7 13:56:47 2006
New Revision: 419982

URL: http://svn.apache.org/viewvc?rev=419982&view=rev
Log:
testing a deplyment

Added:
    forrest/site/skin/forrest.css.xslt   (with props)
    forrest/site/skin/images/corner-imports.svg.xslt   (with props)
    forrest/site/skin/images/dc.svg.xslt   (with props)
    forrest/site/skin/images/poddoc.svg.xslt   (with props)
    forrest/site/skin/images/rc.svg.xslt   (with props)
    forrest/site/skin/images/txtdoc.svg.xslt   (with props)
    forrest/site/skin/profile.css.xslt   (with props)

Added: forrest/site/skin/forrest.css.xslt
URL: http://svn.apache.org/viewvc/forrest/site/skin/forrest.css.xslt?rev=419982&view=auto
==============================================================================
--- forrest/site/skin/forrest.css.xslt (added)
+++ forrest/site/skin/forrest.css.xslt Fri Jul  7 13:56:47 2006
@@ -0,0 +1,86 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <!-- This is not used by Forrest but makes it possible to debug the 
+       stylesheet in standalone editors -->
+  <xsl:output method = "text"  omit-xml-declaration="yes"  />
+
+<!--
+  If the skin doesn't override this, at least aural styles 
+  and extra-css are present 
+-->
+  <xsl:template match="skinconfig">
+
+   <xsl:call-template name="aural"/>
+   <xsl:call-template name="a-external"/>
+   <xsl:apply-templates/>
+   <xsl:call-template name="add-extra-css"/>
+  </xsl:template>
+
+  <xsl:template match="colors">
+   <xsl:apply-templates/>
+  </xsl:template>
+  
+  <xsl:template name="aural">
+
+/* ==================== aural ============================ */
+
+@media aural {
+  h1, h2, h3, h4, h5, h6 { voice-family: paul, male; stress: 20; richness: 90 }
+  h1 { pitch: x-low; pitch-range: 90 }
+  h2 { pitch: x-low; pitch-range: 80 }
+  h3 { pitch: low; pitch-range: 70 }
+  h4 { pitch: medium; pitch-range: 60 }
+  h5 { pitch: medium; pitch-range: 50 }
+  h6 { pitch: medium; pitch-range: 40 }
+  li, dt, dd { pitch: medium; richness: 60 }
+  dt { stress: 80 }
+  pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 }
+  em { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
+  strong { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
+  dfn { pitch: high; pitch-range: 60; stress: 60 }
+  s, strike { richness: 0 }
+  i { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
+  b { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
+  u { richness: 0 }
+  
+  :link { voice-family: harry, male }
+  :visited { voice-family: betty, female }
+  :active { voice-family: betty, female; pitch-range: 80; pitch: x-high }
+}
+  </xsl:template>
+  
+  <xsl:template name="a-external">
+a.external  {
+  padding: 0 20px 0px 0px;
+	display:inline;
+  background-repeat: no-repeat;
+	background-position: center right;
+	background-image: url(images/external-link.gif);
+}
+  </xsl:template>
+  
+  <xsl:template name="add-extra-css">
+    <xsl:text>/* extra-css */</xsl:text>
+    <xsl:value-of select="extra-css"/>
+  </xsl:template>
+  
+  <xsl:template match="*"></xsl:template>
+  <xsl:template match="text()"></xsl:template>
+
+</xsl:stylesheet>

Propchange: forrest/site/skin/forrest.css.xslt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/site/skin/images/corner-imports.svg.xslt
URL: http://svn.apache.org/viewvc/forrest/site/skin/images/corner-imports.svg.xslt?rev=419982&view=auto
==============================================================================
--- forrest/site/skin/images/corner-imports.svg.xslt (added)
+++ forrest/site/skin/images/corner-imports.svg.xslt Fri Jul  7 13:56:47 2006
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+    <xsl:param name="orientation-tb"/>
+    <xsl:param name="orientation-lr"/>
+    <xsl:param name="size"/>
+    <xsl:param name="bg-color-name"/>
+    <xsl:param name="stroke-color-name"/>
+    <xsl:param name="fg-color-name"/>    
+
+   <!-- if not all colors are present, don't even try to render the corners -->
+    <xsl:variable name="isize"><xsl:choose>
+    	<xsl:when test="$bg-color-name and $stroke-color-name and $fg-color-name"><xsl:value-of select="$size"/></xsl:when>
+    	<xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose></xsl:variable>
+    <xsl:variable name="smallersize" select="number($isize)-1"/>
+    <xsl:variable name="biggersize" select="number($isize)+1"/>     
+    <xsl:variable name="bg"><xsl:if test="skinconfig/colors/color[@name=$bg-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$bg-color-name]/@value"/>;</xsl:if></xsl:variable>
+    <xsl:variable name="fill"><xsl:if test="skinconfig/colors/color[@name=$stroke-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$stroke-color-name]/@value"/>;</xsl:if></xsl:variable>
+    <xsl:variable name="stroke"><xsl:if test="skinconfig/colors/color[@name=$fg-color-name]">stroke:<xsl:value-of select="skinconfig/colors/color[@name=$fg-color-name]/@value"/>;</xsl:if></xsl:variable>
+        
+	<xsl:template match="skinconfig">
+
+        	
+
+<svg width="{$isize}" height="{$isize}">
+    <!-- background-->
+    <rect x="-1" y="-1" width="{$biggersize}" height="{$biggersize}" style="{$bg}stroke-width:0"/>
+<!-- 0,0 0,-4 4,0 4,-4-->
+
+    <xsl:variable name="flip-tb-scale">
+      <xsl:choose>
+    	<xsl:when test="$orientation-tb='t'">1</xsl:when>
+    	<xsl:otherwise>-1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:variable name="flip-lr-scale">
+      <xsl:choose>
+    	<xsl:when test="$orientation-lr='l'">1</xsl:when>
+    	<xsl:otherwise>-1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    
+    <xsl:variable name="flip-tb-translate">
+      <xsl:choose>
+    	<xsl:when test="$orientation-tb='t'">0</xsl:when>
+    	<xsl:otherwise>-<xsl:value-of select="$isize" /></xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:variable name="flip-lr-translate">
+      <xsl:choose>
+    	<xsl:when test="$orientation-lr='l'">0</xsl:when>
+    	<xsl:otherwise>-<xsl:value-of select="$isize" /></xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>    
+    
+    <!-- flip transform -->
+    <g transform="scale({$flip-lr-scale},{$flip-tb-scale}) translate({$flip-lr-translate}, {$flip-tb-translate})"> 
+      <xsl:call-template name="figure" />
+    </g>
+</svg>
+</xsl:template>
+
+        
+  <xsl:template name="figure">
+       <!-- Just change shape here -->     
+		<g transform="translate(0.5 0.5)">
+			<ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
+				 style="{$fill}{$stroke}stroke-width:1"/>
+		</g>
+	   <!-- end -->	
+  </xsl:template>
+    
+  
+  <xsl:template match="*"></xsl:template>
+  <xsl:template match="text()"></xsl:template>
+  
+</xsl:stylesheet>

Propchange: forrest/site/skin/images/corner-imports.svg.xslt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/site/skin/images/dc.svg.xslt
URL: http://svn.apache.org/viewvc/forrest/site/skin/images/dc.svg.xslt?rev=419982&view=auto
==============================================================================
--- forrest/site/skin/images/dc.svg.xslt (added)
+++ forrest/site/skin/images/dc.svg.xslt Fri Jul  7 13:56:47 2006
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:import href="corner-imports.svg.xslt" />
+  
+  <!-- Diagonal 45 degrees corner -->
+  <xsl:template name="figure">
+        <xsl:variable name="biggersize" select="number($size)+number($size)"/>     
+		<g transform="translate(0 0.5)">
+           <polygon points="0,{$size} {$size},0 {$biggersize},0 {$biggersize},{$biggersize} 0,{$biggersize}"
+                    style="{$fill}{$stroke}stroke-width:1"/>
+		</g>
+  </xsl:template>
+      
+</xsl:stylesheet>
+

Propchange: forrest/site/skin/images/dc.svg.xslt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/site/skin/images/poddoc.svg.xslt
URL: http://svn.apache.org/viewvc/forrest/site/skin/images/poddoc.svg.xslt?rev=419982&view=auto
==============================================================================
--- forrest/site/skin/images/poddoc.svg.xslt (added)
+++ forrest/site/skin/images/poddoc.svg.xslt Fri Jul  7 13:56:47 2006
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<svg width="20pt" height="20pt"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink">
+  <defs
+     id="defs550">
+    <linearGradient id="gray2white">
+      <stop style="stop-color:#7f7f7f;stop-opacity:1;" offset="0.000000"/>
+      <stop style="stop-color:#ffffff;stop-opacity:1;" offset="1.000000"/>
+    </linearGradient>
+    <linearGradient id="pageshade" xlink:href="#gray2white"
+       x1="0.95" y1="0.95"
+       x2="0.40" y2="0.20"
+       gradientUnits="objectBoundingBox" spreadMethod="pad" />
+    <path d="M 0 0 L 200 0" style="stroke:#000000;stroke-width:1pt;" id="hr"/>
+  </defs>
+
+  <g transform="scale(0.08)">
+    <g transform="translate(40, 0)">
+      <rect width="230" height="300" x="0" y="0"
+            style="fill:url(#pageshade);fill-rule:evenodd;
+            stroke:#000000;stroke-width:1.25;"/>
+
+      <g transform="translate(15, 60)">
+        <use xlink:href="#hr" x="0" y="0"/>
+        <use xlink:href="#hr" x="0" y="60"/>
+        <use xlink:href="#hr" x="0" y="120"/>
+        <use xlink:href="#hr" x="0" y="180"/>
+      </g>
+    </g>
+
+    <g transform="translate(0,70),scale(1.1,1.6)">
+      <rect width="200" height="100" x="0" y="0"
+         style="fill:#ff0000;fill-rule:evenodd;
+                stroke:#000000;stroke-width:2.33903;"/>
+      <text x="20" y="75"
+            style="stroke:#ffffff;stroke-width:1.0;
+                   font-size:72;font-weight:normal;fill:#ffffff;
+                   font-family:Arial;text-anchor:start;">POD</text>
+    </g>
+  </g>
+</svg>

Propchange: forrest/site/skin/images/poddoc.svg.xslt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/site/skin/images/rc.svg.xslt
URL: http://svn.apache.org/viewvc/forrest/site/skin/images/rc.svg.xslt?rev=419982&view=auto
==============================================================================
--- forrest/site/skin/images/rc.svg.xslt (added)
+++ forrest/site/skin/images/rc.svg.xslt Fri Jul  7 13:56:47 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:import href="corner-imports.svg.xslt" />
+
+  <!-- Rounded corner -->
+  <xsl:template name="figure">
+		<g transform="translate(0.5 0.5)">
+			<ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
+				 style="{$fill}{$stroke}stroke-width:1"/>
+		</g>
+  </xsl:template>
+      
+</xsl:stylesheet>
+

Propchange: forrest/site/skin/images/rc.svg.xslt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/site/skin/images/txtdoc.svg.xslt
URL: http://svn.apache.org/viewvc/forrest/site/skin/images/txtdoc.svg.xslt?rev=419982&view=auto
==============================================================================
--- forrest/site/skin/images/txtdoc.svg.xslt (added)
+++ forrest/site/skin/images/txtdoc.svg.xslt Fri Jul  7 13:56:47 2006
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<svg width="20pt" height="20pt"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink">
+  <defs
+     id="defs550">
+    <linearGradient id="gray2white">
+      <stop style="stop-color:#7f7f7f;stop-opacity:1;" offset="0.000000"/>
+      <stop style="stop-color:#ffffff;stop-opacity:1;" offset="1.000000"/>
+    </linearGradient>
+    <linearGradient id="pageshade" xlink:href="#gray2white"
+       x1="0.95" y1="0.95"
+       x2="0.40" y2="0.20"
+       gradientUnits="objectBoundingBox" spreadMethod="pad" />
+    <path d="M 0 0 L 200 0" style="stroke:#000000;stroke-width:1pt;" id="hr"/>
+  </defs>
+
+  <g transform="scale(0.08)">
+    <g transform="translate(40, 0)">
+      <rect width="230" height="300" x="0" y="0"
+            style="fill:url(#pageshade);fill-rule:evenodd;
+            stroke:#000000;stroke-width:1.25;"/>
+
+      <g transform="translate(15, 60)">
+        <use xlink:href="#hr" x="0" y="0"/>
+        <use xlink:href="#hr" x="0" y="60"/>
+        <use xlink:href="#hr" x="0" y="120"/>
+        <use xlink:href="#hr" x="0" y="180"/>
+      </g>
+    </g>
+
+    <g transform="translate(0,70),scale(1.1,1.6)">
+      <rect width="200" height="100" x="0" y="0"
+         style="fill:#ff0000;fill-rule:evenodd;
+                stroke:#000000;stroke-width:2.33903;"/>
+      <text x="20" y="75"
+            style="stroke:#ffffff;stroke-width:1.0;
+                   font-size:72;font-weight:normal;fill:#ffffff;
+                   font-family:Arial;text-anchor:start;">TXT</text>
+    </g>
+  </g>
+</svg>

Propchange: forrest/site/skin/images/txtdoc.svg.xslt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/site/skin/profile.css.xslt
URL: http://svn.apache.org/viewvc/forrest/site/skin/profile.css.xslt?rev=419982&view=auto
==============================================================================
--- forrest/site/skin/profile.css.xslt (added)
+++ forrest/site/skin/profile.css.xslt Fri Jul  7 13:56:47 2006
@@ -0,0 +1,208 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <xsl:import href="../../common/css/forrest.css.xslt"/>
+
+  <!-- xsl:output is not used by Forrest but makes it possible to debug the 
+       stylesheet in standalone editors -->
+  <xsl:output method = "text"  omit-xml-declaration="yes"  />
+  
+<!-- ==================== main block colors ============================ -->
+
+<xsl:template match="color[@name='header']">
+#top          { background-color: <xsl:value-of select="@value"/>;}  
+</xsl:template>
+
+<xsl:template match="color[@name='tab-selected']"> 
+#top .header .current { background-color: <xsl:value-of select="@value"/>;} 
+#top .header .current a:link {  color: <xsl:value-of select="@link"/>;  }
+#top .header .current a:visited { color: <xsl:value-of select="@vlink"/>; }
+#top .header .current a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template> 
+
+<xsl:template match="color[@name='tab-unselected']"> 
+#tabs li      { background-color: <xsl:value-of select="@value"/> ;} 
+#tabs li a:link {  color: <xsl:value-of select="@link"/>;  }
+#tabs li a:visited { color: <xsl:value-of select="@vlink"/>; }
+#tabs li a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template> 
+
+<xsl:template match="color[@name='subtab-selected']">
+#level2tabs       { background-color: <xsl:value-of select="@value"/> ;} 
+#level2tabs a:link {  color: <xsl:value-of select="@link"/>;  }
+#level2tabs a:visited { color: <xsl:value-of select="@vlink"/>; }
+#level2tabs a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template> 
+
+<!--xsl:template match="color[@name='subtab-unselected']">
+.level2tabstrip { background-color: <xsl:value-of select="@value"/>;}
+.datenote { background-color: <xsl:value-of select="@value"/>;} 
+.level2tabstrip.unselected a:link {  color: <xsl:value-of select="@link"/>;  }
+.level2tabstrip.unselected a:visited { color: <xsl:value-of select="@vlink"/>; }
+.level2tabstrip.unselected a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template--> 
+
+<xsl:template match="color[@name='heading']">
+.heading { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='subheading']">
+.boxed { background-color: <xsl:value-of select="@value"/>;} 
+.underlined_5 	{border-bottom: solid 5px <xsl:value-of select="@value"/>;}
+.underlined_10 	{border-bottom: solid 10px <xsl:value-of select="@value"/>;}
+table caption { 
+background-color: <xsl:value-of select="@value"/>; 
+color: <xsl:value-of select="@font"/>;
+}
+</xsl:template> 
+<xsl:template match="color[@name='feedback']">    
+#feedback {
+color: <xsl:value-of select="@font"/>;
+background: <xsl:value-of select="@value"/>;
+text-align: <xsl:value-of select="@align"/>;
+}
+#feedback #feedbackto {
+color: <xsl:value-of select="@font"/>;
+}   
+</xsl:template>
+
+<xsl:template match="color[@name='breadtrail']">
+#main .breadtrail {
+background: <xsl:value-of select="@value"/>; 
+color: <xsl:value-of select="@font"/>;
+}
+#main .breadtrail a:link {  color: <xsl:value-of select="@link"/>;  }
+#main .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
+#main .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
+#top .breadtrail {
+background: <xsl:value-of select="@value"/>; 
+color: <xsl:value-of select="@font"/>;
+}
+#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"/>; }    
+</xsl:template>
+<!--Fix for other (old) profiles-->
+<xsl:template match="color[@name='navstrip']">
+#publishedStrip { 
+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']">
+#publishedStrip { 
+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"/>;
+  color: <xsl:value-of select="@font"/>;}
+</xsl:template> 
+
+<xsl:template match="color[@name='border']">
+#menu           { border-color: <xsl:value-of select="@value"/>;}
+#menu .menupagetitle  { border-color: <xsl:value-of select="@value"/>;}
+#menu .menupageitemgroup  { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template> 
+
+<xsl:template match="color[@name='menu']">
+#menu      { background-color: <xsl:value-of select="@value"/>;} 
+#menu  {  color: <xsl:value-of select="@font"/>;} 
+#menu a:link {  color: <xsl:value-of select="@link"/>;} 
+#menu a:visited {  color: <xsl:value-of select="@vlink"/>;} 
+#menu a:hover {  
+background-color: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@hlink"/>;} 
+</xsl:template> 
+<xsl:template match="color[@name='dialog']"> 
+#menu .menupageitemgroup     { 
+background-color: <xsl:value-of select="@value"/>;
+}
+#menu .menupageitem {
+color: <xsl:value-of select="@font"/>;
+} 
+#menu .menupageitem a:link {  color: <xsl:value-of select="@link"/>;} 
+#menu .menupageitem a:visited {  color: <xsl:value-of select="@vlink"/>;} 
+#menu .menupageitem a:hover {  
+background-color: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@hlink"/>;
+}
+</xsl:template> 
+<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 match="color[@name='searchbox']"> 
+#top .searchbox { 
+background-color: <xsl:value-of select="@value"/> ;
+color: <xsl:value-of select="@font"/>; 
+} 
+</xsl:template>
+
+<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"/>} 
+
+</xsl:template>
+
+<xsl:template match="color[@name='footer']"> 
+#footer       { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+
+<!-- ==================== other colors ============================ -->
+<xsl:template match="color[@name='highlight']"> 
+.highlight        { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='fixme']"> 
+.fixme        { border-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='note']"> 
+.note         { border-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='warning']"> 
+.warning         { border-color: <xsl:value-of select="@value"/>;} 
+</xsl:template>
+
+<xsl:template match="color[@name='code']"> 
+.code         { border-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='table']"> 
+.ForrestTable      { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='table-cell']"> 
+.ForrestTable td   { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+
+</xsl:stylesheet>

Propchange: forrest/site/skin/profile.css.xslt
------------------------------------------------------------------------------
    svn:eol-style = native



Re: svn commit: r419982 - in /forrest/site/skin: forrest.css.xslt images/corner-imports.svg.xslt images/dc.svg.xslt images/poddoc.svg.xslt images/rc.svg.xslt images/txtdoc.svg.xslt profile.css.xslt

Posted by David Crossley <cr...@apache.org>.
Ross Gardler wrote:
> >Author: rgardler
> >Date: Fri Jul  7 13:56:47 2006
> >New Revision: 419982
> >
> >URL: http://svn.apache.org/viewvc?rev=419982&view=rev
> >Log:
> >testing a deplyment
> >
> >Added:
> >    forrest/site/skin/forrest.css.xslt   (with props)
> >    forrest/site/skin/images/corner-imports.svg.xslt   (with props)
> >    forrest/site/skin/images/dc.svg.xslt   (with props)
> >    forrest/site/skin/images/poddoc.svg.xslt   (with props)
> >    forrest/site/skin/images/rc.svg.xslt   (with props)
> >    forrest/site/skin/images/txtdoc.svg.xslt   (with props)
> >    forrest/site/skin/profile.css.xslt   (with props)
> 
> 
> I just did a test deploy of the site and the above files were added. I 
> see no harm in them being there, but why were they added?

Ah, forrestbot doesn't delete any removed files.
There is FOR-392 for this.

I had to clean out my local fb work directories.
Rather than rm the lot, i did cd site-author
svn up work/svn-deploy/forrest-docs
find . -name *.xslt and removed them, i think
build/site/... etc.

Recently i fixed FOR-237 to stop them being
generated during the build.

One reason for removing them from a published site
is that they cause unnecessary differences in the
generated site. People get tired of the voluminous
commit messages. And there is no need for them
to be there. So i am trimming down.

-David

Re: svn commit: r419982 - in /forrest/site/skin: forrest.css.xslt images/corner-imports.svg.xslt images/dc.svg.xslt images/poddoc.svg.xslt images/rc.svg.xslt images/txtdoc.svg.xslt profile.css.xslt

Posted by Ross Gardler <rg...@apache.org>.
rgardler@apache.org wrote:
> Author: rgardler
> Date: Fri Jul  7 13:56:47 2006
> New Revision: 419982
> 
> URL: http://svn.apache.org/viewvc?rev=419982&view=rev
> Log:
> testing a deplyment
> 
> Added:
>     forrest/site/skin/forrest.css.xslt   (with props)
>     forrest/site/skin/images/corner-imports.svg.xslt   (with props)
>     forrest/site/skin/images/dc.svg.xslt   (with props)
>     forrest/site/skin/images/poddoc.svg.xslt   (with props)
>     forrest/site/skin/images/rc.svg.xslt   (with props)
>     forrest/site/skin/images/txtdoc.svg.xslt   (with props)
>     forrest/site/skin/profile.css.xslt   (with props)


I just did a test deploy of the site and the above files were added. I 
see no harm in them being there, but why were they added?

Ross