2018-04-12 01:23:35 +02:00
|
|
|
/*
|
|
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
2020-03-13 01:02:50 +01:00
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
2018-04-12 01:23:35 +02: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 15:34:58 +01:00
|
|
|
.mx_RoomDirectory_dialogWrapper > .mx_Dialog {
|
2018-04-12 01:23:35 +02:00
|
|
|
max-width: 960px;
|
2019-01-29 15:34:58 +01:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_dialog {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory {
|
2018-04-12 01:23:35 +02:00
|
|
|
margin-bottom: 12px;
|
|
|
|
color: $primary-fg-color;
|
|
|
|
word-break: break-word;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-01-29 15:34:58 +01:00
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2018-04-12 01:23:35 +02: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 01:02:50 +01:00
|
|
|
display: block;
|
2020-03-11 00:11:48 +01:00
|
|
|
margin-top: 13px;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_searchbox {
|
2019-01-29 15:34:58 +01:00
|
|
|
flex: 1 !important;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_listheader .mx_NetworkDropdown {
|
2019-01-29 15:34:58 +01:00
|
|
|
flex: 0 0 200px;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_tableWrapper {
|
|
|
|
overflow-y: auto;
|
|
|
|
flex: 1 1 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_table {
|
2020-03-31 16:26:23 +02:00
|
|
|
font-size: $font-12px;
|
2018-04-12 01:23:35 +02:00
|
|
|
color: $primary-fg-color;
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
table-layout: fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_roomAvatar {
|
2019-09-11 15:36:29 +02:00
|
|
|
width: 32px;
|
|
|
|
padding-right: 14px;
|
2018-04-12 01:23:35 +02:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_roomDescription {
|
|
|
|
padding-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
2019-09-11 15:36:29 +02:00
|
|
|
.mx_RoomDirectory_roomMemberCount {
|
|
|
|
color: $light-fg-color;
|
|
|
|
width: 60px;
|
|
|
|
padding: 0 10px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
background-color: $light-fg-color;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: text-top;
|
|
|
|
margin-right: 2px;
|
|
|
|
content: "";
|
|
|
|
mask: url('$(res)/img/feather-customised/user.svg');
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_join, .mx_RoomDirectory_preview {
|
|
|
|
width: 80px;
|
|
|
|
text-align: center;
|
2019-09-12 15:59:15 +02:00
|
|
|
white-space: nowrap;
|
2019-09-11 15:36:29 +02:00
|
|
|
}
|
|
|
|
|
2018-04-12 01:23:35 +02:00
|
|
|
.mx_RoomDirectory_name {
|
|
|
|
display: inline-block;
|
2020-03-31 16:26:23 +02:00
|
|
|
font-size: $font-18px;
|
2018-04-12 01:23:35 +02:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_perms {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2020-01-31 00:09:08 +01:00
|
|
|
.mx_RoomDirectory_perm {
|
|
|
|
border-radius: 10px;
|
|
|
|
display: inline-block;
|
|
|
|
height: 20px;
|
2020-03-31 16:26:23 +02:00
|
|
|
line-height: $font-20px;
|
2020-01-31 00:09:08 +01:00
|
|
|
padding: 0 5px;
|
|
|
|
color: $accent-fg-color;
|
|
|
|
background-color: $rte-room-pill-color;
|
|
|
|
}
|
|
|
|
|
2018-04-12 01:23:35 +02:00
|
|
|
.mx_RoomDirectory_topic {
|
|
|
|
cursor: initial;
|
2019-09-11 15:36:29 +02:00
|
|
|
color: $light-fg-color;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_alias {
|
2020-03-31 16:26:23 +02:00
|
|
|
font-size: $font-12px;
|
2018-04-12 01:23:35 +02:00
|
|
|
color: $settings-grey-fg-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomDirectory_table tr {
|
|
|
|
padding-bottom: 10px;
|
|
|
|
cursor: pointer;
|
2019-09-11 15:36:29 +02:00
|
|
|
}
|
2019-09-10 16:07:27 +02:00
|
|
|
|
2019-09-11 15:36:29 +02:00
|
|
|
.mx_RoomDirectory .mx_RoomView_MessageList {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2020-03-11 00:11:48 +01:00
|
|
|
.mx_RoomDirectory > span {
|
2020-03-31 16:26:23 +02:00
|
|
|
font-size: $font-15px;
|
2019-09-11 15:36:29 +02:00
|
|
|
margin-top: 0;
|
2019-09-10 16:07:27 +02:00
|
|
|
|
2019-09-11 15:36:29 +02:00
|
|
|
.mx_AccessibleButton {
|
|
|
|
padding: 0;
|
2019-09-10 16:07:27 +02:00
|
|
|
}
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|