2018-04-12 02:23:35 +03:00
|
|
|
/*
|
|
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
2018-10-27 13:06:52 +03:00
|
|
|
Copyright 2017 Vector Creations Ltd
|
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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_RoomList {
|
2018-10-18 16:19:45 +03:00
|
|
|
/* take up remaining space below TopLeftMenu */
|
2018-11-01 18:34:12 +03:00
|
|
|
flex: 1 1 auto;
|
2018-10-18 16:19:45 +03:00
|
|
|
/* use flexbox to layout sublists */
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-10-22 16:55:29 +03:00
|
|
|
min-height: 0;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
2018-11-26 16:50:53 +03:00
|
|
|
.mx_SearchBox {
|
|
|
|
flex: none;
|
|
|
|
}
|
|
|
|
|
2018-10-19 19:18:45 +03:00
|
|
|
/* hide resize handles next to collapsed / empty sublists */
|
|
|
|
.mx_RoomList .mx_RoomSubList:not(.mx_RoomSubList_nonEmpty) + .mx_ResizeHandle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-04-12 02:23:35 +03:00
|
|
|
.mx_RoomList_expandButton {
|
|
|
|
margin-left: 8px;
|
|
|
|
cursor: pointer;
|
|
|
|
padding-left: 12px;
|
|
|
|
padding-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomList_emptySubListTip_container {
|
|
|
|
padding-left: 18px;
|
|
|
|
padding-right: 18px;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomList_emptySubListTip {
|
|
|
|
font-size: 13px;
|
|
|
|
padding: 5px;
|
|
|
|
border: 1px dashed $accent-color;
|
|
|
|
color: $primary-fg-color;
|
|
|
|
background-color: $droptarget-bg-color;
|
|
|
|
border-radius: 4px;
|
|
|
|
line-height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomList_emptySubListTip .mx_RoleButton {
|
|
|
|
vertical-align: -2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomList_headerButtons {
|
|
|
|
position: absolute;
|
|
|
|
right: 60px;
|
|
|
|
}
|