don't show disallow cursor on the more button on a tree item (the three dots)

This commit is contained in:
Mads Rasmussen
2017-09-06 13:31:13 +02:00
parent 119dd5af29
commit 77d240c69a
2 changed files with 6 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ angular.module("umbraco.directives")
//'<ins ng-if="tree.enablelistviewsearch && node.metaData.isContainer" class="umb-tree-node-search icon-search" ng-click="searchNode(node, $event)" alt="searchAltText"></ins>' +
'<ins ng-class="{\'icon-navigation-right\': !node.expanded || node.metaData.isContainer, \'icon-navigation-down\': node.expanded && !node.metaData.isContainer}" ng-click="load(node)">&nbsp;</ins>' +
'<i class="icon umb-tree-icon sprTree" ng-click="select(node, $event)"></i>' +
'<a href="#/{{node.routePath}}" ng-click="select(node, $event)"></a>' +
'<a class="umb-tree-item__label" href="#/{{node.routePath}}" ng-click="select(node, $event)"></a>' +
//NOTE: These are the 'option' elipses
'<a class="umb-options" ng-click="options(node, $event)"><i></i><i></i><i></i></a>' +
'<div ng-show="node.loading" class="l"><div></div></div>' +

View File

@@ -377,10 +377,11 @@ div.locked:before{
bottom: 0;
}
.umb-tree li div.no-access *:not(ins) {
color: @gray-7;
cursor:not-allowed;
}
.umb-tree li div.no-access .umb-tree-icon,
.umb-tree li div.no-access .umb-tree-item__label {
color: @gray-7;
cursor: not-allowed;
}
// Tree context menu
// -------------------------