signal-desktop/stylesheets/components/ContactSpoofingReviewDialogPerson.scss

100 lines
2 KiB
SCSS
Raw Normal View History

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2021-04-21 16:31:12 +00:00
.module-ContactSpoofingReviewDialogPerson {
display: flex;
padding-block: 8px;
gap: 16px;
2021-04-21 16:31:12 +00:00
&:is(button) {
@include button-reset;
}
&__info {
display: flex;
flex-direction: column;
gap: 12px;
2021-04-21 16:31:12 +00:00
&__contact-name {
@include font-body-1-bold;
display: block;
2021-04-21 16:31:12 +00:00
}
&__property {
@include font-body-2;
@include light-theme {
color: $color-gray-60;
}
@include dark-theme {
color: $color-gray-05;
}
2021-06-01 23:30:25 +00:00
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
);
}
2021-06-01 23:30:25 +00:00
}
2021-04-21 16:31:12 +00:00
}
}
}