2021-09-21 22:37:10 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
.ContactModal {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2021-10-12 19:07:58 +00:00
|
|
|
margin-top: 4px;
|
2022-09-29 22:40:09 +00:00
|
|
|
margin-bottom: 16px;
|
2021-09-21 22:37:10 +00:00
|
|
|
|
|
|
|
&__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;
|
2023-04-20 17:03:43 +00:00
|
|
|
padding-block: 7px;
|
|
|
|
padding-inline: 16px;
|
2021-09-21 22:37:10 +00:00
|
|
|
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;
|
2023-04-20 17:03:43 +00:00
|
|
|
margin-inline-end: 10px;
|
2021-09-21 22:37:10 +00:00
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__send-message__bubble-icon {
|
2023-05-04 18:04:22 +00:00
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2021-09-21 22:37:10 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
2023-05-04 18:04:22 +00:00
|
|
|
@include color-svg('../images/icons/v3/chat/chat.svg', $color-gray-75);
|
2021-09-21 22:37:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
2023-05-04 18:04:22 +00:00
|
|
|
@include color-svg('../images/icons/v3/chat/chat.svg', $color-gray-15);
|
2021-09-21 22:37:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__safety-number__bubble-icon {
|
2023-05-04 18:04:22 +00:00
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2021-09-21 22:37:10 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
2023-05-04 18:04:22 +00:00
|
|
|
'../images/icons/v3/safety_number/safety_number.svg',
|
2021-09-21 22:37:10 +00:00
|
|
|
$color-gray-75
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
2023-05-04 18:04:22 +00:00
|
|
|
'../images/icons/v3/safety_number/safety_number.svg',
|
2021-09-21 22:37:10 +00:00
|
|
|
$color-gray-15
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-04 18:04:22 +00:00
|
|
|
&__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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-26 16:24:52 +00:00
|
|
|
&__add-to-another-group__bubble-icon {
|
2023-05-04 18:04:22 +00:00
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2021-09-21 22:37:10 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
2023-05-04 18:04:22 +00:00
|
|
|
'../images/icons/v3/plus/plus-circle.svg',
|
2021-09-21 22:37:10 +00:00
|
|
|
$color-gray-75
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
2023-05-04 18:04:22 +00:00
|
|
|
'../images/icons/v3/plus/plus-circle.svg',
|
2021-09-21 22:37:10 +00:00
|
|
|
$color-gray-15
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__remove-from-group__bubble-icon {
|
2023-05-04 18:04:22 +00:00
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2021-09-21 22:37:10 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
2023-05-04 18:04:22 +00:00
|
|
|
@include color-svg('../images/icons/v3/leave/leave.svg', $color-gray-75);
|
2021-09-21 22:37:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
2023-05-04 18:04:22 +00:00
|
|
|
@include color-svg('../images/icons/v3/leave/leave.svg', $color-gray-15);
|
2021-09-21 22:37:10 +00:00
|
|
|
}
|
|
|
|
}
|
2023-03-02 07:26:37 +00:00
|
|
|
|
2023-05-05 16:23:43 +00:00
|
|
|
&__official-badge,
|
|
|
|
&__official-badge__large {
|
2023-03-02 06:57:35 +00:00
|
|
|
display: inline-block;
|
2023-05-05 16:23:43 +00:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
// white background behind the icon
|
|
|
|
&::before {
|
|
|
|
top: 2px;
|
|
|
|
inset-inline-start: 2px;
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
border-radius: 5px;
|
|
|
|
background: $color-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__official-badge {
|
2023-05-04 18:04:22 +00:00
|
|
|
height: 14px;
|
2023-04-20 17:03:43 +00:00
|
|
|
margin-inline-start: 4px;
|
2023-05-04 18:04:22 +00:00
|
|
|
width: 14px;
|
2023-05-05 16:23:43 +00:00
|
|
|
|
|
|
|
&::after {
|
|
|
|
top: 0;
|
|
|
|
inset-inline-start: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v3/official/official-compact.svg',
|
|
|
|
$color-ultramarine
|
|
|
|
);
|
|
|
|
}
|
2023-03-02 06:57:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__official-badge__large {
|
2023-05-04 18:04:22 +00:00
|
|
|
height: 24px;
|
2023-04-20 17:03:43 +00:00
|
|
|
margin-inline-start: 9px;
|
2023-05-04 18:04:22 +00:00
|
|
|
width: 24px;
|
2023-05-05 16:23:43 +00:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
top: 4px;
|
|
|
|
inset-inline-start: 4px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
top: 0;
|
|
|
|
inset-inline-start: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v3/official/official.svg',
|
|
|
|
$color-ultramarine
|
|
|
|
);
|
|
|
|
}
|
2023-03-02 06:57:35 +00:00
|
|
|
}
|
2021-09-21 22:37:10 +00:00
|
|
|
}
|