mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
132 lines
2.5 KiB
SCSS
132 lines
2.5 KiB
SCSS
|
/*
|
||
|
Copyright 2015, 2016 OpenMarket Ltd
|
||
|
|
||
|
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_RoomDirectory {
|
||
|
max-width: 960px;
|
||
|
width: 100%;
|
||
|
margin-left: auto;
|
||
|
margin-right: auto;
|
||
|
margin-bottom: 12px;
|
||
|
color: $primary-fg-color;
|
||
|
word-break: break-word;
|
||
|
|
||
|
display: flex;
|
||
|
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory .mx_RoomHeader_simpleHeader {
|
||
|
margin-left: 0px;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_list {
|
||
|
flex: 1;
|
||
|
|
||
|
display: flex;
|
||
|
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_list .mx_RoomView_messageListWrapper {
|
||
|
justify-content: flex-start;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_listheader {
|
||
|
display: table;
|
||
|
table-layout: fixed;
|
||
|
width: 100%;
|
||
|
margin-top: 12px;
|
||
|
margin-bottom: 12px;
|
||
|
border-spacing: 5px;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_searchbox {
|
||
|
display: table-cell;
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_listheader .mx_NetworkDropdown {
|
||
|
display: table-cell;
|
||
|
width: 200px;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_tableWrapper {
|
||
|
overflow-y: auto;
|
||
|
flex: 1 1 0;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_table {
|
||
|
font-size: 14px;
|
||
|
color: $primary-fg-color;
|
||
|
width: 100%;
|
||
|
text-align: left;
|
||
|
table-layout: fixed;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_roomAvatar {
|
||
|
width: 24px;
|
||
|
padding-left: 12px;
|
||
|
padding-right: 24px;
|
||
|
vertical-align: top;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_roomDescription {
|
||
|
padding-bottom: 16px;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_name {
|
||
|
display: inline-block;
|
||
|
font-weight: 600;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_perms {
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_perm {
|
||
|
display: inline;
|
||
|
padding-left: 5px;
|
||
|
padding-right: 5px;
|
||
|
margin-right: 5px;
|
||
|
height: 15px;
|
||
|
border-radius: 11px;
|
||
|
background-color: $plinth-bg-color;
|
||
|
text-transform: uppercase;
|
||
|
font-weight: 600;
|
||
|
font-size: 11px;
|
||
|
color: $accent-color;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_topic {
|
||
|
cursor: initial;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_alias {
|
||
|
font-size: 12px;
|
||
|
color: $settings-grey-fg-color;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_roomMemberCount {
|
||
|
text-align: right;
|
||
|
width: 100px;
|
||
|
padding-right: 10px;
|
||
|
}
|
||
|
|
||
|
.mx_RoomDirectory_table tr {
|
||
|
padding-bottom: 10px;
|
||
|
cursor: pointer;
|
||
|
}
|