Author: reinhard Date: Fri Mar 18 05:20:36 2005 New Revision: 158058 URL: http://svn.apache.org/viewcvs?view=rev&rev=158058 Log: split skinconf.xml in more parts to reach higher reusablity
Added: cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-colors.xml cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-credits.xml cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-extracss.xml cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-pdf.xml Added: cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-colors.xml URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-colors.xml?view=auto&rev=158058 ============================================================================== --- cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-colors.xml (added) +++ cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-colors.xml Fri Mar 18 05:20:36 2005 @@ -0,0 +1,62 @@ +<!-- + 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. +--> + +<!-- +Skin configuration file. This file contains details of your project, +which will be used to configure the chosen Forrest skin. +--> + + <colors> + <!-- These values are used for the generated CSS files. --> + + <!-- Cocoon --> + + <color name="header" value="#294563"/> + + <color name="tab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/> + <color name="tab-unselected" value="#b5c7e7" link="#0F3660" vlink="#0F3660" hlink="#000066"/> + <color name="subtab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/> + <color name="subtab-unselected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/> + + <color name="heading" value="#294563"/> + <color name="subheading" value="#4a6d8c"/> + + <color name="published" value="#4C6C8F" font="#FFFFFF"/> + <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/> + + <color name="navstrip" value="#4a6d8c" font="#ffffff" link="#0F3660" vlink="#0F3660" hlink="#000066"/> + <color name="toolbox" value="#4a6d8c"/> + <color name="border" value="#294563"/> + + <color name="menu" value="#4a6d8c" font="#cedfef" link="#ffffff" vlink="#ffffff" hlink="#ffcf00"/> + + <color name="menuheading" value="#cfdced" font="#000000" /> + <color name="searchbox" value="#E5E4D9" font="#000000"/> + + <color name="dialog" value="#4a6d8c"/> + <color name="body" value="#ffffff" link="#0F3660" vlink="#009999" hlink="#000066"/> + + <color name="table" value="#7099C5"/> + <color name="table-cell" value="#f0f0ff"/> + <color name="highlight" value="#ffff00"/> + <color name="fixme" value="#cc6600"/> + <color name="note" value="#006699"/> + <color name="warning" value="#990000"/> + <color name="code" value="#CFDCED"/> + + <color name="footer" value="#cedfef"/> + + </colors> Added: cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-credits.xml URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-credits.xml?view=auto&rev=158058 ============================================================================== --- cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-credits.xml (added) +++ cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-credits.xml Fri Mar 18 05:20:36 2005 @@ -0,0 +1,46 @@ +<!-- + 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. +--> + +<!-- +Skin configuration file. This file contains details of your project, +which will be used to configure the chosen Forrest skin. +--> + + <credits> + <credit> + <name>Built with Apache Forrest</name> + <url>http://forrest.apache.org/</url> + <image>skin/images/built-with-forrest-button.png</image> + <width>88</width> + <height>31</height> + </credit> + <credit> + <name>Built with Apache Cocoon</name> + <url>http://cocoon.apache.org/</url> + <image>images/built-with-cocoon.gif</image> + <width>88</width> + <height>31</height> + </credit> + <credit> + <name>thanks to ASF, thanks from ASF</name> + <url>http://www.apache.org/foundation/thanks.html</url> + <image>images/icon.png</image> + <width>26</width> + <height>22</height> + </credit> + <!-- A credit with @role='pdf' will have its name and url + displayed in the PDF page's footer. --> + </credits> Added: cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-extracss.xml URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-extracss.xml?view=auto&rev=158058 ============================================================================== --- cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-extracss.xml (added) +++ cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-extracss.xml Fri Mar 18 05:20:36 2005 @@ -0,0 +1,104 @@ +<!-- + 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. +--> + +<!-- +Skin configuration file. This file contains details of your project, +which will be used to configure the chosen Forrest skin. +--> + <extra-css> + /* ----------------------------------- 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; + } + </extra-css> Added: cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-pdf.xml URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-pdf.xml?view=auto&rev=158058 ============================================================================== --- cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-pdf.xml (added) +++ cocoon/whiteboard/doc-repos/global/src/forrest-configuration/skinconf-pdf.xml Fri Mar 18 05:20:36 2005 @@ -0,0 +1,47 @@ +<!-- + 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. +--> + + <!-- Settings specific to PDF output. --> + <pdf> + <!-- + Supported page sizes are a0, a1, a2, a3, a4, a5, executive, + folio, legal, ledger, letter, quarto, tabloid (default letter). + Supported page orientations are portrait, landscape (default + portrait). + Supported text alignments are left, right, justify (default left). + --> + <page size="a4" orientation="portrait" text-align="left"/> + + <!-- + Margins can be specified for top, bottom, inner, and outer + edges. If double-sided="false", the inner edge is always left + and the outer is always right. If double-sided="true", the + inner edge will be left on odd pages, right on even pages, + the outer edge vice versa. + Specified below are the default settings. + --> + <margins double-sided="false"> + <top>1cm</top> + <bottom>1cm</bottom> + <inner>2cm</inner> + <outer>1.5cm</outer> + </margins> + + <!-- + Print the URL text next to all links going outside the file + --> + <show-external-urls>false</show-external-urls> + </pdf>