Skip to content
Snippets Groups Projects
document-viewer.component.scss 3.88 KiB
Newer Older
  • Learn to ignore specific revisions
  • @import '../../css/vars.scss';
    
    
    .upload-icon {
        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;
    
    }
    
    .viewer-tools {
        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 {
    
                font-size: 20px;
                transition: all 0.2s;
            }
        }
    }
    
    .viewer-tools:hover {
        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;
        }
    }
    
    .no-view {
        font-size: 30px;
        opacity: 0.2;
    
        .no-view-icon {
            font-size: 100px;
        }
    }
    
    .loaded-file {
        position: absolute;
        top: 105px;
        padding: 10px;
        border-radius: 10px;
        background: #ffffff47;
    }
    
    
    .extensionsList {
        height: 200px;
        overflow: auto;
    
    }
    
    .editInProgress {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: center;
        opacity: 0.5;
    
        div {
            font-size: 20px;
            padding-top: 20px;
        }
    
        i {
            font-size: 150px;
        }
    }
    
    @-webkit-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);
        }
      }
      
      @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;
      }