Adjusted RegattaOverview style to save vertical space

This commit is contained in:
Steffen Schaefer committed 2015-05-29 12:19:03 +02:00
1 parent 3089970d78
commit 137c6cf9c9
3 files changed
+123 -111

No files matched your search

@@ -569,6 +569,7 @@ public class RegattaRaceStatesComponent extends SimplePanel implements Component
tooltip);
}
};
flagColumn.setCellStyleNames(tableRes.cellTableStyle().flagColumn());
boatClass = new TextColumn<RegattaOverviewEntryDTO>() {
@Override
public String getValue(RegattaOverviewEntryDTO entryDTO) {
@@ -1,90 +1,99 @@
.cellTableWidget {
border-spacing: 0px;
font-size:16px;
}
.cellTableWidget a {
text-decoration: underline;
cursor: pointer;
}
/** v-align images in the table header
* grey background for table header
*/
.cellTableHeader {
position: relative;
vertical-align: bottom;
background-color: #f2f2f2;
background-color: #fff;
padding: 20px 5px;
text-align: left;
border-bottom: 1px solid black;
text-shadow: none;
font-size: 16px;
}
.cellTableHeader:FOCUS {
outline: none;
}
.cellTableFirstColumnHeader {
}
.cellTableLastColumnHeader {
}
.cellTableHeader>span>img:first-child {
position: relative;
vertical-align: middle;
}
.cellTableEvenRow {
background-color: #fafafa;
}
.cellTableEvenRowCell {
border: none;
border-bottom: 1px solid #dedede;
padding: 20px 5px 20px 10px;
vertical-align: top;
}
.cellTableOddRow {
background-color: #fdfdfd;
}
.cellTableOddRowCell {
border: none;
border-bottom: 1px solid #dedede;
padding: 20px 5px 20px 10px;
vertical-align: top;
}
.cellTableHoveredRow {
background-color: rgba(229, 242, 249, 0.5);
border-bottom: 1px solid #e5e5e5;
}
.cellTableSelectedRow {
color: #000000;
background-color: rgba(229, 242, 249, 0.5);
}
.cellTableSelectedRowCell {
border-top: 2px solid #21a0e4 !important;
border-bottom: 2px solid #21a0e4 !important;
}
.cellTableRaceNameColumnHeader {
background-color: #e0e0e0;
padding: 5px 20px;
}
.cellTableRaceNameColumn {
background-color: #e0e0e0 !important;
.cellTableWidget {
border-spacing: 0px;
font-size:16px;
}
.cellTableWidget a {
text-decoration: underline;
cursor: pointer;
}
/** v-align images in the table header
* grey background for table header
*/
.cellTableHeader {
position: relative;
vertical-align: bottom;
background-color: #f2f2f2;
background-color: #fff;
padding: 20px 5px;
text-align: left;
border-bottom: 1px solid black;
text-shadow: none;
font-size: 16px;
}
.cellTableHeader:FOCUS {
outline: none;
}
.cellTableFirstColumnHeader {
}
.cellTableLastColumnHeader {
}
.cellTableHeader>span>img:first-child {
position: relative;
vertical-align: middle;
}
.cellTableEvenRow {
background-color: #fafafa;
}
.cellTableEvenRowCell {
border: none;
border-bottom: 1px solid #dedede;
padding: 20px 5px 20px 10px;
vertical-align: top;
}
.cellTableOddRow {
background-color: #fdfdfd;
}
.cellTableOddRowCell {
border: none;
border-bottom: 1px solid #dedede;
padding: 20px 5px 20px 10px;
vertical-align: top;
}
.cellTableHoveredRow {
background-color: rgba(229, 242, 249, 0.5);
border-bottom: 1px solid #e5e5e5;
}
.cellTableSelectedRow {
color: #000000;
background-color: rgba(229, 242, 249, 0.5);
}
.cellTableSelectedRowCell {
border-top: 2px solid #21a0e4 !important;
border-bottom: 2px solid #21a0e4 !important;
}
.cellTableRaceNameColumnHeader {
background-color: #e0e0e0;
padding: 5px 20px;
}
.cellTableRaceNameColumn {
background-color: #e0e0e0 !important;
}
.flagColumn {
padding-top: 0;
padding-bottom: 0;
vertical-align: middle;
}
.flagColumn>div {
display: inline-block;
}
@@ -1,22 +1,24 @@
package com.sap.sailing.gwt.regattaoverview.client;
import com.google.gwt.user.cellview.client.CellTable;
public interface RegattaRaceStatesTableResources extends CellTable.Resources {
interface AdminConsoleTableStyle extends CellTable.Style {
/**
* Applied to header cells of race columns
*/
String cellTableRaceNameColumnHeader();
/**
* Applied to the totals columns
*/
String cellTableRaceNameColumn();
}
@Override
@Source({ CellTable.Style.DEFAULT_CSS, "RegattaRaceStatesTable.css" })
AdminConsoleTableStyle cellTableStyle();
}
package com.sap.sailing.gwt.regattaoverview.client;
import com.google.gwt.user.cellview.client.CellTable;
public interface RegattaRaceStatesTableResources extends CellTable.Resources {
interface AdminConsoleTableStyle extends CellTable.Style {
/**
* Applied to header cells of race columns
*/
String cellTableRaceNameColumnHeader();
/**
* Applied to the totals columns
*/
String cellTableRaceNameColumn();
String flagColumn();
}
@Override
@Source({ CellTable.Style.DEFAULT_CSS, "RegattaRaceStatesTable.css" })
AdminConsoleTableStyle cellTableStyle();
}