2018-04-12 07:23:35 +08:00
|
|
|
/*
|
|
|
|
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_MatrixChat_splash {
|
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MatrixChat_splashButtons {
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MatrixChat_wrapper {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MatrixToolbar {
|
|
|
|
order: 1;
|
|
|
|
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MatrixChat_toolbarShowing {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MatrixChat {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
order: 2;
|
|
|
|
|
|
|
|
flex: 1;
|
2018-10-22 21:55:29 +08:00
|
|
|
min-height: 0;
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
2018-09-07 19:18:25 +08:00
|
|
|
.mx_MatrixChat_syncError {
|
|
|
|
color: $accent-fg-color;
|
|
|
|
background-color: $warning-bg-color;
|
|
|
|
border-radius: 5px;
|
|
|
|
display: table;
|
|
|
|
padding: 30px;
|
|
|
|
position: absolute;
|
|
|
|
top: 100px;
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
}
|
|
|
|
|
2018-10-31 19:09:24 +08:00
|
|
|
/* not the left panel, and not the resize handle, so the roomview/groupview/... */
|
|
|
|
.mx_MatrixChat > :not(.mx_LeftPanel_container):not(.mx_ResizeHandle) {
|
2018-04-12 07:23:35 +08:00
|
|
|
background-color: $primary-bg-color;
|
|
|
|
|
2019-01-10 02:05:21 +08:00
|
|
|
flex: 1 1 0;
|
|
|
|
min-width: 0;
|
2018-04-12 07:23:35 +08:00
|
|
|
|
|
|
|
/* Experimental fix for https://github.com/vector-im/vector-web/issues/947
|
|
|
|
and https://github.com/vector-im/vector-web/issues/946.
|
|
|
|
Empirically this stops the MessagePanel's width exploding outwards when
|
|
|
|
gemini is in 'prevented' mode
|
|
|
|
*/
|
2018-11-22 19:01:19 +08:00
|
|
|
// disabling this for now as it clips the active room rect on the grid view
|
|
|
|
// overflow-x: auto;
|
2018-04-12 07:23:35 +08:00
|
|
|
|
|
|
|
/* To fix https://github.com/vector-im/riot-web/issues/3298 where Safari
|
|
|
|
needed height 100% all the way down to the HomePage. Height does not
|
|
|
|
have to be auto, empirically.
|
|
|
|
*/
|
|
|
|
height: 100%;
|
|
|
|
}
|