[Frontend] Styling for tree item when its being edited

open #278
Work in progress
This commit is contained in:
Charles Hacskaylo
2015-11-17 16:04:41 -08:00
parent 5882278f98
commit b9cd26aaf6
5 changed files with 168 additions and 44 deletions

View File

@@ -143,6 +143,20 @@ ul.tree {
}
}
&.active {
// The item is being edited
background: rgba($colorItemTreeEditingBg, 0.5) !important;
pointer-events: none;
&:before {
// Pencil icon
@extend .ui-symbol;
color: $colorItemTreeEditingBg;
content: '\70';
margin-left: $interiorMarginSm;
}
.view-control, + .tree-item-subtree { display: none; }
}
&:not(.loading) {
cursor: pointer;
}