vue-recheck-authorizer
Version:
A set of Vue.js components for authentication and data interaction with ReCheck Platform.
1 lines • 5.49 kB
CSS
*{box-sizing:border-box}h3,h4,p{margin-top:0;margin-bottom:0}.card{font-family:inherit;font-size:inherit;display:block;background-color:#fefefe;border:1px solid #ccc;margin:24px auto;width:100%;max-width:640px;border-radius:4px}.card-header{display:flex;align-items:center;justify-content:center;border-bottom:1px solid #ccc;padding:14px 20px}.card-body{padding:22px;text-align:center}.card-footer{display:flex;justify-content:center}.card-footer:not(:empty){padding:0 20px 14px 20px}.card-footer>.btn+.btn{justify-content:space-between}.card-footer .btn{outline:0;border:0;width:50%;font-size:14px;color:#141414;padding-top:12px;padding-bottom:12px;display:inline-block;background-color:#f3f3f3;transition:all 125ms ease-in;border-radius:4px}.card-footer .btn.link{text-decoration:none;text-align:center}.card-footer .btn.danger{background-color:red;color:#fff}.card-footer .btn.danger:hover{background-color:#d10000;color:#fff}.card-footer .btn.block{width:100%}.card-footer .btn-primary{background-color:#025388;color:#fff}.card-footer .btn-primary:hover{background-color:#01375b}.card-footer .btn:not(:last-child){margin-right:8px}.card-footer .btn:hover{color:#fff;background-color:#025388}.modal{font-family:inherit;font-size:inherit;display:block;position:fixed;padding-top:100px;z-index:1;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgba(0,0,0,.4)}.modal-content{position:relative;background-color:#fefefe;border:1px solid #888;margin:auto;padding:0;width:85%;max-width:520px;box-shadow:0 4px 8px 0 rgba(0,0,0,.06);animation-name:animatetop;animation-duration:.4s;border-radius:4px}.modal-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ccc;padding:14px 20px}.modal-header h3 span{font-size:17px}.modal-body{padding:22px;text-align:center}.modal-body p.terms{margin-top:12px;font-size:14px;color:#a29696}.modal-body .form-group{width:100%;display:flex;flex-direction:column}.modal-body .form-group .savePin{align-self:start}.modal-body .form-group input[type=password],.modal-body .form-group input[type=text]{width:100%;display:block;font-size:14px;margin-top:4px;outline:0;padding:10px;line-height:1;border-radius:4px;border:1px solid rgba(0,0,0,.1)}.modal-body .form-group input[type=password]:focus,.modal-body .form-group input[type=password]:valid,.modal-body .form-group input[type=text]:focus,.modal-body .form-group input[type=text]:valid{transition:all 250ms ease-in-out;border-color:#025388}.modal-body .form-group .checkboxLabel{display:flex;flex-direction:row-reverse}.modal-body .form-group label{color:#888;font-size:15px;padding-bottom:8px;text-align:left}.modal-body .form-group .error-block{font-size:15px;padding-top:10px;color:red}.modal-footer{display:flex;justify-content:center}.modal-footer:not(:empty){padding:14px 20px}.modal-footer>.btn+.btn{justify-content:space-between}.modal-footer .btn{outline:0;border:0;width:50%;font-size:14px;color:#141414;padding-top:12px;padding-bottom:12px;display:inline-block;background-color:#f3f3f3;transition:all 125ms ease-in;border-radius:4px}.modal-footer .btn:not(:last-child){margin-right:8px}.modal-footer .btn:hover{color:#fff;background-color:#025388}.modal-footer .btn.link{text-decoration:none;text-align:center}.modal-footer .btn.block{width:100%}.modal-footer .btn.primary{color:#fff;background-color:#025388}.modal-footer .btn.primary:hover{color:#fff;background-color:#024d80}@media screen and (max-width:456px){.modal-header{padding:10px 20px}.modal-footer .modal-btn{padding-top:10px;padding-bottom:10px}}.alert{display:flex;align-items:center;justify-content:space-between;position:fixed;bottom:64px;left:calc(50% - 140px);margin:0 auto;z-index:9999;width:280px;padding:12px 16px;color:#fff;border-radius:3px;transition:.2s;transform:translateY(16px);transform-origin:bottom left;opacity:0;visibility:hidden;pointer-events:none}.alert.is-visible{opacity:1;visibility:visible;pointer-events:all;transform:translateY(0)}.alert p{font-size:14px;font-weight:400}.loader{color:#fff;position:fixed;top:0;left:0;width:100%;height:100%;overflow:hidden;z-index:999999;background-color:rgba(0,0,0,.65)}.loader::after{content:"";position:fixed;width:64px;height:64px;border:7px solid #89ca02;border-left-color:transparent;border-radius:50%;top:calc(50% - 24px);left:calc(50% - 24px);animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes pulse{0%{transform:scale(.95);box-shadow:0 0 0 0 rgba(255,0,0,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px rgba(255,0,0,0)}100%{transform:scale(.95);box-shadow:0 0 0 0 rgba(255,0,0,0)}}.camera{width:100%;max-width:560px;margin:0 auto}.identity{text-align:center}.current-identity .card.do-backup:nth-of-type(2) .card-footer{position:relative}.current-identity .card.do-backup:nth-of-type(2) .card-footer:after{content:"";width:38px;height:38px;border-radius:32px;transform:scale(1);animation:pulse 2s infinite;box-shadow:0 0 0 0 red;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24' stroke='red'%3E%3Cpath d='M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z'%3E%3C/path%3E%3C/svg%3E");position:absolute;left:24%;top:-10px}.publicAddress{cursor:pointer;font-weight:500;word-break:break-word}.publicAddress svg{margin-right:8px;vertical-align:top}.btn,button{cursor:pointer}p.gray-text{color:#444;margin-bottom:12px}