forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r481663 - in /forrest/trunk/whiteboard/forrest2/wicket-demo: .settings/ .settings/org.jayasoft.ivyde.eclipse.prefs .wicketprops src/java/org/apache/forrest/examples/wicket/WelcomePage.html src/webapp/layout.css src/webapp/screen.css
Date Sat, 02 Dec 2006 23:15:07 GMT
Author: rgardler
Date: Sat Dec  2 15:15:07 2006
New Revision: 481663

URL: http://svn.apache.org/viewvc?view=rev&rev=481663
Log:
Add css from COAT theme in FOR-817

Added:
    forrest/trunk/whiteboard/forrest2/wicket-demo/.settings/
    forrest/trunk/whiteboard/forrest2/wicket-demo/.settings/org.jayasoft.ivyde.eclipse.prefs
    forrest/trunk/whiteboard/forrest2/wicket-demo/.wicketprops
    forrest/trunk/whiteboard/forrest2/wicket-demo/src/webapp/layout.css
    forrest/trunk/whiteboard/forrest2/wicket-demo/src/webapp/screen.css   (with props)
Modified:
    forrest/trunk/whiteboard/forrest2/wicket-demo/src/java/org/apache/forrest/examples/wicket/WelcomePage.html

Added: forrest/trunk/whiteboard/forrest2/wicket-demo/.settings/org.jayasoft.ivyde.eclipse.prefs
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/wicket-demo/.settings/org.jayasoft.ivyde.eclipse.prefs?view=auto&rev=481663
==============================================================================
--- forrest/trunk/whiteboard/forrest2/wicket-demo/.settings/org.jayasoft.ivyde.eclipse.prefs
(added)
+++ forrest/trunk/whiteboard/forrest2/wicket-demo/.settings/org.jayasoft.ivyde.eclipse.prefs
Sat Dec  2 15:15:07 2006
@@ -0,0 +1,5 @@
+#Sat Dec 02 22:42:36 GMT 2006
+acceptedTypes=[inherited]
+eclipse.preferences.version=1
+ivy_conf_path=inherited
+retreive.pattern=none

Added: forrest/trunk/whiteboard/forrest2/wicket-demo/.wicketprops
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/wicket-demo/.wicketprops?view=auto&rev=481663
==============================================================================
--- forrest/trunk/whiteboard/forrest2/wicket-demo/.wicketprops (added)
+++ forrest/trunk/whiteboard/forrest2/wicket-demo/.wicketprops Sat Dec  2 15:15:07 2006
@@ -0,0 +1,2 @@
+#Sat Dec 02 22:43:53 GMT 2006
+web.cssPaths=layout.css,style.css

Modified: forrest/trunk/whiteboard/forrest2/wicket-demo/src/java/org/apache/forrest/examples/wicket/WelcomePage.html
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/wicket-demo/src/java/org/apache/forrest/examples/wicket/WelcomePage.html?view=diff&rev=481663&r1=481662&r2=481663
==============================================================================
--- forrest/trunk/whiteboard/forrest2/wicket-demo/src/java/org/apache/forrest/examples/wicket/WelcomePage.html
(original)
+++ forrest/trunk/whiteboard/forrest2/wicket-demo/src/java/org/apache/forrest/examples/wicket/WelcomePage.html
Sat Dec  2 15:15:07 2006
@@ -3,22 +3,23 @@
 	xmlns:wicket="http://wicket.sourceforge.net/" xml:lang="en" lang="en">
 	<head>
 		<title>Forrest2-Wicket Integration Example</title>
+		<link type="text/css" rel="stylesheet" href="/screen.css" />
 	</head>
 	<body>
-	<div class="content">
-		<div wicket:id="header" class="header">
+	<div class="container">
+		<div wicket:id="header" id="header">
 			FIXME: Header goes here
 		</div>
 		
-		<div wicket:id="mainNavigation" class="left_column">
-			FIXME: mainNavigation goes here
-		</div>
-		
-		<div wicket:id="body" class="content_main">
-			FIXME: Body goes here
-		</div>
+			<div wicket:id="mainNavigation" id="leftbar">
+				FIXME: mainNavigation goes here
+			</div>
+			
+			<div wicket:id="body" id="content">
+				FIXME: Body goes here
+			</div>
 		
