🎤 Voz + ⌨️ Atalhos: Ctrl+N/F/K, Escape, microfone com Web Speech API
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user