Spaces:
Runtime error
Runtime error
Download src/styles/VoiceInput.css from abhishek2406/Paper_HuggingFace: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/spaces/abhishek2406/Paper_HuggingFace/resolve/main/src/styles/VoiceInput.css
- Command line
-
hf download hf://spaces/abhishek2406/Paper_HuggingFace/src/styles/VoiceInput.css
-
curl -L -o VoiceInput.css https://huggingface.co/spaces/abhishek2406/Paper_HuggingFace/resolve/main/src/styles/VoiceInput.css
1.19 kB
| .voice-input-container { | |
| display: none ; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .voice-button { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| border: none; | |
| background: #4a4af4; | |
| color: white; | |
| font-size: 20px; | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 0; | |
| outline: none; | |
| -webkit-tap-highlight-color: transparent; | |
| user-select: none; | |
| touch-action: manipulation; | |
| } | |
| .voice-button:focus { | |
| outline: none; | |
| box-shadow: none; | |
| } | |
| .voice-button:active { | |
| transform: scale(0.95); | |
| } | |
| .voice-button.recording { | |
| background-color: #ff4444; | |
| animation: pulse 1.5s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { | |
| transform: scale(1); | |
| } | |
| 50% { | |
| transform: scale(1.05); | |
| } | |
| 100% { | |
| transform: scale(1); | |
| } | |
| } | |
| .transcript-container { | |
| flex: 1; | |
| padding: 10px; | |
| border-radius: 5px; | |
| background: #f5f5f5; | |
| } | |
| .transcript { | |
| font-size: 14px; | |
| line-height: 1.4; | |
| } | |
| .word-with-suggestion { | |
| display: inline-flex; | |
| gap: 5px; | |
| margin: 0 5px; | |
| } | |
| .original-word { | |
| color: #ff4444; | |
| cursor: pointer; | |
| text-decoration: underline; | |
| } | |
| .suggested-word { | |
| color: #4CAF50; | |
| cursor: pointer; | |
| font-style: italic; | |
| } |