2018-04-12 01:23:35 +02:00
|
|
|
/*
|
|
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
2018-07-23 16:58:07 +02:00
|
|
|
Copyright 2018 New Vector Ltd
|
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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_LeftPanel_container {
|
|
|
|
display: flex;
|
2018-05-25 04:17:29 +02:00
|
|
|
/* LeftPanel 260px */
|
2018-09-24 17:06:57 +02:00
|
|
|
min-width: 260px;
|
|
|
|
flex: 0 0 auto;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2018-10-11 15:37:42 +02:00
|
|
|
.mx_LeftPanel_container.collapsed {
|
|
|
|
min-width: unset;
|
2018-05-25 04:17:29 +02:00
|
|
|
/* Collapsed LeftPanel 70px */
|
|
|
|
flex: 0 0 70px;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2018-10-11 15:37:42 +02:00
|
|
|
.mx_LeftPanel_container.collapsed.mx_LeftPanel_container_hasTagPanel {
|
2018-05-25 04:17:29 +02:00
|
|
|
/* TagPanel 70px + Collapsed LeftPanel 70px */
|
2018-10-11 15:37:42 +02:00
|
|
|
flex: 0 0 140px;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2019-02-05 18:36:33 +01:00
|
|
|
.mx_LeftPanel_tagPanelContainer {
|
|
|
|
flex: 0 0 70px;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2018-04-12 01:23:35 +02:00
|
|
|
.mx_LeftPanel_hideButton {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 0px;
|
|
|
|
padding: 8px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2018-09-24 17:06:57 +02:00
|
|
|
.mx_LeftPanel {
|
|
|
|
flex: 1;
|
2018-10-11 15:37:42 +02:00
|
|
|
overflow-x: hidden;
|
2018-09-24 17:06:57 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-10-22 15:55:29 +02:00
|
|
|
min-height: 0;
|
2018-09-24 17:06:57 +02:00
|
|
|
}
|
|
|
|
|
2018-07-23 16:58:07 +02:00
|
|
|
.mx_LeftPanel .mx_AppTile_mini {
|
2018-07-12 19:43:49 +02:00
|
|
|
height: 132px;
|
|
|
|
}
|
|
|
|
|
2018-04-12 01:23:35 +02:00
|
|
|
.mx_LeftPanel .mx_RoomList_scrollbar {
|
|
|
|
order: 1;
|
|
|
|
|
|
|
|
flex: 1 1 0;
|
|
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
z-index: 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_LeftPanel .mx_BottomLeftMenu {
|
|
|
|
order: 3;
|
|
|
|
|
|
|
|
border-top: 1px solid $panel-divider-color;
|
|
|
|
margin-left: 16px; /* gutter */
|
|
|
|
margin-right: 16px; /* gutter */
|
|
|
|
flex: 0 0 60px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2019-04-09 16:03:13 +02:00
|
|
|
.mx_LeftPanel_container.collapsed .mx_BottomLeftMenu {
|
|
|
|
flex: 0 0 160px;
|
|
|
|
margin-bottom: 9px;
|
|
|
|
}
|
|
|
|
|
2018-04-12 01:23:35 +02:00
|
|
|
.mx_LeftPanel .mx_BottomLeftMenu_options {
|
|
|
|
margin-top: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_BottomLeftMenu_options object {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_BottomLeftMenu_options > div {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_BottomLeftMenu_options .mx_RoleButton {
|
|
|
|
margin-left: 0px;
|
|
|
|
margin-right: 10px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_BottomLeftMenu_options .mx_BottomLeftMenu_settings {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_BottomLeftMenu_options .mx_BottomLeftMenu_settings .mx_RoleButton {
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
|
2018-10-11 15:37:42 +02:00
|
|
|
.mx_LeftPanel_container.collapsed .mx_BottomLeftMenu_settings {
|
2018-04-12 01:23:35 +02:00
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MatrixChat_useCompactLayout {
|
|
|
|
.mx_LeftPanel .mx_BottomLeftMenu {
|
|
|
|
flex: 0 0 50px;
|
|
|
|
}
|
|
|
|
|
2018-10-11 15:37:42 +02:00
|
|
|
.mx_LeftPanel_container.collapsed .mx_BottomLeftMenu {
|
2018-04-12 01:23:35 +02:00
|
|
|
flex: 0 0 160px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_LeftPanel .mx_BottomLeftMenu_options {
|
|
|
|
margin-top: 12px;
|
|
|
|
}
|
|
|
|
}
|
2019-09-10 10:53:55 +02:00
|
|
|
|
|
|
|
.mx_LeftPanel_exploreAndFilterRow {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.mx_SearchBox {
|
|
|
|
flex: 1 1 0;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_LeftPanel_explore {
|
|
|
|
flex: 0 0 40%;
|
|
|
|
overflow: hidden;
|
2019-09-10 10:57:25 +02:00
|
|
|
transition: flex-basis 0.2s;
|
2019-09-10 10:53:55 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
2019-09-10 10:57:25 +02:00
|
|
|
&.mx_LeftPanel_explore_hidden {
|
|
|
|
flex-basis: 0;
|
|
|
|
}
|
|
|
|
|
2019-09-10 10:53:55 +02:00
|
|
|
.mx_AccessibleButton {
|
|
|
|
font-size: 14px;
|
|
|
|
margin: 9px;
|
|
|
|
margin-right: 0;
|
|
|
|
padding: 9px;
|
|
|
|
padding-left: 42px;
|
|
|
|
font-weight: 600;
|
|
|
|
color: $notice-secondary-color;
|
|
|
|
position: relative;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
2019-09-10 10:59:22 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: $primary-bg-color;
|
|
|
|
}
|
|
|
|
|
2019-09-10 10:53:55 +02:00
|
|
|
&::before {
|
|
|
|
cursor: pointer;
|
|
|
|
mask: url('$(res)/img/explore.svg');
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center center;
|
|
|
|
content: "";
|
|
|
|
left: 14px;
|
|
|
|
top: 10px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
background-color: $notice-secondary-color;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|