Greyed out inactive props in the tree
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user