mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 23:44:21 +03:00
100 lines
1.9 KiB
CSS
100 lines
1.9 KiB
CSS
/*
|
|
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_RoomTile {
|
|
cursor: pointer;
|
|
display: table-row;
|
|
color: #818794;
|
|
}
|
|
|
|
.mx_RoomTile_avatar {
|
|
display: table-cell;
|
|
padding-right: 12px;
|
|
padding-top: 3px;
|
|
padding-bottom: 3px;
|
|
padding-left: 16px;
|
|
vertical-align: middle;
|
|
width: 40px;
|
|
height: 40px;
|
|
position: relative;
|
|
}
|
|
|
|
.mx_RoomTile_avatar img {
|
|
border-radius: 20px;
|
|
background-color: #dbdbdb;
|
|
}
|
|
|
|
.mx_RoomTile_name {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
padding-right: 16px;
|
|
}
|
|
|
|
/*
|
|
.mx_RoomTile_nameBadge {
|
|
display: table;
|
|
width: 100%;
|
|
height: 50px;
|
|
}
|
|
|
|
.mx_RoomTile_badgeCell {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
width: 26px;
|
|
}
|
|
|
|
.mx_RoomTile_badge {
|
|
background-color: #80cef4;
|
|
color: #fff;
|
|
border-radius: 26px;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 28px;
|
|
width: 26px;
|
|
height: 26px;
|
|
text-align: center;
|
|
}
|
|
*/
|
|
|
|
.mx_RoomTile_badge {
|
|
background-color: #ff0064;
|
|
border: 3px solid #fff;
|
|
border-radius: 16px;
|
|
width: 9px;
|
|
height: 9px;
|
|
position: absolute;
|
|
right: 9px;
|
|
bottom: 3px;
|
|
}
|
|
|
|
.mx_RoomTile_unread,
|
|
.mx_RoomTile_highlight,
|
|
.mx_RoomTile_invited
|
|
{
|
|
font-weight: bold;
|
|
color: #000;
|
|
}
|
|
|
|
.mx_RoomTile_selected {
|
|
background-color: #f3f8fa;
|
|
color: #80cef4;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.mx_RoomTile:hover {
|
|
}
|