Tree revert refactor (#3886)
* Reverts object tree to expand/collapse tree model * Retains expanded/collapsed state * Adds collapse all feature
This commit is contained in:
committed by
GitHub
parent
43ac66233e
commit
dbed9262c0
@@ -30,7 +30,7 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&__scrollable-children {
|
||||
&__scrollable {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
@include userSelectNone();
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
padding-right: $interiorMarginSm;
|
||||
|
||||
.icon-arrow-nav-to-parent {
|
||||
visibility: hidden;
|
||||
@@ -90,7 +91,7 @@
|
||||
color: $colorItemTreeIcon;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@include hover {
|
||||
background: $colorItemTreeHoverBg;
|
||||
filter: $filterHov;
|
||||
}
|
||||
@@ -124,14 +125,16 @@
|
||||
}
|
||||
|
||||
&__item {
|
||||
> * + * {
|
||||
margin-left: $interiorMarginSm;
|
||||
[class*="view-control"] {
|
||||
padding: 2px 10px;
|
||||
}
|
||||
|
||||
@include desktop {
|
||||
&:hover {
|
||||
background: $colorItemTreeHoverBg;
|
||||
}
|
||||
> * + * {
|
||||
margin-left: ceil($interiorMarginSm / 2);
|
||||
}
|
||||
|
||||
@include hover {
|
||||
background: $colorItemTreeHoverBg;
|
||||
}
|
||||
|
||||
// Object labels in trees
|
||||
|
||||
Reference in New Issue
Block a user