Download src/components/chat/MessageInput/MessageInput.module.css from TA-PangandaranAI/PangandaranAI_FE: direct link, hf CLI and curl.
- Browser
- Download file 2.03 kB
-
https://huggingface.co/spaces/TA-PangandaranAI/PangandaranAI_FE/resolve/main/src/components/chat/MessageInput/MessageInput.module.css
- Command line
-
hf download hf://spaces/TA-PangandaranAI/PangandaranAI_FE/src/components/chat/MessageInput/MessageInput.module.css
-
curl -L -o MessageInput.module.css https://huggingface.co/spaces/TA-PangandaranAI/PangandaranAI_FE/resolve/main/src/components/chat/MessageInput/MessageInput.module.css
2.03 kB
| .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; | |
| } |