mirror of
https://github.com/pacnpal/thrillwiki_laravel.git
synced 2025-12-21 23:11:09 -05:00
style: enhance alert and button styles; improve dark mode support and transition effects
This commit is contained in:
@@ -1,23 +1,27 @@
|
||||
/* Alert Styles */
|
||||
.alert {
|
||||
@apply fixed z-50 px-4 py-3 transition-all duration-500 transform rounded-lg shadow-lg right-4 top-4;
|
||||
@apply fixed z-50 px-4 py-3 transition-all duration-500 transform rounded-lg shadow-lg right-4 top-4 text-white;
|
||||
animation: slideIn 0.5s ease-out forwards;
|
||||
}
|
||||
|
||||
.alert.hide {
|
||||
animation: slideOut 0.5s ease-out forwards;
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
@apply text-white bg-green-500;
|
||||
@apply bg-green-500 dark:bg-green-600;
|
||||
}
|
||||
|
||||
.alert-error {
|
||||
@apply text-white bg-red-500;
|
||||
@apply bg-red-500 dark:bg-red-600;
|
||||
}
|
||||
|
||||
.alert-info {
|
||||
@apply text-white bg-blue-500;
|
||||
@apply bg-blue-500 dark:bg-blue-600;
|
||||
}
|
||||
|
||||
.alert-warning {
|
||||
@apply text-white bg-yellow-500;
|
||||
@apply bg-yellow-500 dark:bg-yellow-600 text-gray-900 dark:text-white;
|
||||
}
|
||||
|
||||
/* Animation keyframes */
|
||||
|
||||
Reference in New Issue
Block a user