interstellar_ai/app/styles/Login.css

86 lines
2.3 KiB
CSS
Raw Normal View History

2024-10-08 17:37:17 +02:00
.popup-overlay{
2024-09-20 10:00:54 +02:00
position: fixed; /* Fixed to cover the entire viewport */
top: 0; /* Ensure it starts from the top */
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
display: flex;
justify-content: center;
align-items: center;
z-index: 10000; /* Higher than the header to cover the screen */
}
2024-10-08 17:37:17 +02:00
.popup-content{
2024-09-25 12:35:17 +02:00
background-color: var(--popup-background-color); /* Use variable for background color */
2024-09-23 11:55:58 +02:00
color: var(--popup-text-color); /* Use variable for text color */
2024-09-20 10:00:54 +02:00
padding: 30px;
border-radius: 10px;
width: 300px;
text-align: center;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
position: relative; /* For positioning the close button */
2024-09-20 10:00:54 +02:00
}
2024-10-08 17:37:17 +02:00
.popup-content input{
2024-09-20 10:00:54 +02:00
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid var(--input-border-color);
border-radius: 5px;
font-size: 16px;
transition: border-color 0.3s;
}
2024-10-08 17:37:17 +02:00
.popup-content input:focus{
2024-09-20 10:00:54 +02:00
border-color: var(--input-button-color);
outline: none; /* Remove default outline */
}
2024-10-08 17:37:17 +02:00
.close-popup{
2024-09-23 11:55:58 +02:00
background: var(--close-button-color); /* Use variable for close button color */
color: white; /* Use white for text color */
2024-09-20 10:00:54 +02:00
border: none;
border-radius: 5px;
padding: 5px 10px;
cursor: pointer;
position: absolute; /* Position the button absolutely */
top: 10px; /* Distance from the top */
right: 10px; /* Distance from the right */
transition: background 0.3s;
2024-09-20 10:00:54 +02:00
}
2024-10-08 17:37:17 +02:00
.close-popup:hover{
background: darkred; /* Optional hover effect */
}
2024-10-08 17:37:17 +02:00
.log-into-account{
background: green; /* Use variable for login button color */
color: white;
2024-09-20 10:00:54 +02:00
border: none;
border-radius: 5px;
padding: 5px 10px;
cursor: pointer;
margin-top: 20px;
}
2024-10-08 17:37:17 +02:00
.popup-footer{
2024-09-20 10:00:54 +02:00
margin-top: 15px;
}
2024-10-08 17:37:17 +02:00
.popup-footer button{
2024-09-20 10:00:54 +02:00
margin-right: 10px;
padding: 8px 15px;
background-color: var(--input-button-color);
color: var(--text-color);
border: none;
border-radius: 5px;
transition: background-color 0.3s;
}
2024-10-08 17:37:17 +02:00
.popup-footer button:hover{
2024-09-20 10:00:54 +02:00
background-color: var(--input-button-hover-color);
}
2024-10-08 17:37:17 +02:00
.popup-footer a{
2024-09-20 10:00:54 +02:00
color: var(--user-message-color);
text-decoration: none;
}
2024-10-08 17:37:17 +02:00
.popup-footer a:hover{
2024-09-20 10:00:54 +02:00
text-decoration: underline;
}
2024-10-08 17:37:17 +02:00
.popup-content p{
2024-09-23 11:55:58 +02:00
color: var(--popup-text-color); /* Use variable for paragraph text color */
2024-09-20 10:00:54 +02:00
margin: 10px;
}