Download ui/web/src/components/chat/Composer.css from localailb/assistant: direct link, hf CLI and curl.
- Browser
- Download file 1.57 kB
-
https://huggingface.co/spaces/localailb/assistant/resolve/main/ui/web/src/components/chat/Composer.css
- Command line
-
hf download hf://spaces/localailb/assistant/ui/web/src/components/chat/Composer.css
-
curl -L -o Composer.css https://huggingface.co/spaces/localailb/assistant/resolve/main/ui/web/src/components/chat/Composer.css
1.57 kB
| /* ========================================================================== | |
| Composer — the message input bar (textarea + Send/Stop button) | |
| ========================================================================== */ | |
| .composer { | |
| display: flex; | |
| align-items: flex-end; | |
| gap: 10px; | |
| border: 1.5px solid var(--line-strong); | |
| background: var(--bg-input); | |
| border-radius: var(--radius-lg); | |
| padding: 10px 12px; | |
| transition: border-color 0.15s ease, box-shadow 0.15s ease; | |
| } | |
| .composer:focus-within { | |
| border-color: var(--accent); | |
| box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); | |
| } | |
| .composer textarea { | |
| flex: 1; | |
| border: none; | |
| outline: none; | |
| resize: none; | |
| background: transparent; | |
| color: var(--ink); | |
| font-family: inherit; | |
| font-size: 15px; | |
| line-height: 1.5; | |
| max-height: 180px; | |
| min-height: 24px; | |
| padding: 4px 2px; | |
| } | |
| .composer textarea::placeholder { | |
| color: var(--ink-faint); | |
| } | |
| .send-btn { | |
| border: none; | |
| background: linear-gradient(135deg, var(--accent), var(--accent-deep)); | |
| color: #fff; | |
| border-radius: 12px; | |
| min-width: 44px; | |
| height: 40px; | |
| font-size: 15px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 6px; | |
| padding: 0 14px; | |
| font-weight: 600; | |
| transition: filter 0.12s ease, transform 0.08s ease; | |
| } | |
| .send-btn:hover { | |
| filter: brightness(1.06); | |
| } | |
| .send-btn:active { | |
| transform: scale(0.97); | |
| } | |
| .send-btn:disabled { | |
| opacity: 0.45; | |
| cursor: not-allowed; | |
| } | |
| .send-btn.stop { | |
| background: var(--err); | |
| } | |
| .send-btn .send-label { | |
| font-size: 13.5px; | |
| } | |