ServerInfo Sorting

This commit is contained in:
thororen1234 2024-11-04 02:53:22 -05:00
parent 4d712b5020
commit f167613e5a
4 changed files with 258 additions and 11 deletions

View file

@ -51,6 +51,7 @@
color: var(--interactive-normal);
cursor: pointer;
height: 39px;
margin-right: -10px;
line-height: 14px;
}
@ -93,6 +94,74 @@
max-height: 500px;
}
.vc-gp-member-row {
display: flex;
align-items: center;
padding-right: 16px;
cursor: pointer;
position: relative;
margin: 1px 0;
width: 100%;
}
.vc-gp-member-row:hover {
background-color: var(--background-modifier-hover);
}
.vc-gp-member-content {
flex: 1;
min-width: 0;
width: 100%;
position: relative;
}
.vc-gp-member-icons {
user-select: none;
position: absolute;
right: 20px;
z-index: 2;
}
.vc-gp-mutual-guilds {
display: flex;
align-items: center;
gap: 4px;
margin-left: auto;
padding-left: 8px;
}
.vc-gp-guild-icon {
width: 20px;
height: 20px;
border-radius: 50%;
background: var(--background-tertiary);
overflow: hidden;
}
.vc-gp-guild-icon img {
width: 100%;
height: 100%;
object-fit: cover;
}
.vc-gp-guild-acronym {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 8px;
font-weight: 600;
color: var(--text-normal);
text-transform: uppercase;
}
.vc-gp-guild-count {
font-size: 12px;
color: var(--text-muted);
font-weight: 600;
}
.vc-gp-scroller [class^="listRow"] {
margin: 1px 0;
}