forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-forrest/src/core/context/skins/tigris-style/css forrest.css.xslt
Date Mon, 19 Jan 2004 18:13:30 GMT
nicolaken    2004/01/19 10:13:30

  Modified:    src/core/context/skins/tigris-style/css forrest.css.xslt
  Log:
  * use highlight colors for good rendering in all color schemes
  * use cool antialiased rounded borders with right colors
  * general fixes
  
  Revision  Changes    Path
  1.4       +133 -13   xml-forrest/src/core/context/skins/tigris-style/css/forrest.css.xslt
  
  Index: forrest.css.xslt
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/core/context/skins/tigris-style/css/forrest.css.xslt,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- forrest.css.xslt	13 Jan 2004 08:19:53 -0000	1.3
  +++ forrest.css.xslt	19 Jan 2004 18:13:30 -0000	1.4
  @@ -7,6 +7,44 @@
          stylesheet in standalone editors -->
     <xsl:output method = "text"  omit-xml-declaration="yes"  />
   
  +<xsl:template match="skinconfig">
  +  <xsl:apply-imports/>
  +<!-- rounded corners --> 
  +#toptabs td{
  +	background-image: url('images/rc-t-l-10-1header-2tab-unselected-3tab-unselected.png');
  +<!-- 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-top: 0px;
  +    padding-bottom: 0px;  	
  +-->   
  +}
  +
  +#toptabs th {
  +	background-image: url('images/rc-t-l-10-1header-2tab-selected-3tab-selected.png');
  +}
  +.app h3 {
  +	background-image: url('images/rc-t-l-10-1body-2heading-3heading.png');
  +}
  +.app h4 {
  +	background-image: url('images/rc-t-l-10-1body-2subheading-3subheading.png');
  +}
  +</xsl:template>
  +
   <xsl:template match="group-logo">
     <xsl:if test="'@width' and '@height'">
   #cn {
  @@ -42,21 +80,60 @@
   
   
   <xsl:template match="color[@name='header']">
  -#banner, #banner td, #toptabs { background-color: <xsl:value-of select="@value"/>;}
</xsl:template>
  +#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']"> 
  -.tabs th      { background-color: <xsl:value-of select="@value"/>;} 
  +.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"/>;}  
  +.tabs th a:visited {
  +	color: <xsl:value-of select="@vlink"/>;}
  +.tabs th a:hover {
  +	color: <xsl:value-of select="@hlink"/> !important; }
   #mytools .label, #projecttools .label, #admintools .label, #communitytools .label {
   	background-color: <xsl:value-of select="@value"/>;}
   #mytools, #projecttools, #admintools, #communitytools {
  -	background-color: <xsl:value-of select="@value"/>;}
  +	background-color: <xsl:value-of select="@value"/>;
  +	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      { background-color: <xsl:value-of select="@value"/>;} </xsl:template>

  +.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"/>;}  
  +.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']"> 
  -#breadcrumbs {background-color: <xsl:value-of select="@value"/>;}</xsl:template>

  +#breadcrumbs a: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 {background-color: <xsl:value-of select="@value"/>;}</xsl:template>

  +#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"/>;}  
  +#breadcrumbs a:visited {
  +	color: <xsl:value-of select="@vlink"/>;}
  +#breadcrumbs a:hover {
  +	color: <xsl:value-of select="@hlink"/> !important;}
  +</xsl:template> 
   
   <xsl:template match="color[@name='heading']"> 
   .app h3 {background-color: <xsl:value-of select="@value"/>;}</xsl:template>

  @@ -64,18 +141,61 @@
   .app h4  { background-color: <xsl:value-of select="@value"/>;} </xsl:template>

   
   <xsl:template match="color[@name='navstrip']"> 
  -#topmodule    { background-color: <xsl:value-of select="@value"/>;} </xsl:template>

  +#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"/>;
  +                color: <xsl:value-of select="@font"/>;}
  +#topmodule #issueid {
  +	border-right: 1px solid <xsl:value-of select="@lowlight"/>;
  +}
  +#topmodule a: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>

  -
  +.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']"> 
   #mytools .body, #projecttools .body, #admintools .body, #communitytools .body {
  -	background-color: <xsl:value-of select="@value"/>;}</xsl:template> 
  +	background-color: <xsl:value-of select="@value"/>;
  +	border-right: 1px solid  <xsl:value-of select="@highlight"/>;
  +	border-bottom: 1px solid  <xsl:value-of select="@highlight"/>;
  +	border-top: 1px solid  <xsl:value-of select="@lowlight"/>;
  +	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"/>;}  
  +#mytools .body a:visited, #projecttools .body a:visited, #admintools .body a:visited, #communitytools
.body a:visited{
  +	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"/>;}    </xsl:template>

  -
  +.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 match="color[@name='body']">
  -body         { background-color: <xsl:value-of select="@value"/>;} </xsl:template>
  +body         { background-color: <xsl:value-of select="@value"/>;}
  +a:link, #navcolumn a:visited, .app a:visited, .tasknav a:visited {
  +	color: <xsl:value-of select="@link"/>;
  +}
  +a:link.selfref, a:visited.selfref {
  +	color: <xsl:value-of select="@vlink"/> !important;
  +	text-decoration: none;
  +}
  +a:active, a:hover, #leftcol a:active, #leftcol a:hover {
  +	color: <xsl:value-of select="@hlink"/> !important;
  +}
  +</xsl:template>
   
   <xsl:template match="color[@name='footer']"> 
   #footer      { background-color: <xsl:value-of select="@value"/>;} </xsl:template>

  
  
  

Mime
View raw message