2021-04-02 22:32:55 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
// These styles should match the "real" contact/conversation row.
|
|
|
|
.module-SearchResultsLoadingFakeRow {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2023-04-20 17:03:43 +00:00
|
|
|
padding-block: 10px;
|
|
|
|
padding-inline: 14px;
|
|
|
|
margin-block: 2px;
|
|
|
|
margin-inline: 0;
|
2021-04-02 22:32:55 +00:00
|
|
|
|
|
|
|
&__avatar {
|
2021-10-12 23:59:08 +00:00
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
2021-04-02 22:32:55 +00:00
|
|
|
border-radius: 100%;
|
|
|
|
@include search-results-loading-pulsating-background;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: center;
|
2023-04-20 17:03:43 +00:00
|
|
|
margin-inline-start: 12px;
|
2021-04-02 22:32:55 +00:00
|
|
|
|
2021-10-12 23:59:08 +00:00
|
|
|
&__line {
|
|
|
|
&:nth-child(1) {
|
|
|
|
@include search-results-loading-box(30%);
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(2) {
|
|
|
|
@include search-results-loading-box(90%);
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
2021-04-02 22:32:55 +00:00
|
|
|
|
2021-10-12 23:59:08 +00:00
|
|
|
&:nth-child(3) {
|
|
|
|
@include search-results-loading-box(60%);
|
|
|
|
}
|
2021-04-02 22:32:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|