Greyed out inactive props in the tree

This commit is contained in:
Stefan Zermatten
2022-03-04 12:51:48 +02:00
parent 698c9c7bbf
commit b876c2801d

View File

@@ -5,9 +5,6 @@
:selected="selected"
:class="{
'inactive': model.inactive,
'by-ancestor': model.deactivatedByAncestor,
'by-self': model.deactivatedBySelf,
'by-toggle': model.deactivatedByToggle,
}"
/>
</template>
@@ -37,7 +34,7 @@ export default {
</script>
<style lang="css" scoped>
.inactive: {
background: red;
.inactive {
opacity: 0.6;
}
</style>