@import '~antd/es/style/themes/default.less';
@lowcode-builder-color: #333;

.wrapContainer {
  width: 287px;
  // background: #fafafa;
  :global {
    .@{ant-prefix}-tree-child-tree {
      transition: transform 0.3s;
    }
    // .@{ant-prefix}-tree li .@{ant-prefix}-tree-node-content-wrapper {
    //   color: #333333;
    // }
    // .@{ant-prefix}-tree li span.@{ant-prefix}-tree-switcher.@{ant-prefix}-tree-switcher_close,
    // .@{ant-prefix}-tree li span.@{ant-prefix}-tree-switcher.@{ant-prefix}-tree-switcher_open {
    //   .@{ant-prefix}-tree-switcher-icon {
    //     color: #333333;
    //   }
    // }

    // .@{ant-prefix}-tree li span.@{ant-prefix}-tree-iconEle, .@{ant-prefix}-tree li span.@{ant-prefix}-tree-iconEle svg {
    //   path {
    //     fill: #333333;
    //   }
    // }

    // .@{ant-prefix}-tree-block-node span {
    //   color: #333333 !important;
    // }

    .@{ant-prefix}-tree {
      font-size: 12px;
      > span {
        color: #333;
        > svg {
          fill: #333;
        }
      }
      li {
        padding: 0 !important;
      }
      .ant-tree-switcher {
        margin-right: 0;
        width: 16px;
      }
      .ant-tree-switcher,
      .ant-tree-iconEle {
        height: 20px !important;
        line-height: 20px;
      }
      .ant-tree-iconEle {
        padding-top: 2px;
        svg {
          width: 16px;
          height: 16px;
        }
      }
      .ant-tree-node-content-wrapper {
        padding-left: 1px;
        .ant-tree-title {
          display: inline-block;
          padding: 0 2px;
          height: 20px;
        }
      }
      .ant-tree-child-tree > li:first-of-type {
        padding-top: 0;
      }
      .ant-tree-node-content-wrapper,
      .ant-tree-treenode-selected {
        &:hover {
          background: transparent;
        }
      }
      .ant-tree-treenode-selected {
        background: transparent !important;
      }
      li .ant-tree-node-content-wrapper.ant-tree-node-selected {
        background: transparent;
        .ant-tree-title {
          background: #3399ff;
          color: white;
        }
      }
    }
  }
  &.select {
    height: calc(55% - 41px);
    bottom: unset;
    div:first-of-type {
      height: 100%;
    }
  }
  > div:first-of-type {
    padding: 5px 8px;
    height: calc(51% + 1px);
    overflow: auto;
  }
}
.propertyWrap {
  background-color: white;
  height: calc(49% - 1px);
  > div:first-of-type {
    height: 41px;
  }
}