-		<div wicket:id="footer" class="footer">
+		<div wicket:id="footer" id="footer">
 			FIXME: Footer Goes here
 	    </div>
 	</div>

Added: forrest/trunk/whiteboard/forrest2/wicket-demo/src/webapp/layout.css
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/wicket-demo/src/webapp/layout.css?view=auto&rev=481663
==============================================================================
--- forrest/trunk/whiteboard/forrest2/wicket-demo/src/webapp/layout.css (added)
+++ forrest/trunk/whiteboard/forrest2/wicket-demo/src/webapp/layout.css Sat Dec  2 15:15:07
2006
@@ -0,0 +1,146 @@
+/*
+* 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.
+*/
+html, body {
+   margin: 0;
+   padding: 0;
+}
+
+body {
+  padding: 0 5px;
+}
+
+/* header section
+ *************************************/
+/* "skip to content" link 
+ * this one is added for accessibility
+ */
+#skiptocontent {
+   position: absolute;
+   left: -999em;
+}
+
+hr#content-start {
+   display: none;
+}
+
+/* header */
+#header {
+   width: 100%;
+   height: 80px;
+   margin-top: 1em;
+   padding: 5px 0;
+   clear: both;
+}
+
+/* apache logo */
+#header #group-logo {
+   clear: both;
+   position: relative;
+   float: left;
+}
+
+#header #group-logo .logoImage {
+   float: left;
+}
+
+#header #group-logo #title {
+   position: relative;
+   display: block;
+   float: left;
+   margin: 0;
+   padding: 0;
+   left: 10px;
+}
+
+#header #group-logo #link {
+   position: relative;
+   display: block;
+   float: left;
+   clear: left;
+   margin: 0;
+   padding: 0;
+   left: 250px;
+}
+
+/* project logo */
+#header #project-logo {
+   position: relative;
+   float: right;
+}
+
+/* navigation section
+ *************************************/
+
+/* leftbar */
+#leftbar {  
+   clear: both;
+   width: 12em;
+   margin-top: 10px;
+   margin-bottom: 1em;
+   float: left;
+}
+
+/* search box */
+#leftbar .search-input {
+   position: relative;
+   height: 2.5em;
+    padding: 10px 5px 0 5px;
+}
+
+#leftbar .search-input form input {
+  width: 50%;
+  float: left;
+   display: inline;
+}
+ #leftbar .search-input form #search-submit input {
+   margin-left: 2%;
+   width: 45%;
+}
+
+/* menu */
+#leftbar #nav-section {
+   position: relative;
+}
+
+/* content
+ *************************************/
+
+/* The actual content */
+#content {
+  margin-left: 13em;
+  margin-right: 0em;
+  padding: 0;
+}
+
+/* general layout:
+ * main content is 65% width,
+ * notes, fixes and warnings float
+ * to the right with 30% width
+ *************************************/
+
+#content .section {
+}
+
+/* footer
+ *************************************/
+
+#footer {
+    margin-top: 5px;
+    padding-top: 5px;
+    padding-bottom: 0.5em;
+    clear: both;
+}
\ No newline at end of file

