2020-09-08 15:48:03 +08:00
|
|
|
/*
|
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_RoomSummaryCard {
|
2023-10-20 21:30:37 +08:00
|
|
|
.mx_RoomSummaryCard_container {
|
2020-09-08 15:48:03 +08:00
|
|
|
text-align: center;
|
2023-11-16 11:25:34 +08:00
|
|
|
margin: $spacing-20 var(--cpd-space-4x) 0;
|
2023-10-20 21:30:37 +08:00
|
|
|
}
|
2020-09-08 15:48:03 +08:00
|
|
|
|
2023-10-20 21:30:37 +08: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 15:56:09 +08:00
|
|
|
|
2023-10-20 21:30:37 +08:00
|
|
|
.mx_RoomSummaryCard_alias {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2020-09-08 15:48:03 +08:00
|
|
|
|
2024-05-10 18:00:43 +08:00
|
|
|
.mx_RoomSummaryCard_topic {
|
|
|
|
padding: 0 12px;
|
2024-07-31 17:23:01 +08:00
|
|
|
color: var(--cpd-color-text-secondary);
|
2024-05-10 18:00:43 +08:00
|
|
|
|
|
|
|
.mx_Box {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomSummaryCard_topic_container {
|
2024-07-31 17:23:01 +08:00
|
|
|
text-align: start;
|
2024-05-10 18:00:43 +08: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 15:48:03 +08:00
|
|
|
.mx_AccessibleButton_kind_link {
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
font-size: $font-13px;
|
2023-06-29 18:30:25 +08:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2020-09-08 15:48:03 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-11 15:24:48 +08:00
|
|
|
.mx_RoomSummaryCard_badges {
|
|
|
|
margin: var(--cpd-space-4x) 0;
|
|
|
|
}
|
|
|
|
|
2023-10-20 21:30:37 +08:00
|
|
|
.mx_RoomSummaryCard_header {
|
2024-07-09 19:36:50 +08:00
|
|
|
padding: 24px 12px 15px;
|
2023-10-20 21:30:37 +08:00
|
|
|
}
|
|
|
|
|
2024-07-08 17:57:41 +08:00
|
|
|
.mx_RoomSummaryCard_search {
|
|
|
|
flex-grow: 1;
|
|
|
|
min-width: 0;
|
2023-10-20 21:30:37 +08:00
|
|
|
|
2024-07-08 17:57:41 +08:00
|
|
|
input[type="search"]::-webkit-search-cancel-button {
|
|
|
|
display: unset; /* override _common.pcss which inhibits this */
|
2023-10-20 21:30:37 +08:00
|
|
|
}
|
|
|
|
}
|
2023-11-16 11:25:34 +08:00
|
|
|
|
|
|
|
.mx_RoomSummaryCard_roomName {
|
|
|
|
margin: $spacing-12 0 $spacing-4;
|
|
|
|
}
|