eb82ace2de
Co-authored-by: Scott Nonnenberg <scott@signal.org>
99 lines
2 KiB
SCSS
99 lines
2 KiB
SCSS
// Copyright 2021 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
.module-ContactSpoofingReviewDialogPerson {
|
|
display: flex;
|
|
padding-block: 8px;
|
|
gap: 16px;
|
|
|
|
&:is(button) {
|
|
@include button-reset;
|
|
}
|
|
|
|
&__info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
|
|
&__contact-name {
|
|
@include font-body-1-bold;
|
|
display: block;
|
|
}
|
|
|
|
&__property {
|
|
@include font-body-2;
|
|
|
|
@include light-theme {
|
|
color: $color-gray-60;
|
|
}
|
|
|
|
@include dark-theme {
|
|
color: $color-gray-05;
|
|
}
|
|
|
|
display: flex;
|
|
gap: 12px;
|
|
|
|
&__icon {
|
|
display: inline-block;
|
|
height: 20px;
|
|
width: 20px;
|
|
vertical-align: text-top;
|
|
flex-shrink: 0;
|
|
|
|
@mixin contact-spoofing-icon($url) {
|
|
@include light-theme {
|
|
@include color-svg($url, $color-gray-90);
|
|
}
|
|
|
|
@include dark-theme {
|
|
@include color-svg($url, $color-gray-05);
|
|
}
|
|
}
|
|
|
|
&--connections {
|
|
@include contact-spoofing-icon(
|
|
'../images/icons/v3/connections/connections.svg'
|
|
);
|
|
}
|
|
|
|
&--person {
|
|
@include contact-spoofing-icon(
|
|
'../images/icons/v3/person/person.svg'
|
|
);
|
|
}
|
|
|
|
&--phone {
|
|
@include contact-spoofing-icon(
|
|
'../images/icons/v3/phone/phone-compact.svg'
|
|
);
|
|
}
|
|
|
|
&--group {
|
|
@include contact-spoofing-icon('../images/icons/v3/group/group.svg');
|
|
}
|
|
}
|
|
|
|
&__signal-connection {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
|
|
@include button-reset();
|
|
cursor: pointer;
|
|
|
|
&::after {
|
|
content: '';
|
|
display: inline-block;
|
|
height: 20px;
|
|
width: 20px;
|
|
|
|
@include color-svg(
|
|
'../images/icons/v3/chevron/chevron-right-bold.svg',
|
|
$color-gray-45
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|