@import "mixins/utils";
@import "common/var";
.aos-files{
  .aos-files-first-name{
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
  }
  .aos-file-approval-all{
    margin-left: 8px;
  }
  .aos-files-fileItem{
    padding-left: 16px;
    .aos-file-required{
      margin-right: 8px;
      color: #F56C6C;
    }
    .aos-file-count{
      margin-left: 8px;
      font-size: 12px;
      color: #909399;
      font-weight: 400;
      font-size: 12px;
    }
    .aos-file-example{
      cursor: pointer;
      margin-left: 8px;
      color: $--color-primary;
    }
    .aos-files-container{
      display: flex;
      flex-wrap: wrap;
      .aos-files-img{
        position: relative;
        display: inline-block;
        width: 180px;
        height: 180px;
        margin-right: 32px;
        margin-bottom: 16px;
        // padding: 1px;
        // border: 1px solid #eee;
        text-align: center;
        line-height: 180px;
        vertical-align: middle;
        box-sizing: border-box;
        .aos-files-img-box{
          display: inline-block;
          line-height: inherit;
          height: 180px;
          img{
            width: 100%;
            max-height: 100%; 
          }
        }
        .aos-files-img-delete{
          position: absolute;
          width: 100%;
          height: 25px;
          left: 0px;
          right: 0px;
          bottom: 0px;
          background: #eee;
          // opacity: 0.5;
          
          text-align: center;
          line-height: 25px;
          .aos-files-img-disAgree{
            cursor: pointer;
            float: left;
            margin-left: 8px;
            color: #F56C6C;
          }
          .aos-files-img-agree{
            cursor: pointer;
            float: right;
            margin-right: 8px;
            color: $--color-primary;
          }
        }
        .el-icon-delete:hover{
          color: $--color-primary;
          cursor: pointer;
        }
        .aos-files-img-state{
          position: absolute;
          width: 100%;
          height: 25px;
          left: 0px;
          right: 0px;
          top: 0px;
          background: #909399;
          // opacity: 0.5;
          cursor: pointer;
          text-align: center;
          line-height: 25px;
          .aos-files-img-tooltip{
            margin-left: 8px;
          }
        }
        .aos-files-img-remark{
          position: absolute;
          width: 100%;
          height: 25px;
          left: 0px;
          right: 0px;
          bottom: 25px;
          background: #eee;
          text-align: center;
          line-height: 25px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis; 
        }
        .is-disAgree{
          background-color: #F56C6C;
        }
        .is-agree{
          background-color: $--color-success;
        }
      }
    }
    .aos-files-upload{
      display: inline-block;
      .aos-files-upload-button{
        display: inline-block;
        color: $--color-primary;
        margin-top: 8px;
      }
      .el-upload-dragger{
        width: 180px;
        display: inline-block;
      }
    }
  }
  .aos-img-viewer{
    position: relative;
    // width: 100%;
    // height: 600px;
    // .viewer-fixed{
    //   position: absolute;
    // }
  }
  .aos-img-viewer-container{
    width:600px;
    height: 600px;
    // position: absolute;
    // top: 100px;
    // bottom: 0px;
    // left: 0px;
    // right: 0px;
  }
}
.clearfix {
  @include utils-clearfix;
}
.aos-img-viewer-container{
  width:600px;
  height: 600px;
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 400px;
  right: 0px;
}