un stadiu mai avansat cu overlay the confirmare a parolei CEO

This commit is contained in:
andrei-mihnea-cerbu
2024-04-01 17:15:35 +03:00
parent b7aad6cbe2
commit 79e508d3de
41 changed files with 1295 additions and 207 deletions
+71
View File
@@ -0,0 +1,71 @@
body, html {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
font-family: "Roboto", sans-serif;
font-weight: 500;
font-style: normal;
background-image: url('../assets/background.png');
background-size: cover;
background-repeat: no-repeat;
}
.container {
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
min-height: 100vh;
}
h1{
margin: 0;
padding: 0;
}
.main_component{
display: flex;
flex-wrap: wrap;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #535C91;
opacity: 71;
padding: 2vh;
border-radius: 1rem;
box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.9);
width: 90vw;
height: 80vh;
}
.header{
color: #1B1A55;
font-size: 0.8rem;
text-align: center;
text-transform: uppercase;
}
button {
font-weight: bold;
width: 25%;
font-size: 1rem;
padding: 10px;
border: none;
border-radius: 5px;
margin-top: 20px;
cursor: pointer;
}
button:hover{
filter: brightness(85%);
}
button[name="close"] {
background-color: #2196F3;
color: white;
}
+17 -11
View File
@@ -30,7 +30,7 @@ body, html {
margin-bottom: 10rem;
}
.signup-form {
.login-form {
background-color: #535C91;
opacity: 71;
padding: 9vh 3vh 5vh;
@@ -39,27 +39,26 @@ body, html {
width: 25%;
}
.signup-form-title{
.login-form-title{
margin: 0 0 5vh 0;
text-align: center;
}
.signup-form-title h2{
.login-form-title h2{
color: #FFFFFF;
font-size: 5vh;
margin: 0;
padding: 0;
}
.signup-form hr{
.login-form hr{
width: 40%;
}
.signup-form-content{
.login-form-content{
display: flex;
flex-direction: column;
align-content: center;
flex-wrap: wrap;
justify-content: center;
}
input {
@@ -76,7 +75,7 @@ input {
button {
font-weight: bold;
width: 40%;
width: 35%;
font-size: 1rem;
padding: 10px;
border: none;
@@ -89,14 +88,21 @@ button:hover{
filter: brightness(85%);
}
.signup-form-footer{
.login-form-footer{
margin-top: 3vh;
display: flex;
flex-wrap: wrap;
align-content: center;
justify-content: center;
align-items: center;
justify-content: space-evenly;
}
.signup-form button[name="submit"] {
button[name="submit"] {
background-color: #F44336;
color: white;
}
button[name="signin"] {
background-color: #2196F3;
color: white;
}
+102
View File
@@ -14,6 +14,76 @@ body, html {
}
.overlay {
display: none;
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.85);
z-index: 2;
cursor: pointer;
}
.ceo-validation-form {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
padding: 20px;
background: #1B1A55;
border-radius: 10px;
cursor: default;
}
.ceo-validation-form h2 {
text-align: center;
color: white;
}
.form-actions {
text-align: center;
padding-top: 20px;
}
.form-actions button {
padding: 10px 20px;
margin: 0 10px;
border: none;
border-radius: 5px;
cursor: pointer;
}
input {
text-align: center;
color: white;
font-weight: bold;
font-size: 1.2rem;
width: 80%;
padding: 1rem;
margin: 0.7rem;
background-color: #1B1A55;
border-radius: 10px;
}
#back_button {
background-color: #f44336;
width: 35%;
height: auto;
color: white;
}
#submit_button {
background-color: #4CAF50;
width: 35%;
height: auto;
color: white;
}
.container {
display: flex;
flex-direction: row;
@@ -104,6 +174,38 @@ button:hover{
color: white;
}
.notifications{
display: flex;
margin: 1rem 2rem 2rem 3rem;
flex-direction: column;
align-items: start;
height: 40vh; /* Fixed height */
width: 80%; /* Full width */
overflow: auto; /* Enable scrolling */
font-size: 1.2rem;
color: white;
font-weight: bold;
}
.notifications::-webkit-scrollbar {
width: 10px; /* Reduced width of the scrollbar by 2px */
}
.notifications::-webkit-scrollbar-track {
background: #1B1A55; /* Updated track color */
}
.notifications::-webkit-scrollbar-thumb {
background: #535C91; /* Updated handle color */
border: 2px solid #1B1A55; /* Adding a border to effectively reduce the thumb size */
}
.notifications::-webkit-scrollbar-thumb:hover {
background: #555; /* Updated handle color on hover */
}
button[name="logout"]{
margin: 0;
padding: 0;
+36 -33
View File
@@ -31,7 +31,7 @@ body, html {
margin-bottom: 10rem;
}
.signup-form {
.profile-form {
background-color: #535C91;
opacity: 71;
padding: 13vh 3vh 5vh;
@@ -40,11 +40,15 @@ body, html {
width: 25%;
}
.signup-form-title{
.profile-form-title{
margin-bottom: 5vh;
}
.signup-form-title h2 {
.profile-form hr{
width: 40%;
}
.profile-form-title h2 {
color: #FFFFFF;
margin: 0;
padding: 0;
@@ -52,42 +56,20 @@ body, html {
font-size: 5vh;
}
.signup-form button {
width: 100%;
padding: 10px;
border: none;
border-radius: 5px;
margin-top: 5px;
cursor: pointer;
.profile-form-content{
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.signup-form-footer{
.profile-form-footer{
margin-top: 7vh;
display: flex;
flex-direction: row;
justify-content: center;
}
.signup-form button{
font-weight: bold;
width: 40%;
font-size: 1rem;
}
.signup-form button:hover{
filter: brightness(85%);
}
.signup-form hr{
width: 40%;
}
.signup-form button[name="login"] {
background-color: #2196F3;
color: white;
margin-right: 5rem;
}
.signup-form input {
input {
text-align: center;
color: white;
font-weight: bold;
@@ -99,7 +81,28 @@ body, html {
border-radius: 10px;
}
.signup-form button[name="submit"] {
button {
font-weight: bold;
width: 35%;
font-size: 1rem;
padding: 10px;
border: none;
border-radius: 5px;
margin-top: 1rem;
cursor: pointer;
}
button:hover{
filter: brightness(85%);
}
button[name="submit"] {
background-color: #F44336;
color: white;
}
button[name="login"] {
background-color: #2196F3;
color: white;
margin-right: 5rem;
}
+7 -7
View File
@@ -126,7 +126,7 @@ button:hover{
color: white;
}
.security_level_form_title{
.choose_user_form_title{
display: flex;
flex-wrap: wrap;
flex-direction: column;
@@ -134,11 +134,11 @@ button:hover{
align-content: start;
}
.security_level_form_title hr{
.choose_user_form_title hr{
width: 40%;
}
.security_level_form_content{
.choose_user_form_content{
display: flex;
margin: 1rem 7rem 2rem 0.5rem;
flex-direction: column;
@@ -153,20 +153,20 @@ button:hover{
font-weight: bold;
}
.security_level_form_content::-webkit-scrollbar {
.choose_user_form_content::-webkit-scrollbar {
width: 10px; /* Reduced width of the scrollbar by 2px */
}
.security_level_form_content::-webkit-scrollbar-track {
.choose_user_form_content::-webkit-scrollbar-track {
background: #1B1A55; /* Updated track color */
}
.security_level_form_content::-webkit-scrollbar-thumb {
.choose_user_form_content::-webkit-scrollbar-thumb {
background: #535C91; /* Updated handle color */
border: 2px solid #1B1A55; /* Adding a border to effectively reduce the thumb size */
}
.security_level_form_content::-webkit-scrollbar-thumb:hover {
.choose_user_form_content::-webkit-scrollbar-thumb:hover {
background: #555; /* Updated handle color on hover */
}
@@ -62,26 +62,48 @@ input{
.signup-form-content{
display: flex;
margin-left: 2rem;
margin: 1rem 2rem 2rem 3rem;
flex-direction: column;
align-items: start;
font-size: 1.5rem;
height: 20vh; /* Fixed height */
width: 80%; /* Full width */
overflow: auto; /* Enable scrolling */
font-size: 1.2rem;
color: white;
font-weight: bold;
}
.signup-form-content::-webkit-scrollbar {
width: 10px; /* Reduced width of the scrollbar by 2px */
}
.signup-form-content::-webkit-scrollbar-track {
background: #1B1A55; /* Updated track color */
}
.signup-form-content::-webkit-scrollbar-thumb {
background: #535C91; /* Updated handle color */
border: 2px solid #1B1A55; /* Adding a border to effectively reduce the thumb size */
}
.signup-form-content::-webkit-scrollbar-thumb:hover {
background: #555; /* Updated handle color on hover */
}
.signup-form-footer{
margin-top: 5vh;
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
justify-content: space-between;
align-items: center;
align-content: space-between;
}
button {
font-weight: bold;
width: 40%;
width: 30%;
font-size: 1rem;
padding: 10px;
border: none;
@@ -94,7 +116,7 @@ button:hover{
filter: brightness(85%);
}
button[name="continue"] {
button[name="submit"] {
background-color: #F44336;
color: white;
}
@@ -69,13 +69,12 @@ input {
}
.signup-form-footer{
margin-top: 3vh;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
align-content: center;
align-items: center;
margin-top: 7vh;
justify-content: space-evenly;
}
button {
+25
View File
@@ -0,0 +1,25 @@
.fade-in {
animation: fadeInAnimation 0.5s ease-in forwards;
}
.fade-out {
animation: fadeOutAnimation 0.5s ease-out forwards;
}
@keyframes fadeInAnimation {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeOutAnimation {
from {
opacity: 1;
}
to {
opacity: 0;
}
}