toshi       2005/01/26 01:31:06

  Added:       targets/axis/ja/skin breadcrumbs-optimized.js breadcrumbs.js
                        fontsize.js forrest.css.xslt getBlank.js getMenu.js
                        menu.js mysite.css print.css site.css skinconf.xsl
                        tigris.css
  Log:
  A feedback from the i18n task on the Japanese Axis Community.
  The translation was made by Youhei Kawada [EMAIL PROTECTED]
  
  Revision  Changes    Path
  1.1                  ws-site/targets/axis/ja/skin/breadcrumbs-optimized.js
  
  Index: breadcrumbs-optimized.js
  ===================================================================
  /*
  * Copyright 2002-2004 The Apache Software Foundation
  *
  * Licensed 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.
  */
  var PREPREND_CRUMBS=new Array();
  var link1="@skinconfig.trail.link1.name@";
  var link2="@skinconfig.trail.link2.name@";
  var link3="@skinconfig.trail.link3.name@";
  if(!(link1=="")&&!link1.indexOf( "@" ) == 0){
    PREPREND_CRUMBS.push( new Array( link1, @skinconfig.trail.link1.href@ ) ); }
  if(!(link2=="")&&!link2.indexOf( "@" ) == 0){
    PREPREND_CRUMBS.push( new Array( link2, @skinconfig.trail.link2.href@ ) ); }
  if(!(link3=="")&&!link3.indexOf( "@" ) == 0){
    PREPREND_CRUMBS.push( new Array( link3, @skinconfig.trail.link3.href@ ) ); }
  var DISPLAY_SEPARATOR=" > ";
  var DISPLAY_PREPREND=" > ";
  var DISPLAY_POSTPREND=":";
  var CSS_CLASS_CRUMB="breadcrumb";
  var CSS_CLASS_TRAIL="breadcrumbTrail";
  var CSS_CLASS_SEPARATOR="crumbSeparator";
  var FILE_EXTENSIONS=new Array( ".html", ".htm", ".jsp", ".php", ".php3", 
".php4" );
  var PATH_SEPARATOR="/";
  
  function sc(s) {
        var l=s.toLowerCase();
        return l.substr(0,1).toUpperCase()+l.substr(1);
  }
  function getdirs() {
        var t=document.location.pathname.split(PATH_SEPARATOR);
        var lc=t[t.length-1];
        for(var i=0;i < FILE_EXTENSIONS.length;i++)
        {
                if(lc.indexOf(FILE_EXTENSIONS[i]))
                        return t.slice(1,t.length-1); }
        return t.slice(1,t.length);
  }
  function getcrumbs( d )
  {
        var pre = "/";
        var post = "/";
        var c = new Array();
        if( d != null )
        {
                for(var i=0;i < d.length;i++) {
                        pre+=d[i]+postfix;
                        c.push(new Array(d[i],pre)); }
        }
        if(PREPREND_CRUMBS.length > 0 )
                return PREPREND_CRUMBS.concat( c );
        return c;
  }
  function gettrail( c )
  {
        var h=DISPLAY_PREPREND;
        for(var i=0;i < c.length;i++)
        {
                h+='<a href="'+c[i][1]+'" >'+sc(c[i][0])+'</a>';
                if(i!=(c.length-1))
                        h+=DISPLAY_SEPARATOR; }
        return h+DISPLAY_POSTPREND;
  }
  
  function gettrailXHTML( c )
  {
        var h='<span class="'+CSS_CLASS_TRAIL+'">'+DISPLAY_PREPREND;
        for(var i=0;i < c.length;i++)
        {
                h+='<a href="'+c[i][1]+'" 
class="'+CSS_CLASS_CRUMB+'">'+sc(c[i][0])+'</a>';
                if(i!=(c.length-1))
                        h+='<span 
class="'+CSS_CLASS_SEPARATOR+'">'+DISPLAY_SEPARATOR+'</span>'; }
        return h+DISPLAY_POSTPREND+'</span>';
  }
  
  if(document.location.href.toLowerCase().indexOf("http://";)==-1)
        document.write(gettrail(getcrumbs()));
  else
        document.write(gettrail(getcrumbs(getdirs())));
  
  
  
  
  1.1                  ws-site/targets/axis/ja/skin/breadcrumbs.js
  
  Index: breadcrumbs.js
  ===================================================================
  /*
  * Copyright 2002-2004 The Apache Software Foundation
  *
  * Licensed 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.
  */
  /**
   * This script, when included in a html file, builds a neat breadcrumb trail
   * based on its url. That is, if it doesn't contains bugs (I'm relatively
   * sure it does).
   *
   * Typical usage:
   * <script type="text/javascript" language="JavaScript" 
src="breadcrumbs.js"></script>
   */
  
  /**
   * IE 5 on Mac doesn't know Array.push.
   *
   * Implement it - courtesy to fritz.
   */
  var abc       = new Array();
  if (!abc.push) {
    Array.prototype.push        = function(what){this[this.length]=what}
  }
  
  /* ========================================================================
        CONSTANTS
     ======================================================================== */
  
  /**
   * Two-dimensional array containing extra crumbs to place at the front of
   * the trail. Specify first the name of the crumb, then the URI that belongs
   * to it. You'll need to modify this for every domain or subdomain where
   * you use this script (you can leave it as an empty array if you wish)
   */
  var PREPREND_CRUMBS = new Array();
  
  var link1 = "@skinconfig.trail.link1.name@";
  var link2 = "@skinconfig.trail.link2.name@";
  var link3 = "@skinconfig.trail.link3.name@";
  
  var href1 = "@skinconfig.trail.link1.href@";
  var href2 = "@skinconfig.trail.link2.href@";
  var href3 = "@skinconfig.trail.link3.href@";
  
     if(!(link1=="")&&!link1.indexOf( "@" ) == 0){
       PREPREND_CRUMBS.push( new Array( link1, href1 ) );
     }
     if(!(link2=="")&&!link2.indexOf( "@" ) == 0){
       PREPREND_CRUMBS.push( new Array( link2, href2 ) );
     }
     if(!(link3=="")&&!link3.indexOf( "@" ) == 0){
       PREPREND_CRUMBS.push( new Array( link3, href3 ) );
     }
  
  /**
   * String to include between crumbs:
   */
  var DISPLAY_SEPARATOR = " &gt; ";
  /**
   * String to include at the beginning of the trail
   */
  var DISPLAY_PREPREND = " &gt; ";
  /**
   * String to include at the end of the trail
   */
  var DISPLAY_POSTPREND = "";
  
  /**
   * CSS Class to use for a single crumb:
   */
  var CSS_CLASS_CRUMB = "breadcrumb";
  
  /**
   * CSS Class to use for the complete trail:
   */
  var CSS_CLASS_TRAIL = "breadcrumbTrail";
  
  /**
   * CSS Class to use for crumb separator:
   */
  var CSS_CLASS_SEPARATOR = "crumbSeparator";
  
  /**
   * Array of strings containing common file extensions. We use this to
   * determine what part of the url to ignore (if it contains one of the
   * string specified here, we ignore it).
   */
  var FILE_EXTENSIONS = new Array( ".html", ".htm", ".jsp", ".php", ".php3", 
".php4" );
  
  /**
   * String that separates parts of the breadcrumb trail from each other.
   * When this is no longer a slash, I'm sure I'll be old and grey.
   */
  var PATH_SEPARATOR = "/";
  
  /* ========================================================================
        UTILITY FUNCTIONS
     ======================================================================== */
  /**
   * Capitalize first letter of the provided string and return the modified
   * string.
   */
  function sentenceCase( string )
  {        return string;
        //var lower = string.toLowerCase();
        //return lower.substr(0,1).toUpperCase() + lower.substr(1);
  }
  
  /**
   * Returns an array containing the names of all the directories in the
   * current document URL
   */
  function getDirectoriesInURL()
  {
        var trail = document.location.pathname.split( PATH_SEPARATOR );
  
        // check whether last section is a file or a directory
        var lastcrumb = trail[trail.length-1];
        for( var i = 0; i < FILE_EXTENSIONS.length; i++ )
        {
                if( lastcrumb.indexOf( FILE_EXTENSIONS[i] ) )
                {
                        // it is, remove it and send results
                        return trail.slice( 1, trail.length-1 );
                }
        }
  
        // it's not; send the trail unmodified
        return trail.slice( 1, trail.length );
  }
  
  /* ========================================================================
        BREADCRUMB FUNCTIONALITY
     ======================================================================== */
  /**
   * Return a two-dimensional array describing the breadcrumbs based on the
   * array of directories passed in.
   */
  function getBreadcrumbs( dirs )
  {
        var prefix = "/";
        var postfix = "/";
  
        // the array we will return
        var crumbs = new Array();
  
        if( dirs != null )
        {
                for( var i = 0; i < dirs.length; i++ )
                {
                        prefix += dirs[i] + postfix;
                        crumbs.push( new Array( dirs[i], prefix ) );
                }
        }
  
        // preprend the PREPREND_CRUMBS
        if(PREPREND_CRUMBS.length > 0 )
        {
                return PREPREND_CRUMBS.concat( crumbs );
        }
  
        return crumbs;
  }
  
  /**
   * Return a string containing a simple text breadcrumb trail based on the
   * two-dimensional array passed in.
   */
  function getCrumbTrail( crumbs )
  {
        var xhtml = DISPLAY_PREPREND;
  
        for( var i = 0; i < crumbs.length; i++ )
        {
                xhtml += '<a href="' + crumbs[i][1] + '" >';
                xhtml += unescape( crumbs[i][0] ) + '</a>';
                if( i != (crumbs.length-1) )
                {
                        xhtml += DISPLAY_SEPARATOR;
                }
        }
  
        xhtml += DISPLAY_POSTPREND;
  
        return xhtml;
  }
  
  /**
   * Return a string containing an XHTML breadcrumb trail based on the
   * two-dimensional array passed in.
   */
  function getCrumbTrailXHTML( crumbs )
  {
        var xhtml = '<span class="' + CSS_CLASS_TRAIL  + '">';
        xhtml += DISPLAY_PREPREND;
  
        for( var i = 0; i < crumbs.length; i++ )
        {
                xhtml += '<a href="' + crumbs[i][1] + '" class="' + 
CSS_CLASS_CRUMB + '">';
                xhtml += unescape( crumbs[i][0] ) + '</a>';
                if( i != (crumbs.length-1) )
                {
                        xhtml += '<span class="' + CSS_CLASS_SEPARATOR + '">' + 
DISPLAY_SEPARATOR + '</span>';
                }
        }
  
        xhtml += DISPLAY_POSTPREND;
        xhtml += '</span>';
  
        return xhtml;
  }
  
  /* ========================================================================
        PRINT BREADCRUMB TRAIL
     ======================================================================== */
  
  // check if we're local; if so, only print the PREPREND_CRUMBS
  if( document.location.href.toLowerCase().indexOf( "http://"; ) == -1 )
  {
        document.write( getCrumbTrail( getBreadcrumbs() ) );
  }
  else
  {
        document.write( getCrumbTrail( getBreadcrumbs( getDirectoriesInURL() ) 
) );
  }
  
  
  
  
  1.1                  ws-site/targets/axis/ja/skin/fontsize.js
  
  Index: fontsize.js
  ===================================================================
  /*
  * Copyright 2002-2004 The Apache Software Foundation
  *
  * Licensed 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.
  */
  function init() 
  { //embedded in the doc
    //ndeSetTextSize();
  }
  
  function checkBrowser(){
    if (!document.getElementsByTagName){
      return true;
    }
    else{
      return false;
    }
  }
  
  
  function ndeSetTextSize(chgsize,rs) 
  {
    var startSize;
    var newSize;
  
    if (!checkBrowser)
    {
      return;
    }
  
    startSize = parseInt(ndeGetDocTextSize());
  
    if (!startSize)
    {
      startSize = 16;
    }
  
    switch (chgsize)
    {
    case 'incr':
      newSize = startSize + 2;
      break;
  
    case 'decr':
      newSize = startSize - 2;
      break;
  
    case 'reset':
      if (rs) {newSize = rs;} else {newSize = 16;}
      break;
  
    default:
      try{
        newSize = parseInt(ndeReadCookie("nde-textsize"));
      }
      catch(e){
        alert(e);
      }
      
      if (!newSize || newSize == 'NaN')
      {
        newSize = startSize;
      }
      break;
  
    }
  
    if (newSize < 10) 
    {
      newSize = 10;
    }
  
    newSize += 'px';
  
    document.getElementsByTagName('html')[0].style.fontSize = newSize;
    document.getElementsByTagName('body')[0].style.fontSize = newSize;
  
    ndeCreateCookie("nde-textsize", newSize, 365);
  }
  
  function ndeGetDocTextSize() 
  {
    if (!checkBrowser)
    {
      return 0;
    }
  
    var size = 0;
    var body = document.getElementsByTagName('body')[0];
  
    if (body.style && body.style.fontSize)
    {
      size = body.style.fontSize;
    }
    else if (typeof(getComputedStyle) != 'undefined')
    {
      size = getComputedStyle(body,'').getPropertyValue('font-size');
    }
    else if (body.currentStyle)
    {
     size = body.currentStyle.fontSize;
    }
  
    //fix IE bug
    if( isNaN(size)){
      if(size.substring(size.length-1)=="%"){
        return
      }
  
    }
  
    return size;
  
  }
  
  
  
  function ndeCreateCookie(name,value,days) 
  {
    var cookie = name + "=" + value + ";";
  
    if (days) 
    {
      var date = new Date();
      date.setTime(date.getTime()+(days*24*60*60*1000));
      cookie += " expires=" + date.toGMTString() + ";";
    }
    cookie += " path=/";
  
    document.cookie = cookie;
  
  }
  
  function ndeReadCookie(name) 
  {
    var nameEQ = name + "=";
    var ca = document.cookie.split(';');
  
   
    for(var i = 0; i < ca.length; i++) 
    {
      var c = ca[i];
      while (c.charAt(0) == ' ') 
      {
        c = c.substring(1, c.length);
      }
  
      ctest = c.substring(0,name.length);
   
      if(ctest == name){
        return c.substring(nameEQ.length,c.length);
      }
    }
    return null;
  }
  
  
  
  1.1                  ws-site/targets/axis/ja/skin/forrest.css.xslt
  
  Index: forrest.css.xslt
  ===================================================================
  <?xml version="1.0"?>
  <!--
    Copyright 2002-2004 The Apache Software Foundation
  
    Licensed 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: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 match="extra-css">
      <xsl:value-of select="."/>
    </xsl:template>
    
    <xsl:template match="*"></xsl:template>
    <xsl:template match="text()"></xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  ws-site/targets/axis/ja/skin/getBlank.js
  
  Index: getBlank.js
  ===================================================================
  /*
  * Copyright 2002-2004 The Apache Software Foundation
  *
  * Licensed 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.
  */
  /**
   * This script, when included in a html file and called from a form text 
field, will set the value of this field to ""
   * if the text value is still the standard value.
   *
   * Typical usage:
   * <script type="text/javascript" language="JavaScript" 
src="getBlank.js"></script>
   * <input type="text" id="query" value="Search the site:" onFocus="getBlank 
(this, 'Search the site:');"/>
   */
  <!--
  function getBlank (form, stdValue){
  if (form.value == stdValue){
        form.value = '';
        }
  return true;
  }
  //-->
  
  
  
  1.1                  ws-site/targets/axis/ja/skin/getMenu.js
  
  Index: getMenu.js
  ===================================================================
  /*
  * Copyright 2002-2004 The Apache Software Foundation
  *
  * Licensed 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.
  */
  /**
   * This script, when included in a html file, can be used to make collapsible 
menus
   *
   * Typical usage:
   * <script type="text/javascript" language="JavaScript" 
src="menu.js"></script>
   */
  
  if (document.getElementById){ 
    document.write('<style type="text/css">.menuitemgroup{display: 
none;}</style>')
  }
  
  
  function SwitchMenu(obj, thePath)
  {
  var open = 'url("'+thePath + 'images/chapter_open.gif")';
  var close = 'url("'+thePath + 'images/chapter.gif")';
    if(document.getElementById)  {
      var el = document.getElementById(obj);
      var title = document.getElementById(obj+'Title');
  
      if(el.style.display != "block"){ 
        title.style.backgroundImage = open;
        el.style.display = "block";
      }else{
        title.style.backgroundImage = close;
        el.style.display = "none";
      }
    }// end -  if(document.getElementById) 
  }//end - function SwitchMenu(obj)
  
  
  
  1.1                  ws-site/targets/axis/ja/skin/menu.js
  
  Index: menu.js
  ===================================================================
  /*
  * Copyright 2002-2004 The Apache Software Foundation
  *
  * Licensed 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.
  */
  /**
   * This script, when included in a html file, can be used to make collapsible 
menus
   *
   * Typical usage:
   * <script type="text/javascript" language="JavaScript" 
src="menu.js"></script>
   */
  
  if (document.getElementById){ 
    document.write('<style type="text/css">.menuitemgroup{display: 
none;}</style>')
  }
  
  function SwitchMenu(obj)
  {
    if(document.getElementById)  {
      var el = document.getElementById(obj);
      var title = document.getElementById(obj+'Title');
  
      if(obj.indexOf("_selected_")==0&&el.style.display == ""){
        //nicolaken: doesn't work :-(
        //title.style.backgroundImage = "url('images/chapter_open.gif')";
        el.style.display = "block";
      }
  
      if(el.style.display != "block"){ 
        //nicolaken: doesn't work :-(
        //title.style.backgroundImage = 
'url([url]images/chapter_open.gif[/url])';
        el.style.display = "block";
      }else{
        //nicolaken: doesn't work :-(
        //title.style.backgroundImage = "url('images/chapter.gif')";
        el.style.display = "none";
      }
    }// end -  if(document.getElementById) 
  }//end - function SwitchMenu(obj)
  
  
  
  1.1                  ws-site/targets/axis/ja/skin/mysite.css
  
  Index: mysite.css
  ===================================================================
  /*

   * Other colors:

   *  - dark blue: #036

   *  - bluish: #269

   *

   */

  

  /*

   * The Banner section.

   */

  .banner, .projectLogo, .groupLogo, .projectLogo a, .groupLogo a,

      .groupLogo a:visited, .projectLogo a:visited,

      .groupLogo a:link, .projectLogo a:link {

  }

  

  /*

   * The Status + Footer section.

   */

  .status, .breadcrumb, .searcher, .tabs {

  }

  

  .selectedTab {

  }

  

  /*

   * The Menu section.

   */

  .menuColumn {

  }

  .menubar {

  }

  .menu {

  }

  .menuLabel {

  }

  .menuItem {

  }

  

  /*

   * The Content section.

   */

  .contentColumn {

  }

  

  h1, h2, h3, h4 {

  }

  

  h3, h4 {

   }

  h3 {

    }

  h4 {  

  }

  

  .code {

  }

  

  .section {

  }

  

  .subsection {

  }

  

  /*

   * The Footer section.

   */

  .footer, .copyright, .host, .credit {

  }

  

  /*

   * General Settings

   */

  body {

  }

  

  a:link, .menuItem a:visited, .status a:visited {

   color: #036;

  }

  

  a:active, a:hover {

  

  }

  

  body, th, td {

  }

  

  .logoImage {

  }
  
  
  1.1                  ws-site/targets/axis/ja/skin/print.css
  
  Index: print.css
  ===================================================================
  #banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks    
{

        display: none;

        }

  body.docs div.docs    {

        margin: 0 !important;

        border: none !important

        }

  

  /* just to be sure */

  #navcolumn {

   width: 0px;

  }

  

  #leftcol {

   width: 0px;

  }
  
  
  1.1                  ws-site/targets/axis/ja/skin/site.css
  
  Index: site.css
  ===================================================================
  div#banner {

   border-top: 1px solid #fff;

   border-bottom: 1px solid #aaa;

  }

  

  #banner, #banner td {

   background: #fff;

   color: #036;

  }

  

  #tabs {

    text-align: right;

  }

  

  .selectedTab {

    color: #036;        

  }

  

   a.unselectedTab {

    color: #888888;     

  }

  

  #source {

   background-color: #fff;

   color: #000;

   border-right: 1px solid #888;

   border-left: 1px solid #888;

   border-top: 1px solid #888;

   border-bottom: 1px solid #888;

   margin-right: 7px;

   margin-left: 7px;

   margin-top: 1em;

  }

  

  #source pre {

   margin-right: 7px;

   margin-left: 7px;

  }

  

  /* make the whole column grey */

  #navcolumn {

   width: 150px;

   }

  

  #leftcol {

   width: 150px;

  }

  

  /*

   * The Menu section.

   */

  .menuColumn {

  }

  

  .menu {

    padding-bottom: .2em;

    font-size: x-small;

    text-decoration: none;

  }

  .menuLabel { font-weight: bold; }

  .menuItem {

    padding-left: 12px;

    text-decoration: none;

  }

  

  /* breadcrumbs */

  #breadcrumbs

  {

        font-weight: bold;

  }

  .breadcrumbTrail

  {

        padding-left: 5px;

  }

  .breadcrumb

  {

        font-weight: bold;

  }

  .crumbSeparator

  {

  }
  
  
  1.1                  ws-site/targets/axis/ja/skin/skinconf.xsl
  
  Index: skinconf.xsl
  ===================================================================
  <?xml version="1.0"?>
  <!--
    Copyright 2002-2004 The Apache Software Foundation
  
    Licensed 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:template match="skinconfig">
        <xsl:copy>
       <xsl:if test="not(disable-print-link)">     
         <disable-print-link>true</disable-print-link>
       </xsl:if>
       <xsl:if test="not(disable-pdf-link)">     
         <disable-pdf-link>true</disable-pdf-link>
       </xsl:if>
       <xsl:if test="not(disable-pod-link)">     
         <disable-pod-link>true</disable-pod-link>
       </xsl:if>
       <xsl:if test="not(disable-xml-link)">     
         <disable-xml-link>true</disable-xml-link>
       </xsl:if>
       <xsl:if test="not(disable-external-link-image)">     
         <disable-external-link-image>false</disable-external-link-image>
       </xsl:if>
       <xsl:if test="not(disable-compliance-links)">     
         <disable-compliance-links>false</disable-compliance-links>
       </xsl:if>
       <xsl:if test="not(obfuscate-mail-links)">     
         <obfuscate-mail-links>true</obfuscate-mail-links>
       </xsl:if>
       <xsl:if test="not(obfuscate-mail-value)">     
         <obfuscate-mail-value>.at.</obfuscate-mail-value>
       </xsl:if>
       <xsl:if test="not(disable-font-script)">     
         <disable-font-script>true</disable-font-script>
       </xsl:if>
       <!--
       <xsl:if test="not(project-name)">     
         <project-name>MyProject</project-name>
       </xsl:if>
       <xsl:if test="not(project-description)">     
         <project-description>MyProject Description</project-description>
       </xsl:if>
       <xsl:if test="not(project-url)">     
         <project-url>http://myproj.mygroup.org/</project-url>
       </xsl:if>
       <xsl:if test="not(project-logo)">     
         <project-logo>images/project.png</project-logo>
       </xsl:if>
       <xsl:if test="not(group-name)">     
         <group-name>MyGroup</group-name>
       </xsl:if>
       <xsl:if test="not(group-description)">     
         <group-description>MyGroup Description</group-description>
       </xsl:if>
       <xsl:if test="not(group-url)">     
         <group-url>http://mygroup.org</group-url>
       </xsl:if>
       <xsl:if test="not(group-logo)">     
         <group-logo>images/group.png</group-logo>
       </xsl:if>
       <xsl:if test="not(host-url)">     
         <host-url/>
       </xsl:if>
       <xsl:if test="not(host-logo)">     
         <host-logo/>
       </xsl:if>
       <xsl:if test="not(year)">     
         <year>2004</year>
       </xsl:if>
       <xsl:if test="not(vendor)">     
         <vendor>The Acme Software Foundation.</vendor>
       </xsl:if>
       -->
       <xsl:if test="not(trail)">
         <trail>
           <link1 name="" href=""/>
           <link2 name="" href=""/>
           <link3 name="" href=""/>
         </trail>
         
       </xsl:if>
       <xsl:if test="not(trail)">
          <toc level="2" location="page"/>
       </xsl:if>
       
      <xsl:if test="not(pdf/show-external-urls)">
          <pdf><show-external-urls>true</show-external-urls></pdf>
      </xsl:if>
  
  
  <!--
    <xsl:if test="not(colors)">
    <colors>
      <color name="header" value="#294563"/>
  
      <color name="tab-selected" value="#4a6d8c"/>
      <color name="tab-unselected" value="#b5c7e7"/>
      <color name="subtab-selected" value="#4a6d8c"/>
      <color name="subtab-unselected" value="#4a6d8c"/>
  
      <color name="heading" value="#294563"/>
      <color name="subheading" value="#4a6d8c"/>
          
      <color name="navstrip" value="#cedfef"/>
      <color name="toolbox" value="#294563"/>
      
      <color name="menu" value="#4a6d8c"/>    
      <color name="dialog" value="#4a6d8c"/>
              
      <color name="body" value="#ffffff"/>
      
      <color name="table" value="#7099C5"/>    
      <color name="table-cell" value="#f0f0ff"/>    
      <color name="highlight" value="#ffff00"/>
      <color name="fixme" value="#c60"/>
      <color name="note" value="#069"/>
  
      <color name="warning" value="#900"/>
      <color name="code" value="#CFDCED"/>
          
      <color name="footer" value="#cedfef"/>
    </colors>
    </xsl:if>
  -->
  
    <xsl:if test="not(extra-css)">
      <extra-css>
      </extra-css>
    </xsl:if>
    <xsl:if test="not(credits)">
     <credits>
      <credit>
        <name>Built with Apache Forrest</name>
        <url>http://forrest.apache.org/</url>
        <image>images/built-with-forrest-button.png</image>
        <width>88</width>
        <height>31</height>
      </credit>
      <!-- A credit with @role='pdf' will have its name and url displayed in the
      PDF page's footer. -->
    </credits>     
    </xsl:if>
  
        <xsl:copy-of select="@*"/>
        <xsl:copy-of select="node()"/>     
        <!--
        <xsl:copy-of select="node()[not(name(.)='colors')]"/>     
        <xsl:apply-templates select="colors"/>-->
       </xsl:copy> 
  
      </xsl:template>
  <!--
      <xsl:template match="colors">
      <colors>
       <xsl:if test="not([EMAIL PROTECTED]'header'])">
         <color name="header" value="#294563"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'tab-selected'])">
        <color name="tab-selected" value="#4a6d8c"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'tab-unselected'])">
        <color name="tab-unselected" value="#b5c7e7"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'subtab-selected'])">
        <color name="subtab-selected" value="#4a6d8c"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'subtab-unselected'])">
        <color name="subtab-unselected" value="#4a6d8c"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'heading'])">
        <color name="heading" value="#294563"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'subheading'])">
        <color name="subheading" value="#4a6d8c"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'navstrip'])">
        <color name="navstrip" value="#cedfef"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'toolbox'])">
         <color name="toolbox" value="#294563"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'menu'])">
         <color name="menu" value="#4a6d8c"/>    
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'dialog'])">
        <color name="dialog" value="#4a6d8c"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'body'])">
        <color name="body" value="#ffffff"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'table'])">
        <color name="table" value="#7099C5"/>    
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'table-cell'])">
        <color name="table-cell" value="#f0f0ff"/>    
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'highlight'])">
         <color name="highlight" value="#yellow"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'fixme'])">
         <color name="fixme" value="#c60"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'note'])">
         <color name="note" value="#069"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'warning'])">
         <color name="warning" value="#900"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'code'])">
         <color name="code" value="#CFDCED"/>
       </xsl:if>  
       <xsl:if test="not([EMAIL PROTECTED]'footer'])">
         <color name="footer" value="#cedfef"/>
       </xsl:if>  
  
       <xsl:copy>
        <xsl:copy-of select="@*"/>
        <xsl:copy-of select="node()[name(.)='color']"/>     
       </xsl:copy> 
  
        </colors> 
      </xsl:template>
  -->    
  </xsl:stylesheet>
  
  
  
  1.1                  ws-site/targets/axis/ja/skin/tigris.css
  
  Index: tigris.css
  ===================================================================
  /* contains rules unsuitable for Netscape 4.x; simpler rules are in 
ns4_only.css. see <http://style.tigris.org/> */

  

  /* colors, backgrounds, borders, link indication */ 

  

  body {

   background: #fff;

   color: #000;

   }

  .app h3, .app h4, .app th, .tabs td, .tabs th, .functnbar {

   background-image: url(images/nw_maj_rond.gif);

   background-repeat: no-repeat;

   }

  #navcolumn div div, body.docs #toc li li  {

   background-image: url(images/strich.gif);

   background-repeat: no-repeat;

   background-position: .5em .5em;

   }

  #navcolumn div div.heading  {

   background-image: none;

   }

  .app h3, .app h4 {

   color: #fff;

   }

  .app h3 {

   background-color: #036;

   }

  .app h4 {

   background-color: #888;

   }

  .a td {

   background: #ddd;

   }

  .b td {

   background: #efefef;

   }

  table, th, td {

   border: none

   }

  .mtb {

   border-top: solid 1px #ddd;

   }

  div.colbar {

   background: #bbb;

   }

  div#banner {

   border-top: 1px solid #369;

   border-bottom: 1px solid #003;

   }

  div#helptext th {

   border-bottom: 1px solid #996;

   border-right: 1px solid #996;

   }

  div#helptext td {

   border-bottom: 1px solid #cc9;

   border-right: 1px solid #cc9;

   }

  .tabs { 

   border-bottom: .75em #888 solid;

   }

  .tabs th, .tabs td {

   border-right: 1px solid #333;

   }

  .tabs td {

   border-bottom: 1px solid #ddd;

   }

  #navcolumn {

   background: #eee;

   border-right: 1px solid #aaa;

   border-bottom: 1px solid #aaa;

   }

  #breadcrumbs {

   border-bottom: 1px solid #aaa;

   background-color: #ddd;

   }

  #navcolumn, #breadcrumbs {

   border-top: 1px solid #fff;

   }

  #rightcol div.www, #rightcol div.help {

   border: 1px solid #ddd;

   }

  div#navcolumn div.focus {

   border-top: 1px solid #aaa;

   border-left: 1px solid #aaa;

   background-color: #fff;

   } 

  body.docs div.docs { 

   background: #fff;

   border-left: 1px solid #ddd;

   border-top: 1px solid #ddd;

   }

  body.docs { 

   background: #eee url(images/help_logo.gif) top right no-repeat !important;

   }

  .docs h3, .docs h4 {

   border-top: solid 1px #000;

   }

  #alerterrormessage { 

   background: url(images/icon_alert.gif) top left no-repeat !important;

   }

  .functnbar {

   background-color: #aaa;

   }

  .functnbar2, .functnbar3  {

   background: #aaa;

   }

  .functnbar3 {

   background-color: #ddd;

   }

  .functnbar, .functnbar2, .functnbar3 {

   color: #000;

   }

  .functnbar a, .functnbar2 a, .functnbar3 a {

   color: #000;

   text-decoration: underline;

   }

  #topmodule {

   background: #ddd;

   border-top: 1px solid #fff;

   border-bottom: 1px solid #aaa; 

   border-right: 1px solid #aaa; 

   }

  #topmodule #issueid {

   border-right: 1px solid #aaa;

   }

  a:link, #navcolumn a:visited, .app a:visited, .tasknav a:visited {

   color: blue;

   }

  a:active, a:hover, #leftcol a:active, #leftcol a:hover {

   color: #f30 !important;

   }

  #login a:link, #login a:visited {

   color: white; 

   text-decoration: underline;

   }

  #banner a:active, #banner a:hover {

   color: #f90 !important;

   }

  #leftcol a, #breadcrumbs a  {

   text-decoration: none;

   }

  a:link.selfref, a:visited.selfref {

   color: #555 !important;

   text-decoration: none;

   }

  h2 .lastchild {

   color: #777

   } 

  .tabs td, .tabs th {

   background-color: #ddd;

   }

  .app th {

   background-color: #bbb;

   }

  .tabs th {

   background-color: #888;

   color: #fff;

   }

  .axial th {

   background-color: #ddd;

   color: black

   }

  .tabs td {

   background-color: #ddd;

   }

  .alert { 

   color: #c00;

   }

  .confirm {

   color: green;

   }

  .info {

   color: blue;

   }

  .selection {

   background: #ffc;

   }

  #login {

   color: #fff;

   }

  #helptext th {

   background: #cc9;

   }

  #helptext td {

   background: #ffc;

   }

  .tabs a  {

   text-decoration: none;

   }

  #navcolumn div strong {

   color: #000;

   }

  #banner, #banner td { 

   background: #036;

   color: #fff;

   }

  body #banner #login a { 

   color: #fff;

   }

  

  

  /* font and text properties, exclusive of link indication, alignment, 
text-indent */

  

  body, th, td, input, select, textarea, h2 small {

   font-family: Verdana, Helvetica, Arial, sans-serif;

   }

  code, pre {

   font-family: 'Andale Mono', Courier, monospace;

   }

  html body, body th, body td, textarea, h2 small, .app h3, .app h4, #rightcol 
