Author: abelevich
Date: 2010-05-31 06:35:05 -0400 (Mon, 31 May 2010)
New Revision: 17401
Added:
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/renderkit/html/
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/renderkit/html/images/
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/renderkit/html/images/ColumnHeaderGradientImage.java
root/ui/iteration/trunk/tables/ui/src/main/resources/META-INF/org.richfaces.renderkit.html.images.ColumnHeaderGradientImage
Modified:
root/ui/iteration/trunk/tables/ui/src/main/resources/META-INF/resources/datatable.ecss
Log:
add gradients
Added:
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/renderkit/html/images/ColumnHeaderGradientImage.java
===================================================================
---
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/renderkit/html/images/ColumnHeaderGradientImage.java
(rev 0)
+++
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/renderkit/html/images/ColumnHeaderGradientImage.java 2010-05-31
10:35:05 UTC (rev 17401)
@@ -0,0 +1,14 @@
+package org.richfaces.renderkit.html.images;
+
+import org.richfaces.renderkit.html.BaseGradient;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public class ColumnHeaderGradientImage extends BaseGradient {
+
+ public ColumnHeaderGradientImage() {
+ super("tableSubHeaderBackgroundColor",
"tableHeaderBackgroundColor");
+ }
+}
Added:
root/ui/iteration/trunk/tables/ui/src/main/resources/META-INF/org.richfaces.renderkit.html.images.ColumnHeaderGradientImage
===================================================================
Modified:
root/ui/iteration/trunk/tables/ui/src/main/resources/META-INF/resources/datatable.ecss
===================================================================
---
root/ui/iteration/trunk/tables/ui/src/main/resources/META-INF/resources/datatable.ecss 2010-05-30
14:01:03 UTC (rev 17400)
+++
root/ui/iteration/trunk/tables/ui/src/main/resources/META-INF/resources/datatable.ecss 2010-05-31
10:35:05 UTC (rev 17401)
@@ -59,7 +59,9 @@
border-right-style:solid;
border-right-color:'#{richSkin.tableBorderColor}';
background-color : '#{richSkin.tableHeaderBackgroundColor}';
- color:'#{richSkin.generalTextColor}';
+ background-image :
"url(#{resource['org.richfaces.renderkit.html.images.ColumnHeaderGradientImage']})";
+ background-position: top left;
+ color:'#{richSkin.tableHeaderTextColor}';
font-family:'#{richSkin.generalFamilyFont}';
font-size:'#{richSkin.generalSizeFont}';
font-weight:bold;
@@ -80,11 +82,15 @@
border-right-width:'#{richSkin.tableBorderWidth}';
border-right-style:solid;
border-right-color:'#{richSkin.tableBorderColor}';
- background-color:'#{richSkin.tableSubHeaderBackgroundColor}';
- color:'#{richSkin.generalTextColor}';
+ background-color : '#{richSkin.tableHeaderBackgroundColor}';
+ background-image :
"url(#{resource['org.richfaces.renderkit.html.images.ColumnHeaderGradientImage']})";
+ background-position: top left;
+ color:'#{richSkin.tableHeaderTextColor}';
font-family:'#{richSkin.generalFamilyFont}';
font-size:'#{richSkin.generalSizeFont}';
+ font-weight:bold;
padding:4px;
+ text-align:center;
}
.rf-dt-sf{
Show replies by date