feat: filter cluster members by multiple labels

This commit is contained in:
2025-10-16 20:47:07 +02:00
parent e431d3b551
commit 3314f7e10a
5 changed files with 406 additions and 53 deletions

View File

@@ -184,6 +184,64 @@ p {
align-items: center;
}
.filter-pills-container {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
align-items: center;
min-height: 1.5rem;
margin: 0 0.5rem;
}
.filter-pill {
display: inline-flex;
align-items: center;
gap: 0.25rem;
font-size: 0.8rem;
padding: 0.3rem 0.7rem;
border-radius: 9999px;
background: rgba(30, 58, 138, 0.35);
border: 1px solid rgba(59, 130, 246, 0.4);
color: #dbeafe;
white-space: nowrap;
transition: all 0.2s ease;
}
.filter-pill:hover {
background: rgba(30, 58, 138, 0.45);
border-color: rgba(59, 130, 246, 0.5);
}
.filter-pill-text {
white-space: nowrap;
}
.filter-pill-remove {
background: none;
border: none;
color: #dbeafe;
cursor: pointer;
padding: 0;
margin-left: 0.25rem;
border-radius: 50%;
width: 16px;
height: 16px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.filter-pill-remove:hover {
background: rgba(59, 130, 246, 0.3);
color: #ffffff;
}
.filter-pill-remove svg {
width: 10px;
height: 10px;
}
.filter-group {
display: flex;
align-items: center;