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/avalon-tigris/images nw_maj_rond.gif nw_min.gif strich.gif
Date Sat, 25 Jan 2003 11:16:40 GMT
nicolaken    2003/01/25 03:16:38

  Modified:    src/resources/skins/avalon-tigris/xslt/html
                        document2html.xsl site2xhtml.xsl
               src/resources/skins/avalon-tigris/css mysite.css tigris.css
  Added:       src/resources/skins/avalon-tigris/images nw_maj_rond.gif
                        nw_min.gif strich.gif
  Log:
        <action dev="NKB" type="update" context="skins" due-to="Stefan Michels"
          due-to-email="stephan@apache.org">
          On avalon-tigris skin it's now possible to add a mysite.css file
          to customize the style. An example that can be used is from
          chaperon.sf.net.
          Also added a rounded corner to paragraphs, and many minor fixes.
        </action>
  
  Revision  Changes    Path
  1.6       +14 -2     xml-forrest/src/resources/skins/avalon-tigris/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/avalon-tigris/xslt/html/document2html.xsl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- document2html.xsl	7 Dec 2002 18:26:43 -0000	1.5
  +++ document2html.xsl	25 Jan 2003 11:16:37 -0000	1.6
  @@ -165,7 +165,19 @@
     </xsl:template>
   
     <xsl:template match="tr">
  -    <xsl:apply-imports/>
  +    <xsl:variable name="index"><xsl:number/></xsl:variable>
  +    <tr>
  +       <xsl:choose>
  +          <xsl:when test="($index mod 2) = 0">
  +             <xsl:attribute name="class">a</xsl:attribute>
  +          </xsl:when>
  +          <xsl:otherwise>
  +             <xsl:attribute name="class">b</xsl:attribute>
  +          </xsl:otherwise>
  +       </xsl:choose>
  +     
  +       <xsl:apply-templates/>
  +    </tr>
     </xsl:template>
   
     <xsl:template match="th">
  
  
  
  1.6       +2 -1      xml-forrest/src/resources/skins/avalon-tigris/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/avalon-tigris/xslt/html/site2xhtml.xsl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- site2xhtml.xsl	9 Jan 2003 07:59:51 -0000	1.5
  +++ site2xhtml.xsl	25 Jan 2003 11:16:38 -0000	1.6
  @@ -28,6 +28,7 @@
            <head>
               <!-- This is a generated file.  Do not edit. -->
               <link type="text/css" href="{$root}skin/tigris.css" rel="stylesheet" />
  +            <link type="text/css" href="{$root}skin/mysite.css" rel="stylesheet" />
               <link type="text/css" href="{$root}skin/site.css"   rel="stylesheet" />
               <link type="text/css" href="{$root}skin/print.css"  rel="stylesheet" media="print"
