Summarize and collapse shared inventory entries

This commit is contained in:
Mikei386 committed 2026-11-17 09:24:05 +01:00
1 parent 84ed7da07f
commit 65957e1c3f
5 files changed
+125 -13

No files matched your search

+46 -2
View File
@@ -1032,10 +1032,54 @@ td.quantity {
margin-top: 4px;
font-size: 12px;
}
.profile-settings,
.shared-member {
.profile-settings {
overflow-wrap: anywhere;
}
.shared-member {
margin-bottom: 12px;
overflow-wrap: anywhere;
scroll-margin-top: 16px;
}
.shared-member-heading {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px 12px;
padding: 14px 18px;
cursor: pointer;
list-style: none;
}
.shared-member-heading::-webkit-details-marker {
display: none;
}
.shared-member-heading::before {
content: "";
width: 0;
height: 0;
border-block: 5px solid transparent;
border-left: 7px solid var(--green);
}
.shared-member-heading:hover {
background: var(--hover);
}
.shared-member-heading:focus-visible {
outline-offset: -4px;
border-radius: var(--radius);
}
.shared-member[open] > .shared-member-heading {
border-bottom: 1px solid var(--line);
}
.shared-member[open] > .shared-member-heading::before {
transform: rotate(90deg);
}
.shared-member-name {
font-weight: 700;
}
.shared-member-stats {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.profile-settings .form-panel {
min-width: 0;
}