Download static/agent-widget.css from tostido/weed-sim: direct link, hf CLI and curl.
- Browser
- Download file 5.35 kB
-
https://huggingface.co/spaces/tostido/weed-sim/resolve/main/static/agent-widget.css
- Command line
-
hf download hf://spaces/tostido/weed-sim/static/agent-widget.css
-
curl -L -o agent-widget.css https://huggingface.co/spaces/tostido/weed-sim/resolve/main/static/agent-widget.css
5.35 kB
| /* Ever-present agent overlay — scoped under #aw-* / .aw-* to avoid page clashes */ | |
| #aw-fab { | |
| position: fixed; right: 20px; bottom: 20px; z-index: 99999; | |
| display: flex; align-items: center; gap: 8px; | |
| padding: 11px 16px; cursor: pointer; user-select: none; | |
| background: rgba(10,11,16,0.92); color: #18e0ff; | |
| border: 1px solid rgba(24,224,255,0.5); border-radius: 0; | |
| font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; font-weight: 700; | |
| box-shadow: 0 6px 28px rgba(0,0,0,0.5); backdrop-filter: blur(8px); | |
| transition: all .15s; | |
| } | |
| #aw-fab:hover { box-shadow: 0 0 18px rgba(24,224,255,0.4); } | |
| #aw-fab .dot { width: 8px; height: 8px; border-radius: 50%; background: #39FF14; box-shadow: 0 0 8px #39FF14; } | |
| #aw-panel { | |
| position: fixed; right: 20px; bottom: 20px; z-index: 99999; | |
| width: 400px; height: 70vh; | |
| max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); min-width: 300px; min-height: 300px; | |
| display: none; flex-direction: column; | |
| background: rgba(10,11,16,0.97); border: 1px solid rgba(57,255,20,0.3); | |
| box-shadow: 0 10px 50px rgba(0,0,0,0.6); backdrop-filter: blur(14px); | |
| font-family: 'Inter', sans-serif; | |
| resize: both; overflow: hidden; /* drag bottom-right corner to resize */ | |
| } | |
| #aw-panel.open { display: flex; } | |
| .aw-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.3); cursor: move; touch-action: none; } | |
| .aw-head .grip { color: #4a5468; font-size: 0.9rem; letter-spacing: -2px; } | |
| .aw-head .t { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; font-weight: 700; color: #39FF14; letter-spacing: 1px; flex: 1; } | |
| .aw-head button { background: none; border: 1px solid rgba(255,255,255,0.15); color: #8a94a6; cursor: pointer; font-size: 0.72rem; padding: 3px 8px; font-family: 'JetBrains Mono', monospace; } | |
| .aw-head button:hover { color: #39FF14; border-color: #39FF14; } | |
| .aw-cfg { display: none; flex-wrap: wrap; gap: 6px; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.2); } | |
| .aw-cfg.open { display: flex; } | |
| .aw-cfg select, .aw-cfg input { background: #12141c; color: #f0f4f8; border: 1px solid rgba(255,255,255,0.15); padding: 5px 8px; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; } | |
| .aw-cfg input.tok { width: 100%; } | |
| .aw-cfg input.mdl { flex: 1; min-width: 0; } | |
| .aw-cfg select { color: #18e0ff; border-color: rgba(24,224,255,0.4); } | |
| .aw-cfg label { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; color: #8a94a6; display: flex; align-items: center; gap: 3px; } | |
| .aw-cfg .cnt { font-family: 'JetBrains Mono', monospace; font-size: 0.64rem; color: #8a94a6; width: 100%; } | |
| .aw-log { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 9px; } | |
| .aw-log::-webkit-scrollbar { width: 6px; } | |
| .aw-log::-webkit-scrollbar-thumb { background: rgba(57,255,20,0.2); } | |
| .aw-b { max-width: 90%; padding: 8px 11px; font-size: 0.85rem; line-height: 1.5; border: 1px solid rgba(255,255,255,0.08); color: #f0f4f8; } | |
| .aw-b.user { align-self: flex-end; background: rgba(57,255,20,0.08); border-color: rgba(57,255,20,0.3); } | |
| .aw-b.assistant { align-self: flex-start; background: rgba(18,20,28,0.8); } | |
| .aw-b.intro { align-self: stretch; max-width: 100%; background: rgba(24,224,255,0.05); border-color: rgba(24,224,255,0.2); color: #8a94a6; font-size: 0.8rem; } | |
| .aw-b.intro b { color: #f0f4f8; } .aw-b.intro .ex { color: #39FF14; font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; } | |
| .aw-b.error { align-self: stretch; max-width: 100%; background: rgba(255,0,60,0.08); border-color: rgba(255,0,60,0.35); color: #ff8aa0; font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; } | |
| .aw-tool { align-self: flex-start; max-width: 90%; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; border: 1px solid rgba(255,176,32,0.3); background: rgba(255,176,32,0.05); } | |
| .aw-tool summary { cursor: pointer; padding: 5px 9px; color: #ffb020; list-style: none; } | |
| .aw-tool summary::-webkit-details-marker { display: none; } | |
| .aw-tool summary b { color: #39FF14; } | |
| .aw-tool pre { margin: 0; padding: 6px 9px; border-top: 1px solid rgba(255,255,255,0.08); white-space: pre-wrap; word-break: break-word; color: #8a94a6; max-height: 180px; overflow: auto; } | |
| .aw-think { align-self: flex-start; font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; color: #8a94a6; padding: 3px 9px; } | |
| .aw-think::after { content: '▋'; animation: awblink 1s steps(2) infinite; } | |
| @keyframes awblink { 50% { opacity: 0; } } | |
| .aw-foot { display: flex; gap: 7px; padding: 9px 12px; border-top: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.25); } | |
| .aw-foot textarea { flex: 1; resize: none; background: #12141c; color: #f0f4f8; border: 1px solid rgba(255,255,255,0.15); padding: 7px 9px; font-family: 'Inter', sans-serif; font-size: 0.85rem; height: 38px; } | |
| .aw-foot button { background: rgba(57,255,20,0.12); color: #39FF14; border: 1px solid rgba(57,255,20,0.35); cursor: pointer; padding: 0 14px; font-weight: 600; font-size: 0.82rem; } | |
| .aw-foot button:disabled { opacity: 0.4; cursor: not-allowed; } | |
| @media (max-width: 520px) { | |
| #aw-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: 78vh; } | |
| #aw-fab { right: 12px; bottom: 12px; } | |
| } | |