2021-03-03 20:09:58 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2024-11-15 23:09:31 +00:00
|
|
|
@use '../mixins';
|
|
|
|
@use '../variables';
|
|
|
|
|
2021-03-03 20:09:58 +00:00
|
|
|
.module-GroupDialog {
|
2024-11-15 23:09:31 +00:00
|
|
|
@include mixins.popper-shadow();
|
|
|
|
& {
|
|
|
|
border-radius: 8px;
|
|
|
|
margin-block: 0;
|
|
|
|
margin-inline: auto;
|
|
|
|
max-height: 80vh;
|
|
|
|
max-width: 360px;
|
|
|
|
padding: 16px;
|
|
|
|
position: relative;
|
|
|
|
width: 95%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-03-03 20:09:58 +00:00
|
|
|
}
|
|
|
|
|
2024-11-15 23:09:31 +00:00
|
|
|
@include mixins.light-theme() {
|
|
|
|
background: variables.$color-white;
|
|
|
|
color: variables.$color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include mixins.dark-theme() {
|
|
|
|
background: variables.$color-gray-95;
|
|
|
|
color: variables.$color-gray-05;
|
2021-03-03 20:09:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__close-button {
|
2024-11-15 23:09:31 +00:00
|
|
|
@include mixins.button-reset;
|
2021-03-03 20:09:58 +00:00
|
|
|
|
2024-11-15 23:09:31 +00:00
|
|
|
& {
|
|
|
|
position: absolute;
|
|
|
|
inset-inline-end: 12px;
|
|
|
|
top: 12px;
|
2021-03-03 20:09:58 +00:00
|
|
|
|
2024-11-15 23:09:31 +00:00
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
2021-03-03 20:09:58 +00:00
|
|
|
|
2024-11-15 23:09:31 +00:00
|
|
|
@include mixins.light-theme {
|
|
|
|
@include mixins.color-svg(
|
|
|
|
'../images/icons/v3/x/x.svg',
|
|
|
|
variables.$color-gray-75
|
|
|
|
);
|
2021-03-03 20:09:58 +00:00
|
|
|
}
|
|
|
|
|
2024-11-15 23:09:31 +00:00
|
|
|
@include mixins.dark-theme {
|
|
|
|
@include mixins.color-svg(
|
|
|
|
'../images/icons/v3/x/x.svg',
|
|
|
|
variables.$color-gray-15
|
|
|
|
);
|
2021-03-03 20:09:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2024-11-15 23:09:31 +00:00
|
|
|
@include mixins.keyboard-mode {
|
|
|
|
background-color: variables.$color-ultramarine;
|
2021-03-03 20:09:58 +00:00
|
|
|
}
|
2024-11-15 23:09:31 +00:00
|
|
|
@include mixins.dark-keyboard-mode {
|
|
|
|
background-color: variables.$color-ultramarine-light;
|
2021-03-03 20:09:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
2024-11-15 23:09:31 +00:00
|
|
|
@include mixins.font-title-2;
|
2021-03-03 20:09:58 +00:00
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__body {
|
|
|
|
overflow-x: scroll;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__paragraph,
|
|
|
|
&__contacts {
|
2023-04-20 17:03:43 +00:00
|
|
|
margin-block: 0 16px;
|
|
|
|
margin-inline: 0;
|
|
|
|
padding-block: 0;
|
|
|
|
padding-inline: 28px 16px;
|
2021-03-03 20:09:58 +00:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
height: 11px;
|
2023-04-20 17:03:43 +00:00
|
|
|
inset-inline-start: 4px;
|
2021-03-03 20:09:58 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
width: 4px;
|
|
|
|
|
2024-11-15 23:09:31 +00:00
|
|
|
@include mixins.light-theme {
|
|
|
|
background-color: variables.$color-gray-15;
|
2021-03-03 20:09:58 +00:00
|
|
|
}
|
2024-11-15 23:09:31 +00:00
|
|
|
@include mixins.dark-theme {
|
|
|
|
background-color: variables.$color-gray-65;
|
2021-03-03 20:09:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__contacts {
|
|
|
|
list-style-type: none;
|
|
|
|
|
|
|
|
&__contact {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__contact__name {
|
2023-04-20 17:03:43 +00:00
|
|
|
margin-inline-start: 8px;
|
2021-03-03 20:09:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__button-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
margin-top: 16px;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
.module-Button {
|
|
|
|
flex-grow: 1;
|
|
|
|
max-width: 152px;
|
|
|
|
|
|
|
|
&:not(:first-child) {
|
2023-04-20 17:03:43 +00:00
|
|
|
margin-inline-start: 16px;
|
2021-03-03 20:09:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|