@import "mixins/utils";
@import "common/var";
.aos-files{
  display: flex;
  justify-content: flex-start;
  background-color: #eeeeee;
  &__left {
    display: flex;
    flex-direction: column;
    width: 262px;
    background-color: #ffffff;
    padding: 20px 12px;
  }
  &__tree-search{
    width: 262px;
    background-color: #ffffff;
    box-sizing: border-box;
  }
  &__tree  {
    width: 262px;
    background-color: #ffffff;
    padding-top: 20px;
    box-sizing: border-box;
    flex-grow: 1;
    .el-tree-node {
      width: 262px;
    }
  }
  &__container {
    flex-grow: 1;
    margin-left: 12px;
    background-color: #ffffff;
  }
  &__operation {
    display: flex;
    height: 48px;
    background: #EAF0FE;
    display: flex;
    align-items: center;
    padding-left: 20px;
    .el-checkbox__label {
      font-size: 12px;
    }
    &-button {
      margin-left: 30px;
      font-size: 12px;
      color: #222222;
    }
    &-button:hover {
      color: #409EFF;
    }
    i {
      margin-right: 4px;
    }
  }
  &__main{
    padding: 20px;
    padding-top: 16px;
    background-color: #ffffff;
  }
  &__hint {
    font-size: 12px;
    padding-bottom: 20px;
    > i {
      margin-right: 4px;
    }
  }
  &__file {
    width: 100%;
    &-item{
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      &-container{
        margin-right: 28px;
        margin-bottom: 20px;
      }
      &-button {
        color: #409EFF;
      }
      &-group {
        display: flex;
        flex-wrap: wrap;
      }
      &-body {
        position: relative;
        width: 140px;
        height: 104px;
        .el-upload {
          width: 100%;
          height: 100%;
          .el-upload-dragger {
            width: 100%;
            height: 100%;
            .el-icon-upload{
              font-size: 40px;
              line-height: 1.5;
              margin: 0;
            }
            .el-upload__text {
              font-size: 12px;
            }
          }
        }
      }
      
      &-detail {
        width: 140px;
        height: 104px;
        border: 1px solid #ECECEC;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow-y: hidden;
        >img {
          width: 100%;
        }
      }
      &-detail--checked {
        border: 1px solid #FF3B30;
      }
      &-name {
        width: 140px;
        margin-top: 10px;
        font-size: 12px;
        color: #666666;
        word-break: break-all;
        height: 64px;
      }
      &-check {
        position: absolute;
        top: -1px;
        left: 0;
      }
      &-operation {
        display: none;
        justify-content: space-between;
        align-items: center;
        color: #ffffff;
        position: absolute;
        left: 0;
        right: 0;
        height: 26px;
        bottom: 0px;
        background-color: #020202;
        opacity: 0.38;
        padding: 0 26px;
        color: #ffffff;
        font-size: 13px;
        &-delete {
          color: #ffffff;
          cursor: pointer;
        }
        &-download {
          color: #409EFF;
          cursor: pointer;
        }
      }
      &-body:hover {
        .aos-files__file-item-operation {
          display: flex;
        }
      }
    }
  }
  &__required:before {
    content: '*';
    color: #F56C6C;
    margin-right: 4px;
  }
  .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;
  }
  &__video{
    display: flex;
    justify-content: center;
    align-items: center
  }
}
.clearfix {
  @include utils-clearfix;
}
.aos-img-viewer-container{
  width:600px;
  height: 600px;
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 400px;
  right: 0px;
}