| |
|
|
| @use "buttons"; |
| @use "generation-status"; |
| @use "lmf-readout" as lmf; |
| @use "query-history-dropdown" as qh; |
|
|
| |
| .input-section > .chat-raw-prompt-mode-row { |
| margin-bottom: 8px; |
| } |
|
|
| |
| .input-section .textarea-wrapper.chat-prompt-actions-row .chat-completion-options-row { |
| margin-bottom: 8px; |
| width: 100%; |
| } |
|
|
| .chat-max-new-tokens-label { |
| display: inline-flex; |
| align-items: center; |
| gap: 6px; |
| } |
|
|
| .chat-max-new-tokens-input { |
| min-width: 5em; |
| } |
|
|
| |
| #chat_input_panel .chat-prompt-panel + .chat-prompt-panel { |
| margin-top: 12px; |
| } |
|
|
| |
| .chat-use-system-label { |
| display: inline-flex; |
| align-items: center; |
| gap: 6px; |
| cursor: pointer; |
| margin: 0; |
| font: inherit; |
| color: inherit; |
| } |
|
|
| .chat-prompt-panel.chat-system-prompt-suppressed .text-action-buttons-top, |
| .chat-prompt-panel.chat-system-prompt-suppressed .textarea-wrapper.chat-prompt-textarea-block { |
| opacity: 0.55; |
| } |
|
|
| |
|
|
| |
| |
| .chat-right-stack { |
| display: flex; |
| flex-direction: column; |
| flex: 1; |
| width: 100%; |
| box-sizing: border-box; |
| background: var(--text-area-bg); |
| color: var(--text-color); |
| |
| padding: 20px; |
| |
| overflow: visible; |
| } |
|
|
| |
| .chat-right-stack .semantic-debug-info { |
| background-color: var(--panel-bg); |
| } |
|
|
| |
| |
| .chat-prompt-used { |
| @include lmf.lmf-readout-text; |
| flex: 0 0 auto; |
| margin: 0; |
| padding: 0; |
| box-sizing: border-box; |
| border: none; |
| background-color: transparent; |
| color: var(--token-truncated-color); |
| } |
|
|
| |
| .chat-streaming-preview { |
| @include lmf.lmf-readout-text; |
| flex: 0 0 auto; |
| margin: 0; |
| padding: 0; |
| box-sizing: border-box; |
| position: relative; |
| background-color: transparent; |
| } |
|
|
| |
| |
| .chat-right-stack.chat-ask-in-flight #chat_streaming_preview:not([hidden]) { |
| flex: 1 1 auto; |
| overflow: visible; |
| } |
|
|
| .chat-right-stack.chat-ask-in-flight #chat_streaming_preview:not([hidden]) ~ #results { |
| flex: 0 0 0; |
| min-height: 0 !important; |
| max-height: 0; |
| overflow: hidden; |
| margin: 0; |
| padding: 0; |
| } |
|
|
| |
| :root[data-theme="dark"] { |
| .chat-prompt-used, |
| .chat-streaming-preview { |
| font-weight: 300; |
| } |
| } |
|
|
| .chat-right-stack #results { |
| flex: 1; |
| min-height: 0; |
| } |
|
|
| .chat-copy-fulltext-row { |
| flex: 0 0 auto; |
| margin-top: 16px; |
| padding-top: 12px; |
| border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.12)); |
| display: flex; |
| justify-content: flex-end; |
| } |
|
|
| |
| .chat-right-stack #results .LMF { |
| padding: 0; |
| } |
|
|
| @media (max-width: 767px) { |
| .chat-right-stack { |
| |
| padding: 15px 12px; |
| } |
|
|
| |
| .input-section .textarea-wrapper textarea { |
| min-height: 80px; |
| max-height: none; |
| height: auto; |
| field-sizing: content; |
| } |
|
|
| .chat-right-stack #results .LMF.minimap-enabled { |
| padding-right: calc(12px + var(--minimap-width)); |
| } |
| } |
|
|
| |
|
|
| |
| .text-metrics-chat #metric_usage .text-metrics-api-usage { |
| font-size: inherit; |
| line-height: inherit; |
| opacity: 1; |
| } |
|
|
| |
| .chat-cached-history-bar { |
| margin-bottom: 12px; |
| } |
|
|
| .chat-cached-history-bar .chat-prompt-history-wrapper { |
| width: 100%; |
| display: flex; |
| flex-direction: column; |
| align-items: flex-end; |
| } |
|
|
| |
| .chat-prompt-history-wrapper { |
| position: relative; |
| width: 100%; |
| box-sizing: border-box; |
| } |
|
|
| .chat-prompt-history-wrapper .semantic-search-history-dropdown { |
| @include qh.query-history-dropdown; |
| } |
|
|
| |
| .input-section .textarea-wrapper textarea { |
| height: 250px; |
| } |
|
|
| |
| .input-section .textarea-wrapper textarea#chat_system_text { |
| height: 50px; |
| } |
| @media (min-width: 768px) { |
| .input-section .textarea-wrapper textarea { |
| font-size: calc(var(--font-size-base) + 2pt); |
| } |
| } |
|
|