Added: forrest/trunk/whiteboard/forrest2/wicket-demo/src/webapp/screen.css
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/wicket-demo/src/webapp/screen.css?view=auto&rev=481663
==============================================================================
--- forrest/trunk/whiteboard/forrest2/wicket-demo/src/webapp/screen.css (added)
+++ forrest/trunk/whiteboard/forrest2/wicket-demo/src/webapp/screen.css Sat Dec  2 15:15:07
2006
@@ -0,0 +1,266 @@
+/*
+* 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.
+*/
+/* general layout of page */
+@import url("layout.css");
+
+/* navigation */
+@import url("nav.css");
+
+
+body {
+   font-size: 0.95em;
+   font-family: Arial, Geneva, Helvetica, sans-serif;
+   color: black;
+   background-color: white;
+}
+
+/* header section
+ *************************************/
+/* header */
+#header {
+   border-bottom: 1px solid #000;
+}
+
+#header a {
+   text-decoration: none;
+}
+
+/* logo */
+#header .logoImage {
+  border: 0;
+}
+
+#header #title, #header #link {
+   text-decoration: none;
+   color: #000;
+   border: 0;
+}
+
+#header #title {
+   font-size: 2em;
+}
+
+#header #link {
+   font-size: 1em;
+   font-weight: normal;
+}
+
+/* navigation section
+ *************************************/
+/* leftbar */
+#leftbar  {  
+   border: solid #ccc;
+   border-width: 0 1px 0 0;
+}
+
+/* search box */
+#leftbar .search-input {
+   background: #cde;
+   border-bottom: 1px solid #ccc;
+}
+
+#leftbar .search-input small {
+   font-size: 0.7em;
+   line-height: 1.2em;
+   font-style: italic;
+   float: right;
+}
+
+#leftbar .search-input small a {
+   color: #66c;
+   text-decoration: none;
+}
+
+#page {
+}
+
+/* content
+ *************************************/
+/* HTML elements */
+
+/* general layout:
+ * main content is 65% width,
+ * notes, fixes and warnings float
+ * to the right with 30% width
+ *************************************/
+
+.section {
+ }
+ 
+h1 {
+   font-size: 1.4em;
+   font-weight: bold;
+   color: #66c;
+}
+
+h2 {
+    font-size: 1.3em;
+    font-weight: bold;
+    padding-left: 0em;
+   margin-right: 13em;
+    border-bottom: 1px solid #ddd;
+}
+
+h3 {
+    font-size: 1.1em;
+    font-weight: bold;
+}
+
+h4 {
+    font-size: 1em;
+    font-weight: bold;
+}
+
+p {
+   margin: 0.25em 0;
+}
+
+/* note, warning and fixme are styled similarly
+ * therefore, the toplevel classes are equal.
+ */
+
+.note,
+.fixme,
+.warning {
+   margin: 1em 0 1em 0.5em;
+   width: 12em;
+   border: 0;
+   float: right;
+   clear: right; 
+}
+
+.section .note,
+.section .fixme,
+.section .warning  {
+   
+}
+
+.note .content,
+.fixme .content,
+.warning .content {
+   padding: 0.25em 0.75em 0.75em 0.75em;
+   background: #eff6f8; 
+}
+
+.note .label,
+.fixme .label,
+.warning .label  {
+   font-weight: bold;
+   font-size: 1.1em;
+   font-variant: small-caps;
+   line-height: 1.1em;
+   color: #66c;
+   text-decoration: none;
+   text-align: left;
+   padding-left: 0.75em;
+   padding-bottom: 0;
+   background: #cde;
+   border-bottom: 1px solid #cde;
+}
+
+/* warning */
+.warning {
+}
+
+.warning .label {
+   color: #fff;
+   border-bottom: 1px solid #980101;
+   background: #980101;
+}
+
+.warning .content {
+   background: #e28b9c;
+}
+
+/* abstract */
+
+div.abstract {
+    font-style: italic;
+    width: 55%;
+    margin: 0 40% 0 5%;
+    padding: 0.5em 0;
+}
+
+
+/* tables */
+table {
+  background-color: #ccc;
+}
+
+table caption {
+   font-size: 0.8em;
+   font-style: italic;
+}
+
+td, th {
+    font-size: 0.95em;
+    font-family: Arial, Geneva, Helvetica, sans-serif;
+    color: black;
+    background-color: white;
+}
+
+th {
+   background-color: #f0f0f0;
+}
+
+table p {
+   width: 100%;
+   margin: 0.1em;
+}
+
+/* quote */
+.quote {
+   width: 70%;
+   margin: 1em 15%;
+   padding: 1em;
+   font-style: italic;
+   font-size: 1.1em;
+   background-color: #f0f0f0;
+}
+
+/* preformatted text */
+pre, .pre  {
+    padding: 0.5em 1em;
+    border: 1px solid #ccc;
+    white-space: pre;
+    clear: right;
+}
+
+.codefrag {
+   font-family: Courier, Monospace;
+}
+
+hr {
+   border: 0;
+   border-bottom: 1px solid #ccc;
+}
+
+img {
+   border: 0;
+}
+
+a img {
+   border: 0;
+}
+
+/* footer
+ *************************************/
+#footer {
+    text-align: center;
+    font-size: 0.8em;
+    border-top: 1px solid #000;
+}
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/forrest2/wicket-demo/src/webapp/screen.css
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message