update AI page

This commit is contained in:
Raven Scott 2024-10-02 04:40:18 -04:00
parent 939c5668a0
commit a5cb7efff1

View File

@ -73,62 +73,73 @@
border-radius: 5px; border-radius: 5px;
} }
/* Ensure transparent background for the alert's parent container */ .alert {
#success-alert, #error-alert { margin-top: 10px;
background-color: transparent; /* Remove any background color */ text-align: center;
/* Center the text content */
display: flex;
/* Make sure the alert is a flex container */
justify-content: center;
/* Center flex items horizontally */
align-items: center;
/* Center flex items vertically (if needed) */
} }
/* Success Alert - Blue Theme with no extra background */ body,
.container {
background-color: transparent;
}
/* Success Alert - Blue Theme */
.alert-success { .alert-success {
background-color: #007bff; /* Blue background for success */ background-color: #007bff;
/* Blue background similar to your button */
color: white; color: white;
/* White text */
border: none; border: none;
/* Remove border */
padding: 10px 20px; padding: 10px 20px;
/* Padding for spacing */
border-radius: 5px; border-radius: 5px;
/* Rounded corners */
text-align: center; text-align: center;
/* Center text */
display: flex; display: flex;
/* Flex layout */
justify-content: center; justify-content: center;
/* Center horizontally */
align-items: center; align-items: center;
opacity: 0; /* Start hidden */ /* Center vertically */
transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
} }
/* Error Alert - Maroon Red Theme */ /* Error Alert - Maroon Red Theme */
.alert-danger { .alert-danger {
background-color: #800000; /* Red background for error */ background-color: #800000;
/* Maroon red background */
color: white; color: white;
/* White text */
border: none; border: none;
/* Remove border */
padding: 10px 20px; padding: 10px 20px;
/* Padding for spacing */
border-radius: 5px; border-radius: 5px;
/* Rounded corners */
text-align: center; text-align: center;
/* Center text */
display: flex; display: flex;
/* Flex layout */
justify-content: center; justify-content: center;
/* Center horizontally */
align-items: center; align-items: center;
opacity: 0; /* Start hidden */ /* Center vertically */
transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
} }
/* Common alert styles */ /* Common alert styles */
.alert { .alert {
position: fixed; margin-top: 10px;
top: 20px; /* Adjust to your preferred location */ /* Add margin at the top */
left: 50%; font-size: 14px;
transform: translateX(-50%); /* Adjust the font size for readability */
z-index: 9999; /* Ensure it stays on top */
}
/* Fade in animation */
.alert.fade-in {
opacity: 1;
transform: translateY(0);
animation: fadeSlideIn 0.5s forwards;
}
/* Fade out animation */
.alert.fade-out {
opacity: 0;
transform: translateY(-20px);
animation: fadeSlideOut 0.5s forwards;
} }
.message.user { .message.user {