
- Added form on login for prevent google chrome warn - Can press "enter" to connect on login page - Added condition for create strong password - Added "todo" in "createConnectDiv.js"
96 lines
2.1 KiB
CSS
96 lines
2.1 KiB
CSS
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* loginPage.css :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/08/07 17:15:28 by edbernar #+# #+# */
|
|
/* Updated: 2024/08/08 23:22:32 by edbernar ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
@keyframes anim1 {
|
|
0% {
|
|
transform: translate(-50%, -150%);
|
|
}
|
|
100% {
|
|
transform: translateY(-50%, -50%);
|
|
}
|
|
}
|
|
|
|
@keyframes anim2 {
|
|
0% {
|
|
backdrop-filter: blur(0px);
|
|
background-color: rgba(0, 0, 0, 0);
|
|
}
|
|
100% {
|
|
backdrop-filter: blur(5px);
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
}
|
|
|
|
#loginDiv {
|
|
width: 80%;
|
|
height: 80%;
|
|
display: flex;
|
|
position: absolute;
|
|
background-color: #990707;
|
|
z-index: 500;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
animation: anim1 0.2s;
|
|
border: 2px solid black;
|
|
}
|
|
|
|
#globalBg {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
position: absolute;
|
|
z-index: 499;
|
|
top: 0;
|
|
left: 0;
|
|
backdrop-filter: blur(5px);
|
|
animation: anim2 0.5s;
|
|
}
|
|
|
|
|
|
|
|
|
|
#threeDiv {
|
|
border-right: 2px solid black;
|
|
width: 40%;
|
|
height: 100%;
|
|
background-color: #747474;
|
|
}
|
|
|
|
|
|
|
|
|
|
#connectDiv {
|
|
width: 60%;
|
|
height: 100%;
|
|
background-color: #616161;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#connectDiv form {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#connectDiv #button {
|
|
width: 20%;
|
|
height: 20px;
|
|
margin: 10px;
|
|
cursor: pointer;
|
|
background-color: white;
|
|
text-align: center;
|
|
} |