@import "mixins/mixins";
@import "common/var";
@import "tree";
@import "input";
@import "dialog";
@import "row";
@import "col";
@import "button";
@import "radio";

@include b(tree-dialog) {
  &__input {
    margin-bottom: 20px;
  }
  &__col {
    height: 350px;
  }
  &__content {
    max-height: 250px;
    overflow: auto;
  }
  &__head {
    padding: 10px;
    background-color: #f5f5f5;
    margin-bottom: 10px;
  }
  &__nodes {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  &__node {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 120px;
    height: 30px;
    border: 1px solid #d3d3d3;
    padding-left: 10px;
    padding-right: 3px;
    border-radius: 5px;
    margin-bottom: 10px;
    &__label {
      max-width: 105px;
      font-size: 20px;
      line-height: 30px;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
    }
    &__icon {
      cursor: pointer;
      font-size: 14px;
    }
  }
  &__placenode {
    width: 135px;
  }
  .el-radio {
    margin-top: 2px;
    margin-right: 5px;
  }
  .el-radio__label {
    display: none;
  }
}

.custom-tree-node, .wrap-tree-node {
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 20px;
  padding-right: 8px;
  &__icon {
    margin-right: 5px;
  }
}

.custom-dialog {
  max-width: 1000px;
  min-width: 1000px;
  .el-dialog__header {
    padding: 12px;
    padding-left: 24px;
    padding-right: 24px
  }
  .el-dialog__headerbtn {
    top: 8px;
  }
}
