2020-09-08 09:48:03 +02:00
|
|
|
/*
|
2024-09-09 15:57:16 +02:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2020-09-08 09:48:03 +02:00
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 15:57:16 +02:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2020-09-08 09:48:03 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_RoomSummaryCard {
|
2024-08-01 14:00:40 +02:00
|
|
|
--cpd-separator-inset: var(--cpd-space-4x);
|
|
|
|
--cpd-separator-spacing: var(--cpd-space-4x);
|
|
|
|
|
2023-10-20 15:30:37 +02:00
|
|
|
.mx_RoomSummaryCard_container {
|
2020-09-08 09:48:03 +02:00
|
|
|
text-align: center;
|
2023-11-16 04:25:34 +01:00
|
|
|
margin: $spacing-20 var(--cpd-space-4x) 0;
|
2023-10-20 15:30:37 +02:00
|
|
|
}
|
2020-09-08 09:48:03 +02:00
|
|
|
|
2023-10-20 15:30:37 +02:00
|
|
|
.mx_RoomSummaryCard_roomName,
|
|
|
|
.mx_RoomSummaryCard_alias {
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2023-05-09 09:56:09 +02:00
|
|
|
|
2023-10-20 15:30:37 +02:00
|
|
|
.mx_RoomSummaryCard_alias {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2020-09-08 09:48:03 +02:00
|
|
|
|
2024-05-10 12:00:43 +02:00
|
|
|
.mx_RoomSummaryCard_topic {
|
|
|
|
padding: 0 12px;
|
2024-07-31 11:23:01 +02:00
|
|
|
color: var(--cpd-color-text-secondary);
|
2024-05-10 12:00:43 +02:00
|
|
|
|
|
|
|
.mx_Box {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomSummaryCard_topic_container {
|
2024-07-31 11:23:01 +02:00
|
|
|
text-align: start;
|
2024-05-10 12:00:43 +02:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomSummaryCard_topic_edit {
|
|
|
|
width: max-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomSummaryCard_topic_chevron {
|
|
|
|
transition: transform 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_RoomSummaryCard_topic_collapsed {
|
|
|
|
p {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: normal;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomSummaryCard_topic_chevron {
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-08 09:48:03 +02:00
|
|
|
.mx_AccessibleButton_kind_link {
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
font-size: $font-13px;
|
2023-06-29 12:30:25 +02:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2020-09-08 09:48:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-11 08:24:48 +01:00
|
|
|
.mx_RoomSummaryCard_badges {
|
|
|
|
margin: var(--cpd-space-4x) 0;
|
|
|
|
}
|
|
|
|
|
2024-07-08 11:57:41 +02:00
|
|
|
.mx_RoomSummaryCard_search {
|
|
|
|
flex-grow: 1;
|
|
|
|
min-width: 0;
|
2023-10-20 15:30:37 +02:00
|
|
|
|
2024-07-08 11:57:41 +02:00
|
|
|
input[type="search"]::-webkit-search-cancel-button {
|
|
|
|
display: unset; /* override _common.pcss which inhibits this */
|
2023-10-20 15:30:37 +02:00
|
|
|
}
|
|
|
|
}
|
2023-11-16 04:25:34 +01:00
|
|
|
|
|
|
|
.mx_RoomSummaryCard_roomName {
|
|
|
|
margin: $spacing-12 0 $spacing-4;
|
|
|
|
}
|