element-web/res/css/structures/_MatrixChat.pcss

79 lines
1.8 KiB
Text
Raw Normal View History

/*
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_wrapper {
display: flex;
width: 100%;
height: 100%;
}
.mx_MatrixToolbar {
order: 1;
height: 40px;
}
.mx_MatrixChat {
2021-08-16 17:52:32 +03:00
position: relative;
width: 100%;
height: 100%;
display: flex;
flex: 1;
min-height: 0;
}
/* not the left panel, and not the resize handle, so the roomview and friends */
.mx_MatrixChat > :not(.mx_LeftPanel):not(.mx_SpacePanel):not(.mx_ResizeHandle):not(.mx_LeftPanel_outerWrapper) {
background-color: $background;
2019-01-09 21:05:21 +03:00
flex: 1 1 0;
min-width: 0;
/* To fix https://github.com/vector-im/element-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%;
}
2020-07-15 02:20:39 +03:00
.mx_MatrixChat > .mx_ResizeHandle--horizontal:hover {
2020-07-15 02:20:39 +03:00
position: relative;
&::before {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
2020-07-15 02:20:39 +03:00
height: 64px; /* to match width of the ones on roomlist */
2020-07-15 02:20:39 +03:00
width: 4px;
border-radius: 4px;
2022-12-12 14:24:14 +03:00
content: " ";
2020-07-15 02:20:39 +03:00
background-color: $primary-content;
2020-07-15 02:20:39 +03:00
opacity: 0.8;
}
}