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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

71 lines
1.4 KiB
Plaintext
Raw Normal View History

/*
2024-09-09 14:57:16 +01:00
Copyright 2024 New Vector Ltd.
Copyright 2015, 2016 OpenMarket Ltd
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
2024-09-09 14:57:16 +01:00
Please see LICENSE files in the repository root for full details.
*/
.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 16:52:32 +02: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 */
2022-03-17 09:25:57 +01:00
.mx_MatrixChat > :not(.mx_LeftPanel):not(.mx_SpacePanel):not(.mx_ResizeHandle):not(.mx_LeftPanel_outerWrapper) {
2021-08-12 11:10:47 +02:00
background-color: $background;
2019-01-09 19:05:21 +01: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 00:20:39 +01:00
2023-05-04 15:19:55 +00:00
.mx_MatrixChat > .mx_ResizeHandle--horizontal:hover {
2020-07-15 00:20:39 +01:00
position: relative;
&::before {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
2020-07-15 00:20:39 +01:00
height: 64px; /* to match width of the ones on roomlist */
2020-07-15 00:20:39 +01:00
width: 4px;
border-radius: 4px;
content: " ";
2021-08-12 11:27:12 +02:00
background-color: $primary-content;
2020-07-15 00:20:39 +01:00
opacity: 0.8;
}
}