' +
//NOTE: This ins element is used to display the search icon if the node is a container/listview and the tree is currently in dialog
- //'
' +
- '
' +
+ //'
' +
'
' +
'
' +
'
' +
diff --git a/src/Umbraco.Web.UI.Client/src/less/tree.less b/src/Umbraco.Web.UI.Client/src/less/tree.less
index f6b6ab7115..4e2e3e77e8 100644
--- a/src/Umbraco.Web.UI.Client/src/less/tree.less
+++ b/src/Umbraco.Web.UI.Client/src/less/tree.less
@@ -3,14 +3,13 @@
.umb-item-list {
- margin: 0px;
+ margin: 0;
width: auto;
display: block
}
.umb-item-list li {
display: block;
width: auto;
- display: block
}
@@ -20,7 +19,7 @@
// -------------------------
.umb-tree {
- margin: 0px;
+ margin: 0;
min-width: 100%;
width: auto;
}
@@ -29,17 +28,17 @@
display: block;
min-width: 100%;
width: auto;
- display: block
}
.umb-tree li.current > div, .umb-tree div.selected {
background: @blue;
}
-.umb-tree li.current > div a.umb-options i, .umb-tree div.selected i{
+.umb-tree li.current > div a.umb-options i, .umb-tree div.selected i {
background: #fff;
border-color: @blue;
}
.umb-tree li.current > div a,
-.umb-tree li.current > div i.icon{
+.umb-tree li.current > div i.icon,
+.umb-tree li.current > div ins {
color: white !important;
background: @blue;
border-color: @blue;
@@ -57,8 +56,8 @@
white-space: nowrap
}
.umb-tree ul {
- padding: 0px;
- margin: 0px;
+ padding: 0;
+ margin: 0;
min-width: 100%;
width: 100%;
//display: table
@@ -111,16 +110,14 @@
display: inline-block;
visibility: hidden;
text-decoration: none;
+ font-size: 12px;
}
+
.umb-tree li:hover ins {
visibility: visible;
cursor: pointer
}
-.umb-tree ins {
- font-size: 12px;
-}
-
.umb-tree .icon {
vertical-align: middle;
margin: 1px 13px 1px 0px;