2017-12-19 13:30:58 +00:00
|
|
|
.treeview {
|
2017-12-20 11:09:31 +00:00
|
|
|
&.inner {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.empty-text {
|
|
|
|
text-align: center;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
color: #b2b2b2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .item {
|
2017-12-19 13:30:58 +00:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
.box-shadow(none);
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
&:hover,
|
2018-01-25 14:56:57 +00:00
|
|
|
&.over {
|
2017-12-19 13:30:58 +00:00
|
|
|
background-color: @secondary;
|
|
|
|
}
|
2017-12-21 12:01:37 +00:00
|
|
|
|
2018-01-25 14:56:57 +00:00
|
|
|
&.selected {
|
|
|
|
background-color: #cbcdcf;
|
|
|
|
}
|
|
|
|
|
2017-12-21 12:01:37 +00:00
|
|
|
&.selected .empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-12-19 13:30:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tree-item {
|
|
|
|
width: 100%;
|
2017-12-21 10:56:48 +00:00
|
|
|
min-height: 28px;
|
|
|
|
padding: 0px 0 0 24px;
|
2017-12-19 13:30:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.name {
|
|
|
|
width: 100%;
|
2017-12-21 10:56:48 +00:00
|
|
|
padding: 5px 0;
|
2017-12-19 13:30:58 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2017-12-21 12:01:37 +00:00
|
|
|
|
|
|
|
&.empty {
|
|
|
|
color: #999;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2017-12-19 13:30:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tree-caret {
|
2017-12-21 10:56:48 +00:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
background-position: 3px -270px;
|
2017-12-19 13:30:58 +00:00
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&.up {
|
|
|
|
transform: rotate(270deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|