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.

130 lines (115 loc) 2.27 kB
html, body { width: 99%; height: 99vh; display: flex; flex-direction: column; } .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); } .title { font-weight: 600; font-size: 18px; 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; 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; } input[type="checkbox"] { appearance: none; -webkit-appearance: none; -moz-appearance: none; 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; transition: width 0.5s ease-in-out; }