2021-03-25 16:15:34 +00:00
|
|
|
/*
|
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
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_FacePile {
|
2022-05-04 21:02:06 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
2021-03-25 16:15:34 +00:00
|
|
|
.mx_FacePile_faces {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
vertical-align: middle;
|
2022-09-30 19:26:08 +00:00
|
|
|
margin: 0 -1px; /* to cancel out the border on the edges */
|
2021-03-25 16:15:34 +00:00
|
|
|
|
2022-07-27 13:39:29 +00:00
|
|
|
/* Overlap the children */
|
2022-04-20 15:03:33 +00:00
|
|
|
> * + * {
|
2021-03-26 00:05:05 +00:00
|
|
|
margin-right: -8px;
|
2021-03-25 16:15:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_BaseAvatar_image {
|
2022-12-21 18:59:02 +00:00
|
|
|
border: 1px solid var(--facepile-background, $background);
|
2021-03-25 16:15:34 +00:00
|
|
|
}
|
2021-03-26 11:55:22 +00:00
|
|
|
|
|
|
|
.mx_BaseAvatar_initial {
|
2022-07-27 13:39:29 +00:00
|
|
|
margin: 1px; /* to offset the border on the image */
|
2021-03-26 11:55:22 +00:00
|
|
|
}
|
2021-04-22 07:13:03 +00:00
|
|
|
|
|
|
|
.mx_FacePile_more {
|
|
|
|
position: relative;
|
|
|
|
border-radius: 100%;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
2022-03-22 23:07:37 +00:00
|
|
|
background-color: $spacePanel-bg-color;
|
2021-04-22 07:13:03 +00:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
z-index: 1;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-04-22 08:06:53 +00:00
|
|
|
height: inherit;
|
|
|
|
width: inherit;
|
2021-08-12 09:53:54 +00:00
|
|
|
background: $tertiary-content;
|
2021-04-22 07:13:03 +00:00
|
|
|
mask-position: center;
|
|
|
|
mask-size: 20px;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-image: url("$(res)/img/element-icons/room/ellipsis.svg");
|
|
|
|
}
|
|
|
|
}
|
2021-03-25 16:15:34 +00:00
|
|
|
}
|
|
|
|
|
2021-04-22 07:13:03 +00:00
|
|
|
.mx_FacePile_summary {
|
2021-03-25 16:15:34 +00:00
|
|
|
margin-left: 12px;
|
2023-06-29 10:30:25 +00:00
|
|
|
font: var(--cpd-font-body-md-regular);
|
2021-03-25 16:15:34 +00:00
|
|
|
line-height: $font-24px;
|
2021-08-12 09:53:54 +00:00
|
|
|
color: $tertiary-content;
|
2021-03-25 16:15:34 +00:00
|
|
|
}
|
|
|
|
}
|