2023-01-03 16:58:38 +00:00
|
|
|
/*
|
2024-09-06 10:22:13 +02:00
|
|
|
Copyright 2022-2024 New Vector Ltd.
|
2023-01-03 16:58:38 +00:00
|
|
|
|
2024-09-06 10:22:13 +02:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
Please see LICENSE in the repository root for full details.
|
2023-01-03 16:58:38 +00:00
|
|
|
*/
|
|
|
|
|
|
2021-08-19 17:49:45 -07:00
|
|
|
.header {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
2021-11-29 16:19:48 -08:00
|
|
|
justify-content: space-between;
|
2021-08-19 17:49:45 -07:00
|
|
|
align-items: center;
|
|
|
|
|
user-select: none;
|
2021-08-20 16:23:12 -07:00
|
|
|
flex-shrink: 0;
|
2023-09-18 15:45:48 -04:00
|
|
|
padding-inline: var(--inline-content-inset);
|
2021-08-19 17:49:45 -07:00
|
|
|
}
|
|
|
|
|
|
2021-11-29 16:19:48 -08:00
|
|
|
.nav {
|
|
|
|
|
display: flex;
|
2021-12-10 10:54:18 -08:00
|
|
|
flex: 1;
|
2021-11-29 16:19:48 -08:00
|
|
|
align-items: center;
|
|
|
|
|
white-space: nowrap;
|
2023-09-08 15:39:10 -04:00
|
|
|
height: 80px;
|
2021-08-19 17:49:45 -07:00
|
|
|
}
|
|
|
|
|
|
2021-12-23 14:40:23 -08:00
|
|
|
.headerLogo {
|
2024-02-22 16:15:46 +01:00
|
|
|
color: var(--cpd-color-text-primary);
|
2021-12-23 14:40:23 -08:00
|
|
|
display: none;
|
2021-08-19 17:49:45 -07:00
|
|
|
align-items: center;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
2021-12-23 14:40:23 -08:00
|
|
|
.leftNav.hideMobile {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2021-11-29 16:19:48 -08:00
|
|
|
.leftNav > * {
|
|
|
|
|
margin-right: 12px;
|
2021-08-20 16:23:12 -07:00
|
|
|
}
|
|
|
|
|
|
2021-12-23 14:40:23 -08:00
|
|
|
.leftNav h3 {
|
2022-01-05 11:52:23 -08:00
|
|
|
margin: 0;
|
2021-12-23 14:40:23 -08:00
|
|
|
}
|
|
|
|
|
|
2021-12-10 10:54:18 -08:00
|
|
|
.rightNav {
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
}
|
|
|
|
|
|
2021-11-10 17:03:32 -08:00
|
|
|
.rightNav > * {
|
|
|
|
|
margin-right: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
2022-01-04 16:00:13 -08:00
|
|
|
.rightNav.hideMobile {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2021-11-29 16:19:48 -08:00
|
|
|
.nav > :last-child {
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 15:39:10 -04:00
|
|
|
.roomHeaderInfo {
|
|
|
|
|
display: grid;
|
|
|
|
|
column-gap: var(--cpd-space-4x);
|
|
|
|
|
grid-template-columns: auto auto;
|
|
|
|
|
grid-template-rows: 1fr auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.roomHeaderInfo[data-size="sm"] {
|
|
|
|
|
grid-template-areas: "avatar name" ". participants";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.roomHeaderInfo[data-size="lg"] {
|
|
|
|
|
grid-template-areas: "avatar name" "avatar participants";
|
|
|
|
|
}
|
|
|
|
|
|
2021-11-29 16:19:48 -08:00
|
|
|
.roomAvatar {
|
2023-09-08 15:39:10 -04:00
|
|
|
align-self: flex-start;
|
|
|
|
|
grid-area: avatar;
|
2021-11-29 16:19:48 -08:00
|
|
|
}
|
|
|
|
|
|
2023-09-08 15:39:10 -04:00
|
|
|
.nameLine {
|
|
|
|
|
grid-area: name;
|
|
|
|
|
flex-grow: 1;
|
2024-08-16 15:15:51 -04:00
|
|
|
min-width: 0;
|
2023-09-08 15:39:10 -04:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: var(--cpd-space-1x);
|
2021-11-29 16:19:48 -08:00
|
|
|
}
|
|
|
|
|
|
2023-09-08 15:39:10 -04:00
|
|
|
.nameLine > h1 {
|
|
|
|
|
margin: 0;
|
2021-08-20 16:23:12 -07:00
|
|
|
overflow: hidden;
|
2023-09-08 15:39:10 -04:00
|
|
|
text-overflow: ellipsis;
|
2021-08-20 16:23:12 -07:00
|
|
|
}
|
|
|
|
|
|
2023-09-08 15:39:10 -04:00
|
|
|
.nameLine > svg {
|
|
|
|
|
flex-shrink: 0;
|
2022-06-09 21:56:58 +01:00
|
|
|
}
|
|
|
|
|
|
2023-09-08 15:39:10 -04:00
|
|
|
.participantsLine {
|
|
|
|
|
grid-area: participants;
|
2024-05-30 21:36:50 -04:00
|
|
|
color: var(--cpd-color-text-secondary);
|
2023-09-08 15:39:10 -04:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: var(--cpd-space-1-5x);
|
2022-06-09 21:56:58 +01:00
|
|
|
}
|
|
|
|
|
|
2021-11-10 17:03:32 -08:00
|
|
|
@media (min-width: 800px) {
|
2021-12-23 14:40:23 -08:00
|
|
|
.headerLogo,
|
2022-01-04 16:00:13 -08:00
|
|
|
.leftNav.hideMobile,
|
|
|
|
|
.rightNav.hideMobile {
|
2021-12-23 14:40:23 -08:00
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.leftNav h3 {
|
2022-12-09 14:25:02 -05:00
|
|
|
font-size: var(--font-size-subtitle);
|
2021-12-23 14:40:23 -08:00
|
|
|
}
|
2021-11-10 17:03:32 -08:00
|
|
|
}
|