🎤 Voz + ⌨️ Atalhos: Ctrl+N/F/K, Escape, microfone com Web Speech API

This commit is contained in:
2026-05-25 23:25:36 +00:00
parent c935e980b2
commit 4edd3fce7d
3 changed files with 129 additions and 0 deletions
+37
View File
@@ -1192,6 +1192,43 @@ code {
height: 16px;
}
/* Botão de voz (microfone) */
.btn-voice {
background: none !important;
border: none !important;
color: var(--text-muted) !important;
border-radius: 50% !important;
width: 32px !important;
height: 32px !important;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
flex-shrink: 0;
transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
padding: 0 !important;
}
.btn-voice svg {
width: 18px;
height: 18px;
}
.btn-voice:hover {
color: var(--text-primary) !important;
transform: scale(1.05);
}
.btn-voice.listening {
color: #ef4444 !important;
animation: pulse-voice 1.5s ease-in-out infinite;
}
@keyframes pulse-voice {
0%, 100% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.15); opacity: 0.8; }
}
.disclaimer {
font-size: 11px;
color: var(--text-muted);