frontend_nyla/src/components/Connections/ConnectionsErrorDisplay.module.css

47 lines
No EOL
795 B
CSS

.errorContainer {
margin-bottom: 20px;
}
.errorMessage {
color: var(--color-red, #ef4444);
padding: 12px 16px;
background-color: var(--color-red-hover, rgba(239, 68, 68, 0.1));
border: 1px solid var(--color-red, #ef4444);
border-radius: 25px;
margin-bottom: 12px;
font-size: 14px;
line-height: 1.4;
}
.errorMessage:last-child {
margin-bottom: 0;
}
.errorMessage strong {
font-weight: 600;
margin-right: 4px;
}
/* Animation for error appearance */
.errorMessage {
animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive design */
@media (max-width: 480px) {
.errorMessage {
padding: 10px 14px;
font-size: 13px;
}
}