@import '../style/var.less';

.current-checkced--list {
  display: flex;
  height: 62px;
  width: 100%;
  box-sizing: border-box;
  padding: 0px 10px;
  background-color: #fff;
  overflow-x: auto;
  .current-checkced--item {
    flex-shrink: 0;
    margin-right: 6px;
    text-align: center;
    &:last-child {
      margin-right: 0;
    }
    .user-item--icon {
      width: 26px;
      height: 26px;
      border-radius: @borderBigRadius;
    }
    p {
      margin: 0;
      padding: 0;
      line-height: 16px;
      font-size: 12px;
      text-align: center;
      max-width: 90px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
}
// 设置树的最大高度
.workflow-check-people--tabs {
  .van-tabs__content {
    height: calc(90vh - 48px - 48px - 62px - 40px - 126px);
    overflow-y: auto;
    .van-tab__panel {
      height: 100%;
    }
  }
  // 如果是复选框模式需要再最底下显示当前已选人员信息
  &.workflowIsCheckbox {
    .van-tabs__content {
      height: calc(90vh - 48px - 48px - 62px - 40px - 126px - 50px);
    }
  }
}
.van-empty__image {
  width: 130px;
  height: 130px;
}
.van-loading {
  text-align: center;
  padding-top: 20px;
}

.workflow-search {
  padding-bottom: 4px;
  .van-search__content {
    background-color: #fff;
    padding: 0;
  }
  .van-cell {
    border-radius: @radius;
    padding: 0;
    padding-left: 6px;
  }
  .van-field__left-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .van-field__control {
    height: 35px;
    line-height: 35px;
    background-color: #fff;
    text-align: left;
    .van-icon-search {
      margin-top: 2px;
    }
  }
  .van-field__clear {
    margin-right: 1px;
    padding: 0 4px;
    text-align: center;
    width: 34px;
    height: 35px;
    line-height: 35px;
  }
}