Author: SergeySmirnov
Date: 2009-03-05 15:18:16 -0500 (Thu, 05 Mar 2009)
New Revision: 12850
Modified:
trunk/sandbox/samples/layout-sample/src/main/java/org/richfaces/samples/Bean.java
trunk/sandbox/samples/layout-sample/src/main/webapp/pages/index.xhtml
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/simple.xcss
Log:
preliminary theme
Modified:
trunk/sandbox/samples/layout-sample/src/main/java/org/richfaces/samples/Bean.java
===================================================================
---
trunk/sandbox/samples/layout-sample/src/main/java/org/richfaces/samples/Bean.java 2009-03-05
18:13:14 UTC (rev 12849)
+++
trunk/sandbox/samples/layout-sample/src/main/java/org/richfaces/samples/Bean.java 2009-03-05
20:18:16 UTC (rev 12850)
@@ -11,11 +11,11 @@
private String position="left";
- private String theme = null;
+ private String theme = "simple";
- private int width=0;
+ private int width=960;
- private int sidebarWidth=160;
+ private int sidebarWidth=260;
/**
* @return the position
Modified: trunk/sandbox/samples/layout-sample/src/main/webapp/pages/index.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/simple.xcss
===================================================================
---
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/simple.xcss 2009-03-05
18:13:14 UTC (rev 12849)
+++
trunk/sandbox/ui/layout/src/main/resources/org/richfaces/renderkit/html/css/simple.xcss 2009-03-05
20:18:16 UTC (rev 12850)
@@ -5,12 +5,8 @@
xmlns="http://www.w3.org/1999/xhtml">
<u:selector name="body">
- <u:style name="background-image">
- <f:resource
f:key="/org/richfaces/renderkit/html/images/background.png"/>
- </u:style>
- <u:style name="background-color" value="#CACACA"/>
- <u:style name="background-repeat" value="repeat-x"/>
<u:style name="font-family" skin="generalFamilyFont" />
+ <u:style name="margin" value="0" />
</u:selector>
<u:selector name=".rich-page">
@@ -23,16 +19,18 @@
</f:verbatim>
<u:selector name=".rich-page-header">
- <u:style name="color" value="#FFFFFF" />
- <u:style name="font-weight" value="bold" />
- <u:style name="font-size" value="153.9%" />
+ <u:style name="background-color" skin="generalLinkColor" />
+ <u:style name="min-height" value="40px" />
+ <u:style name="padding" value="0 20px" />
+ <u:style name="color" skin="trimColor" />
</u:selector>
<u:selector name=".rich-page-content">
<u:style name="background-image">
- <f:resource
f:key="/org/richfaces/renderkit/html/images/background_content.gif"/>
+ <f:resource
f:key="/org/richfaces/renderkit/html/images/tempGradient.jpg"/>
</u:style>
- <u:style name="background-color" value="#CACACA"/>
+ <u:style name="min-height" value="200px" />
+ <u:style name="background-color" value="#FFFFFF"/>
<u:style name="background-repeat" value="repeat-x"/>
</u:selector>
@@ -45,11 +43,14 @@
<u:selector name=".rich-page-footer">
<u:style name="text-align" value="center" />
+ <u:style name="padding" value="20px 0" />
+ <u:style name="background-color" value="#333"/>
+ <u:style name="color" skin="trimColor" />
+ <u:style name="font-size" value="0.8em" />
</u:selector>
<u:selector name=".rich-page-sidebar">
<u:style name="padding" value="0 20px 0 20px" />
- <u:style name="border-left" value="#8C8484 1px solid" />
</u:selector>
<u:selector name="a:hover">