2022-01-05 15:06:51 -08:00
|
|
|
/*
|
2024-09-06 10:22:13 +02:00
|
|
|
Copyright 2021-2024 New Vector Ltd.
|
2022-01-05 15:06:51 -08:00
|
|
|
|
2025-02-18 17:59:58 +00:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
2024-09-06 10:22:13 +02:00
|
|
|
Please see LICENSE in the repository root for full details.
|
2022-01-05 15:06:51 -08:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
.inRoom {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
2024-08-16 15:16:33 -04:00
|
|
|
overflow-x: hidden;
|
2024-05-02 18:44:36 -04:00
|
|
|
overflow-y: auto;
|
2022-01-05 15:06:51 -08:00
|
|
|
}
|
|
|
|
|
|
2024-05-02 18:44:36 -04:00
|
|
|
.header {
|
|
|
|
|
position: sticky;
|
2024-08-01 16:25:33 -04:00
|
|
|
flex-shrink: 0;
|
2024-05-02 18:44:36 -04:00
|
|
|
inset-block-start: 0;
|
2025-06-26 05:08:57 -04:00
|
|
|
z-index: var(--call-view-header-footer-layer);
|
2024-05-02 18:44:36 -04:00
|
|
|
background: linear-gradient(
|
|
|
|
|
0deg,
|
|
|
|
|
rgba(0, 0, 0, 0) 0%,
|
|
|
|
|
var(--cpd-color-bg-canvas-default) 100%
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-01 16:25:33 -04:00
|
|
|
.header.filler {
|
|
|
|
|
block-size: var(--cpd-space-6x);
|
|
|
|
|
background: none;
|
|
|
|
|
}
|
|
|
|
|
|
2022-01-05 15:06:51 -08:00
|
|
|
.footer {
|
2023-09-25 14:16:29 -04:00
|
|
|
position: sticky;
|
|
|
|
|
inset-block-end: 0;
|
2025-06-26 05:08:57 -04:00
|
|
|
z-index: var(--call-view-header-footer-layer);
|
2023-09-08 15:39:10 -04:00
|
|
|
display: grid;
|
2026-04-08 16:05:46 +02:00
|
|
|
grid-template-columns: 1fr auto 1fr;
|
|
|
|
|
grid-template-areas: ". buttons layout";
|
2022-01-05 15:06:51 -08:00
|
|
|
align-items: center;
|
2023-09-08 15:39:10 -04:00
|
|
|
gap: var(--cpd-space-3x);
|
2026-04-08 16:05:46 +02:00
|
|
|
padding: var(--cpd-space-10x) var(--cpd-space-6x);
|
2023-02-04 00:43:53 -05:00
|
|
|
background: linear-gradient(
|
2023-09-08 15:39:10 -04:00
|
|
|
180deg,
|
|
|
|
|
rgba(0, 0, 0, 0) 0%,
|
|
|
|
|
var(--cpd-color-bg-canvas-default) 100%
|
2023-02-04 00:43:53 -05:00
|
|
|
);
|
2022-01-05 15:06:51 -08:00
|
|
|
}
|
|
|
|
|
|
2024-08-27 07:47:20 -04:00
|
|
|
.footer.hidden {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-08 17:21:47 -04:00
|
|
|
.footer.overlay {
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset-block-end: 0;
|
|
|
|
|
inset-inline: 0;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transition: opacity 0.15s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer.overlay.hidden {
|
2024-08-27 07:47:20 -04:00
|
|
|
display: grid;
|
2024-08-08 17:21:47 -04:00
|
|
|
opacity: 0;
|
2026-03-09 10:30:42 +01:00
|
|
|
pointer-events: none;
|
2024-08-08 17:21:47 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer.overlay:has(:focus-visible) {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
pointer-events: initial;
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-08 16:05:46 +02:00
|
|
|
.settingsLogoContainer {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: var(--cpd-space-4x);
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 15:39:10 -04:00
|
|
|
.logo {
|
|
|
|
|
justify-self: start;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: var(--cpd-space-2x);
|
|
|
|
|
padding-inline-start: var(--cpd-space-1x);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.buttons {
|
|
|
|
|
grid-area: buttons;
|
2024-11-08 12:16:59 -05:00
|
|
|
justify-self: center;
|
2023-09-08 15:39:10 -04:00
|
|
|
display: flex;
|
|
|
|
|
gap: var(--cpd-space-3x);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layout {
|
|
|
|
|
grid-area: layout;
|
|
|
|
|
justify-self: end;
|
2022-08-07 19:09:45 +02:00
|
|
|
}
|
|
|
|
|
|
2026-04-08 16:05:46 +02:00
|
|
|
/*First hide the logo*/
|
2024-11-11 11:04:49 -05:00
|
|
|
@media (max-width: 660px) {
|
2026-04-08 16:05:46 +02:00
|
|
|
.logo {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-10 17:40:24 +02:00
|
|
|
.settingForButtonsBar {
|
|
|
|
|
/*
|
|
|
|
|
never show the settings button for the buttons bar
|
|
|
|
|
show the settings button in the Buttons bar on width < 500px
|
|
|
|
|
*/
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
.settingForBottomLeftCorner {
|
|
|
|
|
/*
|
|
|
|
|
show the left corener by default (will be hidden on width < 500px)
|
|
|
|
|
*/
|
|
|
|
|
display: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-08 16:05:46 +02:00
|
|
|
/*
|
|
|
|
|
With the logo hidden >500px is enough space to show overflow, buttons, layout.
|
|
|
|
|
Once we exceed 500 we hide everything except the buttons.
|
|
|
|
|
*/
|
|
|
|
|
@media (max-width: 500px) {
|
2024-11-11 11:04:49 -05:00
|
|
|
.footer {
|
2026-04-08 16:05:46 +02:00
|
|
|
grid-template-areas: "buttons buttons buttons";
|
2024-11-11 11:04:49 -05:00
|
|
|
}
|
|
|
|
|
|
2026-04-09 16:47:42 +02:00
|
|
|
/*.settingsLogoContainer {
|
2024-11-11 11:04:49 -05:00
|
|
|
display: none;
|
2026-04-09 16:47:42 +02:00
|
|
|
}*/
|
2024-11-11 11:04:49 -05:00
|
|
|
|
|
|
|
|
.layout {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-04 16:47:15 +01:00
|
|
|
@media (max-height: 800px) {
|
|
|
|
|
.footer {
|
|
|
|
|
padding-block: var(--cpd-space-8x);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-height: 400px) {
|
|
|
|
|
.footer {
|
|
|
|
|
padding-block: var(--cpd-space-4x);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-11-08 12:16:59 -05:00
|
|
|
@media (max-width: 370px) {
|
|
|
|
|
.shareScreen {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-04 16:47:15 +01:00
|
|
|
/* PIP custom css */
|
2024-11-08 12:16:59 -05:00
|
|
|
@media (max-height: 400px) {
|
2026-03-04 16:47:15 +01:00
|
|
|
.shareScreen {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
2024-11-08 12:16:59 -05:00
|
|
|
.footer {
|
2026-03-04 16:47:15 +01:00
|
|
|
padding-block-start: var(--cpd-space-3x);
|
|
|
|
|
padding-block-end: var(--cpd-space-2x);
|
2024-11-08 12:16:59 -05:00
|
|
|
}
|
2022-09-14 19:05:05 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-07-10 16:07:14 -04:00
|
|
|
@media (max-width: 320px) {
|
|
|
|
|
.invite,
|
|
|
|
|
.raiseHand {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-18 15:45:48 -04:00
|
|
|
@media (min-width: 800px) {
|
2023-09-08 15:39:10 -04:00
|
|
|
.buttons {
|
|
|
|
|
gap: var(--cpd-space-4x);
|
2022-01-05 15:06:51 -08:00
|
|
|
}
|
|
|
|
|
}
|
2023-10-26 19:33:59 +02:00
|
|
|
|
2024-05-02 18:44:36 -04:00
|
|
|
.fixedGrid {
|
|
|
|
|
position: absolute;
|
2024-05-17 16:38:00 -04:00
|
|
|
inline-size: 100%;
|
2024-05-02 18:44:36 -04:00
|
|
|
align-self: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.scrollingGrid {
|
|
|
|
|
position: relative;
|
|
|
|
|
flex-grow: 1;
|
2024-05-17 16:38:00 -04:00
|
|
|
inline-size: 100%;
|
2024-05-02 18:44:36 -04:00
|
|
|
align-self: center;
|
|
|
|
|
}
|
2024-05-30 13:06:24 -04:00
|
|
|
|
2024-07-03 15:08:30 -04:00
|
|
|
.fixedGrid,
|
|
|
|
|
.scrollingGrid {
|
|
|
|
|
/* Disable pointer events so the overlay doesn't block interaction with
|
|
|
|
|
elements behind it */
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fixedGrid > :not(:first-child),
|
|
|
|
|
.scrollingGrid > :not(:first-child) {
|
|
|
|
|
pointer-events: initial;
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-30 13:06:24 -04:00
|
|
|
.tile {
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset-block-start: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tile.maximised {
|
|
|
|
|
position: relative;
|
|
|
|
|
flex-grow: 1;
|
2024-11-11 12:09:26 +00:00
|
|
|
}
|