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/resources/skins/krysalis-site/xslt/html site2xhtml.xsl
Date Wed, 26 Mar 2003 15:35:07 GMT
nicolaken    2003/03/26 07:35:07

  Modified:    src/resources/skins/krysalis-site/css page.css
               src/resources/skins/krysalis-site/xslt/html site2xhtml.xsl
  Log:
        <action dev="NKB" type="fix" context="skins">
         On krysalis skin: fixed print css, also using text instead of
         logos and adding the footer, and changed link colors to blues and
         red for active links.
        </action>
  
  Revision  Changes    Path
  1.8       +37 -11    xml-forrest/src/resources/skins/krysalis-site/css/page.css
  
  Index: page.css
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/krysalis-site/css/page.css,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- page.css	25 Mar 2003 17:07:21 -0000	1.7
  +++ page.css	26 Mar 2003 15:35:07 -0000	1.8
  @@ -1,13 +1,22 @@
  +
   body {  background-color: #FFFFFF; margin: 0px 0px 0px 0px; font-family: Verdana, Helvetica,
sans-serif;  font-size : 100%;  }
   
   p {  background-color: #FFFFFF; margin: 10px 0px 0px 0px; font-family: Verdana, Helvetica,
sans-serif;  font-size : 100%;  }
   
  -a:link { color: #0F3660; }
  -a:visited { color: #000000; }
  -a:active { color: #000000; }
  -a:hover { color: #000000; border: 0px solid #a5b6c6; background: #CFDCED; }
  +.textheader { display: none;  }
  +.headerlogo { padding: 0px 2px 2px 0px;  }
   
  -.menu a:link { color: #000000;  }
  +a:link { color: #0F3660; }
  +a:visited { color: #000044; }
  +a:active { color: #800000; }
  +a:hover { border: 0px solid #a5b6c6; background: #CFDCED; }
  +
  +img { border: 0; }
  +
  +.menu a:link { color: #000000;  font-weight: normal;}
  +.menu a:visited { color: #000000; font-weight: normal; }
  +.menu a:active { color: #000000; font-weight: normal; }
  +.menu a:hover { color: #000000; font-weight: normal; }
   
   .menu { background-color: #F7F7F7; 
           padding: 8px 0px 4px 0px;  
  @@ -156,14 +165,25 @@
   .footnote { font-size : 70%;  }
   .datenote { font-size : 60%;  color: #F7F7F7;}
   
  -input { font-size : 70% }
  -submit { font-size : 70%  }
  -button { font-size : 70%  }
  -textarea { font-size : 70% }
  +input { font-size : 100% }
  +submit { font-size : 100%  }
  +button { font-size : 100%  }
  +textarea { font-size : 100% }
   
   .tab { font-size : 85%; border: 0 }
  +
  +.tab a:link {  font-weight: normal;}
  +.tab a:visited { font-weight: normal; }
  +.tab a:active { font-weight: normal; }
  +.tab a:hover {  font-weight: normal; }
  +
   .trail { font-size: 70%; }
   
  +.trail a:link {  font-weight: normal;}
  +.trail a:visited {  font-weight: normal; }
  +.trail a:active {  font-weight: normal; }
  +.trail a:hover {  font-weight: normal; }
  +
   
   .dtdTag {    color: #990000; text-transform : uppercase;  font-style : normal;  font-size
: 120%;  font-weight : bold; }
   
  @@ -242,12 +262,18 @@
   
   
   @media print {
  +  .headerlogo { display: none;  }
  +  .textheader { display: block;  font-size : 70%; }
     .menu { display: none;  }
  +  .dida {  display: none;  }
     .minitoc { display: none;  }
     .search { display: none;  }
  -  .footnote { display: none;  }
  +  .datenote { display: none;  }
  +  /*.footnote { display: none;  }*/
     .tab  { display: none;  }
     .trail  { display: none;  }
  +  .logos  { display: none;  }
  +
     .top-left { display: none;  }
     .top-right { display: none;  }
     .top-left-tab  { display: none;  }
  @@ -256,7 +282,7 @@
     .bottom-right  { display: none;  }
     .bottom-left-thick { display: none;  }
     .bottom-right-thick  { display: none;  }
  -
  +    
   }
   
   
  
  
  
  1.13      +15 -10    xml-forrest/src/resources/skins/krysalis-site/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/krysalis-site/xslt/html/site2xhtml.xsl,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- site2xhtml.xsl	25 Mar 2003 17:07:21 -0000	1.12
  +++ site2xhtml.xsl	26 Mar 2003 15:35:07 -0000	1.13
  @@ -48,28 +48,33 @@
               <xsl:comment>================= start Group Logo ==================</xsl:comment>
               <td bgcolor="{$header-color}">
                 <xsl:if test="$config/group-url">
  +                <div class="headerlogo">
                   <xsl:call-template name="renderlogo">
                     <xsl:with-param name="name" select="$config/group-name"/>
                     <xsl:with-param name="url" select="$config/group-url"/>
                     <xsl:with-param name="logo" select="$config/group-logo"/>
                     <xsl:with-param name="root" select="$root"/>
                   </xsl:call-template>
  +                </div>
  +                <span class="textheader"><xsl:value-of select="$config/group-name"/></span>
                 </xsl:if>
               </td>
               <xsl:comment>================= end Group Logo ==================</xsl:comment>
               <xsl:comment>================= start Project Logo ==================</xsl:comment>
  -            <td bgcolor="{$header-color}" align="center" width="100%">
  +            <td bgcolor="{$header-color}" align="center" >
  +             <div class="headerlogo">
                 <xsl:call-template name="renderlogo">
                   <xsl:with-param name="name" select="$config/project-name"/>
                   <xsl:with-param name="url" select="$config/project-url"/>
                   <xsl:with-param name="logo" select="$config/project-logo"/>
                   <xsl:with-param name="root" select="$root"/>
                 </xsl:call-template>
  +              </div>
               </td>
               <xsl:comment>================= end Project Logo ==================</xsl:comment>
   
               <xsl:comment>================= start Search ==================</xsl:comment>
  -            <td bgcolor="{$header-color}" rowspan="2" valign="top">
  +            <td class="search" align="right" bgcolor="{$header-color}" rowspan="2" valign="top">
                 <xsl:if test="not($config/disable-search) or
                   $config/disable-search='false' and $config/searchsite-domain and
                   $config/searchsite-name">
  @@ -89,13 +94,11 @@
                           <img src="{$spacer}" alt="" width="5" height="1" />
                           <input type="submit" value="Search" name="Search"/>
                           <br />
  -                        <span class="search">
                             the <xsl:value-of select="$config/searchsite-name"/> site
                             <!-- setting search options off for the moment -->
                             <!--
                             <input type="radio" name="web" value="web"/>web site&#160;&#160;<input
type="radio" name="mail" value="mail"/>mail lists
                             -->
  -                        </span>
                         </td>
                         <td><img src="{$spacer}" alt="" width="1" height="1" /></td>
                       </tr>
  @@ -115,7 +118,9 @@
               </td>
               <xsl:comment>================= end Search ==================</xsl:comment>
   
  -            <td bgcolor="{$header-color}"><img src="{$spacer}" alt="" width="10"
height="10" /></td>
  +            <td align="right" bgcolor="{$header-color}"><img src="{$spacer}" alt=""
width="10" height="10" />
  +              <span class="textheader"><xsl:value-of select="$config/project-name"/></span>
  +            </td>
             </tr>
             <tr>
               <td colspan="2" bgcolor="{$header-color}" valign="bottom">
  @@ -197,7 +202,7 @@
                     </tr> 
                     <tr> 
                     <td><img src="{$spacer}" alt="" height="1" width="1" /></td>
  -                  <td colspan="4" height="5">
  +                  <td colspan="4" height="5" class="logos">
                     <a href="{$url}">
                       <img alt="{$name} logo" border="0">
                         <xsl:attribute name="src">
  @@ -239,9 +244,9 @@
                     <td bgcolor="{$background-bars}" width="50%" align="right">
                       <!-- ============ Page navigation =========== -->
                         <span class="trail">Font size: 
  -                                 &#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"/>
  -                                 &#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"/>
  +                        &#160;<input type="button" onclick="ndeSetTextSize('reset');
return false;" title="Reset text" class="resetfont" value="Reset"/>           
                       </span>
                       <img src="{$spacer}" alt="" height="8" width="10" />
                     </td>
  
  
  

Mime
View raw message