78 lines
5.6 KiB
CSS
78 lines
5.6 KiB
CSS
/* Row 129: local chat styles, using the Console's existing palette and type. */
|
|
.chat-area { max-width: 72rem; margin-inline: auto; }
|
|
.chat-projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
|
|
.chat-thread-list { display: grid; gap: .65rem; padding-inline-start: 1.25rem; }
|
|
.chat-thread-list li { overflow-wrap: anywhere; }
|
|
.chat-create { display: grid; gap: .75rem; margin-block: 1.5rem; max-width: 34rem; }
|
|
.chat-create label, #chat-send-form { display: grid; gap: .5rem; }
|
|
.chat-create input, .chat-create select, #chat-body { width: 100%; min-width: 0; box-sizing: border-box; font: inherit; }
|
|
.chat-create button, #chat-send-form button { justify-self: start; }
|
|
.chat-conversation { min-width: 0; }
|
|
.chat-log { list-style: none; padding: .75rem; margin-block: 1rem; max-height: 56vh; overflow: auto; overflow-anchor: none; border: 1px solid var(--border); border-radius: .5rem; }
|
|
.chat-log li { padding-block: .8rem; border-bottom: 1px solid var(--border); }
|
|
.chat-log li:last-child { border-bottom: 0; }
|
|
.chat-message-meta { font-size: .85rem; opacity: .8; overflow-wrap: anywhere; }
|
|
.chat-body { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: .4rem; unicode-bidi: plaintext; }
|
|
#chat-body { resize: vertical; min-height: 6rem; padding: .75rem; }
|
|
.chat-paging { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
|
|
#chat-receipt { min-height: 1.5em; overflow-wrap: anywhere; }
|
|
@media (max-width: 40rem) { .chat-log { max-height: 48vh; padding: .5rem; } }
|
|
|
|
/* Logical sessions stay inside the selected thread, separate from machine seats. */
|
|
.chat-session-controls { border: 1px solid var(--border, #445); border-radius: .5rem; padding: .8rem; margin: .8rem 0; }
|
|
.chat-session-controls label { display: block; }
|
|
.chat-session-controls select, .chat-session-controls input { max-width: 100%; }
|
|
.chat-session-controls form { margin: .6rem 0; }
|
|
|
|
/* Row 225 (C2-10b, design 7.4): a reply's cites, a write notice and the library status line. The
|
|
badge and labels are text, so they read the same without colour. */
|
|
.chat-cites { list-style: none; margin: .5rem 0 0; padding-inline-start: 1rem; display: grid; gap: .35rem; }
|
|
.chat-log .chat-cites li { padding: 0; border-bottom: 0; overflow-wrap: anywhere; font-size: .92rem; }
|
|
.chat-cites code { font-family: var(--mono); font-size: .85rem; }
|
|
.chat-scope, .chat-label { display: inline-block; padding: 0 .4rem; border: 1px solid var(--line); border-radius: var(--r); font-size: .78rem; }
|
|
.chat-scope-canon { border-color: var(--success); color: var(--success); }
|
|
.chat-scope-playground { border-color: var(--accent); color: var(--accent); }
|
|
.chat-scope-web { border-color: var(--action); color: var(--action); }
|
|
.chat-agent-written { color: var(--muted); }
|
|
.chat-changed { border-color: var(--warning); color: var(--warning); }
|
|
.chat-notice { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; white-space: normal; }
|
|
.chat-revert-receipt { overflow-wrap: anywhere; }
|
|
.chat-library { font-size: .9rem; margin-block: .5rem; overflow-wrap: anywhere; }
|
|
.chat-library p { margin: 0; }
|
|
.chat-library-problems ul { margin: .4rem 0 0; padding-inline-start: 1.25rem; }
|
|
|
|
/* C2-10c: the shared timeline and keyboard-accessible leading-@ completion. */
|
|
.chat-room-entry { margin-block: .75rem; }
|
|
.chat-room #chat-room-send-form { display: grid; gap: .5rem; }
|
|
#chat-room-body { resize: vertical; min-height: 6rem; padding: .75rem; }
|
|
.chat-room-completion { list-style: none; padding: .25rem; margin: 0; max-height: 12rem; overflow: auto; border: 1px solid var(--border); border-radius: .5rem; }
|
|
.chat-room-completion button { display: block; width: 100%; text-align: start; padding: .5rem; overflow-wrap: anywhere; }
|
|
.chat-room-completion [aria-selected="true"] { outline: 2px solid var(--action); outline-offset: -2px; }
|
|
#chat-room-tags, #chat-room-receipt { overflow-wrap: anywhere; }
|
|
#chat-room-tags span { display: inline-block; margin-inline-end: .4rem; }
|
|
|
|
/* #797 / #1839: the request intake panel under an owner's chat message (requests.js). */
|
|
.request-mount:empty { display: none; }
|
|
.request-panel { margin-block-start: .6rem; padding: .7rem .9rem; border: 1px solid var(--line); border-inline-start: 3px solid var(--border); border-radius: .5rem; overflow-wrap: anywhere; }
|
|
.request-panel p { margin-block: .35rem; }
|
|
.request-panel code, .request-question-text { font-family: var(--mono); }
|
|
.request-question-text { white-space: pre-wrap; }
|
|
.request-panel textarea { display: block; width: 100%; box-sizing: border-box; margin-block: .35rem; }
|
|
.request-choices, .request-picker, .request-options, .request-mode-switch, .request-confirm, .request-cancel { margin-block: .5rem; }
|
|
.request-panel .btn { margin-block: .15rem; }
|
|
.request-panel [aria-pressed="true"] { outline: 2px solid var(--action); outline-offset: -2px; }
|
|
.request-receipt:focus { outline: 2px solid var(--action); outline-offset: 2px; }
|
|
.request-prd { margin-block: .75rem; border-block: 1px solid var(--border); padding-block: .5rem; }
|
|
.request-prd pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--mono); }
|
|
.request-requirement { margin-block: .75rem; }
|
|
|
|
/* Project conversation layout, scoped to this surface. */
|
|
.chat-area { overflow-wrap: anywhere; }
|
|
.chat-area h1 { font-size: clamp(1.375rem, 2vw, 2rem); }
|
|
.chat-area .btn, .chat-area summary { min-height: 44px; }
|
|
.chat-details, .chat-files, .chat-room-picker { margin-block: 1rem; padding: .8rem; border: 1px solid var(--line); border-radius: 4px; }
|
|
.chat-details summary { cursor: pointer; }
|
|
.chat-room-picker label { display: block; padding-block: .45rem; }
|
|
.chat-audience { margin: .25rem 0; }
|
|
.chat-projects .panel { border-radius: 4px; }
|