.uploader-wrapper{
  width: 100%;
  border: 1px solid rgba(51, 63, 72, 0.15);
  border-radius: 4px;
  padding:10px 0 10px 10px;
  /*min-height: 140px;*/
  :after {
    clear: both;
  }
  ul,li {
    list-style: none;
  }
  .btn-group{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    >button,>a{
      display: inline-block;
      float: right;
      padding: 0;
      color: rgba(255, 255, 255, 0.8);
      text-align: center;
      border-radius: 2px;
      >span{
        display: none;
      }
      .ivu-icon{
        font-size: 18px;
      }
      &:hover{
        background:rgba(255, 255, 255, 0.2);
        color: rgba(255, 255, 255, 1);
      }
    }
  }
  .webuploader-container{
    position: relative;
    height: 100%;
    >div:last-child{
      opacity: 0;
      background:transparent;
      label{
        position: absolute;
        top:0;
        left:0;
      }
    }
  }
  .progress{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    padding:0 10px;
    .progress-bar{
      height:5px;
      border-radius: 5px;
      background-color:#2d8cf0;
      margin-top:46px;
      .i{
        position: absolute;
        top: 42px;
        right: 0;
        display: none;
      }
    }
    .progress-bar.progress-success{
      background:#19be6b;
    }
    .per{
      font-size: 12px;
    }
  }
  .ivu-table-cell{
    padding-left:12px;
    padding-right:12px;
  }
  .cardList{
    .webuploader-container.uploadBtn{
      .webuploader-pick{
        span{
          display: none;
        }
      }
    }
    .queueList{
      position: relative;
      height: 100%;
      overflow: auto;
    }
    .placeholder,li{
      width: 120px;
      height: 120px;
      overflow: hidden;
    }
    .placeholder{
      .webuploader-container~p{
        display: none;
      }
      .webuploader-pick{
        position: absolute;
        width:100%;
        height: 100%;
        line-height: 100px;
        text-align: center;
        font-size: 80px;
        top:0;
        left:0;
      }
    }
    li.placeholder{
      button{
        width:120px;
        height: 120px;
        border-color: transparent;
      }
    }
    li{
      width: 120px;
      height: 120px;
      border-radius: 4px;
      margin: 0 10px 10px 0;
      border: 1px solid #dcdee2;
      float:left;
      &:before{
        content: "";
        width: 100%;
        height: 104px;
        display: block;
        opacity: 0.02;
        position: absolute;
        background-image: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#000000));
        background-image: linear-gradient(180deg, #FFFFFF 0%, #000000 100%);
      }
    }
    li:hover{
      box-shadow: @shadow-base;
    }
    li.file-item{
      position: relative;
      text-align: center;
      .updown{
        width: 120px;
        height: 0;
        background:#00529c;
        >button,>a{
          height: 30px;
          line-height: 30px;
          width: 25%;
          float: right;
        }
      }
      img{
        width: 120px;
        height: 120px;
        margin:0 auto;
      }
      svg{
        margin-top: 15px;
      }
      p.text{
        text-align: center;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        border-top: 1px solid #e0dddd;
        background: #fff;
        height: 28px;
        line-height: 28px;
        padding: 0 5px;
      }
      .text{
        position: absolute;
        width: 100%;
        height: 100%;
        line-height: 120px;
        text-align: center;
        background: rgba(255, 255, 255, 0.80);
        z-index: 2;
      }
    }
    .table-file-picker{
      position: relative;
      padding:0;
      min-width:88px;
      height:32px;
      .webuploader-pick{
        cursor: pointer;
      }
      >div:last-child{
        opacity: 0;
      }
    }

    .progressOver{
      padding-left:25px;
      position: relative;
      svg,img{
        position: absolute;
        top: 4px;
        left: 0;
      }
    }
  }
  .tableBox{
    overflow: auto;
  }
  .tableList{
    position: relative;
    .ivu-table-tbody{
      tr{
        position: relative;
      }
    }
    header,.ivu-breadcrumb{
      width: 100%;
    }
    header{
      position: relative;
      .file-handler{
        position: absolute;
        top: 5px;
        left: 130px;
        height: 35px;
        line-height: 35px;
        width: calc(~'100% - 130px');
        text-align: right;
        background: #fff;
        z-index: 11;
        flex-direction: row;
        font-size:14px;
        span{
          padding-left:25px;
          padding-right:15px;
          font-weight: bold;
        }
      }
    }
    .ivu-table th{
      height:46px;
    }
    .ivu-table td{
      height:40px;
    }
    .ivu-table tr td:nth-child(3){
      >div{
        width: 100%;
        padding-left:55px;
        position: relative;
        .image{
          position: absolute;
          top:5px;
          left:15px;
        }
      }
    }
    .ivu-table tr td:nth-child(4){
      overflow: hidden;
      text-overflow: inherit;
      >div{
        overflow: hidden;
        text-overflow: inherit;
      }
    }
    img{
      width: 30px;
      height: 30px;
    }
    .actionBtn{
      color:@primary-color;
      padding: 0;
      width: 22px;
      text-align: center;
      display: inline-block;
      border-radius: 0;
      height:32px;
      span{
        display: none;
      }
      .ivu-icon{
        font-size: 18px;
      }
    }
    a.actionBtn{

      line-height: 28px;
    }
    .actionBtn:hover{
      border-radius: 4px;
      background-color:rgba(0, 129, 245, 0.5)
    }
    .passOver{
      height:40px;
      line-height: 40px;
      overflow: hidden;
      position:relative;
    }
    .progress{
      padding:0;
      top: auto;
      bottom:0;
      height:5px;
      .progress-bar{
        margin-top:0;
        width: 100%;
        height: 5px;
        line-height: 5px;
        border-radius: 0;
        span{
          position: absolute;
          top:0;
          right:0;
        }
      }
      .per{
        top: 0;
        position: absolute;
        right: 0;
      }
    }
  }
  .table-file-picker{
    height: 32px;
    line-height: 32px;
  }
}

.showNumUploader{
  li:last-child{
    margin-right:0;
  }
  .queueList{
    overflow: hidden!important;
  }
}

.upload-modal {
  /deep/ .ivu-modal-header {
    background: #fff;

    p {
      text-align: center;
      font-weight: bold;
    }
  }

  /deep/ .file-detail {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    .file-image {
      max-width: 80%;
    }

    .iframe {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
    }
  }
}

.bingo-file-upload {
  position: relative;
  margin: 0 auto;
  background: #fff;
  .file-header {
    box-sizing: border-box;
    position: relative;
    padding: 10px 20px;
    background: #fff;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;

    .file-header-item {
      display: inline-block;
      list-style: none;
      cursor: pointer;

      .file-header-item-icon {
        margin-left: 7px;
        color: #8c8c8c
      }
    }

    .file-header-item:hover {
      color: #1b9aee;
    }

    .file-header-item.active {
      color: #262626;
      cursor: default;
    }

    .file-header-title {
      height: 26px;
      padding: 0 300px 0 0;
      font-size: 16px;
      color: #262626;
      .file-header-list{
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 220px;
      }
      .ivu-breadcrumb{
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        >span{
          cursor: pointer;
        }
      }
    }

    .file-header-handler {
      position: absolute;
      display: flex;
      align-items: center;
      top: 8px;
      right: 16px;
      color: #1b9aee;
      min-width: 210px;
      text-align: right;
      .icon {
        margin-right: 3px;
        font-size: 22px;
      }

      .file-header-crate {
        display: flex;
        align-items: center;
        margin-right: 10px;
      }

      .file-header-upload {
        display: flex;
        align-items: center;
      }

      #fileUploadBtn {
        box-sizing: border-box;
        position: relative;
        left: -25px;
        overflow: hidden;
        display: inline-block;
        padding-left: 28px;
        width: 100px;
        color: #595959;
        font-size: 36px;
        font-weight: bold;
        cursor: pointer;

        /deep/ .webuploader-pick {
          display: flex;
          align-items: center;
          width: 100%;
          height: 35px;
          line-height: 35px;
          font-size: 14px;
          font-weight: normal;
          color: #0077c8;
        }
      }
    }
  }

  /deep/ .webuploader-element-invisible {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
  }

  .file-handel {
    position: relative;
    display: flex;
    flex-direction: row;
    padding: 10px 20px;
    background-color: #fff;
    color: #595959;

    .file-handel-checkbox {
      flex: 0 0 40px;
      width: 40px;
    }

    .ivu-icon {
      font-size: 20px;
    }

    .select-num-hint {
      padding: 0 4px;
      margin-right: 20px;
      font-size: 15px;
    }

    .batch-handler {
      margin-right: 24px;
      font-size: 15px;
      color: #595959;
      cursor: pointer;
    }

    .batch-handler:hover {
      color: #1b9aee;
    }

    .file-info {
      display: flex;
      flex: 1 1 auto;
      flex-direction: row;
      align-items: center;
      margin-left: 20px;
      font-size: 15px;

      .file-info-item {
        flex: none;
        user-select: none;
        color: #595959;
      }

      .file-info-item:hover {
        color: #1b9aee;
      }

      .file-info-name {
        display: block;
        width: 50%;
        padding-left: 15px;
      }

      .file-info-size {
        display: block;
        width: 100px;
        padding-right: 20px;
      }

      .file-info-author {
        display: block;
        width: 150px;
        padding-right: 20px;
      }
    }
  }

  .file-header:after,
  .file-handel:after {
    position: absolute;
    height: 0;
    left: 15px;
    right: 15px;
    bottom: 0;
    content: "";
    border-bottom: 1px solid #e5e5e5;
  }

  .file-content-wrapper {
    position: relative;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.0470588);
    height: calc(~"100% - 90px");
    overflow: auto;
    .file-list {
      min-height: 294px;

      .file-item {
        display: flex;
        position: relative;
        padding: 0 20px;
        transition: background-color 218ms;
        list-style: none;
        line-height: 20px;
        align-items: center;

        .file-item-label {
          width: 40px;
          flex: 0 0 40px;

          /deep/ span:nth-child(2) {
            display: none;
          }
        }

        .file-item-display {
          flex: 1 1 auto;
          display: flex;
          flex-direction: row;
          align-items: center;
        }

        .file-item-content {
          display: flex;
          flex: 1 1 auto;
          align-items: center;
          order: 1;
          min-width: 0;
          margin-left: 20px;
          border-bottom: 1px solid #f7f7f7;
        }

        .file-item-info {
          flex: none;
          width: 50%;
          display: flex;
          flex-direction: row;
          align-items: center;
          padding: 10px 10px 10px 0;
          >.img-wrapper{
            display: inline-block;
            width:40px;
            height:30px;
            overflow: hidden;
          }
        }

        .file-item-img {
          flex: 0 0 32px;
          width: 32px;
          margin-right: 10px;
        }

        .file-item-icon, .ivu-icon-ios-folder {
          font-size: 32px;
          margin-right: 10px;
        }

        .ivu-icon-ios-folder {
          color: #1B9AEE;
          margin-right: 10px;
        }

        .ivu-tooltip {
          flex: 1;
        }

        .file-item-title {
          flex: 1;
          max-width: 400px;
          display: inline-block;
          vertical-align: top;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        .file-item-desc {
          flex: 1 1 auto;
          display: flex;
          flex-direction: row;
          align-items: center;
          color: #595959;
        }

        .desc-size, .desc-creator, .desc-updated {
          width: 100px;
          padding-right: 20px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        .desc-creator{
          width:150px;
        }
        .desc-updated{
          width:76px;
          text-overflow: clip;
        }

        .file-item-handler {
          display: flex;
          align-items: center;
          flex-direction: row;
          position: absolute;
          right: 20px;
          top: 0;
          height: 100%;
          padding-left: 8px;
          background-color: #f7f7f7;
          opacity: 0;
          transition: opacity 218ms;
          font-size: 20px;

          .ivu-icon {
            color: #8c8c8c;
            transition: color 218ms ease;
          }

          .ivu-icon:hover {
            color: #1b9aee;
          }

          .ivu-icon-ios-trash-outline {
            font-weight: bold;
          }

          .file-item-btns{
            min-width:36px;
            display: inline-block;
            text-align: center;
          }
        }
      }

      .file-item:hover {
        cursor: pointer;
        background-color: #f7f7f7;

        .file-item-handler {
          opacity: 1;
        }
      }

      .file-placeholder {
        margin: 0;
        padding: 112px 0;
        line-height: 30px;
        text-align: center;
        color: #8c8c8c;
        font-weight: 400;
        background-position: 50%;
        background-repeat: no-repeat;

        .upload-handler {
          position: relative;
          display: inline-block;
          overflow: hidden;
          width: 100px;
          color: #595959;
          font-size: 36px;
          font-weight: bold;
          cursor: pointer;

          /deep/ .webuploader-pick {
            display: flex;
            justify-content: center;
            height: 35px;
          }
        }

        .upload-handler:hover {
          color: #3da8f5;
        }
      }
    }
  }
}
