signal-desktop/stylesheets/components/CallingPendingParticipants.scss
2024-09-24 11:33:58 -07:00

158 lines
3.3 KiB
SCSS

// Copyright 2024 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.CallingPendingParticipants {
width: 420px;
height: auto;
margin-block-start: auto;
margin-block-end: 36px;
margin-inline-start: auto;
margin-inline-end: auto;
}
.CallingPendingParticipants--Compact {
width: 364px;
padding-inline: 0;
padding-block-start: 0;
outline: 0;
}
.CallingPendingParticipants--Expandable {
background: $color-gray-78;
}
.CallingPendingParticipants--Expanded {
padding-block-end: 2px;
}
.CallingPendingParticipants__CompactParticipant {
display: flex;
padding-block: 12px;
padding-inline: 12px;
outline: none;
align-items: center;
}
.CallingPendingParticipants__CompactParticipantNameColumn {
margin-inline-start: 8px;
}
.CallingPendingParticipants__ParticipantButton {
@include button-reset();
}
.CallingPendingParticipants__ParticipantButton:focus {
@include keyboard-mode {
outline: 3px solid $color-ultramarine;
outline-offset: 1px;
}
}
.CallingPendingParticipants__ParticipantName {
@include font-body-1-bold;
color: $color-gray-15;
}
.CallingPendingParticipants__ParticipantAboutIcon {
display: inline-block;
height: 14px;
width: 14px;
position: relative;
inset-block-start: 3px;
@include color-svg(
'../images/icons/v3/chevron/chevron-right-bold.svg',
$color-gray-05
);
}
.CallingPendingParticipants__WouldLikeToJoin {
@include font-body-2;
color: $color-gray-20;
}
.CallingPendingParticipants__PendingActionButton {
width: 28px;
height: 28px;
flex-shrink: 0;
padding-inline: 0;
margin-inline-end: 16px;
}
.CallingPendingParticipants__PendingActionButton:first-child {
margin-inline-start: 8px;
}
.CallingPendingParticipants__PendingActionButton:last-child {
margin-inline-end: 8px;
}
.CallingPendingParticipants__PendingActionButtonIcon {
width: 16px;
height: 16px;
}
.CallingPendingParticipants--Compact {
.CallingPendingParticipants__PendingActionButton {
width: 36px;
height: 36px;
margin-inline-end: 20px;
}
.CallingPendingParticipants__PendingActionButton:last-child {
margin-inline-end: 0;
}
.CallingPendingParticipants__PendingActionButtonIcon {
width: 20px;
height: 20px;
}
}
.CallingPendingParticipants__PendingActionButtonIcon--Approve {
@include color-svg('../images/icons/v3/check/check-bold.svg', $color-white);
}
.CallingPendingParticipants__PendingActionButtonIcon--Deny {
@include color-svg('../images/icons/v3/x/x-bold.svg', $color-white);
}
.CallingPendingParticipants__ActionPanel {
padding-block: 15px;
text-align: end;
}
.CallingPendingParticipants__ActionPanelButton {
border-radius: 4px;
margin-inline-end: 16px;
}
.CallingPendingParticipants__ActionPanelButton:last-child {
margin-inline-end: 10px;
}
.CallingPendingParticipants__ShowAllRequestsButton {
@include button-reset;
@include font-body-2-bold;
display: flex;
padding-block: 5px;
padding-inline: 15px;
margin-block: 12px;
margin-inline: auto;
color: $color-white-alpha-90;
background: $color-gray-65;
border-radius: 46px;
outline: none;
}
.CallingPendingParticipants__ShowAllRequestsButton:focus {
@include keyboard-mode {
outline: 3px solid $color-ultramarine;
outline-offset: 1px;
}
}
.CallingPendingParticipants__ShowAllRequestsButtonContainer {
background: $color-black-alpha-24;
}