mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-13 13:57:29 -08:00
success color for line through
This commit is contained in:
parent
dd51987c8c
commit
1190435bb5
|
@ -50,7 +50,7 @@
|
|||
{{nodeSubtitle}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="disabled-linethrough" v-if="showDisabledLinethrough"></div>
|
||||
<div :class="{'disabled-linethrough': true, success: workflowDataItems > 0}" v-if="showDisabledLinethrough"></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -117,10 +117,6 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext
|
|||
classes.push('executing');
|
||||
}
|
||||
|
||||
if (this.workflowDataItems !== 0) {
|
||||
classes.push('has-data');
|
||||
}
|
||||
|
||||
if (this.hasIssues) {
|
||||
classes.push('has-issues');
|
||||
}
|
||||
|
@ -335,10 +331,6 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext
|
|||
color: #444;
|
||||
border: 2px solid var(--color-foreground-xdark);
|
||||
|
||||
&.has-data {
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
&.executing {
|
||||
background-color: $--color-primary-light !important;
|
||||
|
||||
|
@ -463,6 +455,10 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext
|
|||
top: 49px;
|
||||
left: -3px;
|
||||
width: 111px;
|
||||
|
||||
&.success {
|
||||
border-color: var(--color-success-light);
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue