forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r109427 - /forrest/trunk/main/webapp/skins/tigris/css/forrest.css.xslt
Date Thu, 02 Dec 2004 02:03:40 GMT
Author: antonio
Date: Wed Dec  1 18:03:39 2004
New Revision: 109427

URL: http://svn.apache.org/viewcvs?view=rev&rev=109427
Log:
allow tests to not fail always: ('@width' and '@height') --> (@width and @height) + clean
trail spaces.
Modified:
   forrest/trunk/main/webapp/skins/tigris/css/forrest.css.xslt

Modified: forrest/trunk/main/webapp/skins/tigris/css/forrest.css.xslt
Url: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/tigris/css/forrest.css.xslt?view=diff&rev=109427&p1=forrest/trunk/main/webapp/skins/tigris/css/forrest.css.xslt&r1=109426&p2=forrest/trunk/main/webapp/skins/tigris/css/forrest.css.xslt&r2=109427
==============================================================================
--- forrest/trunk/main/webapp/skins/tigris/css/forrest.css.xslt	(original)
+++ forrest/trunk/main/webapp/skins/tigris/css/forrest.css.xslt	Wed Dec  1 18:03:39 2004
@@ -18,45 +18,45 @@
 
   <xsl:import href="../../common/css/forrest.css.xslt"/>
 
-  <!-- This is not used by Forrest but makes it possible to debug the 
+  <!-- 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"  />
 
 <xsl:template match="skinconfig">
   <xsl:apply-imports/>
-<!-- rounded corners --> 
+<!-- rounded corners -->
 #toptabs td{
 	background-image: url('images/rc-t-l-10-1header-2tab-unselected-3tab-unselected.png');
-<!-- this enables double rounded corners -->    
-<!--    
+<!-- this enables double rounded corners -->
+<!--
     margin: 0px;
     padding:0px;
 	border-bottom: 1px solid #ffffff;
 	border-right: 1px solid #ffffff;
 	border-left: 1px solid #ffffff;
- 
+
 }
 #toptabs td a{
 	background-image: url('images/rc-t-r-10-1header-2tab-unselected-3tab-unselected.png');
-    
+
     background-repeat: no-repeat;
     background-position: top right;
     margin: 0px;
     padding-right: 10px;
-    padding-left: 10px;   
+    padding-left: 10px;
     padding-top: 0px;
-    padding-bottom: 0px;  	
--->   
+    padding-bottom: 0px;
+-->
 }
 
 #toptabs th {
 	background-image: url('images/rc-t-l-10-1header-2tab-selected-3tab-selected.png');
 }
-      
+
 </xsl:template>
 
 <xsl:template match="group-logo">
-  <xsl:if test="'@width' and '@height'">
+  <xsl:if test="@width and @height">
 #cn {
 	background-image: url('../<xsl:value-of select="."/>');
 	display: block;
@@ -67,7 +67,7 @@
 </xsl:template>
 
 <xsl:template match="host-logo">
-  <xsl:if test="'@width' and '@height'">
+  <xsl:if test="@width and @height">
 #poweredby {
 	background-image: url('../<xsl:value-of select="."/>');
 	display: block;
@@ -78,7 +78,7 @@
 </xsl:template>
 
 <xsl:template match="project-logo">
-  <xsl:if test="'@width' and '@height'">
+  <xsl:if test="@width and @height">
 #sc {
 	background-image: url('../<xsl:value-of select="."/>');
 	display: block;
@@ -90,19 +90,19 @@
 
 
 <xsl:template match="color[@name='header']">
-#banner, #banner td, #toptabs { background-color: <xsl:value-of select="@value"/>;}

+#banner, #banner td, #toptabs { background-color: <xsl:value-of select="@value"/>;}
 #toptabs td { border-left: 1px solid <xsl:value-of select="@value"/>;}
 #toptabs th { border-left: 1px solid <xsl:value-of select="@value"/>;}
 #banner { border-top: 1px solid <xsl:value-of select="@highlight"/>;}
 </xsl:template>
 
-<xsl:template match="color[@name='tab-selected']"> 
+<xsl:template match="color[@name='tab-selected']">
 .tabs th  {
     background-color: <xsl:value-of select="@value"/>;
     border-right: 1px solid <xsl:value-of select="@lowlight"/>;
 	color: <xsl:value-of select="@font"/>;}
 .tabs th a:link{
-	color: <xsl:value-of select="@link"/>;}  
+	color: <xsl:value-of select="@link"/>;}
 .tabs th a:visited {
 	color: <xsl:value-of select="@vlink"/>;}
 .tabs th a:hover {
@@ -114,42 +114,42 @@
 	border-right: 1px solid <xsl:value-of select="@lowlight"/>;
 	border-bottom: 1px solid <xsl:value-of select="@lowlight"/>;
 }
