Spaces:
Running
Running
| .message-row.is-user .message-stack { | |
| align-items: flex-end; | |
| } | |
| .message-bubble { | |
| min-width: 0; | |
| max-width: 100%; | |
| padding: 10px 12px; | |
| border-radius: 16px; | |
| border-bottom-left-radius: 6px; | |
| background: #fff; | |
| border: 1px solid rgba(222, 223, 220, 0.8); | |
| box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); | |
| } | |
| .message-row.is-user .message-bubble { | |
| color: #fff; | |
| background: #1f2937; | |
| border-color: #1f2937; | |
| border-bottom-left-radius: 16px; | |
| border-bottom-right-radius: 6px; | |
| } | |
| .message-row.is-activity .message-bubble { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| max-width: 92%; | |
| color: #58606b; | |
| background: #eeefeb; | |
| } | |
| .message-row.is-activity .activity-bubble { | |
| display: block; | |
| min-width: 172px; | |
| max-width: min(92%, 420px); | |
| padding: 8px 10px; | |
| color: #4f5661; | |
| background: #f0f1ee; | |
| } | |
| .activity-bubble.is-failed { | |
| color: var(--danger); | |
| background: #fff1ef; | |
| border-color: rgba(194, 65, 58, 0.22); | |
| } | |
| .message-actions { | |
| display: inline-flex; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 6px; | |
| max-width: 100%; | |
| margin-top: 4px; | |
| padding: 0; | |
| color: #7b838f; | |
| font-size: 12px; | |
| line-height: 16px; | |
| } | |
| .message-action { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 4px; | |
| min-width: 44px; | |
| min-height: 44px; | |
| padding: 0 6px; | |
| border: 0; | |
| color: inherit; | |
| background: transparent; | |
| } | |
| .message-action:hover, | |
| .message-action:focus-visible, | |
| .message-action:active { | |
| color: #4b5563; | |
| } | |
| .message-action.is-speaking { | |
| color: var(--accent); | |
| } | |
| .message-action.is-delete:hover, | |
| .message-action.is-delete:focus-visible, | |
| .message-action.is-delete:active { | |
| color: var(--danger); | |
| } | |
| @media (hover: hover) { | |
| .message-actions { | |
| opacity: 0.66; | |
| transition: opacity 140ms ease, color 140ms ease; | |
| } | |
| .message-row:hover .message-actions, | |
| .message-actions:focus-within { | |
| opacity: 1; | |
| } | |
| } | |
| .activity-summary { | |
| display: flex; | |
| align-items: center; | |
| gap: 7px; | |
| width: 100%; | |
| padding: 0; | |
| border: 0; | |
| color: inherit; | |
| background: transparent; | |
| text-align: left; | |
| } | |
| .activity-summary span { | |
| min-width: 0; | |
| flex: 1; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| font-size: 13px; | |
| line-height: 18px; | |
| } | |
| .activity-detail { | |
| margin-top: 6px; | |
| color: #8f3d36; | |
| font-size: 12px; | |
| line-height: 16px; | |
| overflow-wrap: anywhere; | |
| white-space: pre-wrap; | |
| } | |
| .activity-steps { | |
| display: grid; | |
| gap: 6px; | |
| margin-top: 8px; | |
| padding-top: 7px; | |
| border-top: 1px solid rgba(210, 213, 208, 0.72); | |
| } | |
| .activity-step { | |
| display: grid; | |
| grid-template-columns: 8px minmax(0, 1fr); | |
| align-items: center; | |
| column-gap: 7px; | |
| color: #69717c; | |
| font-size: 12px; | |
| line-height: 16px; | |
| } | |
| .activity-step span:last-child { | |
| min-width: 0; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .activity-step-dot { | |
| width: 6px; | |
| height: 6px; | |
| border-radius: 999px; | |
| background: #9aa3ad; | |
| } | |
| .activity-step.is-running .activity-step-dot, | |
| .activity-step.is-queued .activity-step-dot { | |
| background: #3b82f6; | |
| box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12); | |
| } | |
| .activity-step.is-completed .activity-step-dot { | |
| background: #12b981; | |
| } | |
| .activity-step.is-failed .activity-step-dot { | |
| background: var(--danger); | |
| } | |
| .activity-item { | |
| margin-top: 8px; | |
| } | |
| .activity-item strong { | |
| display: block; | |
| font-size: 12px; | |
| line-height: 16px; | |
| } | |
| .activity-item ul { | |
| margin: 5px 0 0; | |
| padding-left: 18px; | |
| font-size: 11px; | |
| } | |
| .activity-item em { | |
| display: block; | |
| margin-top: 5px; | |
| color: var(--danger); | |
| font-style: normal; | |
| font-size: 11px; | |
| } | |
| .message-content { | |
| max-width: 100%; | |
| white-space: pre-wrap; | |
| overflow-wrap: anywhere; | |
| word-break: break-word; | |
| font-size: 14px; | |
| line-height: 1.55; | |
| } | |
| .message-content a { | |
| color: #1758d6; | |
| text-decoration: underline; | |
| text-decoration-thickness: 1px; | |
| text-underline-offset: 0.12em; | |
| } | |
| .message-row.is-user .message-content a { | |
| color: #cfe3ff; | |
| } | |
| [data-theme="dark"] .message-content a { | |
| color: #7ab7ff; | |
| } | |
| [data-theme="dark"] .message-row.is-user .message-content a { | |
| color: #d8e8ff; | |
| } | |
| .message-content pre, | |
| .message-content code { | |
| max-width: 100%; | |
| white-space: pre-wrap; | |
| overflow-wrap: anywhere; | |
| word-break: break-word; | |
| } | |
| .message-image-link { | |
| display: block; | |
| width: min(100%, calc(100vw - 56px), 360px); | |
| max-width: 100%; | |
| margin: 8px 0; | |
| padding: 0; | |
| border: 0; | |
| border-radius: 8px; | |
| color: inherit; | |
| background: #eef0ed; | |
| text-align: left; | |
| overflow: hidden; | |
| cursor: zoom-in; | |
| -webkit-touch-callout: none; | |
| } | |
| .message-image { | |
| display: block; | |
| width: 100%; | |
| height: auto; | |
| max-height: min(54vh, 520px); | |
| object-fit: contain; | |
| } | |
| .message-image-link.is-failed { | |
| display: grid; | |
| min-height: 132px; | |
| place-items: center; | |
| border: 1px dashed rgba(194, 65, 58, 0.28); | |
| color: var(--danger); | |
| background: #fff4f2; | |
| } | |
| .message-image-link.is-failed img { | |
| display: none; | |
| } | |
| .image-error { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| font-size: 13px; | |
| } | |
| .image-error span { | |
| color: #174eb8; | |
| } | |
| .image-lightbox { | |
| position: fixed; | |
| inset: 0; | |
| z-index: 90; | |
| display: grid; | |
| grid-template-rows: auto 1fr auto; | |
| padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px calc(env(safe-area-inset-bottom, 0px) + 12px); | |
| background: rgba(8, 10, 13, 0.94); | |
| backdrop-filter: blur(10px); | |
| overscroll-behavior: contain; | |
| touch-action: pan-x pan-y pinch-zoom; | |
| } | |