mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
notifications: Show severity level on every notification
Left side border of the notification is the color of the severity level. Helps when there are multiple notifications with different severity levels. Signed-off-by: Veiko Aasa <veiko17@disroot.org> [sunil: Drop styling for unused 'notification-light' class] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
d93f2f634d
commit
38a5730f14
2 files changed
+15
-2
No files matched your search
@@ -660,6 +660,7 @@ input[type='submit'].running-status-button {
|
||||
.notification {
|
||||
padding: 1rem 1.5rem;
|
||||
font-size: 15px;
|
||||
border-left: 5px solid;
|
||||
}
|
||||
|
||||
.notification:not(:first-child) {
|
||||
@@ -692,10 +693,22 @@ img.notification-icon {
|
||||
background-color: #ec971f;
|
||||
}
|
||||
|
||||
.badge-info, badge-debug {
|
||||
.badge-info, .badge-debug {
|
||||
background-color: #5bc0de;
|
||||
}
|
||||
|
||||
.notification-exception, .notification-error {
|
||||
border-left-color: #d9534f;
|
||||
}
|
||||
|
||||
.notification-warning {
|
||||
border-left-color: #ec971f;
|
||||
}
|
||||
|
||||
.notification-info, .notification-debug {
|
||||
border-left-color: #5bc0de;
|
||||
}
|
||||
|
||||
/* Don't collapse notifications on small screens */
|
||||
.collapsing .notifications-dropdown,
|
||||
.collapse.in .notifications-dropdown {
|
||||
|
||||
Reference in new issue
Block a user