/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ :root { --jp-private-console-cell-padding: 5px; } .jp-ChatboxPanel { display: flex; flex: 1 1 auto; flex-direction: column; border-top: var(--jp-border-width) solid var(--jp-border-color1); margin-top: -1px; } .jp-ChatboxPanel .jp-ChatboxDocumentInfo { display: flex; padding: 8px; background: var(--md-grey-100); border-bottom: 1px solid VAR(--jp-border-color1); } .jp-ChatboxPanel .jp-ChatboxDocumentInfo-name { margin-left: 10px; flex-grow: 1; } .jp-Chatbox { height: 100%; padding: 0; display: flex; flex-direction: column; } .jp-Chatbox-content { background-color: var(--jp-layout-color0); flex: 1 1 auto; overflow: auto; } .jp-Chatbox-input { max-height: 80%; flex: 0 0 auto; overflow: auto; border-top: var(--jp-border-width) solid var(--jp-border-color1); background-color: var(--md-grey-100); } /** * No reason to include space for the In/Out prompt here. */ .jp-Chatbox .jp-InputPrompt { display: none; } .jp-Chatbox-content .jp-Cell { margin: 5px; background-color: var(--jp-layout-color1); border: 1px solid var(--md-grey-400); border-radius: 10px; flex-grow: 1; } .jp-Chatbox .jp-ChatEntry .p-Widget { cursor: move; } .jp-Chatbox .jp-ChatEntry { display: flex; flex-direction: row; align-items: baseline; padding: 4px 8px; } .jp-Chatbox .jp-ChatEntry-badge { color: var(--jp-layout-color1); background-color: var(--jp-layout-color1); border-radius: 16px; height: 28px; width: 28px; text-align: center; line-height: 1.8; margin-left: 4px; } .p-Widget.jp-Cell.jp-MarkdownCell.jp-ChatEntry-receieved { background-color: var(--md-grey-100); overflow: visible; } .p-Widget.jp-Cell.jp-MarkdownCell.jp-ChatEntry-receieved { background-color: var(--md-grey-100); overflow: visible; } .p-Widget.jp-Cell.jp-MarkdownCell.jp-ChatEntry-receieved::before { content: url(../../theming/style/icons/jupyter/receive-chat-tail.png); position: absolute; transform: scale(.04); left: -203px; bottom: -146px; } .p-Widget.jp-ChatEntry-badge.jp-ChatEntry-received-badge { margin-right: 12px; margin-left: 0px; } .jp-Chatbox-content .jp-InputArea { background: transparent; border-color: transparent; } /* TODO: we should be able to use notebook styles for this */ .jp-Chatbox-input .jp-Chatbox-prompt.jp-Cell { border-left-width: var(--jp-border-width); } .jp-Chatbox-input .jp-Chatbox-prompt .jp-InputArea { height: 100%; min-height: 100%; } .jp-Chatbox-input .jp-Cell-inputArea .jp-InputArea-editor { border: 1px solid #9E9E9E; }