soundboard
All checks were successful
/ upload (release) Successful in 27s

This commit is contained in:
pavel 2026-02-24 01:41:24 +01:00
commit 33da605c03
13 changed files with 534 additions and 9 deletions

View file

@ -579,6 +579,75 @@ select {
background: var(--green);
}
/* Sound Board */
.soundboard-container {
padding: 12px;
background: var(--bg-secondary);
border-top: 1px solid rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
gap: 8px;
}
.soundboard-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.soundboard-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
gap: 8px;
max-height: 200px;
overflow-y: auto;
}
.sound-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
padding: 8px;
background: var(--bg-darker);
border-radius: 8px;
cursor: pointer;
transition: transform 0.1s;
}
.sound-item:hover {
background: var(--bg-modifier-hover);
transform: translateY(-2px);
}
.sound-item:active {
transform: scale(0.95);
}
.sound-icon {
font-size: 24px;
}
.sound-name {
font-size: 11px;
text-align: center;
color: var(--text-normal);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
}
.btn-add-sound {
font-size: 12px;
color: var(--brand);
cursor: pointer;
}
.btn-add-sound:hover {
text-decoration: underline;
}
/* Chat Pane */
.chat-pane {
display: flex;