::ng-deep .organization-tree { padding: 5px; .tree-node-closer-container { position: relative; .tree-node-closer-top { width: 15px; height: 40px; position: absolute; border: 1px dotted #cccccc; border-width: 0 0 1px 1px; top: -40px; } .tree-node-closer-bottom { width: 15px; height: 40px; position: absolute; border: 1px dotted #cccccc; border-width: 0 0 1px 1px; top: 0px; } .tree-node-closer-top[sub-node] { border-width: 0 0 0 1px; } .tree-node-closer-top[sub-node][last-node] { border-width: 0 0 0 0; } .tree-node-closer-bottom[expanded] { border-width: 0 0 1px 0px; } .tree-node-closer-bottom[last-node] { border-width: 0 0 1px 0px; } .tree-node-closer-bottom[sub-node] { border-width: 0 0 0 1px; } .tree-node-closer-bottom[sub-node][last-node] { border-width: 0 0 0 0; } } li { margin-top: 0; margin-bottom: 0; list-style-type: none; } .tree-has-child { height: 50px; min-height: 50px; li { display: flex; align-items: center; cursor: pointer; width: 100%; margin-left: 10px; margin-right: 10px; .tree-node-body { width: 100%; height: 40px; border-radius: 4px; button { line-height: normal; .mat-button-wrapper { width: 24px; height: 24px; .tree-node-expand-btn { background-color: transparent; font-size: 20px; } } } } } } .tree-no-child { height: 50px; min-height: 50px; font-size: 13px; li { display: flex; align-items: center; width: 100%; height: 100%; cursor: pointer; .tree-node-body { padding-left: 40px; } } } }