// 按钮容器高度
$btns-height:44px;

.tree-box {
  border: 1px solid $--color-c3;
  display: flex;
  flex-direction: column;
  margin-left: -1px;
  &.radius-direction {
    &-all {
      border-radius: $--border-radius-base;
    }
    &-left {
      border-radius: $--border-radius-base 0 0 $--border-radius-base;
    }
    &-right {
      border-radius: 0 $--border-radius-base $--border-radius-base 0;
    }
    &-none {
      border-radius: 0;
    }
  }

  .tree-box-title {
    text-align: center;
    flex-basis: 44px;
    background-color: $--color-c4;
    border-bottom: 1px solid $--color-c3;
    line-height: 44px;

    span {
      font-size: $--font-s;
      font-weight: 600;
    }
  }

  /deep/ .jr-scroll-view {
    flex: 1;
    background-color: $--color-c6;

    ul {
      margin: 0;
      line-height: 34px;
      font-size: $--font-xs;
      text-align: left;

      li {
        height: 34px;
      }
    }

    .tree-not-data {
      height: 100%;
      font-size: $--font-xs;
      color: $--color-c2;
      background-color: $--color-c6;
      padding-bottom: $btns-height;

      &.has-btn {
        padding-bottom: 0;
      }
    }
  }

  .tree-btns {
    display: flex;
    align-items: center;
    background-color: #f9fbf9;
    border-top: 1px solid #e2e9e7;;
    flex-basis: $btns-height;
    padding-left: 20px;
    .jr-button-wrap {
      margin-right: 10px;
    }
  }
}
