You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2006/12/22 09:10:52 UTC
svn commit: r489579 [4/4] - in /cocoon/site/site: ./ 2.1/ 2.1/howto/
2.1/userdocs/ 2.1/userdocs/widgets/ images/ skin/ skin/images/
Added: cocoon/site/site/skin/forrest.css.xslt
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/forrest.css.xslt?view=auto&rev=489579
==============================================================================
--- cocoon/site/site/skin/forrest.css.xslt (added)
+++ cocoon/site/site/skin/forrest.css.xslt Fri Dec 22 00:10:50 2006
@@ -0,0 +1,86 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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:call-template name="add-extra-css"/>
+ </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 name="add-extra-css">
+ <xsl:text>/* extra-css */</xsl:text>
+ <xsl:value-of select="extra-css"/>
+ </xsl:template>
+
+ <xsl:template match="*"></xsl:template>
+ <xsl:template match="text()"></xsl:template>
+
+</xsl:stylesheet>
Propchange: cocoon/site/site/skin/forrest.css.xslt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/site/site/skin/forrest.css.xslt
------------------------------------------------------------------------------
svn:keywords = Id
Added: cocoon/site/site/skin/images/corner-imports.svg.xslt
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/corner-imports.svg.xslt?view=auto&rev=489579
==============================================================================
--- cocoon/site/site/skin/images/corner-imports.svg.xslt (added)
+++ cocoon/site/site/skin/images/corner-imports.svg.xslt Fri Dec 22 00:10:50 2006
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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:param name="orientation-tb"/>
+ <xsl:param name="orientation-lr"/>
+ <xsl:param name="size"/>
+ <xsl:param name="bg-color-name"/>
+ <xsl:param name="stroke-color-name"/>
+ <xsl:param name="fg-color-name"/>
+
+ <!-- if not all colors are present, don't even try to render the corners -->
+ <xsl:variable name="isize"><xsl:choose>
+ <xsl:when test="$bg-color-name and $stroke-color-name and $fg-color-name"><xsl:value-of select="$size"/></xsl:when>
+ <xsl:otherwise>0</xsl:otherwise>
+ </xsl:choose></xsl:variable>
+ <xsl:variable name="smallersize" select="number($isize)-1"/>
+ <xsl:variable name="biggersize" select="number($isize)+1"/>
+ <xsl:variable name="bg"><xsl:if test="skinconfig/colors/color[@name=$bg-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$bg-color-name]/@value"/>;</xsl:if></xsl:variable>
+ <xsl:variable name="fill"><xsl:if test="skinconfig/colors/color[@name=$stroke-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$stroke-color-name]/@value"/>;</xsl:if></xsl:variable>
+ <xsl:variable name="stroke"><xsl:if test="skinconfig/colors/color[@name=$fg-color-name]">stroke:<xsl:value-of select="skinconfig/colors/color[@name=$fg-color-name]/@value"/>;</xsl:if></xsl:variable>
+
+ <xsl:template match="skinconfig">
+
+
+
+<svg width="{$isize}" height="{$isize}">
+ <!-- background-->
+ <rect x="-1" y="-1" width="{$biggersize}" height="{$biggersize}" style="{$bg}stroke-width:0"/>
+<!-- 0,0 0,-4 4,0 4,-4-->
+
+ <xsl:variable name="flip-tb-scale">
+ <xsl:choose>
+ <xsl:when test="$orientation-tb='t'">1</xsl:when>
+ <xsl:otherwise>-1</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="flip-lr-scale">
+ <xsl:choose>
+ <xsl:when test="$orientation-lr='l'">1</xsl:when>
+ <xsl:otherwise>-1</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="flip-tb-translate">
+ <xsl:choose>
+ <xsl:when test="$orientation-tb='t'">0</xsl:when>
+ <xsl:otherwise>-<xsl:value-of select="$isize" /></xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="flip-lr-translate">
+ <xsl:choose>
+ <xsl:when test="$orientation-lr='l'">0</xsl:when>
+ <xsl:otherwise>-<xsl:value-of select="$isize" /></xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <!-- flip transform -->
+ <g transform="scale({$flip-lr-scale},{$flip-tb-scale}) translate({$flip-lr-translate}, {$flip-tb-translate})">
+ <xsl:call-template name="figure" />
+ </g>
+</svg>
+</xsl:template>
+
+
+ <xsl:template name="figure">
+ <!-- Just change shape here -->
+ <g transform="translate(0.5 0.5)">
+ <ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
+ style="{$fill}{$stroke}stroke-width:1"/>
+ </g>
+ <!-- end -->
+ </xsl:template>
+
+
+ <xsl:template match="*"></xsl:template>
+ <xsl:template match="text()"></xsl:template>
+
+</xsl:stylesheet>
Propchange: cocoon/site/site/skin/images/corner-imports.svg.xslt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/site/site/skin/images/corner-imports.svg.xslt
------------------------------------------------------------------------------
svn:keywords = Id
Added: cocoon/site/site/skin/images/dc.svg.xslt
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/dc.svg.xslt?view=auto&rev=489579
==============================================================================
--- cocoon/site/site/skin/images/dc.svg.xslt (added)
+++ cocoon/site/site/skin/images/dc.svg.xslt Fri Dec 22 00:10:50 2006
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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:import href="corner-imports.svg.xslt" />
+
+ <!-- Diagonal 45 degrees corner -->
+ <xsl:template name="figure">
+ <xsl:variable name="biggersize" select="number($size)+number($size)"/>
+ <g transform="translate(0 0.5)">
+ <polygon points="0,{$size} {$size},0 {$biggersize},0 {$biggersize},{$biggersize} 0,{$biggersize}"
+ style="{$fill}{$stroke}stroke-width:1"/>
+ </g>
+ </xsl:template>
+
+</xsl:stylesheet>
+
Propchange: cocoon/site/site/skin/images/dc.svg.xslt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/site/site/skin/images/dc.svg.xslt
------------------------------------------------------------------------------
svn:keywords = Id
Added: cocoon/site/site/skin/images/poddoc.svg.xslt
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/poddoc.svg.xslt?view=auto&rev=489579
==============================================================================
--- cocoon/site/site/skin/images/poddoc.svg.xslt (added)
+++ cocoon/site/site/skin/images/poddoc.svg.xslt Fri Dec 22 00:10:50 2006
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+-->
+<svg width="20pt" height="20pt"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs
+ id="defs550">
+ <linearGradient id="gray2white">
+ <stop style="stop-color:#7f7f7f;stop-opacity:1;" offset="0.000000"/>
+ <stop style="stop-color:#ffffff;stop-opacity:1;" offset="1.000000"/>
+ </linearGradient>
+ <linearGradient id="pageshade" xlink:href="#gray2white"
+ x1="0.95" y1="0.95"
+ x2="0.40" y2="0.20"
+ gradientUnits="objectBoundingBox" spreadMethod="pad" />
+ <path d="M 0 0 L 200 0" style="stroke:#000000;stroke-width:1pt;" id="hr"/>
+ </defs>
+
+ <g transform="scale(0.08)">
+ <g transform="translate(40, 0)">
+ <rect width="230" height="300" x="0" y="0"
+ style="fill:url(#pageshade);fill-rule:evenodd;
+ stroke:#000000;stroke-width:1.25;"/>
+
+ <g transform="translate(15, 60)">
+ <use xlink:href="#hr" x="0" y="0"/>
+ <use xlink:href="#hr" x="0" y="60"/>
+ <use xlink:href="#hr" x="0" y="120"/>
+ <use xlink:href="#hr" x="0" y="180"/>
+ </g>
+ </g>
+
+ <g transform="translate(0,70),scale(1.1,1.6)">
+ <rect width="200" height="100" x="0" y="0"
+ style="fill:#ff0000;fill-rule:evenodd;
+ stroke:#000000;stroke-width:2.33903;"/>
+ <text x="20" y="75"
+ style="stroke:#ffffff;stroke-width:1.0;
+ font-size:72;font-weight:normal;fill:#ffffff;
+ font-family:Arial;text-anchor:start;">POD</text>
+ </g>
+ </g>
+</svg>
Propchange: cocoon/site/site/skin/images/poddoc.svg.xslt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/site/site/skin/images/poddoc.svg.xslt
------------------------------------------------------------------------------
svn:keywords = Id
Modified: cocoon/site/site/skin/images/rc-b-l-15-1body-2menu-3menu.png
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/rc-b-l-15-1body-2menu-3menu.png?view=diff&rev=489579&r1=489578&r2=489579
==============================================================================
Binary files - no diff available.
Modified: cocoon/site/site/skin/images/rc-b-r-15-1body-2menu-3menu.png
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/rc-b-r-15-1body-2menu-3menu.png?view=diff&rev=489579&r1=489578&r2=489579
==============================================================================
Binary files - no diff available.
Modified: cocoon/site/site/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png?view=diff&rev=489579&r1=489578&r2=489579
==============================================================================
Binary files - no diff available.
Modified: cocoon/site/site/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png?view=diff&rev=489579&r1=489578&r2=489579
==============================================================================
Binary files - no diff available.
Modified: cocoon/site/site/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png?view=diff&rev=489579&r1=489578&r2=489579
==============================================================================
Binary files - no diff available.
Modified: cocoon/site/site/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png?view=diff&rev=489579&r1=489578&r2=489579
==============================================================================
Binary files - no diff available.
Modified: cocoon/site/site/skin/images/rc-t-r-15-1body-2menu-3menu.png
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/rc-t-r-15-1body-2menu-3menu.png?view=diff&rev=489579&r1=489578&r2=489579
==============================================================================
Binary files - no diff available.
Modified: cocoon/site/site/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png?view=diff&rev=489579&r1=489578&r2=489579
==============================================================================
Binary files - no diff available.
Modified: cocoon/site/site/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png?view=diff&rev=489579&r1=489578&r2=489579
==============================================================================
Binary files - no diff available.
Modified: cocoon/site/site/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png?view=diff&rev=489579&r1=489578&r2=489579
==============================================================================
Binary files - no diff available.
Added: cocoon/site/site/skin/images/rc.svg.xslt
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/rc.svg.xslt?view=auto&rev=489579
==============================================================================
--- cocoon/site/site/skin/images/rc.svg.xslt (added)
+++ cocoon/site/site/skin/images/rc.svg.xslt Fri Dec 22 00:10:50 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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:import href="corner-imports.svg.xslt" />
+
+ <!-- Rounded corner -->
+ <xsl:template name="figure">
+ <g transform="translate(0.5 0.5)">
+ <ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
+ style="{$fill}{$stroke}stroke-width:1"/>
+ </g>
+ </xsl:template>
+
+</xsl:stylesheet>
+
Propchange: cocoon/site/site/skin/images/rc.svg.xslt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/site/site/skin/images/rc.svg.xslt
------------------------------------------------------------------------------
svn:keywords = Id
Added: cocoon/site/site/skin/images/txtdoc.svg.xslt
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/images/txtdoc.svg.xslt?view=auto&rev=489579
==============================================================================
--- cocoon/site/site/skin/images/txtdoc.svg.xslt (added)
+++ cocoon/site/site/skin/images/txtdoc.svg.xslt Fri Dec 22 00:10:50 2006
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+-->
+<svg width="20pt" height="20pt"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs
+ id="defs550">
+ <linearGradient id="gray2white">
+ <stop style="stop-color:#7f7f7f;stop-opacity:1;" offset="0.000000"/>
+ <stop style="stop-color:#ffffff;stop-opacity:1;" offset="1.000000"/>
+ </linearGradient>
+ <linearGradient id="pageshade" xlink:href="#gray2white"
+ x1="0.95" y1="0.95"
+ x2="0.40" y2="0.20"
+ gradientUnits="objectBoundingBox" spreadMethod="pad" />
+ <path d="M 0 0 L 200 0" style="stroke:#000000;stroke-width:1pt;" id="hr"/>
+ </defs>
+
+ <g transform="scale(0.08)">
+ <g transform="translate(40, 0)">
+ <rect width="230" height="300" x="0" y="0"
+ style="fill:url(#pageshade);fill-rule:evenodd;
+ stroke:#000000;stroke-width:1.25;"/>
+
+ <g transform="translate(15, 60)">
+ <use xlink:href="#hr" x="0" y="0"/>
+ <use xlink:href="#hr" x="0" y="60"/>
+ <use xlink:href="#hr" x="0" y="120"/>
+ <use xlink:href="#hr" x="0" y="180"/>
+ </g>
+ </g>
+
+ <g transform="translate(0,70),scale(1.1,1.6)">
+ <rect width="200" height="100" x="0" y="0"
+ style="fill:#ff0000;fill-rule:evenodd;
+ stroke:#000000;stroke-width:2.33903;"/>
+ <text x="20" y="75"
+ style="stroke:#ffffff;stroke-width:1.0;
+ font-size:72;font-weight:normal;fill:#ffffff;
+ font-family:Arial;text-anchor:start;">TXT</text>
+ </g>
+ </g>
+</svg>
Propchange: cocoon/site/site/skin/images/txtdoc.svg.xslt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/site/site/skin/images/txtdoc.svg.xslt
------------------------------------------------------------------------------
svn:keywords = Id
Modified: cocoon/site/site/skin/profile.css
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/profile.css?view=diff&rev=489579&r1=489578&r2=489579
==============================================================================
--- cocoon/site/site/skin/profile.css (original)
+++ cocoon/site/site/skin/profile.css Fri Dec 22 00:10:50 2006
@@ -148,11 +148,118 @@
#footer { background-color: #cedfef;}
/* extra-css */
+
+ /* --------------------------------edit link --------------------------------- */
+ .daisy-edit-link {
+ font-size: 75%;
+ border: 1px solid #aaaaaa;
+ margin-top: 40px;
+ text-align: center;
+ }
+
+ /* ---------------------------------- menu ----------------------------------- */
+ #menu .menupagetitle {
+ border-style: none;
+ color:white;
+ font-weight:bold;
+ }
+
+ #menu a { font-weight: normal; text-decoration: none; }
+ #menu a:visited { font-weight: normal; text-decoration: none; }
+ #menu a:active { font-weight: normal; text-decoration: none; }
+ #menu a:hover { font-weight: normal; text-decoration: none; }
+
+ #menu .menupageitem a:link {
+ color: white;
+ }
- p.quote {
- margin-left: 2em;
- padding: .5em;
- background-color: #f0f0f0;
- font-family: monospace;
+ #menu .menupageitemgroup {
+ padding: 3px 0px 4px 6px;
+ font-style : normal;
+ border: none;
+ margin-right: 10px;
+ }
+
+ /* ----------------------------------- TOC ----------------------------------- */
+ #minitoc-area {
+ border:1px solid #aaaaaa;
+ background-color:#f9f9f9;
+ padding:5px;
+ font-size: 95%;
+ width:450px;
+ }
+
+ /* ----------------------------------- comments ----------------------------------- */
+ .commentsarea {
+ margin-top:40px;
+ background-color:white;
+ border:1px solid #aaaaaa;
+ }
+ .comment {
+ border:1px solid #aaaaaa;
+ background-color:#aaaaaa;
+ padding:0px;
+ margin:5px;
+ }
+ a[name="Comments"] + h2 {
+ display:none;
+ }
+ .commentbody {
+ background-color:white;
+ }
+ .comment * {
+ padding: 0px;
+ margin: 0px;
+ }
+ .commentheader, .commenttaskbar {
+ background-color:#E5E4D9;
+ color:black;
+ font-weight:bold;
+ }
+
+ /* ----------------------------------- table styling fixes-------------------- */
+
+ #content td {
+ margin: 0;
+ padding: 5px;
+ vertical-alin: top;
+ }
+
+ #content td p {
+ margin: 0px;
+ }
+
+ /* ----------------------------------- text ----------------------------------- */
+ p { margin: 0.4em 0em 0.5em 0em;
+ line-height: 1.5em;
+ }
+
+ h1, h2, h3, h4, h5, h6 {
+ color: Black;
+ background: none;
+ font-weight: normal;
+ margin: 0;
+ padding-top: 0.7em;
+ padding-bottom: 0.17em;
+ border-bottom: 1px solid #aaaaaa;
+ }
+ h1 { font-size: 188%; }
+ h2 { font-size: 150%; }
+ h4, h5, h6 {
+ border-bottom: none;
+ }
+ h3 { font-size: 132%; }
+ h4 { font-size: 116%; font-weight:bold;}
+ h5 { font-size: 100%; }
+ h6 { font-size: 80%; }
+
+ pre {
+ border:1px solid #aaaaaa;
+ background-color:#f9f9f9;
+ padding:5px;
+ font-size: 95%;
}
+ li {
+ list-style-type:square;
+ }
Added: cocoon/site/site/skin/profile.css.xslt
URL: http://svn.apache.org/viewvc/cocoon/site/site/skin/profile.css.xslt?view=auto&rev=489579
==============================================================================
--- cocoon/site/site/skin/profile.css.xslt (added)
+++ cocoon/site/site/skin/profile.css.xslt Fri Dec 22 00:10:50 2006
@@ -0,0 +1,208 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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:import href="../../common/css/forrest.css.xslt"/>
+
+ <!-- xsl:output is not used by Forrest but makes it possible to debug the
+ stylesheet in standalone editors -->
+ <xsl:output method = "text" omit-xml-declaration="yes" />
+
+<!-- ==================== main block colors ============================ -->
+
+<xsl:template match="color[@name='header']">
+#top { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='tab-selected']">
+#top .header .current { background-color: <xsl:value-of select="@value"/>;}
+#top .header .current a:link { color: <xsl:value-of select="@link"/>; }
+#top .header .current a:visited { color: <xsl:value-of select="@vlink"/>; }
+#top .header .current a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template>
+
+<xsl:template match="color[@name='tab-unselected']">
+#tabs li { background-color: <xsl:value-of select="@value"/> ;}
+#tabs li a:link { color: <xsl:value-of select="@link"/>; }
+#tabs li a:visited { color: <xsl:value-of select="@vlink"/>; }
+#tabs li a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template>
+
+<xsl:template match="color[@name='subtab-selected']">
+#level2tabs { background-color: <xsl:value-of select="@value"/> ;}
+#level2tabs a:link { color: <xsl:value-of select="@link"/>; }
+#level2tabs a:visited { color: <xsl:value-of select="@vlink"/>; }
+#level2tabs a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template>
+
+<!--xsl:template match="color[@name='subtab-unselected']">
+.level2tabstrip { background-color: <xsl:value-of select="@value"/>;}
+.datenote { background-color: <xsl:value-of select="@value"/>;}
+.level2tabstrip.unselected a:link { color: <xsl:value-of select="@link"/>; }
+.level2tabstrip.unselected a:visited { color: <xsl:value-of select="@vlink"/>; }
+.level2tabstrip.unselected a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template-->
+
+<xsl:template match="color[@name='heading']">
+.heading { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='subheading']">
+.boxed { background-color: <xsl:value-of select="@value"/>;}
+.underlined_5 {border-bottom: solid 5px <xsl:value-of select="@value"/>;}
+.underlined_10 {border-bottom: solid 10px <xsl:value-of select="@value"/>;}
+table caption {
+background-color: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@font"/>;
+}
+</xsl:template>
+<xsl:template match="color[@name='feedback']">
+#feedback {
+color: <xsl:value-of select="@font"/>;
+background: <xsl:value-of select="@value"/>;
+text-align: <xsl:value-of select="@align"/>;
+}
+#feedback #feedbackto {
+color: <xsl:value-of select="@font"/>;
+}
+</xsl:template>
+
+<xsl:template match="color[@name='breadtrail']">
+#main .breadtrail {
+background: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@font"/>;
+}
+#main .breadtrail a:link { color: <xsl:value-of select="@link"/>; }
+#main .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
+#main .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
+#top .breadtrail {
+background: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@font"/>;
+}
+#top .breadtrail a:link { color: <xsl:value-of select="@link"/>; }
+#top .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
+#top .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template>
+<!--Fix for other (old) profiles-->
+<xsl:template match="color[@name='navstrip']">
+#publishedStrip {
+color: <xsl:value-of select="@font"/>;
+background: <xsl:value-of select="@value"/>;
+}
+</xsl:template>
+<!--has to go after the nav-strip (no 'navstrip')-->
+<xsl:template match="color[@name='published']">
+#publishedStrip {
+color: <xsl:value-of select="@font"/>;
+background: <xsl:value-of select="@value"/>;
+}
+</xsl:template>
+<xsl:template match="color[@name='toolbox']">
+#menu .menupagetitle { background-color: <xsl:value-of select="@value"/>;
+ color: <xsl:value-of select="@font"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='border']">
+#menu { border-color: <xsl:value-of select="@value"/>;}
+#menu .menupagetitle { border-color: <xsl:value-of select="@value"/>;}
+#menu .menupageitemgroup { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='menu']">
+#menu { background-color: <xsl:value-of select="@value"/>;}
+#menu { color: <xsl:value-of select="@font"/>;}
+#menu a:link { color: <xsl:value-of select="@link"/>;}
+#menu a:visited { color: <xsl:value-of select="@vlink"/>;}
+#menu a:hover {
+background-color: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@hlink"/>;}
+</xsl:template>
+<xsl:template match="color[@name='dialog']">
+#menu .menupageitemgroup {
+background-color: <xsl:value-of select="@value"/>;
+}
+#menu .menupageitem {
+color: <xsl:value-of select="@font"/>;
+}
+#menu .menupageitem a:link { color: <xsl:value-of select="@link"/>;}
+#menu .menupageitem a:visited { color: <xsl:value-of select="@vlink"/>;}
+#menu .menupageitem a:hover {
+background-color: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@hlink"/>;
+}
+</xsl:template>
+<xsl:template match="color[@name='menuheading']">
+#menu h1 {
+color: <xsl:value-of select="@font"/>;
+background-color: <xsl:value-of select="@value"/>;
+}
+</xsl:template>
+<xsl:template match="color[@name='searchbox']">
+#top .searchbox {
+background-color: <xsl:value-of select="@value"/> ;
+color: <xsl:value-of select="@font"/>;
+}
+</xsl:template>
+
+<xsl:template match="color[@name='body']">
+body{
+background-color: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@font"/>;
+}
+a:link { color:<xsl:value-of select="@link"/>}
+a:visited { color:<xsl:value-of select="@vlink"/>}
+a:hover { color:<xsl:value-of select="@hlink"/>}
+
+</xsl:template>
+
+<xsl:template match="color[@name='footer']">
+#footer { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+
+<!-- ==================== other colors ============================ -->
+<xsl:template match="color[@name='highlight']">
+.highlight { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='fixme']">
+.fixme { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='note']">
+.note { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='warning']">
+.warning { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='code']">
+.code { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='table']">
+.ForrestTable { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='table-cell']">
+.ForrestTable td { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+
+</xsl:stylesheet>
Propchange: cocoon/site/site/skin/profile.css.xslt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/site/site/skin/profile.css.xslt
------------------------------------------------------------------------------
svn:keywords = Id