Handle highlight notifications in timeline card button (#7762)

pull/21833/head
Šimon Brandner 2022-02-08 20:03:15 +01:00 committato da GitHub
parent 4394c162db
commit f13329213d
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG: 4AEE18F83AFDEB23
2 ha cambiato i file con 6 aggiunte e 0 eliminazioni

Vedi File

@ -139,6 +139,11 @@ $pulse-color: $alert;
animation: mx_RightPanel_indicator_pulse 2s infinite;
animation-iteration-count: 1;
&.mx_Indicator_red {
background: rgba($alert, 1);
box-shadow: rgba($alert, 1);
}
&.mx_Indicator_gray {
background: rgba($roomtile-default-badge-bg-color, 1);
box-shadow: rgba($roomtile-default-badge-bg-color, 1);

Vedi File

@ -62,6 +62,7 @@ const UnreadIndicator = ({ color }: IUnreadIndicatorProps) => {
"mx_RightPanel_headerButton_unreadIndicator": true,
"mx_Indicator_bold": color === NotificationColor.Bold,
"mx_Indicator_gray": color === NotificationColor.Grey,
"mx_Indicator_red": color === NotificationColor.Red,
});
return <>
<div className="mx_RightPanel_headerButton_unreadIndicator_bg" />