signal-desktop/stylesheets/components/ConversationHero.scss
2023-05-09 10:52:39 -04:00

129 lines
2.3 KiB
SCSS

// Copyright 2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.module-conversation-hero {
padding-block: 32px 28px;
padding-inline: 0;
text-align: center;
&__avatar {
margin-bottom: 12px;
}
&__profile-name {
display: flex;
align-items: center;
justify-content: center;
@include font-title-2;
margin-bottom: 2px;
@include light-theme {
color: $color-gray-90;
}
@include dark-theme {
color: $color-gray-05;
}
}
&__with {
@include font-body-2;
margin-block: 0;
margin-inline: auto;
margin-bottom: 16px;
max-width: 500px;
@include light-theme {
color: $color-gray-60;
}
@include dark-theme {
color: $color-gray-25;
}
}
&__membership {
@include font-body-2;
padding-block: 0;
padding-inline: 16px;
@include light-theme {
color: $color-gray-60;
}
@include dark-theme {
color: $color-gray-25;
}
&__name {
@include font-body-2-bold;
}
}
&__message-request-warning {
@include font-body-2;
&__message {
display: flex;
margin-bottom: 12px;
align-items: center;
justify-content: center;
user-select: none;
@include light-theme {
color: $color-gray-60;
}
@include dark-theme {
color: $color-gray-25;
}
&::before {
content: '';
display: block;
height: 14px;
margin-inline-end: 8px;
width: 14px;
@include light-theme {
@include color-svg(
'../images/icons/v3/info/info.svg',
$color-gray-60
);
}
@include dark-theme {
@include color-svg(
'../images/icons/v3/info/info.svg',
$color-gray-25
);
}
}
}
}
&__linkNotification {
@include font-body-2;
margin-top: 15px;
text-align: center;
user-select: none;
&::before {
content: '';
display: inline-block;
height: 16px;
margin-inline-end: 8px;
vertical-align: middle;
width: 16px;
@include light-theme {
@include color-svg('../images/icons/v3/info/info.svg', $color-gray-60);
}
@include dark-theme {
@include color-svg('../images/icons/v3/info/info.svg', $color-gray-25);
}
}
}
}