.zt-preview-file {
  position: relative;
  z-index: 1000;
  overflow: hidden;
  .zt-preview-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    .loading-text {
      color: #fff;
      margin-top: 10px;
      margin-left: 10px;
    }
  }

  &.zt-preview-file-fullscreen {
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
  }
  .zt-preview-file-header {
    padding: 0 5.333vw;
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: 3.2vw;
    line-height: 5.333vw;
    width: 100%;
    transition: all 0.6s;
    box-sizing: border-box;
    position: absolute;
    opacity: 0;
    top: -100px;
    &.zt-preview-file-header-show {
      opacity: 1;
      top: 0;
    }
    &.zt-preview-file-header-show.zt-preview-file-header-fullscreen {
      top: 48px;
    }
  }
  .zt-preview-file-iframe {
    width: 100%;
    height: 100%;
  }
}