@mixin ellipsis($row) {
  overflow: hidden;
  text-overflow: ellipsis;
  @if $row == 1 {
    display: block;
    white-space: nowrap;
    word-wrap: normal;
  } @else if $row >= 2 {
    display: -webkit-box;
    -webkit-line-clamp: $row;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
  }
}

.ucap-file-upload-queue-container {
  width: 100%;
  height: 100%;
  .file-upload-item {
    min-width: 200px;
    margin: 0 1%;
    margin-bottom: 10px;
    width: 48%;
    border-radius: 3px;
    background-color:#f9f9f9;
    border:1px solid #dddddd;
    .file-upload-info {
      padding: 10px;
      svg {
        margin-right: 6px;
      }
      .file-upload-name {
        height: 20px;
        @include ellipsis(2);
      }
    }
    .file-upload-progress {
      padding: 6px 10px;
    }
  }
}
