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:
Veiko Aasa authored and Sunil Mohan Adapa committed 2020-10-09 17:41:14 -07:00
1 parent d93f2f634d
commit 38a5730f14
2 files changed
+15 -2

No files matched your search

+14 -1
View File
@@ -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 {