Skip to content

Commit ddc89e1

Browse files
author
Kristan Kenney
committed
Update design of empty notification panel
1 parent fa2b585 commit ddc89e1

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

web/css/styles.min.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -956,6 +956,16 @@ a {
956956
border-top: none;
957957
}
958958

959+
.notification-container .empty {
960+
text-align: center;
961+
font-size: 1.2rem;
962+
font-weight: normal;
963+
}
964+
965+
.notification-container .empty .status-icon {
966+
color: #54a6e5;
967+
}
968+
959969
.notification-container .unseen {
960970
color: #6f6f6f;
961971
}

web/js/templates.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@ App.Templates.html = {
99
'<li class="~!:UNSEEN~!"><span class="unselectable mark-seen" id="notification-~!:ID~!">&nbsp;</span>\
1010
<span class="title"><span class="unselectable icon ~!:TYPE~!">&nbsp;</span>~!:TOPIC~!</span>\
1111
~!:NOTICE~!\
12-
<span class="time">~!:TIME~! ~!:DATE~!</span>\
12+
<b><span class="time">~!:TIME~! ~!:DATE~!</span></b>\
1313
</li>'
1414
],
1515
notification_empty: [
16-
'<li class="empty">\
17-
'+App.Constants.NOTIFICATIONS_EMPTY+'\
18-
</li>'
16+
'<li class="empty"><br><br><span><i class="fas fa-bell-slash status-icon" style="font-size: 4rem;"></i><br><br>\
17+
'+App.Constants.NOTIFICATIONS_EMPTY+'\</span></li>'
1918
]
2019
},
2120

0 commit comments

Comments
 (0)