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

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

67 lines
1.6 KiB
Plaintext
Raw Normal View History

/*
2024-09-09 14:57:16 +01:00
Copyright 2024 New Vector Ltd.
2020-01-31 15:28:58 +00:00
Copyright 2020 The Matrix.org Foundation C.I.C.
2024-09-09 14:57:16 +01:00
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_RightPanel {
overflow-x: hidden;
flex: 0 0 auto;
position: relative;
display: flex;
flex-direction: column;
2023-10-20 14:30:37 +01:00
border-left: 1px solid $separator;
2020-07-16 02:08:24 +01:00
box-sizing: border-box;
height: 100%;
contain: strict;
background-color: var(--cpd-color-bg-canvas-default);
2020-07-13 22:13:29 +01:00
.mx_RoomView_MessageList {
padding: 14px 18px; /* top and bottom is 4px smaller to balance with the padding set above */
2020-07-13 22:13:29 +01:00
}
}
/** Fixme - factor this out with the main header **/
2021-10-14 15:27:35 +02:00
.mx_RightPanel_threadsButton::before {
mask-image: url("@vector-im/compound-design-tokens/icons/threads-solid.svg");
2021-10-14 15:27:35 +02:00
}
2020-09-08 10:19:51 +01:00
.mx_RightPanel_notifsButton::before {
mask-image: url("$(res)/img/element-icons/notifications.svg");
2020-06-03 17:16:27 -05:00
mask-position: center;
2019-02-12 17:31:47 +00:00
}
2020-09-08 10:19:51 +01:00
.mx_RightPanel_roomSummaryButton::before {
mask-image: url("@vector-im/compound-design-tokens/icons/info-solid.svg");
2020-06-03 17:16:27 -05:00
mask-position: center;
2019-02-12 17:31:47 +00:00
}
.mx_RightPanel_pinnedMessagesButton {
&::before {
mask-image: url("$(res)/img/element-icons/room/pin.svg");
mask-position: center;
}
}
2021-11-29 17:06:15 +01:00
.mx_RightPanel_timelineCardButton {
&::before {
mask-image: url("$(res)/img/element-icons/feedback.svg");
mask-position: center;
}
}
.mx_RightPanel .mx_MemberList,
.mx_RightPanel .mx_MemberInfo {
order: 2;
flex: 1 1 0;
}
.mx_RightPanel .mx_RoomView_messagePanelSpinner {
order: 2;
margin: auto;
}