.comp-selector {
  display: flex;
  flex-direction: row;
  height: 100%;
  overflow: hidden;
}
.left {
  //width: 275px;
  width: 220px;
  flex-shrink: 0;
  height: 100%;
  overflow-y: auto;
  border-right: 1px solid #999;
  &__item {
    height: 47px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-left: 12px;
    &:hover, &--active {
      background-color: #F2F2F2;
    }
  }
}
.right {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  &__title {
    padding-left: 12px;
    padding-right: 12px;
    //font-weight: bold;
    flex-shrink: 0;
    height: 52px;
    border-bottom: 1px solid #999;
    display: flex;
    flex-direction: row;
    align-items: center;
    &__back {
      color: #999;
      cursor: pointer;
      &:hover {
        color: unset;
      }
    }
    &__search {
      width: 200px;
      display: inline-block;
      margin-left: auto;
      :global {
        .fish-input-wrapper {
          line-height: 0 !important;
        }
        .fish-input-affix-wrapper {
          line-height: 0 !important;
        }
      }
    }
  }
  &__content {
    flex: 1;
    //padding: 12px;
    position: relative;
    &__library {
      &--hidden {
        visibility: hidden;
      }
    }
    &__resource {
      position: absolute;
      // 和父容器的 padding 保持一致
      //left: 12px;right: 12px;
      top: 0;
      bottom: 0;
    }
  }
}

.custom-spin {
  width: 100%;
  height: 100%;
  :global(.fish-spin-container) {
    height: 100%;
  }
}
