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;
|
2024-12-02 12:10:20 +01:00
|
|
|
grid-template-columns:
|
|
|
|
|
minmax(0, var(--inline-content-inset))
|
|
|
|
|
1fr auto 1fr minmax(0, var(--inline-content-inset));
|
2024-11-08 12:16:59 -05:00
|
|
|
grid-template-areas: ". logo 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);
|
2024-11-08 12:16:59 -05:00
|
|
|
padding-block: var(--cpd-space-10x);
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer.overlay:has(:focus-visible) {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
pointer-events: initial;
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 15:39:10 -04:00
|
|
|
.logo {
|
|
|
|
|
grid-area: 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
|
|
|
}
|
|
|
|
|
|
2024-11-11 11:04:49 -05:00
|
|
|
@media (max-width: 660px) {
|
|
|
|
|
.footer {
|
|
|
|
|
grid-template-areas: ". buttons buttons buttons .";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layout {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-11-08 12:16:59 -05:00
|
|
|
@media (max-width: 370px) {
|
|
|
|
|
.raiseHand {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 340px) {
|
|
|
|
|
.invite,
|
|
|
|
|
.shareScreen {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-height: 400px) {
|
|
|
|
|
.footer {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2022-09-14 19:05:05 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-11-08 12:16:59 -05:00
|
|
|
@media (max-height: 400px) {
|
2023-09-25 14:16:29 -04:00
|
|
|
.footer {
|
2024-11-08 12:16:59 -05:00
|
|
|
padding-block: var(--cpd-space-4x);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-height: 800px) {
|
|
|
|
|
.footer {
|
|
|
|
|
padding-block: var(--cpd-space-8x);
|
2023-08-30 21:58:29 -04:00
|
|
|
}
|
2023-09-18 15:45:48 -04:00
|
|
|
}
|
2023-08-30 21:58:29 -04:00
|
|
|
|
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
|
|
|
}
|