' +
'
' +
@@ -165,8 +165,6 @@ ListFacet.prototype._initializeUI = function() {
}
});
- this._elmts.sortGroup.buttonset();
-
this._elmts.clusterLink.click(function() { self._doEdit(); }).button();
if (this._config.expression != "value" && this._config.expression != "grel:value") {
this._elmts.clusterLink.hide();
@@ -278,11 +276,11 @@ ListFacet.prototype._update = function(resetScroll) {
}
if (this._options.sort == "name") {
- this._elmts.sortByNameLink.addClass("facet-mode-link-selected");
- this._elmts.sortByCountLink.removeClass("facet-mode-link-selected");
+ this._elmts.sortByNameLink.removeClass("action").addClass("inaction");
+ this._elmts.sortByCountLink.removeClass("inaction").addClass("action");
} else {
- this._elmts.sortByNameLink.removeClass("facet-mode-link-selected");
- this._elmts.sortByCountLink.addClass("facet-mode-link-selected");
+ this._elmts.sortByNameLink.removeClass("inaction").addClass("action");
+ this._elmts.sortByCountLink.removeClass("action").addClass("inaction");
}
var html = [];
diff --git a/main/webapp/modules/core/styles/project/browsing.less b/main/webapp/modules/core/styles/project/browsing.less
index c78ca0ca2..6ae1bc3f4 100644
--- a/main/webapp/modules/core/styles/project/browsing.less
+++ b/main/webapp/modules/core/styles/project/browsing.less
@@ -106,6 +106,19 @@ a.facet-title-remove:hover {
padding: 0.1em 0.4em 0.2em;
}
+.facet-controls-sortControls a {
+ margin: 0 2px;
+ padding: 2px 4px 3px 4px;
+ font-weight: bold;
+}
+.facet-controls-sortControls a.inaction {
+ background: #f8f8f8;
+ color: #777;
+ border: 1px solid #ff6a00;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+}
+
.facet-body {
padding: 1px;
}