fixes #543, cleaner/simpler "remove filter" icon

This commit is contained in:
plegall
2017-03-08 11:30:58 +01:00
parent d93af0030f
commit 45cacb4ebd
4 changed files with 5 additions and 2 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 B

@@ -22,6 +22,8 @@ function filter_disable(filter) {
$("#addFilter").children("option[value="+filter+"]").removeAttr("disabled");
}
$(".removeFilter").addClass("icon-cancel-circled");
$(".removeFilter").click(function () {
var filter = $(this).parent('li').attr("id");
filter_disable(filter);
+3 -2
View File
@@ -1000,8 +1000,9 @@ LEGEND {
#batchManagerGlobal .actionButtons {text-align:left;}
#batchManagerGlobal #filterList {padding-left:5px;}
#batchManagerGlobal #filterList li {margin-bottom:5px; list-style-type:none;}
#batchManagerGlobal a.removeFilter {background: url(icon/remove_filter.png) no-repeat top left;width:7px;height:7px;display:inline-block;}
#batchManagerGlobal a.removeFilter:hover {background: url(icon/remove_filter_hover.png);}
#batchManagerGlobal a.removeFilter {color:#666;}
#batchManagerGlobal a.removeFilter::before {margin-right:0;}
#batchManagerGlobal a.removeFilter:hover {color:red;}
#batchManagerGlobal .removeFilter span {display:none}
#batchManagerGlobal #applyFilterBlock {margin-top:20px;}
#batchManagerGlobal .useFilterCheckbox {display:none;}