printpdf.less 1.77 KB
.view {
  position: fixed;
  top: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  height: 100vh;
  width:calc(100vw - 0px);
  overflow: auto;
  z-index: 3000;
  background-color: #fff;
}
.pageContainer {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0px 0px;
  width:max-content;
  max-width:100%;
}
.pageTool{
  width: 70%;
  position: absolute;
  bottom: 20px;
  background: rgb(66, 66, 66);
  color: white;
  padding: 3px 5px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  i{
    padding: 5px;
    margin:0 5px;
    &:hover{
      background: #333;
    }
  }
  input{
    display: inline-block;
    width: 25px;
    text-align: center;
    margin-right: 0px;
    height: 15px;
    font-size: 1rem!important;
  }
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
  }
  input[type="number"]{
    -moz-appearance: textfield;
  }
  .numPages{
    text-align: center;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 30%;
    font-size: 1rem;
  }
  .left{
    display: flex;
    text-align: center;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 25%;
  }
  .right{
    display: flex;
    text-align: center;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 25%;
  }
}

:global{
  .pdfClose{
    position: absolute;
    right: 2%;
    top:3%;
    z-index: 3001;
  }

  .demo-preview-item{
    .am-list-item.am-input-item{
      height: 36px!important;
      min-height: 36px!important;
      padding-left: 0px;
      .am-list-line{
        padding-left: 15px;
        padding-right: 15px;
      }
    }
    .am-list-item{
      padding-right: 8px;
    }
    .am-list-item .am-list-line{
      padding-right: 2px;
    }
  }
}