Author: alexsmirnov
Date: 2009-03-31 19:54:56 -0400 (Tue, 31 Mar 2009)
New Revision: 13331
Added:
trunk/samples/themes/
trunk/samples/themes/pom.xml
trunk/samples/themes/src/
trunk/samples/themes/src/main/
trunk/samples/themes/src/main/config/
trunk/samples/themes/src/main/config/component/
trunk/samples/themes/src/main/config/component/cssZend.xml
trunk/samples/themes/src/main/config/component/violetRays.xml
trunk/samples/themes/src/main/config/faces/
trunk/samples/themes/src/main/config/faces/faces-config.xml
trunk/samples/themes/src/main/java/
trunk/samples/themes/src/main/java/org/
trunk/samples/themes/src/main/java/org/richfaces/
trunk/samples/themes/src/main/java/org/richfaces/theme/
trunk/samples/themes/src/main/java/org/richfaces/theme/App.java
trunk/samples/themes/src/main/resources/
trunk/samples/themes/src/main/resources/META-INF/
trunk/samples/themes/src/main/resources/META-INF/themes/
trunk/samples/themes/src/main/resources/META-INF/themes/csszend.theme.properties
trunk/samples/themes/src/main/resources/META-INF/themes/violetRays.theme.properties
trunk/samples/themes/src/main/resources/org/
trunk/samples/themes/src/main/resources/org/richfaces/
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/violetRays.xcss
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/zengarden.css
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img01.jpg
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img02.jpg
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img03.jpg
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img04.jpg
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img05.gif
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img06.jpg
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/spacer.gif
trunk/samples/themes/src/main/templates/
trunk/samples/themes/src/main/templates/org/
trunk/samples/themes/src/main/templates/org/richfaces/
trunk/samples/themes/src/main/templates/org/richfaces/cssZendPage.jspx
trunk/samples/themes/src/main/templates/org/richfaces/violetRays.jspx
trunk/samples/themes/src/test/
trunk/samples/themes/src/test/java/
trunk/samples/themes/src/test/java/org/
trunk/samples/themes/src/test/java/org/richfaces/
trunk/samples/themes/src/test/java/org/richfaces/theme/
trunk/samples/themes/src/test/java/org/richfaces/theme/AppTest.java
Removed:
trunk/ui/layout/src/main/config/faces/faces-config.xml
trunk/ui/layout/src/main/resources/META-INF/themes/csszend.theme.properties
trunk/ui/layout/src/main/resources/META-INF/themes/violetRays.theme.properties
trunk/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/violetRays.xcss
trunk/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/zengarden.css
trunk/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/
trunk/ui/layout/src/main/templates/org/richfaces/cssZendPage.jspx
trunk/ui/layout/src/main/templates/org/richfaces/violetRays.jspx
Modified:
trunk/samples/pom.xml
trunk/ui/layout/src/main/config/component/page.xml
Log:
move themes to the separate project
Modified: trunk/samples/pom.xml
===================================================================
--- trunk/samples/pom.xml 2009-03-31 22:56:39 UTC (rev 13330)
+++ trunk/samples/pom.xml 2009-03-31 23:54:56 UTC (rev 13331)
@@ -497,5 +497,6 @@
<module>glassX</module>
<module>darkX</module>
<module>richfaces-demo</module>
+ <module>themes</module>
</modules>
-</project>
+</project>
\ No newline at end of file
Added: trunk/samples/themes/pom.xml
===================================================================
--- trunk/samples/themes/pom.xml (rev 0)
+++ trunk/samples/themes/pom.xml 2009-03-31 23:54:56 UTC (rev 13331)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>samples</artifactId>
+ <groupId>org.richfaces</groupId>
+ <version>3.3.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.richfaces.samples</groupId>
+ <artifactId>themes</artifactId>
+ <version>3.3.1-SNAPSHOT</version>
+ <name>themes</name>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>maven-cdk-plugin</artifactId>
+ <version>3.3.1-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate-sources</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>generate-test-sources</id>
+ <phase>generate-test-sources</phase>
+ <goals>
+ <goal>generate-tests</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>layout</artifactId>
+ <version>3.3.1-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Property changes on: trunk/samples/themes/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/samples/themes/src/main/config/component/cssZend.xml
===================================================================
--- trunk/samples/themes/src/main/config/component/cssZend.xml
(rev 0)
+++ trunk/samples/themes/src/main/config/component/cssZend.xml 2009-03-31 23:54:56 UTC
(rev 13331)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN"
"http://labs.jboss.com/jbossrichfaces/component-config.dtd">
+
+<components>
+ <renderer generate="true" override="true">
+ <name>org.richfaces.CssZendPageRenderer</name>
+ <template>org/richfaces/cssZendPage.jspx</template>
+ </renderer>
+</components>
\ No newline at end of file
Property changes on: trunk/samples/themes/src/main/config/component/cssZend.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/samples/themes/src/main/config/component/violetRays.xml
===================================================================
--- trunk/samples/themes/src/main/config/component/violetRays.xml
(rev 0)
+++ trunk/samples/themes/src/main/config/component/violetRays.xml 2009-03-31 23:54:56 UTC
(rev 13331)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN"
"http://labs.jboss.com/jbossrichfaces/component-config.dtd">
+
+<components>
+ <renderer generate="true" override="true">
+ <name>org.richfaces.VioletRaysRenderer</name>
+ <template>org/richfaces/violetRays.jspx</template>
+ </renderer>
+</components>
\ No newline at end of file
Property changes on: trunk/samples/themes/src/main/config/component/violetRays.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/samples/themes/src/main/config/faces/faces-config.xml
===================================================================
--- trunk/samples/themes/src/main/config/faces/faces-config.xml
(rev 0)
+++ trunk/samples/themes/src/main/config/faces/faces-config.xml 2009-03-31 23:54:56 UTC
(rev 13331)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faces-config
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
+ version="1.2">
+ <render-kit>
+ <renderer>
+ <component-family>org.richfaces.Page</component-family>
+ <renderer-type>org.richfaces.CssZendPageRenderer</renderer-type>
+ <renderer-class>org.richfaces.renderkit.html.CssZendRenderer</renderer-class>
+ </renderer>
+ <renderer>
+ <component-family>org.richfaces.Page</component-family>
+ <renderer-type>org.richfaces.VioletRaysRenderer</renderer-type>
+ <renderer-class>org.richfaces.renderkit.html.VioletRaysRenderer</renderer-class>
+ </renderer>
+ </render-kit>
+</faces-config>
\ No newline at end of file
Property changes on: trunk/samples/themes/src/main/config/faces/faces-config.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/samples/themes/src/main/java/org/richfaces/theme/App.java
===================================================================
--- trunk/samples/themes/src/main/java/org/richfaces/theme/App.java
(rev 0)
+++ trunk/samples/themes/src/main/java/org/richfaces/theme/App.java 2009-03-31 23:54:56
UTC (rev 13331)
@@ -0,0 +1,13 @@
+package org.richfaces.theme;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
Property changes on: trunk/samples/themes/src/main/java/org/richfaces/theme/App.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/samples/themes/src/main/resources/META-INF/themes/csszend.theme.properties
===================================================================
--- trunk/samples/themes/src/main/resources/META-INF/themes/csszend.theme.properties
(rev 0)
+++
trunk/samples/themes/src/main/resources/META-INF/themes/csszend.theme.properties 2009-03-31
23:54:56 UTC (rev 13331)
@@ -0,0 +1,2 @@
+rendererType=org.richfaces.CssZendPageRenderer
+styleSheet=resource:///org/richfaces/renderkit/html/css/zengarden.css
Property changes on:
trunk/samples/themes/src/main/resources/META-INF/themes/csszend.theme.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/samples/themes/src/main/resources/META-INF/themes/violetRays.theme.properties
===================================================================
--- trunk/samples/themes/src/main/resources/META-INF/themes/violetRays.theme.properties
(rev 0)
+++
trunk/samples/themes/src/main/resources/META-INF/themes/violetRays.theme.properties 2009-03-31
23:54:56 UTC (rev 13331)
@@ -0,0 +1,2 @@
+rendererType=org.richfaces.VioletRaysRenderer
+styleSheet=resource:///org/richfaces/renderkit/html/css/violetRays.xcss
Property changes on:
trunk/samples/themes/src/main/resources/META-INF/themes/violetRays.theme.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/violetRays.xcss
(from rev 13320,
trunk/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/violetRays.xcss)
===================================================================
---
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/violetRays.xcss
(rev 0)
+++
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/violetRays.xcss 2009-03-31
23:54:56 UTC (rev 13331)
@@ -0,0 +1,386 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<f:template
xmlns:f='http:/jsf.exadel.com/template'
+
xmlns:u='http:/jsf.exadel.com/template/util'
+
xmlns="http://www.w3.org/1999/xhtml">
+
+ <f:verbatim>
+ <![CDATA[
+body {
+ margin: 0;
+ background: #7A287A none repeat left top;
+ font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
+ font-size: 13px;
+ color: #C752C7;
+}
+
+h1, h2, h3 {
+ margin: 0;
+ font-family: Georgia, "Times New Roman", Times, serif;
+ font-weight: normal;
+ color: #649632;
+}
+
+h1 { font-size: 44px; }
+
+h2 { font-size: 20px; }
+
+h3 { }
+
+p, ul, ol {
+ margin-top: 0;
+ line-height: 240%;
+ text-align: justify;
+ font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
+ font-size: 11px;
+}
+
+ul, ol { }
+
+blockquote { }
+
+a { color: #FFFFFF; }
+
+a:hover { text-decoration: none; }
+
+a img {
+ border: none;
+}
+
+img.left {
+ float: left;
+ margin: 7px 30px 0 0;
+}
+
+img.right {
+ float: right;
+ margin: 7px 0 0 30px;
+}
+
+hr { display: none; }
+
+.list1 {
+}
+
+.list1 li {
+ float: left;
+ line-height: normal;
+}
+
+.list1 li img {
+ margin: 0 30px 30px 0;
+}
+
+.list1 li.alt img {
+ margin-right: 0;
+}
+
+#wrapper {
+ background: none repeat-x left top;
+ padding-top: 30px;
+}
+
+/* Header */
+
+#header-wrapper {
+}
+
+#header {
+ width: 913px;
+ height: 71px;
+ margin: 0 auto;
+
+ padding-top:10px;
+ text-align:center;
+ background: none no-repeat left top;
+}
+
+/* Search */
+
+#search {
+ float: right;
+ width: 305px;
+ height: 76px;
+}
+
+#search form {
+ float: right;
+ margin: 0;
+ padding: 35px 20px 0 0;
+}
+
+#search fieldset {
+ margin: 0;
+ padding: 0;
+ border: none;
+}
+
+#search input {
+ float: left;
+ font: 12px Georgia, "Times New Roman", Times, serif;
+ border: none;
+}
+
+#search-text {
+ width: 135px;
+ height: 18px;
+ padding: 3px 0 0 5px;
+ background: #ECF9E4;
+ color: #658453;
+}
+
+#search-submit {
+ height: 21px;
+ margin-left: 12px;
+ color: #39561D;
+}
+
+/* Page */
+
+#page {
+ width: 913px;
+ margin: 0 auto;
+ padding: 30px 0px 0px 0px;
+ background: #180818;
+}
+
+/** LOGO */
+
+#logo {
+ width: 913px;
+ height: 200px;
+ margin: 0 auto;
+ background: #180818;
+}
+
+#logo h1, #logo p {
+ margin: 0;
+ padding: 0 0 0 20px;
+ line-height: normal;
+}
+
+#logo h1 {
+ padding-top: 70px;
+}
+
+#logo h1 a {
+ text-decoration: none;
+ text-transform: lowercase;
+ color: #FFFFFF;
+}
+
+#logo h1 a:hover { text-decoration: underline; }
+
+#logo h2 {
+ padding: 0;
+ margin: 0;
+}
+
+#logo p {
+ padding: 0px 0 0 20px;
+ font: italic 13px Georgia, "Times New Roman", Times, serif;
+ color: #FFFFFF;
+}
+
+#logo p a {
+ text-decoration: none;
+ color: #FFFFFF;
+}
+
+#logo p a:hover { text-decoration: underline; }
+
+/* Content */
+
+#content {
+ float: right;
+ width: 600px;
+}
+
+/* Post */
+
+.post {
+ margin-bottom: 25px;
+}
+
+.post .title {
+ height: 30px;
+ margin-bottom: 3px;
+ padding: 8px 0px 2px 20px;
+ background: #230C23;
+ color: #FFFFFF;
+}
+
+.post .date {
+ float: right;
+ margin-top: 0;
+ padding-right: 20px;
+ font-family: Georgia, "Times New Roman", Times, serif;
+ font-weight: normal;
+ font-size: 18px;
+ color: #DB44DB;
+}
+
+.post .meta {
+ margin: 0 0 3px 25px;
+ padding: 2px 30px 2px 0px;
+ font-family: Arial, Helvetica, sans-serif;
+ font-weight: normal;
+ font-size: 10px;
+ color: #B6ACA2;
+}
+
+.post .meta a { color: #B6ACA2; }
+
+.post .entry {
+ padding: 25px 20px 0px 20px;
+}
+
+.post .links {
+ margin: 0 250px 0 0;
+ padding: 0 0 0 0px;
+}
+
+.post .links .comments {
+}
+
+.post .links .permalink {
+ padding-left: 17px;
+}
+
+/* Sidebar */
+
+#sidebar {
+ float: left;
+ width: 280px;
+}
+
+#sidebar ul {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ line-height: normal;
+}
+
+#sidebar li {
+ margin-bottom: 30px;
+ padding: 0 0 20px 0px;
+}
+
+#sidebar li ul {
+ line-height: 200%;
+}
+
+#sidebar li li {
+ margin: 0;
+ padding: 0 20px;
+}
+
+#sidebar p {
+ margin: 0;
+ padding: 0 20px;
+}
+
+#sidebar h2 {
+ height: 30px;
+ margin-bottom: 3px;
+ padding: 8px 0px 2px 20px;
+ background: #230C23;
+ font-size: 20px;
+ color: #FFFFFF;
+}
+
+
+#sidebar p {
+ line-height: 200%;
+}
+
+/* Calendar */
+
+#calendar {
+}
+
+#calendar caption {
+ padding-bottom: 5px;
+ font-weight: bold;
+}
+
+#calendar table {
+ width: 90%;
+ border-collapse: collapse;
+ margin: 0 20px;
+}
+
+#calendar thead th {
+ padding: 5px 0;
+ text-align: center;
+}
+
+#calendar tbody td {
+ padding: 5px 0;
+ text-align: center;
+}
+
+#calendar tfoot td {
+ padding: 5px;
+}
+
+#calendar tfoot #next {
+ text-align: right;
+}
+
+#calendar #today {
+}
+
+/* Footer */
+
+#footer {
+ width: 913px;
+ margin: 0 auto;
+ padding: 0;
+ text-align:center;
+ padding-top:20px;
+ background: none no-repeat left top;
+ height: 80px;
+}
+
+#footer p {
+ margin: 0;
+ padding: 20px 0;
+ text-align: center;
+ line-height: normal;
+ color: #FFFFFF;
+}
+
+#footer a {
+ color: #C752C7;
+}
+
+ ]]>
+ </f:verbatim>
+
+
+
+ <u:selector name="body">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/images/violet/img02.jpg"
/>
+ </u:style>
+ </u:selector>
+
+ <u:selector name="#wrapper">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/images/violet/img01.jpg"
/>
+ </u:style>
+ </u:selector>
+ <u:selector name="#header">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/images/violet/img03.jpg"
/>
+ </u:style>
+ </u:selector>
+
+ <u:selector name="#footer">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/images/violet/img04.jpg"
/>
+ </u:style>
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Copied:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/zengarden.css
(from rev 13320,
trunk/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/zengarden.css)
===================================================================
---
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/zengarden.css
(rev 0)
+++
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/zengarden.css 2009-03-31
23:54:56 UTC (rev 13331)
@@ -0,0 +1,199 @@
+/* css Zen Garden default style v1.02 */
+/* css released under Creative Commons License -
http://creativecommons.org/licenses/by-nc-sa/1.0/ */
+
+/* This file based on 'Tranquille' by Dave Shea */
+/* You may use this file as a foundation for any new work, but you may find it easier to
start from scratch. */
+/* Not all elements are defined in this file, so you'll most likely want to refer to
the xhtml as well. */
+
+/* Your images should be linked as if the CSS file sits in the same folder as the images.
ie. no paths. */
+
+
+/* basic elements */
+html {
+ margin: 0;
+ padding: 0;
+ }
+body {
+ font: 75% georgia, sans-serif;
+ line-height: 1.88889;
+ color: #555753;
+ background: #fff url(blossoms.jpg) no-repeat bottom right;
+ margin: 0;
+ padding: 0;
+ }
+p {
+ margin-top: 0;
+ text-align: justify;
+ }
+h3 {
+ font: italic normal 1.4em georgia, sans-serif;
+ letter-spacing: 1px;
+ margin-bottom: 0;
+ color: #7D775C;
+ }
+a:link {
+ font-weight: bold;
+ text-decoration: none;
+ color: #B7A5DF;
+ }
+a:visited {
+ font-weight: bold;
+ text-decoration: none;
+ color: #D4CDDC;
+ }
+a:hover, a:active {
+ text-decoration: underline;
+ color: #9685BA;
+ }
+acronym {
+ border-bottom: none;
+ }
+
+
+/* specific divs */
+#container {
+ background: url(zen-bg.jpg) no-repeat top left;
+ padding: 0 175px 0 110px;
+ margin: 0;
+ position: relative;
+ }
+
+#intro {
+ min-width: 470px;
+ }
+
+/* using an image to replace text in an h1. This trick courtesy Douglas Bowman,
http://www.stopdesign.com/articles/css/replace-text/ */
+#pageHeader h1 {
+ background: transparent url(h1.gif) no-repeat top left;
+ margin-top: 10px;
+ width: 219px;
+ height: 87px;
+ float: left;
+ }
+#pageHeader h1 span {
+ display:none
+ }
+#pageHeader h2 {
+ background: transparent url(h2.gif) no-repeat top left;
+ margin-top: 58px;
+ margin-bottom: 40px;
+ width: 200px;
+ height: 18px;
+ float: right;
+ }
+#pageHeader h2 span {
+ display:none
+ }
+#pageHeader {
+ padding-top: 20px;
+}
+
+#quickSummary {
+ clear:both;
+ margin: 20px 20px 20px 10px;
+ width: 160px;
+ float: left;
+ }
+#quickSummary p {
+ font: italic 10pt/22pt georgia;
+ text-align:center;
+ }
+
+#preamble {
+ clear: right;
+ padding: 0px 10px 0 10px;
+ }
+#supportingText {
+ padding-left: 10px;
+ margin-bottom: 40px;
+ }
+
+#footer {
+ text-align: center;
+ }
+#footer a:link, #footer a:visited {
+ margin-right: 20px;
+ }
+
+#linkList {
+ margin-left: 600px;
+ position: absolute;
+ top: 0;
+ right: 0;
+ }
+#linkList2 {
+ font: 10px verdana, sans-serif;
+ background: transparent url(paper-bg.jpg) top left repeat-y;
+ padding: 10px;
+ margin-top: 150px;
+ width: 130px;
+ }
+#linkList h3.select {
+ background: transparent url(h3.gif) no-repeat top left;
+ margin: 10px 0 5px 0;
+ width: 97px;
+ height: 16px;
+ }
+#linkList h3.select span {
+ display:none
+ }
+#linkList h3.favorites {
+ background: transparent url(h4.gif) no-repeat top left;
+ margin: 25px 0 5px 0;
+ width: 60px;
+ height: 18px;
+ }
+#linkList h3.favorites span {
+ display:none
+ }
+#linkList h3.archives {
+ background: transparent url(h5.gif) no-repeat top left;
+ margin: 25px 0 5px 0;
+ width:57px;
+ height: 14px;
+ }
+#linkList h3.archives span {
+ display:none
+ }
+#linkList h3.resources {
+ background: transparent url(h6.gif) no-repeat top left;
+ margin: 25px 0 5px 0;
+ width:63px;
+ height: 10px;
+ }
+#linkList h3.resources span {
+ display:none
+ }
+
+
+#linkList ul {
+ margin: 0;
+ padding: 0;
+ }
+#linkList li {
+ line-height: 2.5ex;
+ background: transparent url(cr1.gif) no-repeat top center;
+ display: block;
+ padding-top: 5px;
+ margin-bottom: 5px;
+ list-style-type: none;
+ }
+#linkList li a:link {
+ color: #988F5E;
+ }
+#linkList li a:visited {
+ color: #B3AE94;
+ }
+
+
+#extraDiv1 {
+ background: transparent url(cr2.gif) top left no-repeat;
+ position: absolute;
+ top: 40px;
+ right: 0;
+ width: 148px;
+ height: 110px;
+ }
+.accesskey {
+ text-decoration: underline;
+ }
\ No newline at end of file
Property changes on:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/zengarden.css
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img01.jpg
===================================================================
(Binary files differ)
Property changes on:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img01.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img02.jpg
===================================================================
(Binary files differ)
Property changes on:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img02.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img03.jpg
===================================================================
(Binary files differ)
Property changes on:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img03.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img04.jpg
===================================================================
(Binary files differ)
Property changes on:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img04.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img05.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img05.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img06.jpg
===================================================================
(Binary files differ)
Property changes on:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/img06.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/spacer.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/images/violet/spacer.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/samples/themes/src/main/templates/org/richfaces/cssZendPage.jspx
===================================================================
--- trunk/samples/themes/src/main/templates/org/richfaces/cssZendPage.jspx
(rev 0)
+++ trunk/samples/themes/src/main/templates/org/richfaces/cssZendPage.jspx 2009-03-31
23:54:56 UTC (rev 13331)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:root
+
xmlns:f="http://ajax4jsf.org/cdk/template"
+ xmlns:c="
http://java.sun.com/jsf/core"
+ xmlns:ui="
http://ajax4jsf.org/cdk/ui"
+ xmlns:u="
http://ajax4jsf.org/cdk/u"
+ xmlns:x="
http://ajax4jsf.org/cdk/x"
+
xmlns:h="http://jsf.exadel.com/header"
+
xmlns:vcp="http://ajax4jsf.org/cdk/vcp"
+ class="org.richfaces.renderkit.html.CssZendRenderer"
+ baseclass="org.richfaces.renderkit.AbstractPageRenderer"
+ component="org.richfaces.component.UIPage"
+ >
+ <c:set var="namespace"
value="#{this:prolog(context,component)}"/>
+ <html x:xmlns="#{namespace}" x:lang="#{context.viewRoot.locale}"
+ >
+ <head>
+ <title>#{component.attributes['pageTitle']}</title>
+ <f:call name="themeStyle"/>
+ <f:call name="themeScript"/>
+ <u:insertFacet name="pageHeader"/>
+ </head>
+ <body id="css-zen-garden"
x:passThruWithExclusions="value,name,type,id">
+ <div id="container" class="rich-page
#{component.attributes['pageClass']}"
+ x:style="#{component.attributes['pageStyle']}">
+ <div id="intro">
+ <c:if test="#{this:hasFacet(component,'header')}">
+ <div id="pageHeader" class="rich-page-header
#{component.attributes['headerClass']}">
+ <u:insertFacet name="header"/>
+ </div>
+ </c:if>
+ <c:if test="#{this:hasFacet(component,'summary')}">
+ <div id="quickSummary" class="rich-page-summary
#{component.attributes['summaryClass']}">
+ <u:insertFacet name="summary"/>
+ </div>
+ </c:if>
+ <c:if test="#{this:hasFacet(component,'preamble')}">
+ <div id="preamble" class="rich-page-preamble
#{component.attributes['preambleClass']}">
+ <u:insertFacet name="preamble"/>
+ </div>
+ </c:if>
+ </div>
+ <div id="supportingText" class="rich-page-content
#{component.attributes['contentClass']}">
+ <vcp:body>
+ <div class="rich-page-body
#{component.attributes['bodyClass']}">
+ <f:call name="renderChildren" />
+ </div>
+ </vcp:body>
+ <c:if test="#{this:hasFacet(component,'footer')}">
+ <div id="footer" class="rich-page-footer
#{component.attributes['footerClass']}">
+ <u:insertFacet name="footer"/>
+ </div>
+ </c:if>
+ </div>
+ <c:if test="#{this:hasFacet(component,'sidebar')}">
+ <div id="linkList" class="rich-page-sidebar
#{component.attributes['styleClass']}">
+ <div id="linkList2">
+ <u:insertFacet name="sidebar"/>
+ </div>
+ </div>
+ </c:if>
+ </div>
+ <!-- These extra divs/spans may be used as catch-alls to add extra imagery. -->
+<div id="extraDiv1">
+<span/>
+</div>
+<div id="extraDiv2">
+</div>
+<div id="extraDiv3">
+</div>
+<div id="extraDiv4">
+</div>
+<div id="extraDiv5">
+</div>
+<div id="extraDiv6">
+</div>
+ </body>
+ </html>
+</f:root>
\ No newline at end of file
Property changes on:
trunk/samples/themes/src/main/templates/org/richfaces/cssZendPage.jspx
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/samples/themes/src/main/templates/org/richfaces/violetRays.jspx
===================================================================
--- trunk/samples/themes/src/main/templates/org/richfaces/violetRays.jspx
(rev 0)
+++ trunk/samples/themes/src/main/templates/org/richfaces/violetRays.jspx 2009-03-31
23:54:56 UTC (rev 13331)
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:root
+
xmlns:f="http://ajax4jsf.org/cdk/template"
+ xmlns:c="
http://java.sun.com/jsf/core"
+ xmlns:ui="
http://ajax4jsf.org/cdk/ui"
+ xmlns:u="
http://ajax4jsf.org/cdk/u"
+ xmlns:x="
http://ajax4jsf.org/cdk/x"
+
xmlns:h="http://jsf.exadel.com/header"
+
xmlns:vcp="http://ajax4jsf.org/cdk/vcp"
+ class="org.richfaces.renderkit.html.VioletRaysRenderer"
+ baseclass="org.richfaces.renderkit.AbstractPageRenderer"
+ component="org.richfaces.component.UIPage"
+ >
+ <c:set var="namespace"
value="#{this:prolog(context,component)}"/>
+ <html x:xmlns="#{namespace}" x:lang="#{context.viewRoot.locale}"
+ >
+<head>
+<meta http-equiv="content-type" content="text/html; charset=utf-8"
/>
+ <title>#{component.attributes['pageTitle']}</title>
+ <f:call name="themeStyle"/>
+ <f:call name="themeScript"/>
+ <u:insertFacet name="pageHeader"/>
+
+</head>
+<body x:passThruWithExclusions="value,name,type,id">
+<div id="wrapper">
+
+<div id="header">
+ <c:if test="#{this:hasFacet(component,'header')}">
+ <div id="#{clientId}:hd" class="rich-page-header
#{component.attributes['headerClass']}">
+ <u:insertFacet name="header"/>
+ </div>
+ </c:if>
+
+</div>
+<!-- end #header -->
+<!--div id="logo"-->
+<!--/div-->
+<hr />
+<!-- end #logo -->
+<!-- end #header-wrapper -->
+
+<div id="page">
+ <div id="content">
+ <vcp:body>
+ <div class="rich-page-body
#{component.attributes['bodyClass']}">
+ <f:call name="renderChildren" />
+ </div>
+ </vcp:body>
+ </div>
+
+ <!-- end #content -->
+ <div id="sidebar">
+
+ <c:if test="#{this:hasFacet(component,'sidebar')}">
+ <div class="rich-page-sidebar
#{component.attributes['styleClass']}">
+ <u:insertFacet name="sidebar"/>
+ </div>
+ </c:if>
+ </div>
+ <!-- end #sidebar -->
+ <div style="clear: both;"></div>
+ </div>
+<!-- end #page -->
+</div>
+ <div id="footer">
+ <c:if test="#{this:hasFacet(component,'footer')}">
+ <f:clientid var="clientId"/>
+ <div id="#{clientId}:ft" class="rich-page-footer
#{component.attributes['footerClass']}">
+ <u:insertFacet name="footer"/>
+ </div>
+ </c:if>
+
+ </div>
+<!-- end #footer -->
+</body>
+</html>
+</f:root>
\ No newline at end of file
Property changes on:
trunk/samples/themes/src/main/templates/org/richfaces/violetRays.jspx
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/samples/themes/src/test/java/org/richfaces/theme/AppTest.java
===================================================================
--- trunk/samples/themes/src/test/java/org/richfaces/theme/AppTest.java
(rev 0)
+++ trunk/samples/themes/src/test/java/org/richfaces/theme/AppTest.java 2009-03-31
23:54:56 UTC (rev 13331)
@@ -0,0 +1,38 @@
+package org.richfaces.theme;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}
Property changes on: trunk/samples/themes/src/test/java/org/richfaces/theme/AppTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/ui/layout/src/main/config/component/page.xml
===================================================================
--- trunk/ui/layout/src/main/config/component/page.xml 2009-03-31 22:56:39 UTC (rev
13330)
+++ trunk/ui/layout/src/main/config/component/page.xml 2009-03-31 23:54:56 UTC (rev
13331)
@@ -146,12 +146,4 @@
</property>
-->
</component>
- <renderer generate="true" override="true">
- <name>org.richfaces.CssZendPageRenderer</name>
- <template>org/richfaces/cssZendPage.jspx</template>
- </renderer>
- <renderer generate="true" override="true">
- <name>org.richfaces.VioletRaysRenderer</name>
- <template>org/richfaces/violetRays.jspx</template>
- </renderer>
</components>
Deleted: trunk/ui/layout/src/main/config/faces/faces-config.xml
===================================================================
--- trunk/ui/layout/src/main/config/faces/faces-config.xml 2009-03-31 22:56:39 UTC (rev
13330)
+++ trunk/ui/layout/src/main/config/faces/faces-config.xml 2009-03-31 23:54:56 UTC (rev
13331)
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<faces-config
xmlns="http://java.sun.com/xml/ns/javaee"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
- version="1.2">
- <render-kit>
- <renderer>
- <component-family>org.richfaces.Page</component-family>
- <renderer-type>org.richfaces.CssZendPageRenderer</renderer-type>
- <renderer-class>org.richfaces.renderkit.html.CssZendRenderer</renderer-class>
- </renderer>
- <renderer>
- <component-family>org.richfaces.Page</component-family>
- <renderer-type>org.richfaces.VioletRaysRenderer</renderer-type>
- <renderer-class>org.richfaces.renderkit.html.VioletRaysRenderer</renderer-class>
- </renderer>
- </render-kit>
-</faces-config>
\ No newline at end of file
Deleted: trunk/ui/layout/src/main/resources/META-INF/themes/csszend.theme.properties
===================================================================
--- trunk/ui/layout/src/main/resources/META-INF/themes/csszend.theme.properties 2009-03-31
22:56:39 UTC (rev 13330)
+++ trunk/ui/layout/src/main/resources/META-INF/themes/csszend.theme.properties 2009-03-31
23:54:56 UTC (rev 13331)
@@ -1,2 +0,0 @@
-rendererType=org.richfaces.CssZendPageRenderer
-styleSheet=resource:///org/richfaces/renderkit/html/css/zengarden.css
Deleted: trunk/ui/layout/src/main/resources/META-INF/themes/violetRays.theme.properties
===================================================================
---
trunk/ui/layout/src/main/resources/META-INF/themes/violetRays.theme.properties 2009-03-31
22:56:39 UTC (rev 13330)
+++
trunk/ui/layout/src/main/resources/META-INF/themes/violetRays.theme.properties 2009-03-31
23:54:56 UTC (rev 13331)
@@ -1,2 +0,0 @@
-rendererType=org.richfaces.VioletRaysRenderer
-styleSheet=resource:///org/richfaces/renderkit/html/css/violetRays.xcss
Deleted:
trunk/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/violetRays.xcss
===================================================================
---
trunk/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/violetRays.xcss 2009-03-31
22:56:39 UTC (rev 13330)
+++
trunk/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/violetRays.xcss 2009-03-31
23:54:56 UTC (rev 13331)
@@ -1,386 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<f:template
xmlns:f='http:/jsf.exadel.com/template'
-
xmlns:u='http:/jsf.exadel.com/template/util'
-
xmlns="http://www.w3.org/1999/xhtml">
-
- <f:verbatim>
- <![CDATA[
-body {
- margin: 0;
- background: #7A287A none repeat left top;
- font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
- font-size: 13px;
- color: #C752C7;
-}
-
-h1, h2, h3 {
- margin: 0;
- font-family: Georgia, "Times New Roman", Times, serif;
- font-weight: normal;
- color: #649632;
-}
-
-h1 { font-size: 44px; }
-
-h2 { font-size: 20px; }
-
-h3 { }
-
-p, ul, ol {
- margin-top: 0;
- line-height: 240%;
- text-align: justify;
- font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
- font-size: 11px;
-}
-
-ul, ol { }
-
-blockquote { }
-
-a { color: #FFFFFF; }
-
-a:hover { text-decoration: none; }
-
-a img {
- border: none;
-}
-
-img.left {
- float: left;
- margin: 7px 30px 0 0;
-}
-
-img.right {
- float: right;
- margin: 7px 0 0 30px;
-}
-
-hr { display: none; }
-
-.list1 {
-}
-
-.list1 li {
- float: left;
- line-height: normal;
-}
-
-.list1 li img {
- margin: 0 30px 30px 0;
-}
-
-.list1 li.alt img {
- margin-right: 0;
-}
-
-#wrapper {
- background: none repeat-x left top;
- padding-top: 30px;
-}
-
-/* Header */
-
-#header-wrapper {
-}
-
-#header {
- width: 913px;
- height: 71px;
- margin: 0 auto;
-
- padding-top:10px;
- text-align:center;
- background: none no-repeat left top;
-}
-
-/* Search */
-
-#search {
- float: right;
- width: 305px;
- height: 76px;
-}
-
-#search form {
- float: right;
- margin: 0;
- padding: 35px 20px 0 0;
-}
-
-#search fieldset {
- margin: 0;
- padding: 0;
- border: none;
-}
-
-#search input {
- float: left;
- font: 12px Georgia, "Times New Roman", Times, serif;
- border: none;
-}
-
-#search-text {
- width: 135px;
- height: 18px;
- padding: 3px 0 0 5px;
- background: #ECF9E4;
- color: #658453;
-}
-
-#search-submit {
- height: 21px;
- margin-left: 12px;
- color: #39561D;
-}
-
-/* Page */
-
-#page {
- width: 913px;
- margin: 0 auto;
- padding: 30px 0px 0px 0px;
- background: #180818;
-}
-
-/** LOGO */
-
-#logo {
- width: 913px;
- height: 200px;
- margin: 0 auto;
- background: #180818;
-}
-
-#logo h1, #logo p {
- margin: 0;
- padding: 0 0 0 20px;
- line-height: normal;
-}
-
-#logo h1 {
- padding-top: 70px;
-}
-
-#logo h1 a {
- text-decoration: none;
- text-transform: lowercase;
- color: #FFFFFF;
-}
-
-#logo h1 a:hover { text-decoration: underline; }
-
-#logo h2 {
- padding: 0;
- margin: 0;
-}
-
-#logo p {
- padding: 0px 0 0 20px;
- font: italic 13px Georgia, "Times New Roman", Times, serif;
- color: #FFFFFF;
-}
-
-#logo p a {
- text-decoration: none;
- color: #FFFFFF;
-}
-
-#logo p a:hover { text-decoration: underline; }
-
-/* Content */
-
-#content {
- float: right;
- width: 600px;
-}
-
-/* Post */
-
-.post {
- margin-bottom: 25px;
-}
-
-.post .title {
- height: 30px;
- margin-bottom: 3px;
- padding: 8px 0px 2px 20px;
- background: #230C23;
- color: #FFFFFF;
-}
-
-.post .date {
- float: right;
- margin-top: 0;
- padding-right: 20px;
- font-family: Georgia, "Times New Roman", Times, serif;
- font-weight: normal;
- font-size: 18px;
- color: #DB44DB;
-}
-
-.post .meta {
- margin: 0 0 3px 25px;
- padding: 2px 30px 2px 0px;
- font-family: Arial, Helvetica, sans-serif;
- font-weight: normal;
- font-size: 10px;
- color: #B6ACA2;
-}
-
-.post .meta a { color: #B6ACA2; }
-
-.post .entry {
- padding: 25px 20px 0px 20px;
-}
-
-.post .links {
- margin: 0 250px 0 0;
- padding: 0 0 0 0px;
-}
-
-.post .links .comments {
-}
-
-.post .links .permalink {
- padding-left: 17px;
-}
-
-/* Sidebar */
-
-#sidebar {
- float: left;
- width: 280px;
-}
-
-#sidebar ul {
- margin: 0;
- padding: 0;
- list-style: none;
- line-height: normal;
-}
-
-#sidebar li {
- margin-bottom: 30px;
- padding: 0 0 20px 0px;
-}
-
-#sidebar li ul {
- line-height: 200%;
-}
-
-#sidebar li li {
- margin: 0;
- padding: 0 20px;
-}
-
-#sidebar p {
- margin: 0;
- padding: 0 20px;
-}
-
-#sidebar h2 {
- height: 30px;
- margin-bottom: 3px;
- padding: 8px 0px 2px 20px;
- background: #230C23;
- font-size: 20px;
- color: #FFFFFF;
-}
-
-
-#sidebar p {
- line-height: 200%;
-}
-
-/* Calendar */
-
-#calendar {
-}
-
-#calendar caption {
- padding-bottom: 5px;
- font-weight: bold;
-}
-
-#calendar table {
- width: 90%;
- border-collapse: collapse;
- margin: 0 20px;
-}
-
-#calendar thead th {
- padding: 5px 0;
- text-align: center;
-}
-
-#calendar tbody td {
- padding: 5px 0;
- text-align: center;
-}
-
-#calendar tfoot td {
- padding: 5px;
-}
-
-#calendar tfoot #next {
- text-align: right;
-}
-
-#calendar #today {
-}
-
-/* Footer */
-
-#footer {
- width: 913px;
- margin: 0 auto;
- padding: 0;
- text-align:center;
- padding-top:20px;
- background: none no-repeat left top;
- height: 80px;
-}
-
-#footer p {
- margin: 0;
- padding: 20px 0;
- text-align: center;
- line-height: normal;
- color: #FFFFFF;
-}
-
-#footer a {
- color: #C752C7;
-}
-
- ]]>
- </f:verbatim>
-
-
-
- <u:selector name="body">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/images/violet/img02.jpg"
/>
- </u:style>
- </u:selector>
-
- <u:selector name="#wrapper">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/images/violet/img01.jpg"
/>
- </u:style>
- </u:selector>
- <u:selector name="#header">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/images/violet/img03.jpg"
/>
- </u:style>
- </u:selector>
-
- <u:selector name="#footer">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/images/violet/img04.jpg"
/>
- </u:style>
- </u:selector>
-
-</f:template>
\ No newline at end of file
Deleted:
trunk/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/zengarden.css
===================================================================
---
trunk/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/zengarden.css 2009-03-31
22:56:39 UTC (rev 13330)
+++
trunk/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/zengarden.css 2009-03-31
23:54:56 UTC (rev 13331)
@@ -1,199 +0,0 @@
-/* css Zen Garden default style v1.02 */
-/* css released under Creative Commons License -
http://creativecommons.org/licenses/by-nc-sa/1.0/ */
-
-/* This file based on 'Tranquille' by Dave Shea */
-/* You may use this file as a foundation for any new work, but you may find it easier to
start from scratch. */
-/* Not all elements are defined in this file, so you'll most likely want to refer to
the xhtml as well. */
-
-/* Your images should be linked as if the CSS file sits in the same folder as the images.
ie. no paths. */
-
-
-/* basic elements */
-html {
- margin: 0;
- padding: 0;
- }
-body {
- font: 75% georgia, sans-serif;
- line-height: 1.88889;
- color: #555753;
- background: #fff url(blossoms.jpg) no-repeat bottom right;
- margin: 0;
- padding: 0;
- }
-p {
- margin-top: 0;
- text-align: justify;
- }
-h3 {
- font: italic normal 1.4em georgia, sans-serif;
- letter-spacing: 1px;
- margin-bottom: 0;
- color: #7D775C;
- }
-a:link {
- font-weight: bold;
- text-decoration: none;
- color: #B7A5DF;
- }
-a:visited {
- font-weight: bold;
- text-decoration: none;
- color: #D4CDDC;
- }
-a:hover, a:active {
- text-decoration: underline;
- color: #9685BA;
- }
-acronym {
- border-bottom: none;
- }
-
-
-/* specific divs */
-#container {
- background: url(zen-bg.jpg) no-repeat top left;
- padding: 0 175px 0 110px;
- margin: 0;
- position: relative;
- }
-
-#intro {
- min-width: 470px;
- }
-
-/* using an image to replace text in an h1. This trick courtesy Douglas Bowman,
http://www.stopdesign.com/articles/css/replace-text/ */
-#pageHeader h1 {
- background: transparent url(h1.gif) no-repeat top left;
- margin-top: 10px;
- width: 219px;
- height: 87px;
- float: left;
- }
-#pageHeader h1 span {
- display:none
- }
-#pageHeader h2 {
- background: transparent url(h2.gif) no-repeat top left;
- margin-top: 58px;
- margin-bottom: 40px;
- width: 200px;
- height: 18px;
- float: right;
- }
-#pageHeader h2 span {
- display:none
- }
-#pageHeader {
- padding-top: 20px;
-}
-
-#quickSummary {
- clear:both;
- margin: 20px 20px 20px 10px;
- width: 160px;
- float: left;
- }
-#quickSummary p {
- font: italic 10pt/22pt georgia;
- text-align:center;
- }
-
-#preamble {
- clear: right;
- padding: 0px 10px 0 10px;
- }
-#supportingText {
- padding-left: 10px;
- margin-bottom: 40px;
- }
-
-#footer {
- text-align: center;
- }
-#footer a:link, #footer a:visited {
- margin-right: 20px;
- }
-
-#linkList {
- margin-left: 600px;
- position: absolute;
- top: 0;
- right: 0;
- }
-#linkList2 {
- font: 10px verdana, sans-serif;
- background: transparent url(paper-bg.jpg) top left repeat-y;
- padding: 10px;
- margin-top: 150px;
- width: 130px;
- }
-#linkList h3.select {
- background: transparent url(h3.gif) no-repeat top left;
- margin: 10px 0 5px 0;
- width: 97px;
- height: 16px;
- }
-#linkList h3.select span {
- display:none
- }
-#linkList h3.favorites {
- background: transparent url(h4.gif) no-repeat top left;
- margin: 25px 0 5px 0;
- width: 60px;
- height: 18px;
- }
-#linkList h3.favorites span {
- display:none
- }
-#linkList h3.archives {
- background: transparent url(h5.gif) no-repeat top left;
- margin: 25px 0 5px 0;
- width:57px;
- height: 14px;
- }
-#linkList h3.archives span {
- display:none
- }
-#linkList h3.resources {
- background: transparent url(h6.gif) no-repeat top left;
- margin: 25px 0 5px 0;
- width:63px;
- height: 10px;
- }
-#linkList h3.resources span {
- display:none
- }
-
-
-#linkList ul {
- margin: 0;
- padding: 0;
- }
-#linkList li {
- line-height: 2.5ex;
- background: transparent url(cr1.gif) no-repeat top center;
- display: block;
- padding-top: 5px;
- margin-bottom: 5px;
- list-style-type: none;
- }
-#linkList li a:link {
- color: #988F5E;
- }
-#linkList li a:visited {
- color: #B3AE94;
- }
-
-
-#extraDiv1 {
- background: transparent url(cr2.gif) top left no-repeat;
- position: absolute;
- top: 40px;
- right: 0;
- width: 148px;
- height: 110px;
- }
-.accesskey {
- text-decoration: underline;
- }
\ No newline at end of file
Deleted: trunk/ui/layout/src/main/templates/org/richfaces/cssZendPage.jspx
===================================================================
--- trunk/ui/layout/src/main/templates/org/richfaces/cssZendPage.jspx 2009-03-31 22:56:39
UTC (rev 13330)
+++ trunk/ui/layout/src/main/templates/org/richfaces/cssZendPage.jspx 2009-03-31 23:54:56
UTC (rev 13331)
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<f:root
-
xmlns:f="http://ajax4jsf.org/cdk/template"
- xmlns:c="
http://java.sun.com/jsf/core"
- xmlns:ui="
http://ajax4jsf.org/cdk/ui"
- xmlns:u="
http://ajax4jsf.org/cdk/u"
- xmlns:x="
http://ajax4jsf.org/cdk/x"
-
xmlns:h="http://jsf.exadel.com/header"
-
xmlns:vcp="http://ajax4jsf.org/cdk/vcp"
- class="org.richfaces.renderkit.html.CssZendRenderer"
- baseclass="org.richfaces.renderkit.AbstractPageRenderer"
- component="org.richfaces.component.UIPage"
- >
- <c:set var="namespace"
value="#{this:prolog(context,component)}"/>
- <html x:xmlns="#{namespace}" x:lang="#{context.viewRoot.locale}"
- >
- <head>
- <title>#{component.attributes['pageTitle']}</title>
- <f:call name="themeStyle"/>
- <f:call name="themeScript"/>
- <u:insertFacet name="pageHeader"/>
- </head>
- <body id="css-zen-garden"
x:passThruWithExclusions="value,name,type,id">
- <div id="container" class="rich-page
#{component.attributes['pageClass']}"
- x:style="#{component.attributes['pageStyle']}">
- <div id="intro">
- <c:if test="#{this:hasFacet(component,'header')}">
- <div id="pageHeader" class="rich-page-header
#{component.attributes['headerClass']}">
- <u:insertFacet name="header"/>
- </div>
- </c:if>
- <c:if test="#{this:hasFacet(component,'summary')}">
- <div id="quickSummary" class="rich-page-summary
#{component.attributes['summaryClass']}">
- <u:insertFacet name="summary"/>
- </div>
- </c:if>
- <c:if test="#{this:hasFacet(component,'preamble')}">
- <div id="preamble" class="rich-page-preamble
#{component.attributes['preambleClass']}">
- <u:insertFacet name="preamble"/>
- </div>
- </c:if>
- </div>
- <div id="supportingText" class="rich-page-content
#{component.attributes['contentClass']}">
- <vcp:body>
- <div class="rich-page-body
#{component.attributes['bodyClass']}">
- <f:call name="renderChildren" />
- </div>
- </vcp:body>
- <c:if test="#{this:hasFacet(component,'footer')}">
- <div id="footer" class="rich-page-footer
#{component.attributes['footerClass']}">
- <u:insertFacet name="footer"/>
- </div>
- </c:if>
- </div>
- <c:if test="#{this:hasFacet(component,'sidebar')}">
- <div id="linkList" class="rich-page-sidebar
#{component.attributes['styleClass']}">
- <div id="linkList2">
- <u:insertFacet name="sidebar"/>
- </div>
- </div>
- </c:if>
- </div>
- <!-- These extra divs/spans may be used as catch-alls to add extra imagery. -->
-<div id="extraDiv1">
-<span/>
-</div>
-<div id="extraDiv2">
-</div>
-<div id="extraDiv3">
-</div>
-<div id="extraDiv4">
-</div>
-<div id="extraDiv5">
-</div>
-<div id="extraDiv6">
-</div>
- </body>
- </html>
-</f:root>
\ No newline at end of file
Deleted: trunk/ui/layout/src/main/templates/org/richfaces/violetRays.jspx
===================================================================
--- trunk/ui/layout/src/main/templates/org/richfaces/violetRays.jspx 2009-03-31 22:56:39
UTC (rev 13330)
+++ trunk/ui/layout/src/main/templates/org/richfaces/violetRays.jspx 2009-03-31 23:54:56
UTC (rev 13331)
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<f:root
-
xmlns:f="http://ajax4jsf.org/cdk/template"
- xmlns:c="
http://java.sun.com/jsf/core"
- xmlns:ui="
http://ajax4jsf.org/cdk/ui"
- xmlns:u="
http://ajax4jsf.org/cdk/u"
- xmlns:x="
http://ajax4jsf.org/cdk/x"
-
xmlns:h="http://jsf.exadel.com/header"
-
xmlns:vcp="http://ajax4jsf.org/cdk/vcp"
- class="org.richfaces.renderkit.html.VioletRaysRenderer"
- baseclass="org.richfaces.renderkit.AbstractPageRenderer"
- component="org.richfaces.component.UIPage"
- >
- <c:set var="namespace"
value="#{this:prolog(context,component)}"/>
- <html x:xmlns="#{namespace}" x:lang="#{context.viewRoot.locale}"
- >
-<head>
-<meta http-equiv="content-type" content="text/html; charset=utf-8"
/>
- <title>#{component.attributes['pageTitle']}</title>
- <f:call name="themeStyle"/>
- <f:call name="themeScript"/>
- <u:insertFacet name="pageHeader"/>
-
-</head>
-<body x:passThruWithExclusions="value,name,type,id">
-<div id="wrapper">
-
-<div id="header">
- <c:if test="#{this:hasFacet(component,'header')}">
- <div id="#{clientId}:hd" class="rich-page-header
#{component.attributes['headerClass']}">
- <u:insertFacet name="header"/>
- </div>
- </c:if>
-
-</div>
-<!-- end #header -->
-<!--div id="logo"-->
-<!--/div-->
-<hr />
-<!-- end #logo -->
-<!-- end #header-wrapper -->
-
-<div id="page">
- <div id="content">
- <vcp:body>
- <div class="rich-page-body
#{component.attributes['bodyClass']}">
- <f:call name="renderChildren" />
- </div>
- </vcp:body>
- </div>
-
- <!-- end #content -->
- <div id="sidebar">
-
- <c:if test="#{this:hasFacet(component,'sidebar')}">
- <div class="rich-page-sidebar
#{component.attributes['styleClass']}">
- <u:insertFacet name="sidebar"/>
- </div>
- </c:if>
- </div>
- <!-- end #sidebar -->
- <div style="clear: both;"></div>
- </div>
-<!-- end #page -->
-</div>
- <div id="footer">
- <c:if test="#{this:hasFacet(component,'footer')}">
- <f:clientid var="clientId"/>
- <div id="#{clientId}:ft" class="rich-page-footer
#{component.attributes['footerClass']}">
- <u:insertFacet name="footer"/>
- </div>
- </c:if>
-
- </div>
-<!-- end #footer -->
-</body>
-</html>
-</f:root>
\ No newline at end of file