-.tabs {	border-bottom: 6px <xsl:value-of select="@value"/> solid; }</xsl:template>

-<xsl:template match="color[@name='tab-unselected']"> 
-.tabs td { 
+.tabs {	border-bottom: 6px <xsl:value-of select="@value"/> solid; }</xsl:template>
+<xsl:template match="color[@name='tab-unselected']">
+.tabs td {
    background-color: <xsl:value-of select="@value"/>;
    color: <xsl:value-of select="@font"/>;}
 .tabs td a:link{
-	color: <xsl:value-of select="@link"/>;}  
+	color: <xsl:value-of select="@link"/>;}
 .tabs td a:visited {
 	color: <xsl:value-of select="@vlink"/>;}
 .tabs td a:hover {
-	color: <xsl:value-of select="@hlink"/> !important;}    
-    </xsl:template> 
-<xsl:template match="color[@name='subtab-selected']"> 
+	color: <xsl:value-of select="@hlink"/> !important;}
+    </xsl:template>
+<xsl:template match="color[@name='subtab-selected']">
 #breadcrumbs a:link{
-	color: <xsl:value-of select="@link"/>;}  
+	color: <xsl:value-of select="@link"/>;}
 #breadcrumbs a:visited {
 	color: <xsl:value-of select="@vlink"/>;}
-</xsl:template> 
-<xsl:template match="color[@name='subtab-unselected']"> 
-#breadcrumbs { color: <xsl:value-of select="@font"/>;}  
-#breadcrumbs {background-color: <xsl:value-of select="@value"/>;         
+</xsl:template>
+<xsl:template match="color[@name='subtab-unselected']">
+#breadcrumbs { color: <xsl:value-of select="@font"/>;}
+#breadcrumbs {background-color: <xsl:value-of select="@value"/>;
               border-top: 1px solid <xsl:value-of select="@highlight"/>;}
 #main        {border-top: 1px solid <xsl:value-of select="@lowlight"/>;}
 #breadcrumbs a:link{
-	color: <xsl:value-of select="@link"/>;}  
+	color: <xsl:value-of select="@link"/>;}
 #breadcrumbs a:visited {
 	color: <xsl:value-of select="@vlink"/>;}
 #breadcrumbs a:hover {
 	color: <xsl:value-of select="@hlink"/> !important;}
-</xsl:template> 
+</xsl:template>
 
-<xsl:template match="color[@name='heading']"> 
+<xsl:template match="color[@name='heading']">
 
 <xsl:choose>
     <xsl:when test="../../headings/@type='underlined'">
-.app h3 {	
+.app h3 {
     background-color: transparent;
     color: <xsl:value-of select="../color[@name='body']/@font"/>;
 	border-bottom: 2px solid <xsl:value-of select="@value"/>;
@@ -170,12 +170,12 @@
 </xsl:choose>
 
 
-</xsl:template> 
-<xsl:template match="color[@name='subheading']"> 
+</xsl:template>
+<xsl:template match="color[@name='subheading']">
 
 <xsl:choose>
     <xsl:when test="../../headings/@type='underlined'">
-.app h4 {	
+.app h4 {
     background-color: transparent;
     color: <xsl:value-of select="../color[@name='body']/@font"/>;
 	border-bottom: 1px solid <xsl:value-of select="@value"/>;
@@ -195,9 +195,9 @@
     </xsl:otherwise>
 </xsl:choose>
 
-</xsl:template> 
+</xsl:template>
 
-<xsl:template match="color[@name='navstrip']"> 
+<xsl:template match="color[@name='navstrip']">
 #topmodule    { background-color: <xsl:value-of select="@value"/>;
                 border-top: 1px solid <xsl:value-of select="@highlight"/>;
 	            border-bottom: 1px solid <xsl:value-of select="@lowlight"/>;
@@ -206,19 +206,19 @@
 	border-right: 1px solid <xsl:value-of select="@lowlight"/>;
 }
 #topmodule a:link{
-	color: <xsl:value-of select="@link"/>;}  
+	color: <xsl:value-of select="@link"/>;}
 #topmodule a:visited {
 	color: <xsl:value-of select="@vlink"/>;}
 #topmodule a:hover {
 	color: <xsl:value-of select="@hlink"/> !important; }
