Download public/css/input.css from sharktide/chat: direct link, hf CLI and curl.
- Browser
- Download file 4.94 kB
-
https://huggingface.co/spaces/sharktide/chat/resolve/85704062c5196057598d13c88e5db4ceb88f256d/public/css/input.css
- Command line
-
hf download hf://spaces/sharktide/chat@85704062c5196057598d13c88e5db4ceb88f256d/public/css/input.css
-
curl -L -o input.css https://huggingface.co/spaces/sharktide/chat/resolve/85704062c5196057598d13c88e5db4ceb88f256d/public/css/input.css
4.94 kB
| /* ββ Center (welcome) input ββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .center-input-container { | |
| display: flex; | |
| flex-direction: column; | |
| background: var(--bg-raised); | |
| border: 1px solid var(--border-bright); | |
| border-radius: var(--radius-xl); | |
| padding: 12px 14px 10px; | |
| gap: 10px; | |
| box-shadow: var(--shadow-md); | |
| transition: border-color var(--transition), box-shadow var(--transition); | |
| } | |
| .center-input-container:focus-within { | |
| border-color: rgba(74,158,255,0.4); | |
| box-shadow: var(--shadow-glow-blue); | |
| } | |
| .center-textarea { | |
| width: 100%; | |
| background: transparent; | |
| border: none; | |
| outline: none; | |
| color: var(--text); | |
| font-size: 16px; | |
| line-height: 1.55; | |
| min-height: 26px; | |
| max-height: calc(1.55em * 6 + 24px); | |
| overflow-y: auto; | |
| padding: 0 4px; | |
| } | |
| .center-textarea::placeholder { color: var(--text-muted); } | |
| .center-input-actions { | |
| display: flex; | |
| align-items: center; | |
| gap: 4px; | |
| } | |
| .tool-btn { | |
| display: flex; align-items: center; justify-content: center; | |
| width: 30px; height: 30px; | |
| border-radius: var(--radius-md); | |
| color: var(--text-muted); | |
| transition: color var(--transition), background var(--transition); | |
| } | |
| .tool-btn:hover { color: var(--text); background: var(--bg-hover); } | |
| .tool-btn.active { color: var(--yellow); background: var(--yellow-glow); } | |
| .send-btn-center { | |
| display: flex; align-items: center; justify-content: center; | |
| width: 34px; height: 34px; border-radius: 50%; | |
| background: var(--yellow); color: #111; | |
| margin-left: auto; | |
| transition: opacity var(--transition), transform var(--transition); | |
| flex-shrink: 0; | |
| } | |
| .send-btn-center:hover { opacity: 0.88; transform: scale(1.05); } | |
| .send-btn-center:disabled { opacity: 0.4; transform: none; } | |
| /* Attach btn beside center input */ | |
| .attach-btn-wrap { | |
| display: flex; | |
| align-items: flex-end; | |
| } | |
| .attach-btn { | |
| display: flex; align-items: center; justify-content: center; | |
| width: 30px; height: 30px; border-radius: 50%; | |
| color: var(--text-muted); | |
| border: 1px solid var(--border-bright); | |
| transition: color var(--transition), background var(--transition); | |
| } | |
| .attach-btn:hover { color: var(--text); background: var(--bg-hover); } | |
| /* ββ Bottom input bar ββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .bottom-input-bar { | |
| flex-shrink: 0; | |
| padding: 0 24px 16px; | |
| } | |
| .file-preview-row { | |
| display: flex; flex-wrap: wrap; gap: 8px; | |
| padding: 0 0 8px; | |
| max-width: 760px; margin: 0 auto; | |
| } | |
| .bottom-input-wrap { | |
| display: flex; | |
| align-items: flex-end; | |
| gap: 8px; | |
| max-width: 760px; | |
| margin: 0 auto; | |
| background: var(--bg-raised); | |
| border: 1px solid var(--border-bright); | |
| border-radius: var(--radius-xl); | |
| padding: 8px 10px; | |
| box-shadow: var(--shadow-md); | |
| transition: border-color var(--transition), box-shadow var(--transition); | |
| } | |
| .bottom-input-wrap:focus-within { | |
| border-color: rgba(74,158,255,0.4); | |
| box-shadow: var(--shadow-glow-blue); | |
| } | |
| .attach-btn-bottom { | |
| flex-shrink: 0; | |
| display: flex; align-items: center; justify-content: center; | |
| width: 30px; height: 30px; border-radius: 50%; | |
| color: var(--text-muted); | |
| margin-bottom: 4px; | |
| transition: color var(--transition), background var(--transition); | |
| } | |
| .attach-btn-bottom:hover { color: var(--text); background: var(--bg-hover); } | |
| .bottom-textarea-wrap { | |
| flex: 1; min-width: 0; | |
| display: flex; flex-direction: column; gap: 6px; | |
| } | |
| .tool-row { | |
| display: flex; gap: 4px; | |
| } | |
| .tool-btn-sm { | |
| display: inline-flex; align-items: center; gap: 5px; | |
| padding: 3px 9px; border-radius: var(--radius-full); | |
| font-size: 12px; color: var(--text-muted); | |
| border: 1px solid transparent; | |
| transition: color var(--transition), border-color var(--transition), background var(--transition); | |
| } | |
| .tool-btn-sm:hover { color: var(--text); border-color: var(--border-bright); } | |
| .tool-btn-sm.active { | |
| color: var(--yellow); | |
| border-color: rgba(229,200,70,0.3); | |
| background: var(--yellow-glow); | |
| } | |
| .bottom-textarea { | |
| width: 100%; | |
| background: transparent; | |
| border: none; | |
| outline: none; | |
| color: var(--text); | |
| font-size: 15px; | |
| line-height: 1.55; | |
| min-height: calc(1.55em + 2px); | |
| max-height: calc(1.55em * 6 + 2px); | |
| overflow-y: auto; | |
| padding: 0; | |
| } | |
| .bottom-textarea::placeholder { color: var(--text-muted); } | |
| .send-btn-bottom { | |
| flex-shrink: 0; | |
| display: flex; align-items: center; justify-content: center; | |
| width: 34px; height: 34px; border-radius: 50%; | |
| background: var(--yellow); color: #111; | |
| margin-bottom: 2px; | |
| transition: opacity var(--transition), transform var(--transition); | |
| } | |
| .send-btn-bottom:hover { opacity: 0.88; transform: scale(1.05); } | |
| .send-btn-bottom:disabled { opacity: 0.4; transform: none; cursor: not-allowed; } | |
| .send-btn-bottom.stop { background: var(--bg-active); color: var(--text); } | |