You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by ni...@apache.org on 2003/12/30 01:04:36 UTC

cvs commit: xml-forrest/src/core/context/skins/tigris-style/xslt/html site2xhtml.xsl

nicolaken    2003/12/29 16:04:36

  Modified:    src/core/context/skins/tigris-style/xslt/html site2xhtml.xsl
  Added:       src/core/context/skins/tigris-style/css forrest.css.xslt
  Log:
  Make tigris-style use a xslt-generated css so it can have color
  profiles. Will do this step later.
  
  Revision  Changes    Path
  1.1                  xml-forrest/src/core/context/skins/tigris-style/css/forrest.css.xslt
  
  Index: forrest.css.xslt
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method = "text"  omit-xml-declaration="yes"  />
      
    <xsl:template match="skinconfig">
    <!-- insert CSS here -->
  /* $Id: forrest.css.xslt,v 1.1 2003/12/30 00:04:35 nicolaken Exp $ */
  
  /* colors */
  
  /* TODO */
  #toptabs td, #toptabs th {
  	background-image: url(../images/nw_min_036.gif);
  }
  
  .app h3, #banner, #banner td, #toptabs {
  	background-color: #036;
  	color: #fff;
  }
  
  body #banner td a, .app h3 a, .app h4 a {
  	color: #fff !important;
  }
  
  #banner {
  	border-top: 1px solid #369;
  }
  
  #mytools .label, #projecttools .label, #admintools .label, #communitytools .label {
  	background-color: #ddd;
  }
  
  #mytools .body, #projecttools .body, #admintools .body, #communitytools .body {
  	background-color: #fff;
  	border-top: 1px solid #999;
  }
  
  #mytools, #projecttools, #admintools, #communitytools {
  	background-color: #ddd;
  	border-right: 1px solid #666;
  	border-bottom: 1px solid #666;
  }
  
  #helptext {
  	background-color: #ffc;
  }
  
  #helptext .label {
  	border-bottom: 1px solid #996;
  	border-right: 1px solid #996;
  	background-color: #cc9;
  }
  
  #helptext .body {
  	border-bottom: 1px solid #cc9;
  	border-right: 1px solid #cc9;
  }
  
  #topmodule {
  	background-color: #ddd;
  	border-top: 1px solid #fff;
  	border-bottom: 1px solid #aaa;
  }
  
  #topmodule #issueid {
  	border-right: 1px solid #aaa;
  }
  
  #login a:link, #login a:visited {
  	color: white;
  }
  
  #banner a:active, #banner a:hover {
  	color: #f90 !important;
  }
  
  #toptabs td {
  	border-bottom: 1px solid #666;
  	border-right: 1px solid #333;
  	border-left: 1px solid #036;
  }
  
  #toptabs th {
  	border-left: 1px solid #036;
  }
       
    <!-- end CSS here -->
    </xsl:template>
  
    <xsl:template match="*"></xsl:template>
    <xsl:template match="text()"></xsl:template>
  
  </xsl:stylesheet>
  
  
  1.4       +3 -2      xml-forrest/src/core/context/skins/tigris-style/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/core/context/skins/tigris-style/xslt/html/site2xhtml.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- site2xhtml.xsl	28 Dec 2003 22:54:16 -0000	1.3
  +++ site2xhtml.xsl	30 Dec 2003 00:04:35 -0000	1.4
  @@ -32,7 +32,8 @@
             @import "]]><xsl:value-of select="$root"/><![CDATA[skin/tigris.css";  
             @import "]]><xsl:value-of select="$root"/><![CDATA[skin/quirks.css"; 
             @import "]]><xsl:value-of select="$root"/><![CDATA[skin/inst.css"; 
  -          /*  ]]> */
  +          @import "]]><xsl:value-of select="$root"/><![CDATA[skin/forrest.css"; 
  +         /*  ]]> */
           </style>
           <link rel="stylesheet" type="text/css" href="{$root}skin/print.css" media="print" />
           <script src="{$root}skin/tigris.js" type="text/javascript"></script>