UNPKG

tethysfaceid

Version:

737 lines (628 loc) 15.3 kB
#theme-transition-overlay { height: 100%; width: 100%; position: fixed; top: 0; left: 0; display: none; pointer-events: none; } #theme-transition-overlay-img { display: block; position: absolute; } .theme-transition-overlay__default__mobile > img, .theme-transition-overlay__well-rounded__mobile > img, .theme-transition-overlay__bitcoin-exchange__mobile > img, .theme-transition-overlay__ekyc__mobile > img, .theme-transition-overlay__sample-bank__mobile > img { height: 100% !important; width: 100% !important; top: 50%; left: 50%; } .theme-transition-overlay__well-rounded__desktop > img, .theme-transition-overlay__bitcoin-exchange__desktop > img, .theme-transition-overlay__ekyc__desktop > img, .theme-transition-overlay__sample-bank__desktop > img { height: inherit; } .theme-transition-overlay__default__desktop, .theme-transition-overlay__default__mobile { background-color: transparent; transform: translate(-50%, -50%); } .theme-transition-overlay__well-rounded__desktop, .theme-transition-overlay__well-rounded__mobile { background-color: rgb(3, 199, 178); } .theme-transition-overlay__bitcoin-exchange__desktop, .theme-transition-overlay__ekyc__desktop, .theme-transition-overlay__sample-bank__desktop, .theme-transition-overlay__bitcoin-exchange__mobile, .theme-transition-overlay__ekyc__mobile, .theme-transition-overlay__sample-bank__mobile { background-color: white; } .theme-transition-overlay__well-rounded__mobile > img { transform: translate(-50%, -25%) scale(-1, 1); } .theme-transition-overlay__bitcoin-exchange__mobile > img { transform: translate(-50%, -75%) scale(1, -1); } .theme-transition-overlay__ekyc__mobile > img { transform: translate(-50%, -55%) scale(1, -1); } .theme-transition-overlay__sample-bank__mobile > img { transform: translate(-50%, -55%) scale(-1, -1); } .theme-transition-overlay__well-rounded__desktop > img { transform: translate(-25%, 0) scale(1, -1); left: 0; } .theme-transition-overlay__bitcoin-exchange__desktop > img { transform: translate(-25%, 0) scale(1, 1); left: 0; } .theme-transition-overlay__ekyc__desktop > img { transform: translate(25%, 0) scale(-1, -1); right: 0; } .theme-transition-overlay__sample-bank__desktop > img { transform: translate(25%, 0) scale(-1, 1); right: 0; } #main-interface { width: 640px; height: 430px; margin: 0 auto; border: 2px solid rgb(65, 127, 178); border-radius: 5px; overflow: hidden; background-color: white; } // #controls { // height: 430px; // display: flex; // flex-direction: column; // justify-content: center; // z-index: 0; // background-color: white; // padding-top: 5px; // } #liveness-button { // margin-top: 25px; } #design-showcase-button { margin-bottom: 50px; } // .big-button { // width: 40%; // height: 40px; // margin: 10px auto 0; // color: white; // background: rgb(65, 127, 178); // border-radius: 8px; // font-size: 20px; // font-weight: 500; // transition: all 0.3s ease-out; // cursor: pointer; // outline: none; // } .medium-button { width: 40%; height: 30px; margin: 10px auto 0; color: white; background: rgb(65, 127, 178); border-radius: 8px; font-size: 16px; font-weight: 500; transition: all 0.3s ease-out; cursor: pointer; outline: none; } .big-button:disabled, .big-button[disabled], .medium-button:disabled, .medium-button[disabled] { cursor: not-allowed; background: rgba(65, 127, 178, 0.4) !important; color: white !important; } @media (hover: hover) { .big-button:hover:enabled, .medium-button:hover:enabled { // background-color: rgb(57, 110, 153); color: white !important; } } // #status { // position: sticky; // width: calc(100% - 40px); // margin: 0px; // left: 12px; // bottom: 15px; // color: rgb(64, 127, 178); // display: none; // font-size: 18px; // background-color: rgba(65, 127, 178, 0.15); // display: block; // border-radius: 5px; // padding: 8px; // } // .wrapping-box-container { // // position: fixed; // // margin: 0 auto; // width: calc(100% - 20px); // height: auto; // color: #fff; // padding: 10px; // z-index: 1; // } #custom-logo-container { margin: 20px auto; } #custom-logo-container img { max-height: 50px; width: auto; height: auto; text-align: center; position: relative; padding-right: 4px; } button:disabled { cursor: not-allowed; color: #ddd; border-color: #ddd; } button::-moz-focus-inner { border: 0; } a { text-decoration: none; color: inherit; } .blur-content > *:not(div) { filter: blur(15px) !important; -webkit-filter: blur(15px) !important; } /** Pseudo-Fullscreen Custom Activity Indicator Styles **/ .pseudo-fullscreen-activity-indicator-svg { animation: rotate 2s linear infinite; } .pseudo-fullscreen-activity-indicator-svg .path { stroke: rgb(43, 43, 43); stroke-width: 4; stroke-linecap: round; fill: none; animation: stretch-stroke 1.5s ease-in-out infinite; } @keyframes rotate { 100% { transform: rotate(360deg); } } @keyframes stretch-stroke { 0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; } 50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; } 100% { stroke-dasharray: 90, 150; stroke-dashoffset: -135; } } /** Pseudo-Fullscreen Custom Result Animation Styles */ .pseudo-fullscreen-success-svg, .pseudo-fullscreen-unsuccess-svg { border-radius: 50%; transform: translateZ(0); } .pseudo-fullscreen-success-svg .circlePath, .pseudo-fullscreen-unsuccess-svg .circlePath { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; fill: none; animation: reveal-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards, pseudo-fullscreen-circle-fill 0.3s ease-in-out 0.3s forwards; } .pseudo-fullscreen-success-svg .circlePath, .pseudo-fullscreen-unsuccess-svg .circlePath { stroke: rgb(43, 43, 43); } .pseudo-fullscreen-success-svg .checkmarkPath, .pseudo-fullscreen-unsuccess-svg .crossPath1, .pseudo-fullscreen-unsuccess-svg .crossPath2 { transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; fill: none; } .pseudo-fullscreen-success-svg .checkmarkPath { stroke: rgb(59, 195, 113); } .pseudo-fullscreen-unsuccess-svg .crossPath1, .pseudo-fullscreen-unsuccess-svg .crossPath2 { stroke: rgb(195, 72, 59); } .pseudo-fullscreen-success-svg .checkmarkPath { animation: reveal-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards; } .pseudo-fullscreen-unsuccess-svg .crossPath1 { animation: reveal-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards; } .pseudo-fullscreen-unsuccess-svg .crossPath2 { animation: reveal-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards; } @keyframes reveal-stroke { 100% { stroke-dashoffset: 0; } } @keyframes pseudo-fullscreen-circle-fill { 100% { stroke-width: 52; } } /** Well-Rounded Custom Activity Indicator Styles */ .well-rounded-activity-indicator-svg .circleTrackPath { stroke: rgb(230, 230, 230); stroke-width: 6; fill: none; } .well-rounded-activity-indicator-svg .circleFillPath { stroke: transparent; stroke-width: 1; fill: rgb(9, 181, 163); } /** Well-Rounded Custom Result Animation Styles */ .well-rounded-success-svg, .well-rounded-unsuccess-svg { border-radius: 50%; transform: translateZ(0); } .well-rounded-success-svg .circlePath, .well-rounded-unsuccess-svg .circlePath { stroke: rgb(230, 230, 230); stroke-width: 6; fill: none; } .well-rounded-success-svg .checkmarkPath, .well-rounded-unsuccess-svg .crossPath1, .well-rounded-unsuccess-svg .crossPath2 { transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; fill: none; } .well-rounded-success-svg .checkmarkPath { stroke: rgb(9, 181, 163); animation: reveal-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards; } .well-rounded-unsuccess-svg .crossPath1, .well-rounded-unsuccess-svg .crossPath2 { stroke: rgb(230, 230, 230); } .well-rounded-unsuccess-svg .crossPath1 { animation: reveal-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards; } .well-rounded-unsuccess-svg .crossPath2 { animation: reveal-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards; } /** eKYC Custom Activity Indicator Animation Styles */ .ekyc-activity-indicator-svg .circlePath1 { fill: #c77174; } .ekyc-activity-indicator-svg .circlePath2 { fill: #d4595d; } .ekyc-activity-indicator-svg .circlePath3 { fill: #e03c41; } .ekyc-activity-indicator-svg .circlePath4 { fill: #ed1c24; } /** eKYC Custom Result Animation Styles */ .ekyc-success-svg, .ekyc-unsuccess-svg { border-radius: 50%; transform: translateZ(0) scale(0, 0); transform-origin: 50% 50%; animation: ekyc-scale-to-default 0.5s cubic-bezier(0.65, 0, 0.45, 1) 0.3s forwards; } .ekyc-success-svg .checkmarkPath__back { animation: ekyc-scale-and-fade-out-success 0.5s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards; } .ekyc-unsuccess-svg .crossPath1__back, .ekyc-unsuccess-svg .crossPath2__back { animation: ekyc-scale-and-fade-out-unsuccess 0.5s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards; } .ekyc-success-svg .checkmarkPath__back, .ekyc-success-svg .checkmarkPath__front, .ekyc-unsuccess-svg .crossPath1__back, .ekyc-unsuccess-svg .crossPath2__back, .ekyc-unsuccess-svg .crossPath1__front, .ekyc-unsuccess-svg .crossPath2__front { transform-origin: 50% 50%; stroke: black; stroke-width: 8; stroke-linecap: square; fill: none; } @keyframes ekyc-scale-to-default { 100% { transform: translateZ(0) scale(1, 1); } } @keyframes ekyc-scale-and-fade-out-success { 100% { transform: scale(1.5, 1.5); opacity: 0; stroke: rgb(28, 237, 125); } } @keyframes ekyc-scale-and-fade-out-unsuccess { 100% { transform: scale(1.5, 1.5); opacity: 0; stroke: rgb(237, 28, 36); } } /** Session Result Viewer Styling */ #session-review-screen { display: none; align-items: center; flex-direction: column; width: 640px; height: 430px; margin: 0 auto; padding: 0px; background-color: white; } #session-result-scrollable-content { display: flex; position: relative; width: 640px; height: 395px; padding-top: 5px; align-items: center; flex-direction: column; overflow-y: scroll; overflow-x: hidden; -ms-overflow-style: none; scrollbar-width: none; background-color: white; } #session-result-scrollable-content::-webkit-scrollbar { display: none; } #session-result-scrollable-content > div, #full-id-status-container, #digital-spoof-status-container, #id-scan-container, #audit-trail-container { background-color: white; border: 1px solid rgba(65, 127, 178, 0.3); border-radius: 3px; padding: 6px; } #session-result-scrollable-content > div { width: calc(100% - 25px); margin: 5px; margin-bottom: 2.5px; margin-top: 2.5px; display: flex; justify-content: space-between; } #session-result-scrollable-content * { color: rgb(65, 127, 178); font-size: 12px; text-align: start; } #session-result-scrollable-content p { margin-top: 0px; margin-bottom: 0px; } #session-result-scrollable-content > div > button:disabled, #session-review-screen > div > button[disabled] { cursor: not-allowed; background: rgba(65, 127, 178, 0.4) !important; color: white !important; } @media (hover: hover) { #session-result-scrollable-content > div > button:hover:enabled, #session-result-scrollable-content > button:hover:enabled { background-color: rgb(57, 110, 153); color: white !important; } } #header-container { position: relative; height: auto; margin: 0; padding: 5px; background-color: white; font-size: 16px; text-align: start; z-index: 1; } #header-container h1 { margin: 5px; text-align: center; color: rgb(65, 127, 178); } #full-id-status-container, #digital-spoof-status-container { display: block; width: calc(50% - 22px); } #full-id-status-container { margin-right: 5px; } #digital-spoof-status-container { margin-left: 5px; margin-right: 5px; } #match-level-container, #digital-spoof-status-container, #id-scan-container, #debug-enrollment-id-line { display: none; } #idscan-size-line { margin-top: 5px !important; } #id-scan-decisions-horizontal-wrapper, #session-images-horizontal-wrapper { display: flex; width: 100% !important; padding: 0 !important; background-color: unset !important; border: none !important; } #id-scan-container img, #audit-trail-images-container img { height: auto; max-height: 120px; margin-top: 5px; } #id-scan-container { margin-right: 5px; } #audit-trail-container { display: block !important; flex: 1 0; margin-right: 5px; margin-left: 5px; } #debug-container { display: block !important; bottom: 0; margin-top: 0 !important; background-color: unset !important; border: none !important; } #debug-container p { margin-bottom: 5px !important; } #session-review-screen-cancel-button { position: absolute; left: 12.5px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; padding: 5px; background-color: transparent; background-size: cover; cursor: pointer; outline: none; } #controls-container, #back-to-main-menu-container { height: 40px; width: calc(100% - 10px) !important; margin: 0 !important; background-color: unset !important; border: none !important; align-items: center; padding: 0 !important; } #controls-container { padding-top: 10px !important; } #controls-container button, #back-to-main-menu-container button { flex: 1 0; -webkit-box-flex: 1; } #controls-container button, #back-to-main-menu-button { text-align: center; height: 30px; width: calc(100% - 20px); margin: 5px; margin-top: 0px; padding-left: 10px; padding-right: 10px; background: rgb(65, 127, 178); border-radius: 8px; font-size: 14px; font-weight: 500; color: white; transition: all 0.3s ease-out; cursor: pointer; outline: none; } .flex-row { display: flex; } .info-button { width: 15px; height: 15px; padding: 0; // background-image: url(resources/images/FaceTec_Info.png); background-size: cover; background-color: transparent; opacity: 1; cursor: pointer; outline: none; } @media (hover: hover) { .info-button:hover:enabled { opacity: 0.7; color: white !important; } } .info-button:disabled, .info-button[disabled] { cursor: not-allowed; } .left-align-half { width: calc(100% - 15px); text-align: start; } .right-align-half { display: flex; position: relative; justify-content: flex-end; text-align: end; align-items: center; } .loading-session-token-container { position: absolute; top: 185px; width: 100%; display: none; z-index: 1; } @media screen and (max-width: 800px) { .loading-session-token-container { top: 52%; transform: translateY(-50%); } } #loading-session-token-text { position: relative; left: 50%; transform: translateX(-50%); color: rgb(64, 127, 178); } #zoom-wrapper-container{ margin-top:50x !important; height: 90vh !important; }