2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 19:29:02 +00:00
books/client/style/tree.scss
2018-04-09 17:58:51 +05:30

124 lines
2.0 KiB
SCSS

@import "./variables.scss";
.tree-body {
padding: $spacer-3 $spacer-4;
}
f-tree, f-tree-node {
display: block;
}
f-tree-node:hover {
background-color: $gray-100;
cursor: pointer;
}
// .tree {
// padding: $spacer-3 $spacer-4;
// }
// .tree li {
// list-style: none;
// }
// ul.tree-children {
// padding-left: $spacer-4;
// }
// .tree-link {
// cursor: pointer;
// display: flex;
// align-items: center;
// width: 100%;
// }
// .tree-link:hover {
// background-color: $gray-100;
// }
// .tree-link .node-parent {
// color: $gray-200;
// width: 24px;
// height: 24px;
// }
// .tree-link .node-leaf {
// color: $gray-400;
// }
// .tree-link .node-parent, .tree-link .node-leaf {
// padding: $spacer-2;
// }
// .tree-link.active {
// a {
// color: $gray-600;
// }
// }
// .tree-hover {
// background-color: $gray-200;
// min-height: 20px;
// border: 1px solid $gray-600;
// }
// .tree-node-toolbar {
// display: inline-block;
// padding: 0px 5px;
// margin-left: 15px;
// margin-bottom: -4px;
// margin-top: -8px;
// }
// // @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;
// }