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 move components' CSS to be in the same repo as their JS 2018-04-12 00:23:58 +01:00
_ContextualMenu.scss allow context-menus/tooltips to work over modals 2018-06-12 11:22:01 +01:00
_CreateRoom.scss move components' CSS to be in the same repo as their JS 2018-04-12 00:23:58 +01:00
_FilePanel.scss fix regressions introduced by 00b7cc512b 2018-04-29 04:41:30 +01:00
_GroupView.scss move components' CSS to be in the same repo as their JS 2018-04-12 00:23:58 +01:00
_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 move components' CSS to be in the same repo as their JS 2018-04-12 00:23:58 +01:00
_NotificationPanel.scss move components' CSS to be in the same repo as their JS 2018-04-12 00:23:58 +01:00
_RightPanel.scss Show the number of unread notifications above the bell on the right 2018-12-06 16:18:02 -07:00
_RoomDirectory.scss move components' CSS to be in the same repo as their JS 2018-04-12 00:23:58 +01:00
_RoomStatusBar.scss Fix status bar element positioning 2018-06-27 15:19:27 +01:00
_RoomSubList.scss on click roomsublist notif badge, goto first room with notif 2018-06-27 09:49:25 +01:00
_RoomView.scss remove spurious vendor prefixing 2018-05-14 02:54:55 +01:00
_SearchBox.scss move components' CSS to be in the same repo as their JS 2018-04-12 00:23:58 +01:00
_TagPanel.scss change cursor:pointer iff clicking TagPanel background does something 2018-06-14 11:42:21 +01:00
_UploadBar.scss move components' CSS to be in the same repo as their JS 2018-04-12 00:23:58 +01:00
_UserSettings.scss Explain that full URL is sent to Piwik 2018-04-26 10:59:43 +01:00
_ViewSource.scss move components' CSS to be in the same repo as their JS 2018-04-12 00:23:58 +01:00