signal-desktop/stylesheets/components/AddGroupMembersModal.scss
2021-05-10 20:50:43 -04:00

67 lines
1.1 KiB
SCSS

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.module-AddGroupMembersModal {
$root-selector: &;
$padding: 16px;
&__header {
@include font-body-1-bold;
margin: 0;
padding: 0;
}
&__button-container {
display: flex;
justify-content: flex-end;
flex-grow: 0;
flex-shrink: 0;
padding: $padding;
.module-Button {
&:not(:first-child) {
margin-left: 12px;
}
}
}
&__close-button {
@include modal-close-button;
}
.module-ContactPills {
max-height: 50px;
}
&__list-wrapper {
flex-grow: 1;
overflow: hidden;
}
&__no-candidate-contacts {
flex-grow: 1;
display: flex;
align-items: center;
justify-content: center;
}
&--choose-members {
@include modal-reset;
padding: 0; // The <ConversationList> has its own padding, so we pad various inner elements.
height: 60vh;
min-height: 400px;
'#{$root-selector}__header' {
padding: $padding;
}
}
&--confirm-adds {
@include modal-reset;
'#{$root-selector}__button-container' {
margin-top: 12px;
padding: 0;
}
}
}