Made expression bars inside facets highlight on hover to suggest they are editable.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1556 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-10-15 05:17:07 +00:00
parent 1066169c05
commit 35def004ac
4 changed files with 7 additions and 3 deletions

View File

@ -124,7 +124,7 @@ ListFacet.prototype._initializeUI = function() {
'</td>' + '</td>' +
'</tr></table></div>' + '</tr></table></div>' +
'</div>' + '</div>' +
'<div class="facet-expression" bind="expressionDiv"></div>' + '<div class="facet-expression" bind="expressionDiv" title="Click to edit expression"></div>' +
'<div class="facet-controls" bind="controlsDiv" style="display:none;"><div class="grid-layout layout-tightest layout-full">' + '<div class="facet-controls" bind="controlsDiv" style="display:none;"><div class="grid-layout layout-tightest layout-full">' +
'<table><tr>' + '<table><tr>' +
'<td><a bind="choiceCountContainer" class="action" href="javascript:{}"></a> <span class="facet-controls-sortControls" bind="sortGroup">sorted by ' + '<td><a bind="choiceCountContainer" class="action" href="javascript:{}"></a> <span class="facet-controls-sortControls" bind="sortGroup">sorted by ' +

View File

@ -107,7 +107,7 @@ RangeFacet.prototype._initializeUI = function() {
'</td>' + '</td>' +
'</tr></table></div>' + '</tr></table></div>' +
'</div>' + '</div>' +
'<div class="facet-expression" bind="expressionDiv"></div>' + '<div class="facet-expression" bind="expressionDiv" title="Click to edit expression"></div>' +
'<div class="facet-range-body">' + '<div class="facet-range-body">' +
'<div class="facet-range-message" bind="messageDiv">Loading...</div>' + '<div class="facet-range-message" bind="messageDiv">Loading...</div>' +
'<div class="facet-range-slider" bind="sliderWidgetDiv">' + '<div class="facet-range-slider" bind="sliderWidgetDiv">' +

View File

@ -108,7 +108,7 @@ TimeRangeFacet.prototype._initializeUI = function() {
'</td>' + '</td>' +
'</tr></table></div>' + '</tr></table></div>' +
'</div>' + '</div>' +
'<div class="facet-expression" bind="expressionDiv"></div>' + '<div class="facet-expression" bind="expressionDiv" title="Click to edit expression"></div>' +
'<div class="facet-range-body">' + '<div class="facet-range-body">' +
'<div class="facet-range-message" bind="messageDiv">Loading...</div>' + '<div class="facet-range-message" bind="messageDiv">Loading...</div>' +
'<div class="facet-range-slider" bind="sliderWidgetDiv">' + '<div class="facet-range-slider" bind="sliderWidgetDiv">' +

View File

@ -49,6 +49,10 @@ a.facet-title-remove:hover {
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
} }
.facet-expression:hover {
background: #ffffd6;
}
.facet-status { .facet-status {
font-size: 90%; font-size: 90%;
padding: 2px 5px; padding: 2px 5px;