diff options
Diffstat (limited to 'static/deck.css')
| -rw-r--r-- | static/deck.css | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/static/deck.css b/static/deck.css index 0977279..1d02a85 100644 --- a/static/deck.css +++ b/static/deck.css @@ -517,7 +517,7 @@ select { background: var(--udt-surface0); border: 1px solid var(--udt-surface1); color: var(--udt-text); max-width: 50%; } .assistant .as-model span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } -.assistant .as-status { flex: 1; color: var(--udt-subtext0); font-size: 0.857rem; } +.assistant .as-gap { flex: 1; } /* pushes the mic right; the state is in the live bubble */ .assistant .as-models { position: absolute; top: 58px; left: 0; z-index: 2; max-height: 60%; overflow-y: auto; min-width: 50%; background: var(--udt-mantle); border: 1px solid var(--udt-surface1); border-radius: 12px; padding: 6px; @@ -576,6 +576,15 @@ select { .assistant .as-bubble .md > :first-child { margin-top: 0; } .assistant .as-bubble .md > :last-child { margin-bottom: 0; } .assistant .as-tools { font-size: 0.786rem; color: var(--udt-overlay0); } +.assistant .as-state { font-size: 0.786rem; font-style: italic; color: var(--udt-subtext0); } +.assistant .as-state:empty { display: none; } +/* Three dots bouncing in turn while the reply has no words yet. */ +.assistant .as-dots { display: inline-flex; gap: 5px; padding: 6px 0 2px; } +.assistant .as-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--udt-subtext0); + animation: as-bounce 1.2s ease-in-out infinite; } +.assistant .as-dots i:nth-child(2) { animation-delay: .15s; } +.assistant .as-dots i:nth-child(3) { animation-delay: .3s; } +@keyframes as-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-6px); opacity: 1; } } .assistant .md { line-height: 1.45; overflow-wrap: anywhere; } .assistant .md pre { position: relative; background: var(--udt-crust); border-radius: 8px; padding: 10px; overflow-x: auto; } .assistant .md pre .copy { position: absolute; top: 4px; right: 4px; } |
