signal-desktop/stylesheets/components/CallingAdhocCallInfo.scss

168 lines
3.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
2024-11-15 23:09:31 +00:00
@use '../mixins';
@use '../variables';
2024-02-22 21:19:50 +00:00
.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 {
2024-11-15 23:09:31 +00:00
@include mixins.button-reset;
& {
@include mixins.font-body-2;
display: flex;
width: 100%;
padding-block: 8px;
padding-inline: 10px 2px;
align-items: center;
border-radius: 6px;
}
}
.CallingAdhocCallInfo__MenuItem:hover {
2024-11-15 23:09:31 +00:00
background-color: variables.$color-gray-62;
2024-02-22 21:19:50 +00:00
}
.CallingAdhocCallInfo__MenuItemIcon {
2024-11-15 23:09:31 +00:00
background: variables.$color-gray-65;
2024-02-22 21:19:50 +00:00
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 {
2024-11-15 23:09:31 +00:00
@include mixins.color-svg(
'../images/icons/v3/copy/copy.svg',
variables.$color-gray-15
);
2024-02-22 21:19:50 +00:00
}
.CallingAdhocCallInfo__MenuItemIcon--share-via-signal:before {
2024-11-15 23:09:31 +00:00
@include mixins.color-svg(
'../images/icons/v3/forward/forward.svg',
variables.$color-gray-15
);
2024-02-22 21:19:50 +00:00
}
.CallingAdhocCallInfo__MenuItemText {
display: flex;
}
.CallingAdhocCallInfo__Divider {
display: flex;
margin-block: 16px;
margin-inline: 10px;
2024-11-15 23:09:31 +00:00
border: 1px solid variables.$color-gray-65;
2024-02-22 21:19:50 +00:00
}
.CallingAdhocCallInfo__RemoveClient {
2024-11-15 23:09:31 +00:00
@include mixins.button-reset;
& {
width: 16px;
height: 16px;
margin-inline: 8px;
background: variables.$color-white;
}
}
.CallingAdhocCallInfo__UnknownContactInfoButton {
2024-11-15 23:09:31 +00:00
@include mixins.button-reset;
@include mixins.color-svg(
'../images/icons/v3/info/info.svg',
variables.$color-white
);
& {
display: flex;
flex: none;
width: 16px;
height: 16px;
margin-inline: 8px;
}
}
.CallingAdhocCallInfo__UnknownContactInfoButton:focus {
2024-11-15 23:09:31 +00:00
@include mixins.keyboard-mode {
background: variables.$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;
2024-11-15 23:09:31 +00:00
outline-color: variables.$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
2024-11-15 23:09:31 +00:00
outline-color: variables.$color-gray-62;
}
2024-06-29 00:13:20 +00:00
.CallingAdhocCallInfo__RemoveClientDialog {
width: 440px;
}