Author: dongxu
Date: Thu Sep 12 03:50:51 2013
New Revision: 1522258

URL: http://svn.apache.org/r1522258
Log:
add datagrid style resources

Added:
    
james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/res/DataGrid.css
    
james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/res/DataGridResources.java

Added: 
james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/res/DataGrid.css
URL: 
http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/res/DataGrid.css?rev=1522258&view=auto
==============================================================================
--- 
james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/res/DataGrid.css
 (added)
+++ 
james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/res/DataGrid.css
 Thu Sep 12 03:50:51 2013
@@ -0,0 +1,126 @@
+@def selectionBorderWidth 2px;
+.dataGridWidget {
+       
+}
+
+.dataGridFirstColumn {
+       
+}
+
+.dataGridLastColumn {
+       
+}
+
+.dataGridFooter {
+       border-top: 2px solid #6f7277;
+       padding: 3px 15px;
+       text-align: left;
+       color: #4b4a4a;
+       text-shadow: #ddf 1px 1px 0;
+       overflow: hidden;
+       white-space: nowrap;
+}
+
+.dataGridHeader {
+    color: #69939e;
+    font-size: 11px;
+    font-weight: bold;
+    background: #d6eaf3;
+    background: -moz-linear-gradient(left, #e3f2f6 0, #d6eaf3 14px, #d6eaf3 
100%);
+    background: -webkit-gradient(linear, left top, right top, 
color-stop(0,#e3f2f6), color-stop(8%,#d6eaf3), color-stop(100%,#d6eaf3));
+    background: -o-linear-gradient(left, #e3f2f6 0, #d6eaf3 14px, #d6eaf3 
100%);
+    background: -ms-linear-gradient(left, #e3f2f6 0, #d6eaf3 14px ,#d6eaf3 
100%);
+    background: linear-gradient(left, #e3f2f6 0, #d6eaf3 14px, #d6eaf3 100%);
+    border-left: 1px solid #bbd3da;
+    overflow: hidden;
+    text-overflow: ellipsis;
+    height:23px;
+    padding: 2px 3px;
+}
+
+.dataGridCell {
+       cursor:default;
+}
+
+.dataGridFirstColumnFooter {
+       
+}
+
+.dataGridFirstColumnHeader {
+       
+}
+
+.dataGridLastColumnFooter {
+       
+}
+
+.dataGridLastColumnHeader {
+       
+}
+
+.dataGridSortableHeader {
+       cursor: pointer;
+       cursor: hand;
+}
+
+.dataGridSortableHeader:hover {
+       color: #6c6b6b;
+}
+
+.dataGridSortedHeaderAscending {
+       
+}
+
+.dataGridSortedHeaderDescending {
+       
+}
+
+.dataGridEvenRow {
+       background: #ffffff;
+}
+
+.dataGridEvenRowCell {
+       border: selectionBorderWidth solid #ffffff;
+}
+
+.dataGridOddRow {
+       background: #f3f7fb;
+}
+
+.dataGridOddRowCell {
+       border: selectionBorderWidth solid #f3f7fb;
+}
+
+.dataGridHoveredRow {
+       background: #eee;
+}
+
+.dataGridHoveredRowCell {
+       border: selectionBorderWidth solid #eee;
+}
+
+.dataGridKeyboardSelectedRow {
+       background: #ffc;
+}
+
+.dataGridKeyboardSelectedRowCell {
+       border: selectionBorderWidth solid #ffc;
+}
+
+.dataGridSelectedRow {
+       background: #628cd5;
+       color: white;
+       height: auto;
+       overflow: auto;
+}
+
+.dataGridSelectedRowCell {
+       border: selectionBorderWidth solid #628cd5;
+}
+
+/**
+ * The keyboard selected cell is visible over selection.
+ */
+.dataGridKeyboardSelectedCell {
+       border: selectionBorderWidth solid #d7dde8;
+}
\ No newline at end of file

Added: 
james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/res/DataGridResources.java
URL: 
http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/res/DataGridResources.java?rev=1522258&view=auto
==============================================================================
--- 
james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/res/DataGridResources.java
 (added)
+++ 
james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/res/DataGridResources.java
 Thu Sep 12 03:50:51 2013
@@ -0,0 +1,29 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.client.ui.res;
+
+import com.google.gwt.user.cellview.client.DataGrid;
+import com.google.gwt.user.cellview.client.DataGrid.Style;
+
+public interface DataGridResources extends DataGrid.Resources {
+       @Source("DataGrid.css")
+       Style dataGridStyle();
+
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to