2021-04-27 22:35:35 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
.module-ForwardMessageModal {
|
|
|
|
flex-direction: column;
|
2023-04-20 17:03:43 +00:00
|
|
|
margin-block: 0;
|
|
|
|
margin-inline: auto;
|
2021-04-27 22:35:35 +00:00
|
|
|
max-width: 360px;
|
|
|
|
width: 95%;
|
|
|
|
|
2023-01-25 23:51:08 +00:00
|
|
|
.module-conversation-list {
|
|
|
|
// remove horizontal padding so ListTiles extend to the edges
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-04-27 22:35:35 +00:00
|
|
|
&--link-preview {
|
|
|
|
border-bottom: 1px solid $color-gray-15;
|
2023-04-20 17:03:43 +00:00
|
|
|
padding-block: 12px;
|
|
|
|
padding-inline: 16px;
|
2021-04-27 22:35:35 +00:00
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
border-color: $color-gray-60;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__header {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
position: relative;
|
2023-06-15 20:52:29 +00:00
|
|
|
@include font-body-1-bold;
|
2021-04-27 22:35:35 +00:00
|
|
|
|
|
|
|
&--edit {
|
|
|
|
border-bottom: 1px solid $color-gray-15;
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
border-color: $color-gray-60;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__list-wrapper {
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__main-body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__no-candidate-contacts {
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__send-button {
|
|
|
|
align-items: center;
|
|
|
|
border: none;
|
|
|
|
border-radius: 100%;
|
|
|
|
display: flex;
|
|
|
|
height: 32px;
|
|
|
|
justify-content: center;
|
|
|
|
width: 32px;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
flex-shrink: 0;
|
2023-05-04 18:04:22 +00:00
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2021-04-27 22:35:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--continue {
|
|
|
|
&::after {
|
2023-05-04 18:04:22 +00:00
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
2021-04-27 22:35:35 +00:00
|
|
|
@include color-svg(
|
2023-05-04 18:04:22 +00:00
|
|
|
'../images/icons/v3/arrow/arrow-right.svg',
|
2021-04-27 22:35:35 +00:00
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--forward {
|
|
|
|
&::after {
|
2023-05-04 18:04:22 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v3/send/send-fill.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
2021-04-27 22:35:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-15 20:52:29 +00:00
|
|
|
// Disable vertical scrolling on the modal pages
|
|
|
|
// since the elements inside are scrollable themselves
|
|
|
|
.module-Modal__body {
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
|
2021-04-27 22:35:35 +00:00
|
|
|
&__footer {
|
|
|
|
@include font-body-2;
|
|
|
|
display: flex;
|
2023-06-15 20:52:29 +00:00
|
|
|
align-items: center;
|
|
|
|
flex-grow: 1;
|
2021-04-27 22:35:35 +00:00
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Disable cursor since images are non-clickable
|
|
|
|
.module-image__image {
|
|
|
|
cursor: inherit;
|
|
|
|
}
|
|
|
|
}
|