-</xsl:template> 
-<xsl:template match="color[@name='toolbox']"> 
-.toolgroup .label {	background: <xsl:value-of select="@value"/>; 
+</xsl:template>
+<xsl:template match="color[@name='toolbox']">
+.toolgroup .label {	background: <xsl:value-of select="@value"/>;
                     border-bottom: 1px solid <xsl:value-of select="@lowlight"/>;
 	                border-right: 1px solid <xsl:value-of select="@lowlight"/>;
 	                color: <xsl:value-of select="@font"/>;
-} </xsl:template> 
-<xsl:template match="color[@name='menu']"> 
+} </xsl:template>
+<xsl:template match="color[@name='menu']">
 #mytools .body, #projecttools .body, #admintools .body, #communitytools .body {
 	background-color: <xsl:value-of select="@value"/>;
 	border-right: 1px solid  <xsl:value-of select="@highlight"/>;
@@ -227,19 +227,19 @@
 	border-left: 1px solid  <xsl:value-of select="@lowlight"/>;
     }
 #mytools .body a:link, #projecttools .body a:link, #admintools .body a:link, #communitytools
.body a:link{
-	color: <xsl:value-of select="@link"/>;}  
+	color: <xsl:value-of select="@link"/>;}
 #mytools .body a:visited, #projecttools .body a:visited, #admintools .body a:visited, #communitytools
.body a:visited{
-	color: <xsl:value-of select="@vlink"/>;}    
+	color: <xsl:value-of select="@vlink"/>;}
 #mytools .body a:hover, #projecttools .body a:hover, #admintools .body a:hover, #communitytools
.body a:hover{
-	color: <xsl:value-of select="@vlink"/> !important;} 
-</xsl:template> 
-<xsl:template match="color[@name='dialog']"> 
-.toolgroup { background: <xsl:value-of select="@value"/>;}  
+	color: <xsl:value-of select="@vlink"/> !important;}
+</xsl:template>
+<xsl:template match="color[@name='dialog']">
+.toolgroup { background: <xsl:value-of select="@value"/>;}
 .toolgroup .body {
 	border-right: 1px solid <xsl:value-of select="@lowlight"/>;;
 	border-bottom: 1px solid <xsl:value-of select="@lowlight"/>;;
 }
-</xsl:template> 
+</xsl:template>
 <xsl:template match="color[@name='body']">
 body         { background-color: <xsl:value-of select="@value"/>;}
 a:link, #navcolumn a:visited, .app a:visited, .tasknav a:visited {
@@ -254,30 +254,30 @@
 }
 </xsl:template>
 
-<xsl:template match="color[@name='footer']"> 
-#footer      { background-color: <xsl:value-of select="@value"/>;} </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']"> 
-.warningmessage {border-color: <xsl:value-of select="@value"/>;} </xsl:template>

-<xsl:template match="color[@name='note']"> 
-.infomessage {  border-color: <xsl:value-of select="@value"/>;} </xsl:template>

-<xsl:template match="color[@name='warning']"> 
-.errormessage{  border-color: <xsl:value-of select="@value"/>;} </xsl:template>

-<xsl:template match="color[@name='code']"> 
-.code, code, pre        { border-color: <xsl:value-of select="@value"/>;} </xsl:template>

-<xsl:template match="color[@name='table']"> 
+<xsl:template match="color[@name='highlight']">
+.highlight        { background-color: <xsl:value-of select="@value"/>;} </xsl:template>
+<xsl:template match="color[@name='fixme']">
+.warningmessage {border-color: <xsl:value-of select="@value"/>;} </xsl:template>
+<xsl:template match="color[@name='note']">
+.infomessage {  border-color: <xsl:value-of select="@value"/>;} </xsl:template>
+<xsl:template match="color[@name='warning']">
+.errormessage{  border-color: <xsl:value-of select="@value"/>;} </xsl:template>
+<xsl:template match="color[@name='code']">
+.code, code, pre        { border-color: <xsl:value-of select="@value"/>;} </xsl:template>
+<xsl:template match="color[@name='table']">
 body .grid td {
 	border-top: 1px solid <xsl:value-of select="@value"/>;
-	border-left: 1px solid <xsl:value-of select="@value"/>;} 
+	border-left: 1px solid <xsl:value-of select="@value"/>;}
 .app th {
-	background-color: <xsl:value-of select="@value"/>;}</xsl:template> 
-<xsl:template match="color[@name='table-cell']"> 
+	background-color: <xsl:value-of select="@value"/>;}</xsl:template>
+<xsl:template match="color[@name='table-cell']">
 body .grid td {
 	background-color: <xsl:value-of select="@value"/>;
-} </xsl:template> 
+} </xsl:template>
 
 </xsl:stylesheet>

Mime
View raw message