Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Remove obsolete style blocks from _RightPanel.pcss #10804

Merged
merged 5 commits into from
May 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 0 additions & 62 deletions res/css/structures/_RightPanel.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,8 @@ limitations under the License.
}
}

.mx_RightPanel_header {
order: 1;
border-bottom: 1px solid $primary-hairline-color;
flex: 0 0 52px;
}

/** Fixme - factor this out with the main header **/

.mx_RightPanel_headerButtonGroup {
height: 100%;
display: flex;
background-color: $background;
padding: 0 9px;
align-items: center;
}

/* See: mx_RoomHeader_button, of which this is a copy.
* TODO: factor out a common component to avoid this duplication.
*/
Expand Down Expand Up @@ -149,35 +135,6 @@ $pulse-color: $alert;
}
}

@keyframes mx_RightPanel_indicator_pulse {
0% {
transform: scale(0.95);
}

70% {
transform: scale(1);
}

100% {
transform: scale(0.95);
}
}

@keyframes mx_RightPanel_indicator_pulse_shadow {
0% {
opacity: 0.7;
}

70% {
transform: scale(2.2);
opacity: 0;
}

100% {
opacity: 0;
}
}

.mx_RightPanel_headerButton_unread {
&::before {
background-color: $room-icon-unread-color !important;
Expand All @@ -191,25 +148,6 @@ $pulse-color: $alert;
}
}

.mx_RightPanel_headerButton_badge {
font-size: $font-8px;
border-radius: 8px;
color: $accent-fg-color;
background-color: $accent;
font-weight: bold;
position: absolute;
top: -4px;
left: 20px;
padding: 2px 4px;
}

.mx_RightPanel_collapsebutton {
flex: 1;
text-align: right;
height: 16px;
border: none;
}

.mx_RightPanel .mx_MemberList,
.mx_RightPanel .mx_MemberInfo,
.mx_RightPanel_blank {
Expand Down