| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- /* Chat flow: one 16px rhythm everywhere — between blocks (prose <-> tool
- runs) via the column gap and between consecutive tool rows via the group
- gap. Input padding cap rides the skeleton. Under
- `[data-conversation-scroll]` the column host owns overflow and this view
- is ordinary flow (see ConversationRoot active-phase rules). */
- .root {
- position: relative;
- display: flex;
- flex-direction: column;
- min-height: 0;
- flex: 1 1 auto;
- }
- .scroll {
- flex: 1 1 auto;
- min-height: 0;
- overflow-y: auto;
- padding: 16px 24px;
- }
- :global([data-conversation-scroll]) .root {
- flex: 0 0 auto;
- min-height: auto;
- height: auto;
- }
- :global([data-conversation-scroll]) .scroll {
- overflow: visible;
- flex: 0 0 auto;
- min-height: auto;
- }
- /* Message column: 736px fixed width, centered on the same axis as the
- input box; the scroller itself stays full-bleed. */
- .column {
- max-width: 736px;
- width: 100%;
- margin: 0 auto;
- display: flex;
- flex-direction: column;
- gap: 16px;
- }
- .toolGroup {
- display: flex;
- flex-direction: column;
- gap: 16px;
- }
- .callRow {
- border-radius: 6px;
- }
- /* Selection still sets data-selected for details linkage; no outline —
- tool rows match Think chrome (no selected ring). */
- /* run_code sub-dispatch rows: indented under the parent row, left-edged so
- the code turn reads as one unit; each nested row is itself a .callRow. */
- .subCalls {
- display: flex;
- flex-direction: column;
- gap: 4px;
- margin: 4px 0 2px 22px;
- padding-left: 8px;
- border-left: 1px solid var(--dsw-alias-border-l2);
- }
- /* Turn loader: one row of four 2.5px pixels (StateDot blue) chasing left to
- right with a stepped trail — flat keyframe holds, no tweening. Phase
- offsets come from per-rect animation-delay (index * -250ms) set inline
- by the component. */
- .turnDots {
- align-self: flex-start;
- flex: none;
- display: flex;
- align-items: center;
- /* One message line box: the dots center inside the text line height. */
- height: 26px;
- /* Same pin as StateDot: ongoing blue has no alias token (business-primary
- is the 500 step, not this 450). */
- color: var(--dsw-static-deepseek-450);
- }
- .turnDotCell {
- fill: currentColor;
- opacity: 0.15;
- animation: dsh-turn-dots-chase 1s infinite;
- }
- @keyframes dsh-turn-dots-chase {
- 0%, 24.9% { opacity: 1; }
- 25%, 49.9% { opacity: 0.6; }
- 50%, 74.9% { opacity: 0.35; }
- 75%, 100% { opacity: 0.15; }
- }
- .hint {
- color: var(--dsw-alias-label-tertiary);
- font-size: 12px;
- line-height: 18px;
- }
- .openError {
- color: var(--dsw-alias-state-error-primary);
- font-size: 12px;
- line-height: 18px;
- }
- .older {
- display: flex;
- justify-content: center;
- }
- .older button {
- border: none;
- border-radius: 14px;
- padding: 4px 12px;
- font-size: 12px;
- color: var(--dsw-alias-label-secondary);
- background: var(--dsw-alias-interactive-bg-hover-solid);
- cursor: pointer;
- }
- .older button:disabled {
- cursor: default;
- opacity: 0.6;
- }
- /* Back-to-bottom: zero-height sticky slot so the control does not extend
- scrollHeight; the button translates up into the viewport. Under the
- conversation host, clearance sits above the sticky composer stack. */
- .toBottomSlot {
- position: sticky;
- bottom: 16px;
- /* Above the sticky composer (z-index 7) so the control stays clickable and
- visible over the input card. */
- z-index: 8;
- height: 0;
- display: flex;
- justify-content: flex-end;
- padding-right: max(0px, calc((100% - 736px) / 2));
- pointer-events: none;
- }
- :global([data-conversation-scroll]) .toBottomSlot {
- /* Clears the sticky composer stack (docks + input card + stats): the live
- height rides --dsh-composer-height (ConversationRoot's seat observer) so
- the control follows a growing textarea; the fallback covers the first
- paint before the observer fires. */
- bottom: calc(var(--dsh-composer-height, 152px) + 16px);
- }
- .toBottom {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 34px;
- height: 34px;
- margin-top: -34px;
- padding: 0;
- border: 1px solid var(--dsw-alias-border-l2);
- border-radius: 100px;
- color: var(--dsw-alias-label-primary);
- background: var(--dsw-alias-button-floating-fill);
- box-shadow: var(--dsw-shadow-lv2);
- cursor: pointer;
- pointer-events: auto;
- }
- .toBottom:hover {
- background: var(--dsw-alias-button-floating-hover);
- }
|