Skip to content
Snippets Groups Projects
document-viewer.component.scss 3.82 KiB
Newer Older
  • Learn to ignore specific revisions
  • @import "../../css/vars.scss";
    
      font-size: 180px;
      opacity: 0.4;
      margin-bottom: 30px;
    
    }
    
    .view-doc-container {
    
      width: 100%;
      height: 100%;
      align-items: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
    
    }
    
    .example-loading-shade {
    
      background: rgba(255, 255, 255, 0.7);
      display: flex;
      flex-direction: column;
    
    
      .percent {
        position: absolute;
        margin-top: -5px;
        color: $primary;
      }
    
      position: fixed;
      margin-top: 20px;
      z-index: 1;
      background: $primary;
      margin-left: 20px;
      border-radius: 10px;
      opacity: 0.5;
      transition: all 0.5s;
    
      .mat-icon-button {
        height: 50px;
        width: 50px;
    
        .mat-icon {
          color: white;
          font-size: 20px;
          transition: all 0.2s;
    
      opacity: 1;
      transition: all 0.5s;
    
      .mat-icon-button:hover {
        .mat-icon {
          font-size: 30px;
          transition: all 0.2s;
    
    }
    
    .no-doc-container {
    
      width: 100%;
      height: 100%;
      align-items: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      font-weight: initial;
    
      a {
        color: white;
        cursor: pointer;
        text-decoration: underline;
      }
    
      font-size: 30px;
      opacity: 0.2;
    
      .no-view-icon {
        font-size: 100px;
      }
    }
    
    .noFile {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
      font-size: 30px;
      opacity: 0.2;
    
      i {
        font-size: 100px;
      }
    
      position: absolute;
      top: 105px;
      padding: 10px;
      border-radius: 10px;
      background: #ffffff47;
    
      height: 200px;
      overflow: auto;
    
      display: flex;
      flex-direction: column;
      height: 100%;
      justify-content: center;
      opacity: 0.5;
    
      div {
        font-size: 20px;
        padding-top: 20px;
      }
    
      i {
        font-size: 150px;
      }
    
      from,
      20%,
      53%,
      80%,
      to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    
    
      40%,
      43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -30px, 0);
        transform: translate3d(0, -30px, 0);
      }
    
      70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -15px, 0);
      }
    
      90% {
        -webkit-transform: translate3d(0, -4px, 0);
        transform: translate3d(0, -4px, 0);
      }
    }
    
    @keyframes bounce {
      from,
      20%,
      53%,
      80%,
      to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
      }
    
      40%,
      43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -30px, 0);
        transform: translate3d(0, -30px, 0);
      }
    
      70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -15px, 0);
    
    
      90% {
        -webkit-transform: translate3d(0, -4px, 0);
        transform: translate3d(0, -4px, 0);
      }
    }
    
    .bounce {
      animation-duration: 2s;
      -webkit-animation-name: bounce;
      animation-name: bounce;
      -webkit-transform-origin: center bottom;
      transform-origin: center bottom;
      animation-iteration-count: infinite;
    }