mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
update disabled state
This commit is contained in:
parent
55fd7d954c
commit
f96a8f841c
|
@ -165,8 +165,10 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext
|
||||||
nodeStyle (): object {
|
nodeStyle (): object {
|
||||||
let borderColor = getStyleTokenValue('--color-foreground-xdark');
|
let borderColor = getStyleTokenValue('--color-foreground-xdark');
|
||||||
|
|
||||||
if (this.hasIssues && this.workflowDataItems) {
|
if (this.data.disabled) {
|
||||||
// todo
|
borderColor = getStyleTokenValue('--color-foreground-base');
|
||||||
|
}
|
||||||
|
else if (this.hasIssues && this.workflowDataItems) {
|
||||||
borderColor = getStyleTokenValue('--color-danger');
|
borderColor = getStyleTokenValue('--color-danger');
|
||||||
}
|
}
|
||||||
else if (this.workflowDataItems && !this.isExecuting) {
|
else if (this.workflowDataItems && !this.isExecuting) {
|
||||||
|
@ -295,16 +297,8 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
|
||||||
color: #a0a0a0;
|
|
||||||
text-decoration: line-through;
|
|
||||||
border: 1px solid #eee !important;
|
|
||||||
background-color: #eee;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.executing {
|
&.executing {
|
||||||
background-color: $--color-primary-light !important;
|
background-color: $--color-primary-light !important;
|
||||||
border-color: $--color-primary !important;
|
|
||||||
|
|
||||||
.node-executing-info {
|
.node-executing-info {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
Loading…
Reference in a new issue