Author: SergeySmirnov
Date: 2009-03-12 12:41:45 -0400 (Thu, 12 Mar 2009)
New Revision: 12936
Added:
trunk/sandbox/ui/layout/src/main/resources/META-INF/themes/violetRays.theme.properties
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/violetRays.xcss
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/tempGradient.jpg
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img01.jpg
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img02.jpg
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img03.jpg
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img04.jpg
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img05.gif
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img06.jpg
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/spacer.gif
trunk/sandbox/ui/layout/src/main/templates/org/richfaces/violetRays.jspx
Log:
Violet Example
Added:
trunk/sandbox/ui/layout/src/main/resources/META-INF/themes/violetRays.theme.properties
===================================================================
---
trunk/sandbox/ui/layout/src/main/resources/META-INF/themes/violetRays.theme.properties
(rev 0)
+++
trunk/sandbox/ui/layout/src/main/resources/META-INF/themes/violetRays.theme.properties 2009-03-12
16:41:45 UTC (rev 12936)
@@ -0,0 +1,2 @@
+rendererType=org.richfaces.VioletRaysRenderer
+styleSheet=resource:///org/richfaces/renderkit/html/css/violetRays.xcss
Property changes on:
trunk/sandbox/ui/layout/src/main/resources/META-INF/themes/violetRays.theme.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/violetRays.xcss
===================================================================
---
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/violetRays.xcss
(rev 0)
+++
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/violetRays.xcss 2009-03-12
16:41:45 UTC (rev 12936)
@@ -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
Added:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/tempGradient.jpg
===================================================================
(Binary files differ)
Property changes on:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/tempGradient.jpg
___________________________________________________________________
Name: svn:mime-type
+ image/jpeg
Added:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img01.jpg
===================================================================
(Binary files differ)
Property changes on:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img01.jpg
___________________________________________________________________
Name: svn:mime-type
+ image/jpeg
Added:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img02.jpg
===================================================================
(Binary files differ)
Property changes on:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img02.jpg
___________________________________________________________________
Name: svn:mime-type
+ image/jpeg
Added:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img03.jpg
===================================================================
(Binary files differ)
Property changes on:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img03.jpg
___________________________________________________________________
Name: svn:mime-type
+ image/jpeg
Added:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img04.jpg
===================================================================
(Binary files differ)
Property changes on:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img04.jpg
___________________________________________________________________
Name: svn:mime-type
+ image/jpeg
Added:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img05.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img05.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img06.jpg
===================================================================
(Binary files differ)
Property changes on:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/img06.jpg
___________________________________________________________________
Name: svn:mime-type
+ image/jpeg
Added:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/spacer.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/images/violet/spacer.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: trunk/sandbox/ui/layout/src/main/templates/org/richfaces/violetRays.jspx
===================================================================
--- trunk/sandbox/ui/layout/src/main/templates/org/richfaces/violetRays.jspx
(rev 0)
+++ trunk/sandbox/ui/layout/src/main/templates/org/richfaces/violetRays.jspx 2009-03-12
16:41:45 UTC (rev 12936)
@@ -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