parent
d3a109a0cc
commit
92cba49b0d
6 changed files with 472 additions and 108 deletions
|
|
@ -715,89 +715,153 @@ select {
|
|||
}
|
||||
|
||||
/* ═══════════════════════════════════════════════════════════ */
|
||||
/* Sound Board */
|
||||
/* Chat Input */
|
||||
/* ═══════════════════════════════════════════════════════════ */
|
||||
.soundboard-container {
|
||||
padding: 12px;
|
||||
background: var(--bg-secondary);
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.03);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
.chat-input-wrapper {
|
||||
padding: 0 16px 24px;
|
||||
}
|
||||
|
||||
.soundboard-header {
|
||||
.message-form {
|
||||
background: var(--bg-input);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 2px 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.input-action-btn {
|
||||
color: var(--text-muted);
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.input-action-btn:hover {
|
||||
color: var(--text-normal);
|
||||
background: var(--bg-modifier-hover);
|
||||
}
|
||||
|
||||
.message-form input {
|
||||
flex: 1;
|
||||
background: none;
|
||||
border: 0;
|
||||
padding: 12px 0;
|
||||
font-size: 15px;
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
/* ═══════════════════════════════════════════════════════════ */
|
||||
/* GIF Picker Modal */
|
||||
/* ═══════════════════════════════════════════════════════════ */
|
||||
.gif-modal {
|
||||
width: min(500px, 95vw) !important;
|
||||
max-height: 600px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0 !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.gif-modal .modal-header {
|
||||
padding: 16px 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.4px;
|
||||
color: var(--text-muted);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.soundboard-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
|
||||
gap: 8px;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
.gif-modal .modal-header h2 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.sound-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 10px 8px;
|
||||
background: var(--bg-darker);
|
||||
border-radius: var(--radius-md);
|
||||
cursor: pointer;
|
||||
transition: all var(--transition);
|
||||
border: 1px solid transparent;
|
||||
.gif-search-wrapper {
|
||||
padding: 16px 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sound-item:hover {
|
||||
background: var(--bg-modifier-hover);
|
||||
transform: translateY(-2px);
|
||||
border-color: rgba(255, 255, 255, 0.06);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
||||
.gif-search-wrapper input {
|
||||
width: 100%;
|
||||
background: var(--bg-darker);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 12px 14px 12px 40px;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
transition: border-color var(--transition);
|
||||
}
|
||||
|
||||
.sound-item:active {
|
||||
transform: scale(0.95);
|
||||
.gif-search-wrapper input:focus {
|
||||
border-color: var(--brand);
|
||||
}
|
||||
|
||||
.sound-delete {
|
||||
.gif-search-wrapper .search-icon {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
left: 32px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 50%;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.gif-results-grid {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 0 20px 20px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
opacity: 0;
|
||||
transition: all var(--transition);
|
||||
z-index: 2;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 8px;
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
.sound-delete:hover {
|
||||
background: var(--danger);
|
||||
color: #fff;
|
||||
transform: scale(1.1);
|
||||
.gif-item {
|
||||
border-radius: var(--radius-sm);
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
background: var(--bg-sidebar);
|
||||
aspect-ratio: 16 / 9;
|
||||
transition: transform var(--transition);
|
||||
}
|
||||
|
||||
.sound-item:hover .sound-delete {
|
||||
opacity: 1;
|
||||
.gif-item:hover {
|
||||
transform: scale(1.02);
|
||||
filter: brightness(1.1);
|
||||
}
|
||||
|
||||
.sound-icon {
|
||||
font-size: 24px;
|
||||
.gif-item img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.gif-loading {
|
||||
grid-column: 1 / -1;
|
||||
text-align: center;
|
||||
padding: 40px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
/* ── GIF in messages ────────────────────────────────────────── */
|
||||
.msg-gif {
|
||||
margin-top: 8px;
|
||||
max-width: 100%;
|
||||
max-height: 300px;
|
||||
border-radius: var(--radius-md);
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.msg-gif img {
|
||||
max-width: 100%;
|
||||
max-height: 300px;
|
||||
display: block;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.sound-name {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue