mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-17 04:41:45 +03:00
129 lines
2.6 KiB
SCSS
129 lines
2.6 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_LeftPanel {
|
|
position: relative;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.mx_LeftPanel_container {
|
|
display: flex;
|
|
/* LeftPanel 235px */
|
|
flex: 0 0 235px;
|
|
}
|
|
|
|
.mx_LeftPanel_container.mx_LeftPanel_container_hasTagPanel {
|
|
/* TagPanel 60px + LeftPanel 235px */
|
|
flex: 0 0 295px;
|
|
}
|
|
|
|
.mx_LeftPanel_container_collapsed {
|
|
/* Collapsed LeftPanel 60px */
|
|
flex: 0 0 60px;
|
|
}
|
|
|
|
.mx_LeftPanel_container_collapsed.mx_LeftPanel_container_hasTagPanel {
|
|
/* TagPanel 60px + Collapsed LeftPanel 60px */
|
|
flex: 0 0 120px;
|
|
}
|
|
|
|
.mx_LeftPanel_hideButton {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 0px;
|
|
padding: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mx_LeftPanel_callView {
|
|
|
|
}
|
|
|
|
.mx_LeftPanel .mx_RoomList_scrollbar {
|
|
order: 1;
|
|
|
|
flex: 1 1 0;
|
|
|
|
overflow-y: auto;
|
|
z-index: 6;
|
|
}
|
|
|
|
.mx_LeftPanel.collapsed .mx_BottomLeftMenu {
|
|
flex: 0 0 160px;
|
|
margin-bottom: 9px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.mx_LeftPanel .mx_BottomLeftMenu_options {
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.mx_BottomLeftMenu_options object {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.collapsed .mx_RoleButton {
|
|
margin-right: 0px ! important;
|
|
padding-top: 3px ! important;
|
|
padding-bottom: 3px ! important;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.mx_LeftPanel.collapsed .mx_BottomLeftMenu_settings {
|
|
float: none;
|
|
}
|
|
|
|
.mx_MatrixChat_useCompactLayout {
|
|
.mx_LeftPanel .mx_BottomLeftMenu {
|
|
flex: 0 0 50px;
|
|
}
|
|
|
|
.mx_LeftPanel.collapsed .mx_BottomLeftMenu {
|
|
flex: 0 0 160px;
|
|
}
|
|
|
|
.mx_LeftPanel .mx_BottomLeftMenu_options {
|
|
margin-top: 12px;
|
|
}
|
|
}
|