element-web/res/css/structures
Travis Ralston 173669b375 Show the number of unread notifications above the bell on the right
Fixes https://github.com/vector-im/riot-web/issues/3383

This achieves the result by counting up the number of highlights across all rooms and setting that as the badge above the icon. If there are no highlights, nothing is displayed. The red highlight on the bell is done by abusing how the Tinter works: because it has access to the properties of the SVG that we'd need to override it, we give it a collection of colors it should use instead of the theme/tint it is trying to apply. This results in the Tinter using our warning color instead of whatever it was going to apply.

The RightPanel now listens for events to update the count too, otherwise when the user receives a ping they'd have to switch rooms to see the change.
2018-12-06 16:18:02 -07:00
..
login Support for m.login.sso 2018-11-15 19:05:39 +00:00
_CompatibilityPage.scss
_ContextualMenu.scss
_CreateRoom.scss
_FilePanel.scss
_GroupView.scss
_HomePage.scss Add visible guest warning to encourage login 2018-11-06 21:08:57 +01:00
_LeftPanel.scss Fix CSS naming 2018-07-23 15:58:07 +01:00
_LoginBox.scss Move the login box from the left sidebar to where the composer is 2018-10-15 14:26:24 -06:00
_MatrixChat.scss Error on splash screen if sync is failing 2018-09-07 12:18:25 +01:00
_MyGroups.scss
_NotificationPanel.scss
_RightPanel.scss Show the number of unread notifications above the bell on the right 2018-12-06 16:18:02 -07:00
_RoomDirectory.scss
_RoomStatusBar.scss
_RoomSubList.scss
_RoomView.scss
_SearchBox.scss
_TagPanel.scss
_UploadBar.scss
_UserSettings.scss
_ViewSource.scss