2018-04-11 23:23:35 +00:00
|
|
|
/*
|
|
|
|
Copyright 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.
|
|
|
|
*/
|
|
|
|
|
2022-02-09 10:51:12 +00:00
|
|
|
.mx_GenericEventListSummary {
|
2018-04-11 23:23:35 +00:00
|
|
|
position: relative;
|
2022-06-28 13:05:19 +00:00
|
|
|
|
|
|
|
&[data-layout=irc],
|
|
|
|
&[data-layout=group] {
|
|
|
|
.mx_GenericEventListSummary_toggle {
|
|
|
|
float: right;
|
|
|
|
margin: 8px 10px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GenericEventListSummary_avatars {
|
|
|
|
padding-top: $spacing-8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-layout=irc] {
|
|
|
|
.mx_GenericEventListSummary_avatars {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 9px 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-layout=bubble] {
|
|
|
|
--maxWidth: 70%;
|
|
|
|
margin-left: calc(var(--avatarSize) + var(--gutterSize));
|
|
|
|
|
|
|
|
&[data-expanded=false] {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
padding: 0 49px; // Align with left edge of bubble tiles
|
|
|
|
}
|
|
|
|
|
|
|
|
// ideally we'd use display=contents here for the layout to all work regardless of the *ELS but
|
|
|
|
// that breaks ScrollPanel's reliance upon offsetTop so we have to have a bit more finesse.
|
|
|
|
&[data-expanded=true] {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
&::before {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GenericEventListSummary_toggle {
|
|
|
|
margin: 0 55px 0 5px;
|
|
|
|
|
|
|
|
&[aria-expanded=false] {
|
|
|
|
order: 9;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[aria-expanded=true] {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GenericEventListSummary_line {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GenericEventListSummary_avatars {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
|
2022-02-17 11:46:19 +00:00
|
|
|
.mx_GenericEventListSummary_unstyledList {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2022-02-09 10:51:12 +00:00
|
|
|
.mx_TextualEvent.mx_GenericEventListSummary_summary {
|
2020-03-31 14:26:23 +00:00
|
|
|
font-size: $font-14px;
|
2018-04-11 23:23:35 +00:00
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
2022-02-09 10:51:12 +00:00
|
|
|
.mx_GenericEventListSummary_avatars {
|
2018-04-11 23:23:35 +00:00
|
|
|
display: inline-block;
|
|
|
|
margin-right: 8px;
|
2020-03-31 14:26:23 +00:00
|
|
|
line-height: $font-12px;
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
|
2022-02-09 10:51:12 +00:00
|
|
|
.mx_GenericEventListSummary_avatars .mx_BaseAvatar {
|
2018-04-11 23:23:35 +00:00
|
|
|
margin-right: -4px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2022-02-09 10:51:12 +00:00
|
|
|
.mx_GenericEventListSummary_toggle {
|
2021-11-11 13:37:29 +00:00
|
|
|
color: $accent;
|
2018-04-11 23:23:35 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2022-02-09 10:51:12 +00:00
|
|
|
.mx_GenericEventListSummary_line {
|
2018-04-11 23:23:35 +00:00
|
|
|
border-bottom: 1px solid $primary-hairline-color;
|
|
|
|
margin-left: 63px;
|
2020-03-31 14:26:23 +00:00
|
|
|
line-height: $font-30px;
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MatrixChat_useCompactLayout {
|
2022-02-09 10:51:12 +00:00
|
|
|
.mx_GenericEventListSummary {
|
2020-03-31 14:26:23 +00:00
|
|
|
font-size: $font-13px;
|
2018-04-11 23:23:35 +00:00
|
|
|
.mx_EventTile_line {
|
2020-03-31 14:26:23 +00:00
|
|
|
line-height: $font-20px;
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-09 10:51:12 +00:00
|
|
|
.mx_GenericEventListSummary_line {
|
2020-03-31 14:26:23 +00:00
|
|
|
line-height: $font-22px;
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
|
2022-02-09 10:51:12 +00:00
|
|
|
.mx_GenericEventListSummary_toggle {
|
2018-04-11 23:23:35 +00:00
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
|
2022-02-09 10:51:12 +00:00
|
|
|
.mx_TextualEvent.mx_GenericEventListSummary_summary {
|
2020-03-31 14:26:23 +00:00
|
|
|
font-size: $font-13px;
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
}
|