[richfaces-svn-commits] JBoss Rich Faces SVN: r14076 - in trunk/samples: themes/src/main/resources/org/richfaces/renderkit/html/css and 1 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri May 8 06:01:48 EDT 2009


Author: pyaschenko
Date: 2009-05-08 06:01:48 -0400 (Fri, 08 May 2009)
New Revision: 14076

Added:
   trunk/samples/layout-sample/src/main/webapp/pages/layout.html
Modified:
   trunk/samples/layout-sample/src/main/webapp/pages/index.xhtml
   trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/smooth.xcss
   trunk/samples/themes/src/main/templates/org/richfaces/smooth.jspx
Log:
smooth theme and layout changes

Modified: trunk/samples/layout-sample/src/main/webapp/pages/index.xhtml
===================================================================
(Binary files differ)

Added: trunk/samples/layout-sample/src/main/webapp/pages/layout.html
===================================================================
--- trunk/samples/layout-sample/src/main/webapp/pages/layout.html	                        (rev 0)
+++ trunk/samples/layout-sample/src/main/webapp/pages/layout.html	2009-05-08 10:01:48 UTC (rev 14076)
@@ -0,0 +1,39 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
+<html>
+<head>
+        <style>
+			.layout {text-align: center;border-width: 1px;border-color: red;border-style: solid;}
+			.layoutPanel {}
+			.layoutPanelContent {text-align: center;border-width: 1px;border-color: blue;margin: 0px;border-style: dotted;}
+        </style>
+</head>
+<body>
+
+      <!-- body of the page -->
+
+	<div class="layout" style="zoom: 1">
+	<div class="layoutPanel top" style=""><div class="layoutPanelContent">Top</div></div>
+	<div class="layoutPanel left" style="float: left; width: 38%"><div class="layoutPanelContent">Left
+	panel xxxx yyy zzz</div></div>
+	<div class="layoutPanel center" style="float: left; width: 35%"><div class="layoutPanelContent">
+	<div class="layout" style="zoom: 1">
+	<div class="layoutPanel top" style=""><div class="layoutPanelContent">Top</div></div>
+	<div class="layoutPanel left" style="float: left; width: 38%"><div class="layoutPanelContent">Left
+	panel xxxx yyy zzz</div></div>
+	<div class="layoutPanel center" style="float: left; width: 35%"><div class="layoutPanelContent">Center
+	panel dhisdf ncdl dcd</div></div>
+	<div class="layoutPanel right" style="float: right; width: 27%"><div class="layoutPanelContent">Right
+	wersdupsdo; osajo;sca</div></div>
+	<div
+		style="display: block; height: 0; clear: both; visibility: hidden;">.</div>
+	<div class="layoutPanel bottom" style=""><div class="layoutPanelContent">Bottom</div></div>
+	</div>
+	</div>
+	</div>
+	<div class="layoutPanel right" style="float: right; width: 27%"><div class="layoutPanelContent">Right
+	wersdupsdo; osajo;sca</div></div>
+ 	<div style="display: block; height: 0; clear: both; visibility: hidden;">.</div>
+	<div class="layoutPanel bottom" style=""><div class="layoutPanelContent">Bottom</div></div>
+	</div>
+</body>
+</html>

Modified: trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/smooth.xcss
===================================================================
--- trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/smooth.xcss	2009-05-07 17:35:57 UTC (rev 14075)
+++ trunk/samples/themes/src/main/resources/org/richfaces/renderkit/html/css/smooth.xcss	2009-05-08 10:01:48 UTC (rev 14076)
@@ -79,10 +79,11 @@
 			<f:resource f:key="org.richfaces.theme.images.ShadowFooterBackground"/>
 		</u:style>
 		<u:style name="background-repeat" value="repeat-x"/>
-		<u:style name="background-position" value="bottom left"/>
-		<u:style name="margin" value="0px 15px 0px 15px" />
+		<u:style name="background-position" value="top left"/>
+		<u:style name="margin" value="0px 15px" />
 		<u:style name="position" value="relative"/>
 		<u:style name="padding" value="15px" />
+		<u:style name="height" value="53px" />
 	</u:selector>
 
 		<u:selector name=".footer_bg_left">
@@ -92,7 +93,7 @@
 		</u:style>
 		<!-- u:style name="background-color" skin="panelBorderColor"/-->
 		<u:style name="background-repeat" value="no-repeat"/>
-		<u:style name="background-position" value="bottom left"/>
+		<u:style name="background-position" value="top left"/>
 		</u:selector>
 		<u:selector name=".footer_bg_right">
 		<u:style name="background-image">
@@ -100,7 +101,8 @@
 			<f:resource f:key="org.richfaces.theme.images.ShadowFooterRight"/>
 		</u:style>
 		<u:style name="background-repeat" value="no-repeat"/>
-		<u:style name="background-position" value="bottom right"/>
+		<u:style name="background-position" value="top right"/>
+		<u:style name="height" value="72px" />
 	    </u:selector>
 
 
@@ -150,7 +152,7 @@
 
 	<f:verbatim>
 		<![CDATA[
-.page_size{width : 90%;border: none;}
+.page_size{width:90%; margin:0px auto; border: none;}
 .menu_width{width : 300px;}
 
 .common_box {margin : 0px; }

Modified: trunk/samples/themes/src/main/templates/org/richfaces/smooth.jspx
===================================================================
--- trunk/samples/themes/src/main/templates/org/richfaces/smooth.jspx	2009-05-07 17:35:57 UTC (rev 14075)
+++ trunk/samples/themes/src/main/templates/org/richfaces/smooth.jspx	2009-05-08 10:01:48 UTC (rev 14076)
@@ -37,7 +37,7 @@
 <body  x:passThruWithExclusions="value,name,type,id">
 <table class="rich-page #{component.attributes['pageClass']}" border="0" cellpadding="0" cellspacing="0">
 	<tr>
-		<td align="center" class="common_box">
+		<td class="common_box">
 
 			<table height="100%"  cellpadding="0" cellspacing="0" class="page_size">
 			  <thead>




More information about the richfaces-svn-commits mailing list