2019-10-01 09:15:15 +00:00
|
|
|
@import "effects";
|
2019-01-21 10:45:53 +00:00
|
|
|
|
2019-10-02 12:12:17 +00:00
|
|
|
vn-treeview {
|
|
|
|
& > .add-item {
|
|
|
|
@extend %clickable;
|
|
|
|
}
|
|
|
|
}
|
2019-10-02 07:54:52 +00:00
|
|
|
vn-treeview-childs {
|
|
|
|
display: block;
|
|
|
|
|
2018-11-12 10:31:58 +00:00
|
|
|
ul {
|
|
|
|
padding: 0;
|
2019-02-18 07:37:26 +00:00
|
|
|
margin: 0;
|
2018-11-12 10:31:58 +00:00
|
|
|
|
2019-10-02 07:54:52 +00:00
|
|
|
& > li {
|
2018-11-12 10:31:58 +00:00
|
|
|
list-style: none;
|
2019-10-02 12:12:17 +00:00
|
|
|
|
|
|
|
ul {
|
|
|
|
padding-left: 2.2em;
|
|
|
|
}
|
2019-10-02 07:54:52 +00:00
|
|
|
}
|
|
|
|
}
|
2019-10-04 09:01:47 +00:00
|
|
|
|
2019-10-02 07:54:52 +00:00
|
|
|
vn-icon-button {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2019-10-04 09:01:47 +00:00
|
|
|
|
|
|
|
.node > .buttons {
|
|
|
|
display: none
|
|
|
|
}
|
|
|
|
|
|
|
|
.node:hover > .buttons {
|
|
|
|
display: block
|
|
|
|
}
|
|
|
|
|
2019-10-02 07:54:52 +00:00
|
|
|
& > ul > li > .node {
|
|
|
|
@extend %clickable;
|
|
|
|
display: flex;
|
|
|
|
padding: 5px;
|
|
|
|
align-items: center;
|
2019-01-21 10:45:53 +00:00
|
|
|
|
2019-10-02 07:54:52 +00:00
|
|
|
& > .arrow {
|
|
|
|
min-width: 24px;
|
|
|
|
margin-right: 10px;
|
|
|
|
transition: transform 200ms;
|
|
|
|
}
|
|
|
|
&.expanded > .arrow {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
& > vn-check:not(.indeterminate) {
|
|
|
|
color: $color-main;
|
|
|
|
|
|
|
|
& > .check {
|
|
|
|
border-color: $color-main;
|
2019-02-18 07:37:26 +00:00
|
|
|
}
|
2019-01-21 10:45:53 +00:00
|
|
|
}
|
2019-10-02 07:54:52 +00:00
|
|
|
& > vn-check.checked {
|
|
|
|
color: $color-main;
|
|
|
|
}
|
2018-11-12 10:31:58 +00:00
|
|
|
}
|
|
|
|
}
|
2019-10-02 12:12:17 +00:00
|
|
|
vn-treeview-content {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|