update css for disabled filters; remove strikethrough

master
Andrew Dolgov 6 years ago
parent 8822134685
commit 4887db9820

@ -1782,9 +1782,11 @@ body#sharepopup input {
float: right;
margin-right: 16px;
}
.flat .dijitTree .labelParam.filterDisabled,
.flat .dijitTree .dijitTreeLabel.filterDisabled {
text-decoration: line-through;
.flat .dijitTree .dijitTreeRow.filterDisabled {
opacity: 0.5;
}
.flat .dijitTree .dijitTreeRow.filterDisabled .filterRules {
filter: saturate(0%);
}
.flat .dijitTree .feedParam {
float: right;

File diff suppressed because one or more lines are too long

@ -74,14 +74,18 @@
position : relative;
top : -2px;
}
.labelParam {
float: right;
margin-right: 16px;
}
.labelParam.filterDisabled,
.dijitTreeLabel.filterDisabled {
text-decoration : line-through;
.dijitTreeRow.filterDisabled {
opacity : 0.5;
.filterRules {
filter : saturate(0%);
}
}
.feedParam {

@ -55,13 +55,10 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
getIconClass: function (item, opened) {
return (!item || this.model.mayHaveChildren(item)) ? (opened ? "dijitFolderOpened" : "dijitFolderClosed") : "invisible";
},
getLabelClass: function (item, opened) {
const enabled = this.model.store.getValue(item, 'enabled');
return (enabled != false) ? "dijitTreeLabel labelFixedLength" : "dijitTreeLabel labelFixedLength filterDisabled";
},
getRowClass: function (item, opened) {
return (!item.error || item.error == '') ? "dijitTreeRow" :
"dijitTreeRow Error";
const enabled = this.model.store.getValue(item, 'enabled');
return enabled ? "dijitTreeRow" : "dijitTreeRow filterDisabled";
},
checkItemAcceptance: function(target, source, position) {
const item = dijit.getEnclosingWidget(target).item;

@ -1782,9 +1782,11 @@ body#sharepopup input {
float: right;
margin-right: 16px;
}
.flat .dijitTree .labelParam.filterDisabled,
.flat .dijitTree .dijitTreeLabel.filterDisabled {
text-decoration: line-through;
.flat .dijitTree .dijitTreeRow.filterDisabled {
opacity: 0.5;
}
.flat .dijitTree .dijitTreeRow.filterDisabled .filterRules {
filter: saturate(0%);
}
.flat .dijitTree .feedParam {
float: right;

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save