signal-desktop/stylesheets/components/AddGroupMembersModal.scss

73 lines
1.3 KiB
SCSS
Raw Normal View History

2023-01-03 19:55:46 +00:00
// Copyright 2021 Signal Messenger, LLC
2021-03-11 21:29:31 +00:00
// 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) {
2023-04-20 17:03:43 +00:00
margin-inline-start: 12px;
2021-03-11 21:29:31 +00:00
}
}
}
&__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 {
2021-03-11 21:29:31 +00:00
padding: $padding;
}
}
&--confirm-adds {
@include modal-reset;
#{$root-selector}__button-container {
2021-03-11 21:29:31 +00:00
margin-top: 12px;
padding: 0;
}
}
.module-conversation-list {
// remove horizontal padding so ListTiles extend to the edges
padding: 0;
}
2021-03-11 21:29:31 +00:00
}