Tint toast glass effect with message color
This commit is contained in:
+12
-1
@@ -5,5 +5,16 @@
|
||||
/* Toast with frosted glass effect */
|
||||
.glass-toast {
|
||||
backdrop-filter: blur(8px);
|
||||
background-color: rgba(var(--bs-body-bg-rgb), 0.75) !important;
|
||||
}
|
||||
|
||||
.glass-toast-success {
|
||||
background-color: rgba(var(--bs-success-rgb), 0.75) !important;
|
||||
}
|
||||
|
||||
.glass-toast-danger {
|
||||
background-color: rgba(var(--bs-danger-rgb), 0.75) !important;
|
||||
}
|
||||
|
||||
.glass-toast-info {
|
||||
background-color: rgba(var(--bs-info-rgb), 0.75) !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user