File size: 2,029 Bytes
a73dbfd 7d2ae3c a73dbfd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | .container {
padding: var(--space-sm) var(--space-md);
background: var(--bg-primary);
border-top: 1px solid var(--border-light);
flex-shrink: 0;
}
.inputRow {
display: flex;
align-items: flex-end;
gap: 8px;
background: var(--bg-surface);
border-radius: var(--radius-pill);
padding: 6px 6px 6px 16px;
border: 1px solid var(--border);
transition: border-color 0.2s;
}
.inputRow:focus-within {
border-color: var(--primary-light);
}
.textarea {
flex: 1;
border: none;
background: transparent;
font-family: var(--font);
font-size: 14px;
color: var(--text-primary);
resize: none;
outline: none;
line-height: 1.5;
padding: 6px 0;
max-height: 120px;
}
.textarea::placeholder {
color: var(--text-secondary);
}
.textarea:disabled {
opacity: 0.5;
}
.listening {
background: rgba(255, 77, 79, 0.1);
animation: pulse 1s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.4);
}
70% {
transform: scale(1.05);
box-shadow: 0 0 0 6px rgba(255, 77, 79, 0);
}
100% {
transform: scale(1);
box-shadow: 0 0 0 0 rgba(255, 77, 79, 0);
}
}
.actions {
display: flex;
align-items: center;
gap: 2px;
flex-shrink: 0;
}
.actionBtn {
display: flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border-radius: 50%;
transition: background 0.2s;
}
.actionBtn:hover {
background: rgba(0, 0, 0, 0.05);
}
.actionBtn:disabled {
opacity: 0.4;
pointer-events: none;
}
.sendBtn {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--border);
transition: all 0.2s;
}
.sendActive {
background: var(--primary);
}
.sendActive:hover {
background: var(--primary-dark);
}
.sendBtn:disabled {
opacity: 0.6;
pointer-events: none;
} |