element-web/skins/base/css/organisms/RoomDirectory.css

97 lines
2.0 KiB
CSS
Raw Normal View History

/*
Copyright 2015 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 {
width: 720px;
margin-left: auto;
margin-right: auto;
margin-bottom: 12px;
2015-07-23 19:24:34 +02:00
color: #4a4a4a;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: column;
-webkit-flex-direction: column;
}
.mx_RoomDirectory_list {
flex: 1;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: column;
-webkit-flex-direction: column;
}
.mx_RoomDirectory_input {
margin: auto;
border-radius: 3px;
border: 1px solid #c7c7c7;
font-weight: 300;
font-size: 14px;
padding: 9px;
margin-top: 12px;
margin-bottom: 12px;
}
2015-07-23 19:24:34 +02:00
.mx_RoomDirectory_tableWrapper {
overflow-y: scroll;
flex: 1 1 0;
2015-07-23 19:24:34 +02:00
}
.mx_RoomDirectory_table {
width: 100%;
2015-07-23 19:24:34 +02:00
text-align: left;
table-layout: fixed;
2015-07-23 19:24:34 +02:00
}
.mx_RoomDirectory_table th {
font-weight: 400;
font-size: 12px;
}
.mx_RoomDirectory_table tbody {
cursor: pointer;
}
2015-07-23 19:24:34 +02:00
.mx_RoomDirectory_table td {
font-weight: 300;
font-size: 16px;
overflow-x: hidden;
text-overflow: ellipsis;
2015-07-23 19:24:34 +02:00
}
.mx_RoomDirectory_table .mx_RoomDirectory_name {
font-weight: 400;
}
.mx_RoomDirectory_table .mx_RoomDirectory_topic {
font-weight: 400;
font-size: 12px;
}
.mx_RoomDirectory_table td,
.mx_RoomDirectory_table th, {
padding: 6px;
}