2021-05-29 21:22:58 +02:00
|
|
|
/*
|
2024-09-09 14:57:16 +01:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-05-29 21:22:58 +02:00
|
|
|
Copyright 2021 Šimon Brandner <simon.bra.ag@gmail.com>
|
|
|
|
|
|
2025-01-06 11:18:54 +00:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
|
2024-09-09 14:57:16 +01:00
|
|
|
Please see LICENSE files in the repository root for full details.
|
2021-05-29 21:22:58 +02:00
|
|
|
*/
|
|
|
|
|
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent_wrapper {
|
2021-05-29 21:22:58 +02:00
|
|
|
display: flex;
|
2021-08-05 11:47:58 +02:00
|
|
|
width: 100%;
|
2021-05-29 21:22:58 +02:00
|
|
|
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent {
|
2021-05-30 12:42:23 +02:00
|
|
|
display: flex;
|
2021-06-01 07:55:55 +02:00
|
|
|
flex-direction: row;
|
2022-04-14 20:27:29 +00:00
|
|
|
flex-wrap: wrap;
|
2021-06-01 10:03:23 +02:00
|
|
|
align-items: center;
|
2021-08-05 11:47:58 +02:00
|
|
|
justify-content: space-between;
|
2026-07-22 11:10:57 +01:00
|
|
|
gap: var(--cpd-space-1x) 0;
|
2021-05-30 12:42:23 +02:00
|
|
|
|
2022-04-14 20:27:29 +00:00
|
|
|
position: relative;
|
2026-07-22 11:10:57 +01:00
|
|
|
margin: var(--cpd-space-1x) 0;
|
|
|
|
|
padding: var(--cpd-space-3x) var(--cpd-space-6x);
|
2022-04-14 20:27:29 +00:00
|
|
|
box-sizing: border-box;
|
2021-08-05 11:47:58 +02:00
|
|
|
background-color: $dark-panel-bg-color;
|
|
|
|
|
border-radius: 8px;
|
2021-08-13 10:59:59 +02:00
|
|
|
width: 65%;
|
2022-04-14 20:27:29 +00:00
|
|
|
height: fit-content;
|
2021-06-19 20:02:51 +02:00
|
|
|
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent_iconButton {
|
2021-06-19 20:02:51 +02:00
|
|
|
display: inline-flex;
|
|
|
|
|
|
2026-01-16 11:21:57 +00:00
|
|
|
svg {
|
2021-06-19 20:02:51 +02:00
|
|
|
height: 16px;
|
|
|
|
|
width: 16px;
|
2026-01-16 11:21:57 +00:00
|
|
|
color: $secondary-content;
|
2021-06-19 20:02:51 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent_info {
|
2021-08-05 11:47:58 +02:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
2022-04-14 20:27:29 +00:00
|
|
|
width: fit-content;
|
|
|
|
|
max-width: 100%;
|
2021-08-05 11:47:58 +02:00
|
|
|
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent_info_basic {
|
2021-08-05 11:47:58 +02:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-07-22 11:10:57 +01:00
|
|
|
gap: var(--cpd-space-1x);
|
2022-08-30 15:13:39 -04:00
|
|
|
margin-left: 10px; /* To match mx_LegacyCallEvent */
|
2022-04-14 20:27:29 +00:00
|
|
|
margin-right: 10px;
|
2021-08-16 10:08:16 +02:00
|
|
|
min-width: 0;
|
2021-08-05 11:47:58 +02:00
|
|
|
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent_sender {
|
2023-06-29 11:30:25 +01:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-bottom: var(--cpd-space-1x);
|
2021-08-16 10:08:16 +02:00
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
text-overflow: ellipsis;
|
2021-08-05 11:47:58 +02:00
|
|
|
}
|
|
|
|
|
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent_type {
|
2021-08-05 11:47:58 +02:00
|
|
|
font-weight: 400;
|
2021-08-24 08:57:12 +02:00
|
|
|
color: $secondary-content;
|
2021-08-05 11:47:58 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent_content {
|
2021-08-05 11:47:58 +02:00
|
|
|
display: flex;
|
2022-04-14 20:27:29 +00:00
|
|
|
flex-wrap: wrap;
|
2021-08-05 11:47:58 +02:00
|
|
|
align-items: center;
|
2021-08-24 08:57:12 +02:00
|
|
|
color: $secondary-content;
|
2023-02-24 09:45:53 -05:00
|
|
|
font-size: $font-12px;
|
2026-07-22 11:10:57 +01:00
|
|
|
gap: var(--cpd-space-3x); /* See mx_IncomingLegacyCallToast_buttons */
|
2022-08-30 15:13:39 -04:00
|
|
|
margin-inline-start: 42px; /* avatar (32px) + mx_LegacyCallEvent_info_basic margin (10px) */
|
2022-04-14 20:27:29 +00:00
|
|
|
word-break: break-word;
|
|
|
|
|
max-width: fit-content;
|
2021-08-05 11:47:58 +02:00
|
|
|
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent_content_button {
|
|
|
|
|
@mixin LegacyCallButton;
|
2026-07-22 11:10:57 +01:00
|
|
|
padding: 0 var(--cpd-space-3x);
|
2023-02-24 09:45:53 -05:00
|
|
|
font-size: inherit;
|
2021-08-05 11:47:58 +02:00
|
|
|
}
|
|
|
|
|
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent_content_tooltip {
|
2021-08-05 11:47:58 +02:00
|
|
|
margin-right: 5px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-30 15:13:39 -04:00
|
|
|
&.mx_LegacyCallEvent_narrow {
|
2021-08-05 11:47:58 +02:00
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: unset;
|
2026-07-22 11:10:57 +01:00
|
|
|
gap: var(--cpd-space-1x) var(--cpd-space-4x);
|
2022-04-14 20:27:29 +00:00
|
|
|
height: unset;
|
|
|
|
|
min-width: 290px;
|
2021-08-05 11:47:58 +02:00
|
|
|
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent_iconButton {
|
2021-08-05 11:47:58 +02:00
|
|
|
position: absolute;
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
top: 12px;
|
|
|
|
|
right: 12px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
width: 16px;
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent_info {
|
2024-05-16 10:00:57 +02:00
|
|
|
align-items: center;
|
2021-08-05 11:47:58 +02:00
|
|
|
}
|
|
|
|
|
}
|
2021-06-01 10:03:23 +02:00
|
|
|
}
|
2021-05-29 21:22:58 +02:00
|
|
|
}
|
2022-04-14 20:27:29 +00:00
|
|
|
|
2026-01-21 13:33:58 +00:00
|
|
|
.mx_LegacyCallEvent_type_icon {
|
|
|
|
|
height: 16px;
|
|
|
|
|
width: 16px;
|
|
|
|
|
margin-right: 6px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
vertical-align: -2px;
|
|
|
|
|
|
|
|
|
|
svg {
|
|
|
|
|
position: absolute;
|
|
|
|
|
height: inherit;
|
|
|
|
|
width: inherit;
|
|
|
|
|
color: $tertiary-content;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-04-14 20:27:29 +00:00
|
|
|
.mx_EventTile[data-layout="bubble"] {
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_EventTile_e2eIcon + .mx_LegacyCallEvent_wrapper {
|
|
|
|
|
.mx_LegacyCallEvent {
|
2022-04-14 20:27:29 +00:00
|
|
|
position: relative;
|
|
|
|
|
|
2022-07-27 14:39:29 +01:00
|
|
|
/* 5px (gap) + 14px (e2e icon size * mask-size) + 9px (margin-left of e2e icon) */
|
2022-04-14 20:27:29 +00:00
|
|
|
right: calc(5px + 14px + 9px);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_EventTile_leftAlignedBubble {
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent_wrapper {
|
|
|
|
|
.mx_LegacyCallEvent {
|
|
|
|
|
&.mx_LegacyCallEvent_narrow {
|
2026-07-22 11:10:57 +01:00
|
|
|
gap: var(--cpd-space-2x) var(--cpd-space-1x);
|
2022-04-14 20:27:29 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_IRCLayout {
|
2022-08-30 15:13:39 -04:00
|
|
|
.mx_LegacyCallEvent_wrapper {
|
|
|
|
|
.mx_LegacyCallEvent {
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-inline-start: var(--cpd-space-1x); /* display green line */
|
2022-04-14 20:27:29 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|