Hook threads notification state to UI (#7298)

This commit is contained in:
Germain 2021-12-13 14:05:42 +00:00 committed by GitHub
parent 55eda7314b
commit ce570ab827
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 139 additions and 28 deletions

View file

@ -24,6 +24,24 @@ $left-gutter: 64px;
font-size: $font-14px;
position: relative;
&[data-shape=thread_list][data-notification]::before {
content: "";
position: absolute;
width: 8px;
height: 8px;
border-radius: 50%;
right: -16px;
top: 7px;
}
&[data-shape=thread_list][data-notification=total]::before {
background-color: $roomtile-default-badge-bg-color;
}
&[data-shape=thread_list][data-notification=highlight]::before {
background-color: $alert;
}
.mx_ThreadInfo {
margin-right: 110px;
margin-left: 64px;