@import '~assets/less/variable'; .treeTableContainer { display: flex; } .treeContainer { padding: 0 0 10px; border: 1px solid rgb(232, 232, 232); width: 240px; margin-right: 10px; border-radius: 4px 4px 0 0; .treeTitle { display: flex; justify-content: space-between; align-items: center; line-height: 36px; padding: 10px 10px; background-color: rgb(250, 250, 250); border-bottom: 1px solid #e8e8e8; h6, > div { line-height: 21px; } .treePlusNode { //padding: 0 4px; cursor: pointer; } } .treeContent { //width: 100%; padding: 10px 0 0; margin: 0 10px; .treeNode { padding: 8px 10px; margin: 2px 0; display: flex; justify-content: space-between; cursor: pointer; transition: all 0.2s; border-radius: 4px; &.treeNodeChild { //margin-left: 20px } &.treeNodeSelected { background-color: #d7d7d7 !important; //color: #fff; } &:hover { background-color: #fafafa; } .treeNodeLeft { flex: 1; > i { padding-right: 6px; } } } } }