169 lines
3.2 KiB
SCSS
169 lines
3.2 KiB
SCSS
// Copyright 2021 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
.ContactModal {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
margin-top: 4px;
|
|
margin-bottom: 16px;
|
|
|
|
&__name {
|
|
@include font-title-2;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
&__info {
|
|
text-align: center;
|
|
max-width: 248px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
&__button-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
margin-top: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
&__button {
|
|
@include button-reset;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
padding-block: 7px;
|
|
padding-inline: 16px;
|
|
width: 100%;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $color-gray-02;
|
|
|
|
@include dark-theme {
|
|
background-color: $color-gray-80;
|
|
}
|
|
}
|
|
|
|
&:focus {
|
|
@include keyboard-mode {
|
|
background-color: $color-gray-02;
|
|
}
|
|
|
|
@include dark-keyboard-mode {
|
|
background-color: $color-gray-80;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__bubble-icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-inline-end: 10px;
|
|
width: 20px;
|
|
}
|
|
|
|
&__send-message__bubble-icon {
|
|
height: 20px;
|
|
width: 20px;
|
|
|
|
@include light-theme {
|
|
@include color-svg('../images/icons/v3/chat/chat.svg', $color-gray-75);
|
|
}
|
|
|
|
@include dark-theme {
|
|
@include color-svg('../images/icons/v3/chat/chat.svg', $color-gray-15);
|
|
}
|
|
}
|
|
|
|
&__safety-number__bubble-icon {
|
|
height: 20px;
|
|
width: 20px;
|
|
|
|
@include light-theme {
|
|
@include color-svg(
|
|
'../images/icons/v3/safety_number/safety_number.svg',
|
|
$color-gray-75
|
|
);
|
|
}
|
|
|
|
@include dark-theme {
|
|
@include color-svg(
|
|
'../images/icons/v3/safety_number/safety_number.svg',
|
|
$color-gray-15
|
|
);
|
|
}
|
|
}
|
|
|
|
&__make-admin__bubble-icon {
|
|
height: 20px;
|
|
width: 20px;
|
|
|
|
@include light-theme {
|
|
@include color-svg('../images/icons/v3/key/key.svg', $color-gray-75);
|
|
}
|
|
|
|
@include dark-theme {
|
|
@include color-svg('../images/icons/v3/key/key.svg', $color-gray-15);
|
|
}
|
|
}
|
|
|
|
&__add-to-another-group__bubble-icon {
|
|
height: 20px;
|
|
width: 20px;
|
|
|
|
@include light-theme {
|
|
@include color-svg(
|
|
'../images/icons/v3/plus/plus-circle.svg',
|
|
$color-gray-75
|
|
);
|
|
}
|
|
|
|
@include dark-theme {
|
|
@include color-svg(
|
|
'../images/icons/v3/plus/plus-circle.svg',
|
|
$color-gray-15
|
|
);
|
|
}
|
|
}
|
|
|
|
&__remove-from-group__bubble-icon {
|
|
height: 20px;
|
|
width: 20px;
|
|
|
|
@include light-theme {
|
|
@include color-svg('../images/icons/v3/leave/leave.svg', $color-gray-75);
|
|
}
|
|
|
|
@include dark-theme {
|
|
@include color-svg('../images/icons/v3/leave/leave.svg', $color-gray-15);
|
|
}
|
|
}
|
|
|
|
&__official-badge {
|
|
@include color-svg(
|
|
'../images/icons/v3/official/official-compact.svg',
|
|
$color-ultramarine
|
|
);
|
|
display: inline-block;
|
|
height: 14px;
|
|
margin-inline-start: 4px;
|
|
width: 14px;
|
|
}
|
|
|
|
&__official-badge__large {
|
|
@include color-svg(
|
|
'../images/icons/v3/official/official.svg',
|
|
$color-ultramarine
|
|
);
|
|
display: inline-block;
|
|
height: 24px;
|
|
margin-inline-start: 9px;
|
|
width: 24px;
|
|
}
|
|
}
|