+ Add some new concepts to DEVELOPMENT.md
+ Add icon
This commit is contained in:
78
src/css/scanner.css
Normal file
78
src/css/scanner.css
Normal file
@@ -0,0 +1,78 @@
|
||||
#preview {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: 0;
|
||||
left: 150%;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
#wait {
|
||||
position: absolute;
|
||||
left: 150%;
|
||||
top: 10%;
|
||||
width: 100%;
|
||||
z-index: -2;
|
||||
margin-top: 20%;
|
||||
}
|
||||
#wait h1 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#scanned {
|
||||
position: absolute;
|
||||
bottom: -500px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -5;
|
||||
opacity: 0;
|
||||
padding-left: 20px;
|
||||
backdrop-filter: blur(20px);
|
||||
background: linear-gradient(0deg, rgba(0,0,0,.75) 80%, rgba(94,94,94,.75) 100%);
|
||||
box-shadow: 0px -10px 34px -10px rgba(0,0,0,0.75);
|
||||
}
|
||||
|
||||
#password {
|
||||
font-family: 'Consolas';
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
/* Error */
|
||||
#error {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
bottom: -350px;
|
||||
width: auto;
|
||||
height: 55px;
|
||||
padding-left: 10px;
|
||||
padding-right: 20px;
|
||||
backdrop-filter: blur(30px);
|
||||
background-color: rgba(100, 0, 0, 0.6);
|
||||
border-radius: 15px;
|
||||
}
|
||||
#error i {
|
||||
font-size: 20pt;
|
||||
padding: 14px;
|
||||
color: rgb(255, 139, 139);
|
||||
}
|
||||
#error p {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.show {
|
||||
animation: showpass 1s;
|
||||
opacity: 1 !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
@keyframes showpass {
|
||||
from {
|
||||
opacity: 0 !important;
|
||||
display: none;
|
||||
}
|
||||
to {
|
||||
opacity: 1 !important;
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user