Add status effect selector

This commit is contained in:
ChatGPT
2026-06-04 21:52:14 +02:00
parent c2ffa47ff2
commit db75a89401
5 changed files with 158 additions and 6 deletions
+59
View File
@@ -197,3 +197,62 @@
gap: 0.25rem;
justify-content: end;
}
.configurable-reactions .cr-status-builder {
display: flex;
flex-direction: column;
gap: 0.35rem;
margin-top: 0.5rem;
}
.configurable-reactions .cr-status-label {
opacity: 0.85;
font-weight: 600;
}
.configurable-reactions .cr-status-chip-list {
display: flex;
flex-wrap: wrap;
gap: 0.25rem;
min-height: 1.6rem;
padding: 0.25rem;
border: 1px solid var(--color-border-light-tertiary, #888);
border-radius: 5px;
background: rgb(0 0 0 / 0.08);
}
.configurable-reactions .cr-status-chip {
display: inline-flex;
align-items: center;
gap: 0.3rem;
max-width: 100%;
padding: 0.15rem 0.25rem 0.15rem 0.35rem;
border: 1px solid var(--color-border-light-secondary, #777);
border-radius: 999px;
background: rgb(0 0 0 / 0.16);
font-size: 0.8rem;
}
.configurable-reactions .cr-status-chip img {
width: 16px;
height: 16px;
border: none;
object-fit: contain;
}
.configurable-reactions .cr-status-chip span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.configurable-reactions .cr-status-chip button {
width: 1.35rem;
min-height: 1.35rem;
padding: 0;
line-height: 1;
}
.configurable-reactions .cr-status-builder select {
width: 100%;
}