Add DM conversations mode similar to upstream

This commit is contained in:
Thibaut Girka
2019-06-09 12:07:23 +02:00
committed by ThibG
parent e16c8fbc7a
commit d61a6271c6
20 changed files with 704 additions and 69 deletions

View File

@@ -46,6 +46,18 @@
vertical-align: middle;
margin-right: 5px;
}
&-composite {
@include avatar-radius;
overflow: hidden;
& div {
@include avatar-radius;
float: left;
position: relative;
box-sizing: border-box;
}
}
}
.account__avatar-overlay {

View File

@@ -287,8 +287,12 @@
text-overflow: ellipsis;
white-space: nowrap;
a {
color: inherit;
text-decoration: inherit;
}
strong {
display: block;
height: 18px;
font-size: 16px;
font-weight: 500;
@@ -308,7 +312,7 @@
white-space: nowrap;
}
&:hover {
> a:hover {
strong {
text-decoration: underline;
}

View File

@@ -209,7 +209,7 @@
outline: 0;
background: lighten($ui-base-color, 4%);
.status.status-direct {
&.status.status-direct:not(.read) {
background: lighten($ui-base-color, 12%);
&.muted {
@@ -249,8 +249,9 @@
margin-top: 8px;
}
&.status-direct {
&.status-direct:not(.read) {
background: lighten($ui-base-color, 8%);
border-bottom-color: lighten($ui-base-color, 12%);
}
&.light {
@@ -333,7 +334,7 @@
&:focus > .status__content:after {
background: linear-gradient(rgba(lighten($ui-base-color, 4%), 0), rgba(lighten($ui-base-color, 4%), 1));
}
&.status-direct> .status__content:after {
&.status-direct:not(.read)> .status__content:after {
background: linear-gradient(rgba(lighten($ui-base-color, 8%), 0), rgba(lighten($ui-base-color, 8%), 1));
}
@@ -599,7 +600,7 @@
}
}
.status__display-name,
a.status__display-name,
.reply-indicator__display-name,
.detailed-status__display-name,
.account__display-name {