h3, #bodycol pre, #bodycol code {

   font-size: x-small;

   voice-family: "\"}\"";

   voice-family: inherit;

   font-size: small

   }

  html>body, html>body th, html>body td, html>body input, html>body select, 
html>body textarea, html>body h2 small, html>body .app h3, html>body .app h4, 
html>body #rightcol h3, html>body #bodycol pre, html>body #bodycol code {

   font-size: small

   }

  small, div#footer td, div#login, div.tabs th, div.tabs td, input, select, 
.paginate, .functnbar, .functnbar2, .functnbar3, #breadcrumbs td, 
.courtesylinks, #rightcol div.help, .colbar, .tasknav, body.docs div#toc, 
#leftcol {

   font-size: x-small;

   voice-family: "\"}\"";

   voice-family: inherit;

   font-size: x-small

   }

  html>body small, html>body div#footer td, html>body div#login, html>body 
div#helptext td, html>body div#helptext th, html>body div.tabs th, html>body 
div.tabs td, html>body input, html>body select, html>body .paginate, html>body 
.functnbar, html>body .functnbar2, html>body .functnbar3, html>body 
#breadcrumbs td, html>body .courtesylinks, html>body #rightcol div.help, 
html>body .colbar, html>body .tasknav, html>body.docs #toc {

   font-size: x-small

   }

  #bodycol h2 {

   font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif;

   font-size: 1.5em;

   font-weight: normal;

   }

  h2 small {

   font-weight: bold;

   letter-spacing: .06em;

   }

  dt {

   font-weight: bold

   }

  #login .username {

   font-weight: bold;

   }

  h4 {

   font-size: 1em;

   }

  #breadcrumbs td {

   font-weight: bold;

   } 

  .selection {

   font-weight: bold

   }

  

  

  /* box properties (exclusive of borders), positioning, alignments, list 
types, text-indent */

  

  #bodycol h2 {

   margin-top: .3em;

   margin-bottom: .5em;

   }

  p, ul, ol, dl {

   margin-top: .67em;

   margin-bottom: .67em;

   }

  h3, h4 {

   margin-bottom: 0;

   }

  form {

   margin-top: 0;

   margin-bottom: 0;

   }

  #bodycol {

   padding-left: 12px;

   padding-right: 12px;

   width: 100%;

   voice-family: "\"}\"";

   voice-family: inherit;

   width: auto;

   }

  html>body #bodycol {

   width: auto;

   }

  .docs {

   line-height: 1.4;

   }

  .app h3, .app h4 {

   padding: 5px;

   margin-right: 2px;

   margin-left: 2px;

   }

  .h3 p, .h4 p, .h3 dt, .h4 dt {

   margin-right: 7px;

   margin-left: 7px;

   }

  .tasknav {

   margin-bottom: 1.33em

   }

  div.colbar {

   padding: 4px;

   margin: 2px 2px 0;

   }

  .tabs { 

   margin-top: .67em;

   margin-right: 2px;

   margin-left: 2px;

   }

  #leftcol {

   padding-bottom: .5em;

   }

  #breadcrumbs td {

   vertical-align: middle;

   padding: 2px 8px;

   } 

  #rightcol div.www, #rightcol div.help {

   padding: 0 .5em

   }

  #navcolumn {

   margin: -8px -8px 0 -8px;

   padding: 4px;

   }

  #navcolumn div {

   padding-left: 5px

   }

  div#navcolumn div div {

   margin-top: .3em;

   margin-bottom: .3em;

   }

  div#navcolumn div.focus { 

   margin-top: -.1em;

   padding: .2em 4px; 

   } 

  body.docs #toc { 

   position: absolute;

   top: 15px;

   left: 0px;

   width: 120px;

   padding: 0 20px 0 0

   }

  body.docs #toc ul, #toc ol {

   margin-left: 0;

   padding-left: 0;

   }

  body.docs #toc li {

   margin-top: 7px;

   padding-left: 10px;

   list-style-type: none;

   }

  body.docs div.docs { 

   margin: 61px 0 0 150px;

   padding: 1em 2em 1em 1em !important;

   }

  .docs p+p {

   text-indent: 5%;

   margin-top: -.67em

   }

  .docs h3, .docs h4 {

   margin-bottom: .1em;

   padding-top: .3em;

   }

  #alerterrormessage { 

   padding-left: 100px;

   }

  .functnbar, .functnbar2, .functnbar3 {

   padding: 5px;

   margin: .67em 2px;

   }

  #topmodule td {

   vertical-align: middle;

   padding: 2px 8px

   } 

  body {

   padding: 1em;

   }

  body.composite, body.docs {

   margin: 0;

   padding: 0;

   }

  th, td {

   text-align: left;

   vertical-align: top 

   }

  .right {

   text-align: right !important;

   }

  .center {

   text-align: center !important;

   }

  .tabs td, .tabs th {

   padding-left: 7px;

   padding-right: 7px;

   }

  .axial th {

   text-align: right;

   }

  .app .axial td th {

   text-align: left;

   }

  body td .stb {

   margin-top: 1em;

   text-indent: 0;

   }

  body td .mtb {

   margin-top: 2em;

   text-indent: 0;

   }

  dd {

   margin-bottom: .67em;

   }

  #footer {

   margin: 4px

   }

  #helptext {

   margin-top: 1em

   }

  #helptext td div {

   margin: .5em

   }

  .courtesylinks {

   margin-top: 1em;

   padding-top: 1em

   }

  #navcolumn div {

   margin-bottom: .5em;

   }

  #navcolumn div div {

   margin-top: .3em

   }

  #navcolumn div div {

   padding-left: 1em;

   }

  #banner, #banner td { 

   vertical-align: middle;

   }

  body.docs, body.nonav {

   margin: 1em

   }
  
  

Reply via email to