index.less 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. .cip-tree{
  2. height: 100%;
  3. display: flex;
  4. flex-direction: column;
  5. .filter-tree.el-tree--highlight-current{
  6. .el-tree-node:not(.is-current):focus>.el-tree-node__content{
  7. background: transparent;
  8. }
  9. .el-tree-node.is-current{
  10. color: @primary;
  11. }
  12. }
  13. &__header {
  14. display: flex;
  15. .el-button {
  16. flex: 1;
  17. margin: 0;
  18. }
  19. }
  20. &__filter{
  21. padding-top: 0px;
  22. }
  23. &__scrollbar{
  24. flex: 1;
  25. }
  26. .custom-tree-node{
  27. flex: 1;
  28. display: flex;
  29. align-items: center;
  30. justify-content: space-between;
  31. font-size: 14px;
  32. padding-right: 8px;
  33. position: relative;
  34. overflow: hidden;
  35. .operation {
  36. display: none;
  37. position: absolute;
  38. right: 0px;
  39. padding-right: 8px;
  40. background: #f0f7ff;
  41. }
  42. .view-node {
  43. position: absolute;
  44. right: 0px;
  45. padding-right: 8px;
  46. }
  47. &__text{
  48. display: inline-block;
  49. width: 100%;
  50. overflow: hidden;
  51. text-overflow: ellipsis;
  52. white-space: nowrap;
  53. }
  54. &:hover {
  55. .operation {
  56. margin-left: 10px;
  57. display: inline-block !important;
  58. }
  59. }
  60. }
  61. }