WIP Group contributions in UI

This commit is contained in:
2026-07-26 16:04:56 +02:00
parent a7e017971a
commit 3cab203498
9 changed files with 416 additions and 45 deletions
@@ -41,6 +41,62 @@ ul.contribution-list {
opacity: 0.6;
}
&.grouped {
grid-template-columns: auto 5rem;
.avatars {
display: inline-flex;
align-items: center;
img.avatar {
margin-right: 0;
margin-left: -0.6rem;
border: 2px solid $item-background-color;
z-index: 1;
position: relative;
&:first-child {
margin-left: 0;
z-index: 3;
}
&:nth-child(2) {
z-index: 2;
}
}
.avatar-overflow {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
margin-left: -0.6rem;
border-radius: 1rem;
background-color: $blue;
color: #fff;
font-size: 0.8rem;
font-weight: 500;
border: 2px solid $item-background-color;
z-index: 0;
position: relative;
}
}
&.expanded {
border-bottom: none;
}
}
&.group-item {
padding-left: 2.8rem;
background-color: $item-highlighted-background-color;
&:not(:last-child) {
border-bottom: 1px solid $item-border-color;
}
}
p {
align-self: center;
margin: 0;