.upload-imgselect {
  display: flex;
  flex-wrap: wrap;

  .upload-imgselect-li {
    position: relative;
    padding: 16.66666% 0;
    width: 48%;
    height: 0;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 1px 1px #999 inset;
    margin: 1px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    &.add {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      cursor: pointer;
      font-size: 14px;
      font-weight: bolder;

      input[type=file] {
        position: absolute;
        cursor: pointer;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: 0;
        z-index: 1;
      }

      .upload {
        width: 40px;
        filter: contrast(0.01)
        //content: '+';
      }
    }

    .del {
      position: absolute;
      right: 0;
      top: 0;
      padding: 2px 6px;
      background-color: rgba(255, 255, 255, 0.8);
      border-radius: 0 0 0 10px;
      display: none;
      cursor: pointer;
      opacity: 0.5;

      &:before {
        width: auto;
        font-size: 16px;
      }
    }

    &:hover {
      box-shadow: 0 0 5px 2px #ccc inset;

      .upload {
        filter: contrast(100);
      }

      .del {
        display: block;

        &:hover {
          opacity: 1;
          color: #fff;
          background-color: #3339;
        }
      }
    }

    &.active {
      box-shadow: 0 0 5px 2px #187aff inset;
    }
  }

}
.uploading {
  width: auto;
  font-size: 16px;

}
.dialog-upload {
  height: 100%;
  line-height: 1.6em;
  font-size: 16px;
}
.dialog-txt {
  &:after {
    content: '...';
    animation: loadding 1s infinite steps(3);
    overflow: hidden;
    display: inline-block;
  }
}
@keyframes loadding {
  33.33333% {
    width: 6px;
  }
  66.66666% {
    width: 12px;
  }
  99.99999% {
    width: 18px;
  }
}
