Author: maksimkaszynski
Date: 2007-08-01 09:56:53 -0400 (Wed, 01 Aug 2007)
New Revision: 1981
Modified:
trunk/sandbox/ui/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss
Log:
Updated with latest skin
Modified:
trunk/sandbox/ui/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss
===================================================================
---
trunk/sandbox/ui/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss 2007-08-01
13:37:41 UTC (rev 1980)
+++
trunk/sandbox/ui/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss 2007-08-01
13:56:53 UTC (rev 1981)
@@ -1,36 +1,10 @@
-<?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">
-
-/*
- XPTable
-*/
-
-<u:selector name=".dr-sgrid-sort-asc">
- <u:style name="background-image">
- <f:resource
f:key="/org/richfaces/renderkit/html/images/sort_asc.gif"/>
- </u:style>
-</u:selector>
-
-<u:selector name=".dr-sgrid-sort-desc">
- <u:style name="background-image">
- <f:resource
f:key="/org/richfaces/renderkit/html/images/sort_desc.gif"/>
- </u:style>
-</u:selector>
-
-<u:selector name=".dr-sgrid-hsep">
- <u:style name="background-image">
- <f:resource
f:key="/org/richfaces/renderkit/html/images/grid-split.gif"/>
- </u:style>
-</u:selector>
-
-<f:verbatim>
-
-<![CDATA[
-.dr-sgrid-sort-asc, .dr-sgrid-sort-desc {
+.dr-sgrid-sort-asc{
+background-image:
url(/scrollable-grid-demo/a4j.res/org/richfaces/renderkit/html/images/sort_asc.gif.jsf);}
+.dr-sgrid-sort-desc{
+background-image:
url(/scrollable-grid-demo/a4j.res/org/richfaces/renderkit/html/images/sort_desc.gif.jsf);}
+.dr-sgrid-hsep{
+background-image:
url(/scrollable-grid-demo/a4j.res/org/richfaces/renderkit/html/images/grid-split.gif.jsf);}.dr-sgrid-sort-asc,
.dr-sgrid-sort-desc {
width: 16px;
height: 6px;
background-position: 50% 50%;
@@ -43,12 +17,11 @@
}
.dr-sgrid {
- font: menu;
- background-color: white;
+ background-color: #ffffff;/*tableBackgroundColor*/
padding: 0px 0px;
margin: 0px;
- border-collapse: collapse;
z-index:0;
+ border : 1px solid #C0C0C0; /*tableBorderWidth, tableBorderColor*/
}
/**
@@ -61,7 +34,7 @@
* Header row
*/
.dr-sgrid-hr {
- background-color: #ebeadb;
+ background-color: #4A75B5;/*headerBackgroundColor*/
z-index:2;
}
@@ -72,7 +45,10 @@
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
overflow: hidden;
- font: normal 8pt arial;
+ color : #FFFFFF;/*headerTextColor*/
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
cursor: default;
box-sizing: border-box;
-moz-box-sizing: border-box;
@@ -80,8 +56,8 @@
-moz-user-focus: normal;
padding: 0px 0px;
white-space: nowrap;
- border-bottom: 1px solid #cbc7b8;
- border-right: 1px solid #ebeadb;
+ border-bottom: 1px solid #C0C0C0; /*tableBorderWidth, tableBorderColor*/
+ border-right: 1px solid #C0C0C0; /*tableBorderWidth, tableBorderColor*/
}
.dr-sgrid-hc .sort-asc, .dr-sgrid-hc .sort-desc {
@@ -112,7 +88,7 @@
}
.dr-sgrid-hsplit {
width:1px;
- border-right:1px dashed #6593cf;
+ border-right:1px dashed #E5973E; /*tipBorderColor*/
cursor: col-resize;
z-index: 100;
}
@@ -122,13 +98,15 @@
*/
.dr-sgrid-hcbody {
cursor: default;
- padding: 0px 0px;
+ padding: 3px 5px;
white-space: nowrap;
position: relative;
display: block;
overflow: hidden;
width: 100%;
- font: normal 8pt arial;
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
}
.dr-sgrid-fb{
@@ -148,8 +126,10 @@
* Footer row
*/
.dr-sgrid-fr {
- background-color: #fcfaf6;
- font: normal 8pt arial;
+ background-color: #F1F1F1; /*tableSubfooterBackgroundColor*/
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
height: 22px;
border-top: 1px solid #cbc7b8;
}
@@ -161,13 +141,15 @@
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
overflow: hidden;
- font: normal 8pt arial;
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
cursor: default;
box-sizing: border-box;
-moz-box-sizing: border-box;
-moz-outline: none;
-moz-user-focus: normal;
- border-right: 1px solid #f1efe2;
+ border-right: 1px solid #c0c0c0; /*tableBorderColor*/
height:21px !important;
padding: 0px 0px;
white-space: nowrap;
@@ -178,7 +160,9 @@
*/
.dr-sgrid-fcbody {
cursor: default;
- font: normal 8pt arial;
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
padding: 3px 5px;
white-space: nowrap;
position: relative;
@@ -188,7 +172,9 @@
.dr-sgrid-fcbody1{
cursor: default;
- font: normal 8pt arial;
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
padding: 0px 0px;
white-space: nowrap;
position: relative;
@@ -214,8 +200,8 @@
-moz-outline: none;
-moz-user-focus: normal;
cursor: default;
- border-right: 1px solid #f1efe2;
- border-bottom: 1px solid #f1efe2;
+ border-right: 1px solid #C0C0C0; /*tableBorderColor*/
+ border-bottom: 1px solid #C0C0C0; /*tableBorderColor*/
}
/**
@@ -228,23 +214,27 @@
}
.dr-sgrid-rb {
- font: normal 8pt arial;
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
white-space: nowrap;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.dr-sgrid-row-selected {
- background-color: #DDDDFF;
+ background-color: #EAF0F8; /*additionalBackgroundColor*/
}
.dr-sgrid-row-active {
- color : #0000AA;
+ background-color: #C6D6EA; /*C6D6EA*/
}
.dr-sgrid-bcbody {
cursor: default;
- font: normal 8pt arial;
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
white-space: nowrap;
padding: 0px 0px;
position: relative;
@@ -279,7 +269,4 @@
position: relative;
display: block;
overflow: hidden;
-}
-]]>
- </f:verbatim>
-</f:template>
\ No newline at end of file
+}
\ No newline at end of file