2018-04-08 18:32:44 +00:00
|
|
|
@import "./variables.scss";
|
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
.tree-body {
|
2018-04-08 18:32:44 +00:00
|
|
|
padding: $spacer-3 $spacer-4;
|
|
|
|
}
|
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
f-tree, f-tree-node {
|
|
|
|
display: block;
|
2018-04-08 18:32:44 +00:00
|
|
|
}
|
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
f-tree-node:hover {
|
|
|
|
background-color: $gray-100;
|
2018-04-08 18:32:44 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
// .tree {
|
|
|
|
// padding: $spacer-3 $spacer-4;
|
|
|
|
// }
|
2018-04-08 18:32:44 +00:00
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
// .tree li {
|
|
|
|
// list-style: none;
|
|
|
|
// }
|
2018-04-08 18:32:44 +00:00
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
// ul.tree-children {
|
|
|
|
// padding-left: $spacer-4;
|
|
|
|
// }
|
2018-04-08 18:32:44 +00:00
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
// .tree-link {
|
|
|
|
// cursor: pointer;
|
|
|
|
// display: flex;
|
|
|
|
// align-items: center;
|
|
|
|
// width: 100%;
|
|
|
|
// }
|
2018-04-08 18:32:44 +00:00
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
// .tree-link:hover {
|
|
|
|
// background-color: $gray-100;
|
|
|
|
// }
|
2018-04-08 18:32:44 +00:00
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
// .tree-link .node-parent {
|
|
|
|
// color: $gray-200;
|
|
|
|
// width: 24px;
|
|
|
|
// height: 24px;
|
|
|
|
// }
|
2018-04-08 18:32:44 +00:00
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
// .tree-link .node-leaf {
|
|
|
|
// color: $gray-400;
|
|
|
|
// }
|
2018-04-08 18:32:44 +00:00
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
// .tree-link .node-parent, .tree-link .node-leaf {
|
|
|
|
// padding: $spacer-2;
|
|
|
|
// }
|
|
|
|
|
|
|
|
// .tree-link.active {
|
|
|
|
// a {
|
|
|
|
// color: $gray-600;
|
2018-04-08 18:32:44 +00:00
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
// .tree-hover {
|
|
|
|
// background-color: $gray-200;
|
|
|
|
// min-height: 20px;
|
|
|
|
// border: 1px solid $gray-600;
|
|
|
|
// }
|
2018-04-08 18:32:44 +00:00
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
// .tree-node-toolbar {
|
|
|
|
// display: inline-block;
|
|
|
|
// padding: 0px 5px;
|
|
|
|
// margin-left: 15px;
|
|
|
|
// margin-bottom: -4px;
|
|
|
|
// margin-top: -8px;
|
|
|
|
// }
|
2018-04-08 18:32:44 +00:00
|
|
|
|
2018-04-09 12:28:51 +00:00
|
|
|
// // @media (max-width: @screen-xs) {
|
|
|
|
// // ul.tree-children {
|
|
|
|
// // padding-left: 10px;
|
|
|
|
// // }
|
|
|
|
// // }
|
|
|
|
|
|
|
|
// // decoration
|
|
|
|
// // .tree, .tree-node {
|
|
|
|
// .tree.with-skeleton, .tree.with-skeleton .tree-node {
|
|
|
|
// position: relative;
|
|
|
|
|
|
|
|
// &.opened::before, &:last-child::after {
|
|
|
|
// content: '';
|
|
|
|
// position: absolute;
|
|
|
|
// top: 12px;
|
|
|
|
// left: 7px;
|
|
|
|
// height: calc(100% - 23px);
|
|
|
|
// width: 1px;
|
|
|
|
// background: $gray-400;
|
|
|
|
// z-index: -1;
|
|
|
|
// }
|
|
|
|
|
|
|
|
// &:last-child::after {
|
|
|
|
// top: 11px;
|
|
|
|
// left: -13px;
|
|
|
|
// height: calc(100% - 15px);
|
|
|
|
// width: 3px;
|
|
|
|
// background: #fff;
|
|
|
|
// }
|
|
|
|
|
|
|
|
// &.opened > .tree-children > .tree-node > .tree-link::before {
|
|
|
|
// content: '';
|
|
|
|
// position: absolute;
|
|
|
|
// width: 18px;
|
|
|
|
// height: 1px;
|
|
|
|
// top: 10px;
|
|
|
|
// left: -12px;
|
|
|
|
// z-index: -1;
|
|
|
|
// background: $gray-400;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
// .tree.with-skeleton.opened::before {
|
|
|
|
// left: 22px;
|
|
|
|
// top: 33px;
|
|
|
|
// height: calc(100% - 67px);
|
|
|
|
// }
|
|
|
|
|
|
|
|
// .tree-link.active ~ .balance-area {
|
|
|
|
// color: $gray-600 !important;
|
|
|
|
// }
|