{
+
+ interface Templates extends SafeHtmlTemplates {
+
+ @Template("")
+ SafeHtml startToolTip(String toolTipText);
+
+ @Template("
")
+ SafeHtml endToolTip();
+ }
+ private static final Templates TEMPLATES = GWT.create(Templates.class);
+ private final String toolTipText;
+
+ public MyToolTipColumn(final Cell cell, final String toolTipText) {
+
+ super(cell);
+ this.toolTipText = toolTipText;
+ }
+
+ @Override
+ public void render(final Context context, final T object, final SafeHtmlBuilder sb) {
+
+ sb.append(TEMPLATES.startToolTip(toolTipText));
+ super.render(context, object, sb);
+ sb.append(TEMPLATES.endToolTip());
+ }
+}
diff --git a/src/main/java/org/gcube/portlets/widgets/wsexplorer/resources/css/bootstrap.min.css b/src/main/java/org/gcube/portlets/widgets/wsexplorer/resources/css/bootstrap.min.css
index a3a5213..4b540d7 100644
--- a/src/main/java/org/gcube/portlets/widgets/wsexplorer/resources/css/bootstrap.min.css
+++ b/src/main/java/org/gcube/portlets/widgets/wsexplorer/resources/css/bootstrap.min.css
@@ -1221,13 +1221,6 @@ a:hover, a:focus {
margin: 0 auto;
}
-.table-overflow td, th {
- overflow: hidden !important;
-}
-
-.table-overflow th{
- text-align: center !important;
-}
.breadcrumbs-navigator .breadcrumb {
margin-bottom: 5px !important;
diff --git a/src/main/java/org/gcube/portlets/widgets/wsexplorer/resources/css/gwt-bootstrap.css b/src/main/java/org/gcube/portlets/widgets/wsexplorer/resources/css/gwt-bootstrap.css
index 08ae1ba..7434ae4 100644
--- a/src/main/java/org/gcube/portlets/widgets/wsexplorer/resources/css/gwt-bootstrap.css
+++ b/src/main/java/org/gcube/portlets/widgets/wsexplorer/resources/css/gwt-bootstrap.css
@@ -12,6 +12,7 @@
/* div.input-append > input, div.input-append > textarea, div.input-append > select, div.input-append > .uneditable-input { */
/* margin-bottom: 0; */
/* } */
+
.gwt-PopupPanel .gwt-DatePicker {
width: 200px;
}
@@ -81,24 +82,28 @@
/**** GWT DIALOG NEW STYLE****/
.gwt-DialogBoxNew{
- border: 8px solid #99C0E8;
+ border: 8px solid #EEEEEE;
border-radius: 6px 6px 6px 6px;
box-shadow: none;
- line-height: 7px;
+/* line-height: 7px; */
opacity: 1;
z-index: 2000;
background-color: #FFFFFF;
+ min-width: 250px;
}
.gwt-DialogBoxNew .Caption {
- background: none repeat scroll 0 0 #99C0E8;
- border: medium none #D4D4D4;
+ background: none repeat scroll 0 0 #EEEEEE;
+ padding: 2px;
+ border-bottom: 1px solid #dadada;
cursor: default;
font-family: Arial Unicode MS, Arial, sans-serif !important;
- font-size: 18px;
- font-weight: 400;
- line-height: 27px;
- padding: 2px 0px 0px 0px;
+ font-size: 14px;
+}
+
+
+.gwt-DialogBoxNew table {
+ width: 100%;
}
.gwt-DialogBoxNew .dialogContent {
@@ -147,5 +152,38 @@
-background: url(images/circles_ie6.png) no-repeat -8px -36px; */
}
+/**** END GWT DIALOG NEW STYLE ****/
-/**** END GWT DIALOG NEW STYLE ****/
\ No newline at end of file
+
+/*** TABLE ***/
+
+.table-overflow td, th {
+ overflow: hidden !important;
+}
+
+.table-vertical-middle td, th {
+ height: 50%;
+ vertical-align: middle !important;
+}
+
+.table-overflow th{
+ text-align: center !important;
+}
+
+.gcube-item-table{
+ margin: 5px;
+}
+
+.gcube-item-table td{
+ border-bottom: 1px solid #EEE;
+ height: 50%;
+ vertical-align: middle;
+ text-align: center;
+}
+
+
+.gcube-item-table-header{
+ background-color: #dedede;
+ text-align: center;
+}
+/******* END TABLE ********/
\ No newline at end of file