2018-04-12 02:23:35 +03:00
|
|
|
/*
|
|
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
2020-03-13 03:02:50 +03:00
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
2018-04-12 02:23:35 +03:00
|
|
|
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2019-01-29 17:34:58 +03:00
|
|
|
.mx_RoomDirectory_dialogWrapper > .mx_Dialog {
|
2018-04-12 02:23:35 +03:00
|
|
|
max-width: 960px;
|
2019-01-29 17:34:58 +03:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_dialog {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory {
|
2018-04-12 02:23:35 +03:00
|
|
|
margin-bottom: 12px;
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2018-04-12 02:23:35 +03:00
|
|
|
word-break: break-word;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-01-29 17:34:58 +03:00
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2018-04-12 02:23:35 +03:00
|
|
|
.mx_RoomDirectory_list {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_list .mx_RoomView_messageListWrapper {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_listheader {
|
2020-03-13 03:02:50 +03:00
|
|
|
display: block;
|
2020-03-11 02:11:48 +03:00
|
|
|
margin-top: 13px;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_searchbox {
|
2019-01-29 17:34:58 +03:00
|
|
|
flex: 1 !important;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
2022-06-15 17:14:05 +03:00
|
|
|
.mx_RoomDirectory_listheader .mx_GenericDropdownMenu_button {
|
|
|
|
margin: 0 9px 0 auto;
|
|
|
|
width: fit-content;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_tableWrapper {
|
|
|
|
overflow-y: auto;
|
|
|
|
flex: 1 1 0;
|
2021-05-19 22:07:54 +03:00
|
|
|
|
|
|
|
.mx_RoomDirectory_footer {
|
|
|
|
margin-top: 24px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
> h5 {
|
|
|
|
margin: 0;
|
|
|
|
font-weight: $font-semi-bold;
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-18px;
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2021-05-19 22:07:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
> p {
|
|
|
|
margin: 40px auto 60px;
|
|
|
|
font-size: $font-14px;
|
|
|
|
line-height: $font-20px;
|
2021-08-12 12:30:35 +03:00
|
|
|
color: $secondary-content;
|
2021-05-19 22:07:54 +03:00
|
|
|
max-width: 464px; // easier reading
|
|
|
|
}
|
|
|
|
|
|
|
|
> hr {
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
height: 1px;
|
|
|
|
background-color: $header-panel-bg-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_newRoom {
|
|
|
|
margin: 24px auto 0;
|
|
|
|
width: max-content;
|
|
|
|
}
|
|
|
|
}
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_table {
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2021-01-17 19:49:00 +03:00
|
|
|
display: grid;
|
|
|
|
font-size: $font-12px;
|
|
|
|
grid-template-columns: max-content auto max-content max-content max-content;
|
|
|
|
row-gap: 24px;
|
2018-04-12 02:23:35 +03:00
|
|
|
text-align: left;
|
2021-01-17 19:49:00 +03:00
|
|
|
width: 100%;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_roomAvatar {
|
2021-01-17 19:49:00 +03:00
|
|
|
padding: 2px 14px 0 0;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
2019-09-11 16:36:29 +03:00
|
|
|
.mx_RoomDirectory_roomMemberCount {
|
2021-01-17 19:49:00 +03:00
|
|
|
align-self: center;
|
2019-09-11 16:36:29 +03:00
|
|
|
color: $light-fg-color;
|
2021-01-17 19:49:00 +03:00
|
|
|
padding: 3px 10px 0;
|
2019-09-11 16:36:29 +03:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
background-color: $light-fg-color;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: text-top;
|
|
|
|
margin-right: 2px;
|
|
|
|
content: "";
|
2021-10-29 15:30:05 +03:00
|
|
|
mask: url("$(res)/img/feather-customised/user.svg");
|
2019-09-11 16:36:29 +03:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
// scale it down and make the size slightly bigger (16 instead of 14px)
|
|
|
|
// to avoid rendering artifacts
|
|
|
|
mask-size: 80%;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-29 15:30:05 +03:00
|
|
|
.mx_RoomDirectory_join,
|
|
|
|
.mx_RoomDirectory_preview {
|
2021-01-17 19:49:00 +03:00
|
|
|
align-self: center;
|
2019-09-12 16:59:15 +03:00
|
|
|
white-space: nowrap;
|
2019-09-11 16:36:29 +03:00
|
|
|
}
|
|
|
|
|
2018-04-12 02:23:35 +03:00
|
|
|
.mx_RoomDirectory_name {
|
|
|
|
display: inline-block;
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-18px;
|
2018-04-12 02:23:35 +03:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_perms {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2020-01-31 02:09:08 +03:00
|
|
|
.mx_RoomDirectory_perm {
|
|
|
|
border-radius: 10px;
|
|
|
|
display: inline-block;
|
|
|
|
height: 20px;
|
2020-03-31 17:26:23 +03:00
|
|
|
line-height: $font-20px;
|
2020-01-31 02:09:08 +03:00
|
|
|
padding: 0 5px;
|
|
|
|
color: $accent-fg-color;
|
2022-05-05 12:13:09 +03:00
|
|
|
background-color: $pill-bg-color;
|
2020-01-31 02:09:08 +03:00
|
|
|
}
|
|
|
|
|
2018-04-12 02:23:35 +03:00
|
|
|
.mx_RoomDirectory_topic {
|
|
|
|
cursor: initial;
|
2019-09-11 16:36:29 +03:00
|
|
|
color: $light-fg-color;
|
2020-10-02 19:00:58 +03:00
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
overflow: hidden;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_alias {
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-12px;
|
2018-04-12 02:23:35 +03:00
|
|
|
color: $settings-grey-fg-color;
|
|
|
|
}
|
|
|
|
|
2019-09-11 16:36:29 +03:00
|
|
|
.mx_RoomDirectory .mx_RoomView_MessageList {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2020-03-11 02:11:48 +03:00
|
|
|
.mx_RoomDirectory > span {
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-15px;
|
2019-09-11 16:36:29 +03:00
|
|
|
margin-top: 0;
|
2019-09-10 17:07:27 +03:00
|
|
|
|
2019-09-11 16:36:29 +03:00
|
|
|
.mx_AccessibleButton {
|
|
|
|
padding: 0;
|
2019-09-10 17:07:27 +03:00
|
|
|
}
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
2021-03-10 12:30:53 +03:00
|
|
|
|
|
|
|
@media screen and (max-width: 700px) {
|
|
|
|
.mx_RoomDirectory_roomMemberCount {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AccessibleButton_kind_secondary {
|
|
|
|
padding: 0px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_join {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_alias {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_roomDescription {
|
|
|
|
padding-bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_name {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
2021-03-10 12:53:29 +03:00
|
|
|
.mx_RoomDirectory_roomAvatar {
|
2021-03-10 12:30:53 +03:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_table {
|
|
|
|
grid-template-columns: auto;
|
|
|
|
row-gap: 14px;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
2021-03-10 12:42:00 +03:00
|
|
|
}
|
2021-10-29 15:30:05 +03:00
|
|
|
|
|
|
|
.mx_RoomDirectory_listItem {
|
|
|
|
display: contents;
|
|
|
|
}
|