diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-10 16:27:11 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-10 16:27:11 +0100 |
| commit | 25c0248a3285c30b12df9d228a13e435786b66f7 (patch) | |
| tree | 416856b4eed5e9b947163cae51bfcd426fd5d6ed /static/deck.css | |
| parent | ec140125f208d5f6e507dfe6b8e9abc7236cb21b (diff) | |
| download | deck-it-25c0248a3285c30b12df9d228a13e435786b66f7.tar.gz deck-it-25c0248a3285c30b12df9d228a13e435786b66f7.zip | |
feat(assistant): a greeting while the chat is empty
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'static/deck.css')
| -rw-r--r-- | static/deck.css | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/static/deck.css b/static/deck.css index 3c45e98..03b9d43 100644 --- a/static/deck.css +++ b/static/deck.css @@ -702,3 +702,14 @@ select { } .assistant.idle::before { opacity: .24; } .assistant > * { position: relative; z-index: 1; } + +/* The empty chat's greeting, on the side the backdrop leaves free. */ +.assistant .as-hello { + display: none; position: absolute; left: 4%; top: 30%; max-width: 46%; + flex-direction: column; gap: 8px; pointer-events: none; +} +.assistant.idle .as-hello { display: flex; } +.assistant .as-hello h2 { + margin: 0 0 6px; font: 200 3rem/1.1 system-ui, sans-serif; letter-spacing: -.02em; color: var(--udt-text); +} +.assistant .as-hello p { margin: 0; font: 300 1.15rem/1.4 system-ui, sans-serif; color: var(--udt-overlay0); } |
