Skip to content

Commit bf5a93a

Browse files
Update style.css
1 parent bfa01c2 commit bf5a93a

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

static/style.css

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,3 +508,46 @@ select optgroup {
508508
margin-bottom: 2rem;
509509
}
510510

511+
/* Messages */
512+
.message {
513+
padding: 1rem;
514+
border-radius: 4px;
515+
margin: 1rem 0;
516+
font-weight: 500;
517+
animation: slideIn 0.3s ease-out;
518+
}
519+
520+
.message-success {
521+
background-color: #d4edda;
522+
color: #155724;
523+
border: 1px solid #c3e6cb;
524+
}
525+
526+
.message-error {
527+
background-color: #f8d7da;
528+
color: #721c24;
529+
border: 1px solid #f5c6cb;
530+
}
531+
532+
.message-warning {
533+
background-color: #fff3cd;
534+
color: #856404;
535+
border: 1px solid #ffeeba;
536+
}
537+
538+
/* Error input highlight */
539+
input.error {
540+
border-color: #dc3545 !important;
541+
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
542+
}
543+
544+
@keyframes slideIn {
545+
from {
546+
transform: translateY(-10px);
547+
opacity: 0;
548+
}
549+
to {
550+
transform: translateY(0);
551+
opacity: 1;
552+
}
553+
}

0 commit comments

Comments
 (0)