diff options
Diffstat (limited to 'renderer/src/styles')
| -rw-r--r-- | renderer/src/styles/globals.css | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/renderer/src/styles/globals.css b/renderer/src/styles/globals.css index 03c7443..7a8ae45 100644 --- a/renderer/src/styles/globals.css +++ b/renderer/src/styles/globals.css | |||
| @@ -490,6 +490,40 @@ html[data-theme="light"] .session-rename-input { | |||
| 490 | .message.loading { | 490 | .message.loading { |
| 491 | color: var(--text-secondary); | 491 | color: var(--text-secondary); |
| 492 | font-style: italic; | 492 | font-style: italic; |
| 493 | animation: thinking-pulse 1.8s ease-in-out infinite; | ||
| 494 | } | ||
| 495 | |||
| 496 | /* Flex row so the activity text and cancel × sit on one line */ | ||
| 497 | .message.loading .message-content { | ||
| 498 | display: flex; | ||
| 499 | align-items: center; | ||
| 500 | gap: 6px; | ||
| 501 | white-space: normal; | ||
| 502 | } | ||
| 503 | |||
| 504 | /* Cancel × button inside the Thinking bubble */ | ||
| 505 | .loading-cancel-x { | ||
| 506 | background: transparent; | ||
| 507 | border: none; | ||
| 508 | color: var(--text-secondary); | ||
| 509 | cursor: pointer; | ||
| 510 | font-size: 16px; | ||
| 511 | line-height: 1; | ||
| 512 | padding: 0 2px; | ||
| 513 | opacity: 0.45; | ||
| 514 | flex-shrink: 0; | ||
| 515 | font-family: inherit; | ||
| 516 | transition: opacity 0.15s, color 0.15s; | ||
| 517 | } | ||
| 518 | |||
| 519 | .loading-cancel-x:hover { | ||
| 520 | opacity: 1; | ||
| 521 | color: var(--text-primary); | ||
| 522 | } | ||
| 523 | |||
| 524 | @keyframes thinking-pulse { | ||
| 525 | 0%, 100% { opacity: 0.55; } | ||
| 526 | 50% { opacity: 1; } | ||
| 493 | } | 527 | } |
| 494 | 528 | ||
| 495 | .chat-input { | 529 | .chat-input { |
