index.less 1.4 KB

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