UNPKG

@regulaforensics/document-reader

Version:

This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.

148 lines (131 loc) 2.72 kB
html, body { margin: 0; width: 100%; height: 99vh; display: flex; overflow: hidden; flex-direction: column; } /* Prevent text selection */ * { user-select: none !important; -webkit-user-select: none !important; -webkit-user-drag: none !important; -webkit-touch-callout: none !important; } .column { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; } .row { display: flex; flex-direction: row; align-items: center; justify-content: center; } .header { text-align: center; padding-top: 80px; margin-top: -10px; background-color: rgba(0, 0, 0, 0.03); font-weight: 600; font-size: 18px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .sub-header { background-color: rgba(0, 0, 0, 0.03); width: 100%; padding-top: 13px; text-align: center; font-weight: 550; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .divider { height: 1px; background-color: rgba(0, 0, 0, 0.075); margin-top: 13px; } .scroll { flex-grow: 1; overflow-y: auto; } .no-scroll { flex-grow: 1; overflow-y: hidden; } .button { width: 175px; height: 40px; margin: 5px; margin-top: 10px; background-color: #4285F4; color: white; border: none; padding: 10px 20px; justify-content: center; font-size: 16px; border-radius: 100px; cursor: pointer; transition: all 0.3s ease; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; } .button:active { position: relative; top: 1px; } .text-button { background: none; border: none; color: #2196f3; font-size: 20px; font-weight: bold; padding: 5px; } .text-button:active { position: relative; top: 1px; } .radio { align-items: baseline; padding: 15px; } input[type="checkbox"] { width: 20px; height: 20px; border: 2px solid black; background-color: white; display: inline-block; position: relative; cursor: pointer; } input[type="text"] { width: 173px; height: 40px; font-size: 15px; margin: 5px; border-radius: 100px; padding-left: 10px; padding-right: 10px; margin-top: 10px; } .progress-bar { width: 75%; padding: 3px; margin-top: 40px; background-color: #eee; border-radius: 8px; box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); } #progress { width: 0%; height: 20px; background-color: #4285F4; border-radius: 5px; }