Skip to content
Snippets Groups Projects
signature-position.component.scss 2.73 KiB
Newer Older
  • Learn to ignore specific revisions
  • .containerMobile {
        flex-direction: column;
    
        .signPosForm {
            flex: none !important;
            height: auto;
        }
    
        .signatureContainer {
            flex: 1;
        }
    }
    
    .signPosForm {
        flex: 1;
    }
    
    
    .signatureContainer {
        position: relative;
        overflow: auto;
        width: 1050px;
        display: flex;
        justify-content: center;
    }
    
    .posSignButton {
        position: sticky;
        top: 0px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .signature {
        z-index: 2;
        position: absolute;
        border: dashed 1px var(--ion-color-danger);
        background: rgba(var(--ion-color-danger-rgb), 0.6) none repeat scroll 0% 0%;
        font-weight: bold;
        font-size: 20px;
        color: white;
        height: 110px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .signDisabled {
        z-index: 1;
        opacity: 0.2;
        cursor: pointer;
    }
    
    .signUserName {
        position: absolute;
    
        font-weight: normal;
    
        color: white;
        font-style: italic;
    
    .chip-item-content {
        z-index: 9999;
        position: absolute;
        margin: 0px;
        bottom: 0px;
    }
    
    .chip-item {
        font-size: 7px;
        width: 15px;
        height: 15px;
        padding: 0px;
        margin: 0px;
        margin-left: 5px;
        margin-right: 5px;
        color: white;
        border-color: white;
        justify-content: center;
    }
    
    img {
        pointer-events: none;
    
    }
    
    .paginate-left {
        position: absolute;
        top: 40%;
        left: 20px;
        transform: translateY(-50%);
        --background: #c6c6c680;
        --color: #666;
    }
    
    .paginate-right {
        position: absolute;
        top: 40%;
        right: 20px;
        transform: translateY(-50%);
        --background: #c6c6c680;
        --color: #666;
    }
    
    .page {
        &-info {
          position: absolute;
          bottom: 70px;
          height: 30px;
          width: auto;
          max-width: 70%;
          color: rgba(var(--ion-color-dark-rgb), 0.8);
          font-size: 12px;
          font-weight: 300;
          line-height: 30px;
          display: flex;
          align-items: center;
          justify-content: center;
          opacity: 0.5;
          left: 50%;
          transform: translateX(-50%);
          font-weight: 500;
          transition: all 0.3s ease-in-out;
          z-index: 9999;
      
          &-doc {
            max-width: 80%;
            background-color: #F1F4F4;
            border-radius: 14px;
            padding: 0 20px;
            z-index: 1;
            white-space: pre;
            overflow: hidden;
            text-overflow: ellipsis;
          }
      
          &-page {
            cursor: pointer;
            text-align: center;
            border-radius: 0 14px 14px 0;
            padding: 0 20px;
            background: #fff;
            border: 1px solid #ECF0F1;
            margin-left: -15px;
            height: 28px;
            white-space: pre;
            display: flex;
            align-items: center;
          }
        }
        &-info:hover {
          opacity: 1;
        }
      }