element-web/res
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
..
css Show the number of unread notifications above the bell on the right 2018-12-06 16:18:02 -07:00
fonts move default fonts over from riot-web 2018-04-12 00:24:51 +01:00
img Merge pull request #2124 from matrix-org/dbkr/tombstone 2018-08-29 18:38:48 +01:00
media move default ringtones over from riot-web 2018-04-12 00:25:36 +01:00
themes Merge pull request #2235 from MaxwellKepler/develop 2018-11-16 13:25:40 -07:00