signal-desktop/stylesheets/components/CallingAdhocCallInfo.scss

150 lines
3 KiB
SCSS
Raw Normal View History

2024-02-22 21:19:50 +00:00
// Copyright 2024 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.CallingAdhocCallInfo {
flex-shrink: 0;
width: 360px;
2024-02-22 21:19:50 +00:00
height: auto;
margin-block-end: auto;
padding-block-end: 16px;
pointer-events: auto;
2024-02-22 21:19:50 +00:00
}
.CallingAdhocCallInfo__width-container {
display: flex;
flex-direction: row;
width: 100%;
max-width: none;
2024-02-22 21:19:50 +00:00
height: auto;
padding-block: 1px;
padding-inline-start: 15px;
margin-block-end: 80px;
2024-02-22 21:19:50 +00:00
overflow: hidden;
pointer-events: none;
}
.CallingAdhocCallInfo__width-container::after {
content: '';
display: flex;
flex-shrink: 1;
flex-basis: 480px;
2024-02-22 21:19:50 +00:00
}
.CallingAdhocCallInfo__overlay {
background: transparent;
}
.CallingAdhocCallInfo__overlay-container {
flex-direction: column;
padding: 0;
justify-content: flex-end;
}
.CallingAdhocCallInfo__MenuItem {
@include button-reset;
@include font-body-2;
display: flex;
width: 100%;
2024-02-22 21:19:50 +00:00
padding-block: 8px;
padding-inline: 10px 2px;
align-items: center;
border-radius: 6px;
}
.CallingAdhocCallInfo__MenuItem:hover {
background-color: $color-gray-62;
2024-02-22 21:19:50 +00:00
}
.CallingAdhocCallInfo__MenuItemIcon {
background: $color-gray-65;
display: flex;
width: 36px;
height: 36px;
2024-02-22 21:19:50 +00:00
margin-inline-end: 8px;
border-radius: 36px;
2024-02-22 21:19:50 +00:00
align-items: center;
justify-content: center;
}
.CallingAdhocCallInfo__MenuItemIcon:before {
content: '';
display: inline-block;
height: 18px;
width: 18px;
}
.CallingAdhocCallInfo__MenuItemIcon--copy-link:before {
@include color-svg('../images/icons/v3/copy/copy.svg', $color-gray-15);
}
.CallingAdhocCallInfo__MenuItemIcon--share-via-signal:before {
@include color-svg('../images/icons/v3/forward/forward.svg', $color-gray-15);
}
.CallingAdhocCallInfo__MenuItemText {
display: flex;
}
.CallingAdhocCallInfo__Divider {
display: flex;
margin-block: 16px;
margin-inline: 10px;
border: 1px solid $color-gray-65;
}
.CallingAdhocCallInfo__RemoveClient {
@include button-reset;
width: 16px;
height: 16px;
margin-inline: 8px;
background: $color-white;
}
.CallingAdhocCallInfo__UnknownContactInfoButton {
@include button-reset;
@include color-svg('../images/icons/v3/info/info.svg', $color-white);
display: flex;
flex: none;
width: 16px;
height: 16px;
margin-inline: 8px;
}
.CallingAdhocCallInfo__UnknownContactInfoButton:focus {
@include keyboard-mode {
background: $color-ultramarine;
}
}
.CallingAdhocCallInfo__UnknownContactInfoDialog__body {
padding-block-start: 22px;
padding-block-end: 8px;
}
.CallingAdhocCallInfo__UnknownContactAvatarSet {
height: 36px;
}
.CallingAdhocCallInfo__UnknownContactAvatar {
&:not(:first-child) {
margin-inline-start: -24px;
}
.module-Avatar__contents {
outline: 2px solid;
outline-color: $color-gray-80;
}
}
.CallingAdhocCallInfo
.module-calling-participants-list__contact:hover
.CallingAdhocCallInfo__UnknownContactAvatar
.module-Avatar__contents {
// Should match background of .module-calling-participants-list__contact:hover
outline-color: $color-gray-62;
}
2024-06-29 00:13:20 +00:00
.CallingAdhocCallInfo__RemoveClientDialog {
width: 440px;
}