542 lines
11 KiB
CSS
542 lines
11 KiB
CSS
body {
|
|
max-width: 100%;
|
|
background-color: #222831
|
|
}
|
|
|
|
#btnName {
|
|
font-size: 14px;
|
|
border-radius: 13px;
|
|
background-color: #37ad4f;
|
|
border-color: #339380;
|
|
margin: 7px;
|
|
color: #fff;
|
|
display: inline-block;
|
|
padding: 6px 12px;
|
|
margin-bottom: 0;
|
|
line-height: 1.42857143;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
-ms-touch-action: manipulation;
|
|
touch-action: manipulation;
|
|
cursor: pointer;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.btnAction {
|
|
font-size: 14px;
|
|
border-radius: 13px;
|
|
margin: 7px;
|
|
color: #fff;
|
|
display: inline-block;
|
|
padding: 6px 12px;
|
|
margin-bottom: 0;
|
|
line-height: 1.42857143;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
-ms-touch-action: manipulation;
|
|
touch-action: manipulation;
|
|
cursor: pointer;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
canvas {
|
|
position: absolute;
|
|
/*// top: 0px;*/
|
|
right: 0px;
|
|
display: inline-block;
|
|
direction: ltr;
|
|
width: 360px;
|
|
height: 360px;
|
|
/* // width: 1800px;
|
|
// height: 1800px;*/
|
|
}
|
|
|
|
.hiddenCanvas {
|
|
position: unset;
|
|
}
|
|
|
|
#video {
|
|
/*// border: 7px solid #797979;*/
|
|
border-radius: 100%;
|
|
display: inline-block;
|
|
/* // width: 1800px;
|
|
// height: 1800px;*/
|
|
width: 360px;
|
|
height: 360px;
|
|
}
|
|
|
|
.cameraSection {
|
|
display: block;
|
|
position: relative;
|
|
width: 360px;
|
|
height: 360px;
|
|
}
|
|
|
|
.faceImageCamera {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
width: 360px;
|
|
transform: scale(1.006);
|
|
border-radius: 100%;
|
|
}
|
|
|
|
.btn-start {
|
|
font-size: 14px;
|
|
width: 100% !important;
|
|
display: block;
|
|
}
|
|
|
|
.btn-reEnterCode {
|
|
font-size: 14px;
|
|
width: 100% !important;
|
|
display: block;
|
|
background-color: rgb(232, 124, 45);
|
|
color: #FFFFFF !important;
|
|
border-radius: 7px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
padding: 10px 5px;
|
|
}
|
|
|
|
.btn-incom {
|
|
font-size: 14px;
|
|
width: 100% !important;
|
|
display: block;
|
|
}
|
|
|
|
.btn-exit {
|
|
font-size: 14px;
|
|
width: 100% !important;
|
|
display: block;
|
|
}
|
|
|
|
#btnOutOrIn {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
#reAnalyz {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: center;
|
|
/* // position: fixed;
|
|
// top: 600px;
|
|
// margin-right: 7px;*/
|
|
}
|
|
|
|
@media only screen and (max-width : 992px) {
|
|
/* // #reAnalyz {
|
|
// top: 600px;
|
|
// margin-right: 3px;
|
|
//
|
|
}
|
|
|
|
// #waiting {
|
|
// color: #ffffff;
|
|
// position: absolute;
|
|
// top: 600px;
|
|
//
|
|
}
|
|
|
|
// #recognizing {
|
|
// color: #ffffff;
|
|
// position: absolute;
|
|
// top: 230px;
|
|
//
|
|
}*/
|
|
|
|
canvas {
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0px;
|
|
display: inline-block;
|
|
direction: ltr;
|
|
width: 360px;
|
|
height: 360px;
|
|
}
|
|
}
|
|
|
|
.div-logout {
|
|
position: fixed;
|
|
left: 10px;
|
|
top: 50px;
|
|
}
|
|
|
|
|
|
/* ----------------------------------------------------------------------------------------- keyboard number */
|
|
.keypad-section {
|
|
position: fixed;
|
|
top: 0;
|
|
/*height: 100%;*/
|
|
width: 100%;
|
|
background-color: #222831;
|
|
left: 0;
|
|
max-width: 100%;
|
|
z-index: 10;
|
|
|
|
height: 50vh;
|
|
}
|
|
|
|
.keypad-section .errorMessage {
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.keypad {
|
|
background-color: #ccc;
|
|
/*margin: 5em auto;*/
|
|
/* -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 3px rgba(255, 255, 255, 0.25), 0 3px 9px rgba(0, 0, 0, 0.5);
|
|
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 3px rgba(255, 255, 255, 0.25), 0 3px 9px rgba(0, 0, 0, 0.5);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 3px rgba(255, 255, 255, 0.25), 0 3px 9px rgba(0, 0, 0, 0.5);*/
|
|
}
|
|
|
|
.keypad.dark {
|
|
background-color: #222831;
|
|
/*border-top: 1px solid #0f172a;*/
|
|
}
|
|
|
|
.keypad {
|
|
/*overflow: hidden;*/
|
|
position: relative;
|
|
width: 100%;
|
|
margin: 0 0 18px 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between; /* Space out the keypad elements */
|
|
height: 100%;
|
|
}
|
|
|
|
.keypadContainer {
|
|
position: fixed;
|
|
left: 0;
|
|
width: 100%;
|
|
bottom: 0;
|
|
height: 60%; /* Fill the entire height of the keypad-section */
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
/*.keypad:focus {
|
|
outline: 0;
|
|
-webkit-box-shadow: inset 0 0 0 1px rgba(51, 153, 255, 1), 0 1px 1px rgba(255, 255, 255, 0.5), 0 0 5px rgba(51, 153, 255, 0.75);
|
|
-moz-box-shadow: inset 0 0 0 1px rgba(51, 153, 255, 1), 0 1px 1px rgba(255, 255, 255, 0.5), 0 0 5px rgba(51, 153, 255, 0.75);
|
|
box-shadow: inset 0 0 0 1px rgba(51, 153, 255, 1), 0 1px 1px rgba(255, 255, 255, 0.5), 0 0 5px rgba(51, 153, 255, 0.75);
|
|
}*/
|
|
|
|
.keypad .keypad-input-field {
|
|
height: 55px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
transition: all 0.25s;
|
|
transition-delay: 0.1s;
|
|
width: 90%;
|
|
}
|
|
|
|
.keypad .keypad-input-field:after {
|
|
/*background-color: rgba(0, 0, 0, 0.2);*/
|
|
bottom: 0px;
|
|
content: '';
|
|
height: 1px;
|
|
left: 0px;
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
|
|
/*.keypad.dark .keypad-input-field:after {
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
}*/
|
|
|
|
.keypad .entered-numbers-wrapper {
|
|
height: 45px;
|
|
left: 0px;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
top: 5px;
|
|
width: 100%;
|
|
background-color: #171717;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.keypad .entered-numbers {
|
|
height: 45px;
|
|
left: 50%;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
text-align: center;
|
|
transform: translateX(-50%);
|
|
white-space: nowrap;
|
|
direction: ltr;
|
|
width: 100%;
|
|
}
|
|
|
|
.keypad .num {
|
|
color: black;
|
|
animation: fade-in-num 0.1s linear;
|
|
backface-visibility: hidden;
|
|
display: inline-block;
|
|
font-weight: 300;
|
|
height: 45px;
|
|
line-height: 45px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
text-align: center;
|
|
transition: all 0.25s;
|
|
width: 12px;
|
|
-webkit-user-select: none; /* Safari */
|
|
-ms-user-select: none; /* IE 10 and IE 11 */
|
|
user-select: none; /* Standard syntax */
|
|
}
|
|
|
|
.keypad.dark .num {
|
|
color: white;
|
|
width: 100%;
|
|
direction: ltr;
|
|
}
|
|
|
|
.keypad .num.hidden {
|
|
/*font-size: 0;*/
|
|
}
|
|
|
|
.keypad .num.hidden:after {
|
|
opacity: 1;
|
|
transform: translateX(-50%) translateY(-50%) scale(1);
|
|
}
|
|
|
|
.keypad .num.erased:after {
|
|
opacity: 1;
|
|
transform: translateX(-50%) translateY(-50%) scale(0.25);
|
|
}
|
|
|
|
.keypad .num:after {
|
|
background-color: black;
|
|
border-radius: 8px;
|
|
/*content: '';*/
|
|
height: 8px;
|
|
left: 50%;
|
|
opacity: 0;
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateX(-50%) translateY(-50%) scale(0.25);
|
|
transition: all 0.25s;
|
|
width: 8px;
|
|
}
|
|
|
|
.keypad.dark .num:after {
|
|
background-color: white;
|
|
}
|
|
|
|
.keypad .backspace {
|
|
cursor: pointer;
|
|
height: 55px;
|
|
line-height: 40px;
|
|
position: absolute;
|
|
right: 0px;
|
|
top: 0px;
|
|
width: 30px;
|
|
}
|
|
|
|
.keypad .backspace .backspace-icon {
|
|
background-color: black;
|
|
color: white;
|
|
border-bottom-right-radius: 2px;
|
|
border-top-right-radius: 2px;
|
|
display: inline-block;
|
|
height: 14px;
|
|
position: absolute;
|
|
right: 5px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
user-select: none;
|
|
width: 14px;
|
|
}
|
|
|
|
.keypad.dark .backspace .backspace-icon {
|
|
background-color: white;
|
|
color: black;
|
|
}
|
|
|
|
.keypad .backspace .backspace-icon:after {
|
|
border: 0px solid transparent;
|
|
border-bottom-width: 7px;
|
|
border-right: 6px solid black;
|
|
border-top-width: 7px;
|
|
content: '';
|
|
height: 0px;
|
|
left: -6px;
|
|
position: absolute;
|
|
width: 0px;
|
|
}
|
|
|
|
.keypad.dark .backspace .backspace-icon:after {
|
|
border-right: 6px solid white;
|
|
}
|
|
|
|
.keypad .backspace .backspace-icon i {
|
|
font-size: 0.75em;
|
|
height: 14px;
|
|
line-height: 14px;
|
|
position: absolute;
|
|
right: 0px;
|
|
text-align: center;
|
|
top: 0px;
|
|
width: 14px;
|
|
}
|
|
|
|
.keypad .keypad-numbers {
|
|
/*display: flex;
|
|
flex-wrap: wrap;*/
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
margin: 0 auto;
|
|
margin-top: 10px;
|
|
position: relative;
|
|
width: 90%;
|
|
height: 100%;
|
|
direction: ltr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.keypad .item-wrapper {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
transition: all 0.25s;
|
|
position: relative;
|
|
vertical-align: top;
|
|
transition: all 0.25s;
|
|
width: 100%;
|
|
border: 1px solid #3f454c;
|
|
border-radius: 10px;
|
|
background: #2b333f;
|
|
}
|
|
|
|
.keypad .item-wrapper.zero {
|
|
/*margin-left: 112px;*/
|
|
/*visibility:hidden*/
|
|
}
|
|
|
|
.keypad .item-wrapper .item,
|
|
.keypad .item-wrapper .item1{
|
|
position: relative;
|
|
z-index: 20;
|
|
height: 100%;
|
|
text-align: center;
|
|
/* line-height: 80px; */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
-webkit-user-select: none; /* Safari */
|
|
-ms-user-select: none; /* IE 10 and IE 11 */
|
|
user-select: none; /* Standard syntax */
|
|
}
|
|
|
|
.keypad .item-wrapper .item i {
|
|
color: black;
|
|
}
|
|
|
|
.keypad.dark .item-wrapper .item i {
|
|
color: white;
|
|
}
|
|
|
|
.keypad .item-wrapper .item h1, .keypad .item-wrapper .item h2 {
|
|
margin: 0px;
|
|
text-align: center;
|
|
}
|
|
|
|
.keypad .item-wrapper .item h1 {
|
|
color: black;
|
|
font-size: 26px;
|
|
font-weight: 500;
|
|
height: 20px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.keypad.dark .item-wrapper .item h1 {
|
|
color: white;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.keypad .item-wrapper .item h2 {
|
|
color: rgba(0, 0, 0, 0.8);
|
|
font-size: 0.6em;
|
|
font-weight: 300;
|
|
height: 10px;
|
|
line-height: 10px;
|
|
}
|
|
|
|
.keypad.dark .item-wrapper .item h2 {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
/*.keypad .hover-dot:hover:before {
|
|
opacity: 0.1;
|
|
transform: translateX(-50%) translateY(-50%) scale(1);
|
|
}
|
|
*/
|
|
.keypad .hover-dot:active:before {
|
|
opacity: 0.2;
|
|
transform: translateX(-50%) translateY(-50%) scale(1.2);
|
|
}
|
|
|
|
.keypad .hover-dot:before {
|
|
background-color: black;
|
|
border-radius: 30px;
|
|
content: '';
|
|
height: 60px;
|
|
left: 50%;
|
|
opacity: 0;
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateX(-50%) translateY(-50%) scale(0.3);
|
|
transition: all 0.25s;
|
|
width: 60px;
|
|
}
|
|
|
|
.keypad.dark .hover-dot:before {
|
|
background-color: white;
|
|
}
|
|
|
|
@keyframes fade-in-num {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(50%) scale(0);
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
transform: translateY(0%) scale(1);
|
|
}
|
|
}
|
|
|
|
/* ----------------------------------------------------------------------------------------- Responsive */
|
|
@media (min-width: 680px) {
|
|
.cameraSection {
|
|
width: 650px;
|
|
height: 650px;
|
|
}
|
|
|
|
.faceImageCamera {
|
|
width: 650px;
|
|
}
|
|
|
|
#video {
|
|
width: 650px;
|
|
height: 650px;
|
|
}
|
|
|
|
canvas {
|
|
width: 650px;
|
|
height: 650px;
|
|
}
|
|
}
|