/>
   
  
  
  
  1.2       +10 -62    xml-forrest/src/resources/skins/avalon-tigris/css/mysite.css
  
  Index: mysite.css
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/avalon-tigris/css/mysite.css,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mysite.css	24 Jan 2003 10:29:58 -0000	1.1
  +++ mysite.css	25 Jan 2003 11:16:38 -0000	1.2
  @@ -11,28 +11,15 @@
   .banner, .projectLogo, .groupLogo, .projectLogo a, .groupLogo a,
       .groupLogo a:visited, .projectLogo a:visited,
       .groupLogo a:link, .projectLogo a:link {
  -  font-weight: bold;
  -  color: #036;
  -  font-size: large;
   }
   
   /*
    * The Status + Footer section.
    */
   .status, .breadcrumb, .searcher, .tabs {
  -  font-weight: bold;
  -  font-size: x-small;
  -  background-color: #ddd;
  -  border-top: 1px solid #eee;
  -  border-bottom: 1px solid #aaa;
  -  padding-left: 12px;
  -  padding-right: 12px;
  -  vertical-align: middle;
  -  color: #036;
   }
   
   .selectedTab {
  -  color: #036;
   }
   
   /*
  @@ -41,100 +28,61 @@
   .menuColumn {
   }
   .menubar {
  -  padding-left: 12px;
  -  background: #eee;
  -  border-top: 1px solid #fff;
  -  border-right: 1px solid #aaa;
  -  border-bottom: 1px solid #aaa;
   }
   .menu {
  -  padding-bottom: .5em;
  -  font-size: x-small;
  -  text-decoration: none;
   }
  -.menuLabel { font-weight: bold; }
  +.menuLabel {
  +}
   .menuItem {
  -  padding-left: 12px;
  -  text-decoration: none;
   }
   
   /*
    * The Content section.
    */
   .contentColumn {
  -  margin-top: 8px;
  -  margin-bottom: 8px;
  -  margin-right: 8px;
  -  margin-left: 8px;
   }
   
   h1, h2, h3, h4 {
  -  padding-top: 3px;
  -  padding-bottom: 3px;
  -  padding-left: 12px;
  -  padding-right: 12px;
  -  vertical-align: middle;
  -  margin-top: 0px;
  -  margin-bottom: 0px;
  -  margin-right: 0px;
  -  margin-left: 0px;
   }
   
  -h3, h4 { color: #fff; }
  -h3 { background-color: #036; }
  -h4 { background-color: #888; }
  +h3, h4 {
  + }
  +h3 {
  +  }
  +h4 {  
  +}
   
   .code {
  -  font-family: 'Andale Mono', Courier, monospace;
  -  border-color: #CFDCED;
  -  border-style: solid;
  -  border-width: 1px;
  -  padding-top: 5px;
  -  padding-bottom: 5px;
  -  padding-left: 5px;
  -  padding-right: 5px;
   }
   
   .section {
  -  padding-bottom: 10px;
   }
   
   .subsection {
  -  padding-bottom: 5px;
   }
   
   /*
    * The Footer section.
    */
   .footer, .copyright, .host, .credit {
  -  text-align: center;
  -  padding: 1px 1px;
  -  font-size: xx-small;
   }
   
   /*
    * General Settings
    */
   body {
  -  background: #fff;
  -  color: #000;
  -  text-decoration: none;
   }
   
   a:link, .menuItem a:visited, .status a:visited {
  - color: blue;
  + color: darkblue;
   }
   
   a:active, a:hover {
  -  color: #f30 !important;
  -  text-decoration: none;
  +
   }
   
   body, th, td {
  -  font-family: Verdana, Helvetica, Arial, sans-serif;
  -  font-size: small;
   }
   
   .logoImage {
  -  vertical-align: top;
   }
  
  
  
  1.2       +53 -46    xml-forrest/src/resources/skins/avalon-tigris/css/tigris.css
  
  Index: tigris.css
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/avalon-tigris/css/tigris.css,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- tigris.css	26 Nov 2002 22:28:16 -0000	1.1
  +++ tigris.css	25 Jan 2003 11:16:38 -0000	1.2
  @@ -6,12 +6,12 @@
    background: #fff;
    color: #000;
    }
  -.app h3, .app h4, .tabs td, .tabs th, .functnbar {
  - background-image: url(../images/nw_min.gif);
  +.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-image: url(images/strich.gif);
    background-repeat: no-repeat;
    background-position: .5em .5em;
    }
  @@ -42,7 +42,7 @@
   div.colbar {
    background: #bbb;
    }
  -#banner {
  +div#banner {
    border-top: 1px solid #369;
    border-bottom: 1px solid #003;
    }
  @@ -54,27 +54,14 @@
    border-bottom: 1px solid #cc9;
    border-right: 1px solid #cc9;
    }
  -.tabs th {
  +.tabs { 
  + border-bottom: .75em #888 solid;
  + }
  +.tabs th, .tabs td {
    border-right: 1px solid #333;
  - background-color: #ddd;
  - color: #fff;
    }
   .tabs td {
  - background-color: #999;
  - border-bottom: 1px solid #fff;
  - border-right: 1px solid #fff;
  - }
  -.tabs {
  - border-bottom: 6px #ddd solid;
  - }
  -.tabs th, .tabs th a:link, .tabs th a:visited {
  - color: #555;
  - }
  -.tabs td, .tabs td a:link, .tabs td a:visited  {
  - color: #fff;
  - }
  -.tabs a  {
  - text-decoration: none;
  + border-bottom: 1px solid #ddd;
    }
   #navcolumn {
    background: #eee;
  @@ -83,7 +70,7 @@
    }
   #breadcrumbs {
    border-bottom: 1px solid #aaa;
  - background-color: #ddd
  + background-color: #ddd;
    }
   #navcolumn, #breadcrumbs {
    border-top: 1px solid #fff;
  @@ -102,19 +89,19 @@
    border-top: 1px solid #ddd;
    }
   body.docs { 
  - background: #eee url(../images/help_logo.gif) top right no-repeat !important;
  + 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;
  + background: url(images/icon_alert.gif) top left no-repeat !important;
    }
   .functnbar {
    background-color: #aaa;
    }
   .functnbar2, .functnbar3  {
  - background: #aaa url(../images/sw_min.gif) no-repeat bottom left;
  + background: #aaa;
    }
   .functnbar3 {
    background-color: #ddd;
  @@ -138,10 +125,6 @@
   a:link, #navcolumn a:visited, .app a:visited, .tasknav a:visited {
    color: blue;
    }
  -a:link.selfref, a:visited.selfref {
  - color: #555 !important;
  - text-decoration: none;
  - }
   a:active, a:hover, #leftcol a:active, #leftcol a:hover {
    color: #f30 !important;
    }
  @@ -155,20 +138,30 @@
   #leftcol a, #breadcrumbs a  {
    text-decoration: none;
    }
  -#apphead h2 em {
  - color: #777;
  - }
   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;
    }
  @@ -190,6 +183,9 @@
   #helptext td {
    background: #ffc;
    }
  +.tabs a  {
  + text-decoration: none;
  + }
   #navcolumn div strong {
    color: #000;
    }
  @@ -200,10 +196,7 @@
   body #banner #login a { 
    color: #fff;
    }
  -h4 a:link, h4 a:visited  {
  - text-decoration: underline;
  - color: #fff;
  - }
  +
   
   /* font and text properties, exclusive of link indication, alignment, text-indent */
   
  @@ -228,7 +221,7 @@
    voice-family: inherit;
    font-size: x-small
    }
  -html>body small, html>body div#footer td, html>body div#login, 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, html>body #leftcol {
  +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 {
  @@ -236,15 +229,26 @@
    font-size: 1.5em;
    font-weight: normal;
    }
  -.tabs td, .tabs th, dt, .tasknav .selfref, #login .username, .selection {
  +h2 small {
  + font-weight: bold;
  + letter-spacing: .06em;
  + }
  +dt {
    font-weight: bold
    }
  +#login .username {
  + font-weight: bold;
  + }
   h4 {
    font-size: 1em;
    }
  -#apphead h2 em {
  -	font-style: normal;
  +#breadcrumbs td {
  + font-weight: bold;
    } 
  +.selection {
  + font-weight: bold
  + }
  +
   
   /* box properties (exclusive of borders), positioning, alignments, list types, text-indent
*/
   
  @@ -290,7 +294,7 @@
    margin-bottom: 1.33em
    }
   div.colbar {
  - padding: 3px;
  + padding: 4px;
    margin: 2px 2px 0;
    }
   .tabs { 
  @@ -305,9 +309,6 @@
    vertical-align: middle;
    padding: 2px 8px;
    } 
  -.tabs td, .tabs th {
  - padding: 3px 9px;
  - }
   #rightcol div.www, #rightcol div.help {
    padding: 0 .5em
    }
  @@ -382,6 +383,10 @@
   .center {
    text-align: center !important;
    }
  +.tabs td, .tabs th {
  + padding-left: 7px;
  + padding-right: 7px;
  + }
   .axial th {
    text-align: right;
    }
  @@ -424,4 +429,6 @@
   #banner, #banner td { 
    vertical-align: middle;
    }
  -
  +body.docs, body.nonav {
  + margin: 1em
  + }
  
  
  
  1.1                  xml-forrest/src/resources/skins/avalon-tigris/images/nw_maj_rond.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/avalon-tigris/images/nw_min.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/avalon-tigris/images/strich.gif
  
  	<<Binary file>>
  
  

Mime
View raw message