You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2005/06/06 03:41:08 UTC

svn commit: r180191 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.view/resources/views/default.fv /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/resources/skin/css/default.css

Author: thorsten
Date: Sun Jun  5 18:41:07 2005
New Revision: 180191

URL: http://svn.apache.org/viewcvs?rev=180191&view=rev
Log:
applied patch for FOR-520 reported by Diwaker Gupta. thx again Diwaker Gupta

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.view/resources/views/default.fv   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/resources/skin/css/default.css   (with props)

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.view/resources/views/default.fv
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.view/resources/views/default.fv?rev=180191&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.view/resources/views/default.fv (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.view/resources/views/default.fv Sun Jun  5 18:41:07 2005
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2002-2004 The Apache Software Foundation or its licensors,
+as applicable.
+
+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.
+-->
+
+<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
+    <forrest:view type="xhtml">
+        <forrest:css url="default.css"/>
+        <forrest:contract name="meta"/>
+        <forrest:hook name="header">
+            <forrest:contract name="nav-main"/>
+        </forrest:hook>
+        <forrest:hook name="container">
+            <forrest:hook name="leftbar">
+                <forrest:contract name="nav"/>
+            </forrest:hook>
+            <forrest:hook name="export-link">
+                <forrest:contract name="txt-link"/>
+                <forrest:contract name="pdf-link"/>
+            </forrest:hook>
+            <forrest:contract name="content"/>
+        </forrest:hook>
+        <forrest:hook name="footer">
+            <forrest:contract name="feedback"/>
+            <forrest:contract name="last-published-net"/>
+        </forrest:hook>
+    </forrest:view>
+</forrest:views>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.view/resources/views/default.fv
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/resources/skin/css/default.css
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/resources/skin/css/default.css?rev=180191&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/resources/skin/css/default.css (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/resources/skin/css/default.css Sun Jun  5 18:41:07 2005
@@ -0,0 +1,187 @@
+/************************************************************************
+ * Apache Forrest
+ * Skin: Minimalistic
+ * Author: Diwaker Gupta <diwakergupta AT gmail DOT com>
+ *
+ * Notes:
+ * =====
+ * The colors used have been picked to taste from the Ubuntu, KDE and 
+ * GNOME color palettes.
+ * This skin uses relative positioning for the menu on the left, and the
+ * floating text for the alternative format icons on the right
+ ***********************************************************************/
+
+/* header */
+#header {
+    background: #ffffff;
+    border-bottom: thick solid #002b3d;
+}
+
+/* tabs */
+#nav-main {
+    background: #ffffff;
+    text-align: center;
+    text-decoration: none;
+    font-weight: bold;
+    font-variant: small-caps;
+    font-family: serif;
+    letter-spacing: 0.2em;
+}
+
+#nav-main li { 
+    display: inline;
+    padding: 0 1em 0 1em;
+}
+
+#nav-main li a {
+    font-weight: bold;
+}
+
+#nav-main li a:hover {
+    text-decoration: underline;
+}
+
+#nav-main li a.base-selected{
+   color: #980101;
+}
+
+#nav-main li a.base-selected:before {
+    content: "[ ";
+}
+
+#nav-main li a.base-selected:after {
+    content: " ]";
+}
+
+/* menu */
+#leftbar {
+    width: 20%;
+    float: left;
+    background: #eae8e3;
+    border: thin dashed #565248;
+}
+
+#nav {
+    padding: 0;
+    margin: 0;
+}
+
+#nav ul {
+    list-style: none;
+    padding-left: 20px;
+}
+
+#nav li.pagegroup ul {
+    list-style: none;
+}
+
+
+.menupagetitle {
+    color: #990000;
+    display: inline;
+    font-weight: bold;
+}
+
+.menupagetitle:before {
+    content: "[ ";
+}
+
+.menupagetitle:after {
+    content: " ]";
+}
+
+
+/* The actual content */
+#content {
+    margin-left: 20%;
+    padding: 0 20px 0 20px;
+}
+
+/* footer */
+#footer {
+    padding: 1em;
+    border: thin dotted #000066;
+    text-align: center;
+    font-style: italic;
+    font-size: small;
+}
+
+#footer a {
+    color: #006666;
+}
+
+#footer a:hover {
+    font-weight: normal;
+}
+
+/* note */
+.frame-note {
+    border: 2px solid #013397;
+    background: #b3d3fd;
+    padding: 4px;
+    margin: 4px;
+}
+
+.frame-note .label {
+    font-weight: bold;
+    text-decoration: underline;
+    font-size: large;
+    text-align: center;
+    padding-bottom: 2px;
+}
+
+/* warning */
+.frame-warning {
+    border: 2px solid #980101;
+    background: #f44800;
+    padding: 4px;
+    margin: 4px;
+}
+
+.frame-warning .label {
+    font-weight: bold;
+    text-decoration: underline;
+    font-size: large;
+    text-align: center;
+    padding-bottom: 2px;
+}
+
+/* link to alternate formats */
+#export-link {
+    text-align: right;
+    display: inline;
+    float: right;
+}
+
+/* HTML elements */
+a {
+    color: #013397;
+    text-decoration: none;
+    font-weight: bold;
+}
+
+a:visited {
+    font-weight: normal;
+}
+
+a:hover {
+    text-decoration: underline;
+    font-weight: bold;
+}
+
+body {
+    color: #000000;
+    font-family: sans-serif;
+    background: #ffffff
+}
+
+pre {
+    background: #eae8e3;
+    border: thin dashed #565248;
+    font-family: monospace;
+}
+
+img {
+    border: 0;
+}
+

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/resources/skin/css/default.css
------------------------------------------------------------------------------
    svn:eol-style = native